Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [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.


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.