Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]


Using the GDI drawing functions

The example code used in the following sections demonstrates how graphics functions are used for drawing:

For using bitmaps, see Bitmaps Guide.

[Top]


Getting a graphics context

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.