size = gc.stringExtent(text);
gc.drawString(text, (width - size.x) / 2, 5 * height / 12, true);
text = GraphicsExample.getResourceString("Round"); //$NON-NLS-1$
size = gc.stringExtent(text);
gc.drawString(text, (width - size.x) / 2, 7 * height / 12, true);
font.dispose();
Pattern pattern = null;
if (foreground.getBgColor1() != null)
gc.setForeground(foreground.getBgColor1());
else if (foreground.getBgImage() != null) {