Rectangle graphicBounds = new Rectangle(cellBounds.x + marginWidth,
cellBounds.y + marginHeight,
cellBounds.width - (marginWidth * 2), cellBounds.height
- (marginHeight * 2));
Rectangle imageBounds = graphicSWT.getBounds();
BufferedTableItem bufferedTableItem = cell.getBufferedTableItem();
if (bufferedTableItem instanceof BufferedGraphicTableItem) {
BufferedGraphicTableItem ti = (BufferedGraphicTableItem) bufferedTableItem;
int orientation = ti.getOrientation();
if (orientation == SWT.FILL) {