
![]() |
![]() |
|
The example code used in the following sections demonstrates how graphics functions are used for drawing:
points and lines
arcs and ellipses
polylines and polygons
text
For using bitmaps, see Bitmaps Guide.
The examples in this section assume that graphics context has been obtained in a variable gc
. The usual way to obtain such a context, when drawing to the screen, is by CCoeControl::SystemGc()
. This return a concrete window server graphics context, of type CWindowGc
, which is derived from CGraphicsContext
.