String text = GraphicsExample.getResourceString("OriginalImg"); //$NON-NLS-1$
Point size = gc.stringExtent(text);
gc.drawString(text, (width - size.x) / 2, 25 + bounds.height, true);
Transform transform = new Transform(device);
transform.translate((width - (bounds.width * scaleX + 10) * 4) / 2, 25 + bounds.height + size.y
+ (height - (25 + bounds.height + size.y + bounds.height * scaleY)) / 2);
transform.scale(scaleX, scaleY);
// --- draw strings ---
float[] point = new float[2];