|   | |
GraphicsShell: drawing and zoomingGraphicsShell provides an application shell, and two
concrete controls. 
CGraphicExampleControl is a control class, derived
from CCoeControl, which links the app shell to the particular
controls. 
CDrawControl illustrates the drawing of shapes in a
window. The code draws points, lines and shapes; this exercises a variety of
drawing functions provided by the window graphics context such as
MoveTo(), DrawLineTo(), DrawArc()
etc.
CZoomControl illustrates the use of zooming.
The controls are listed on the menu List of
Programs. Press the appropriate menu item to select a specific
control. 
You step through each phase of an example by pressing the space bar or by tapping on the window drawn by that example.
By the drawing control:
TPoint: 2-dimensional geometric point
TRect: a geometric rectangle
TSize: 2-dimensional geometric size
CWindowGc: the window graphics context
TRgb: colour representation
CFont: font interface class
By the zooming control:
TFontSpec: font specification in device
independent terms
CWindowGc: the window graphics context
CFont: font interface class
TZoomFactor: zoom factor and twips/pixels
conversions
MGraphicsDeviceMap: a mixin class defining the
interface for mapping between twips and device-specific units (pixels)
CFbsBitmap: Bitmap managed by the font and bitmap
server