Drawing to a Graphics Context Tutorials

The section provides examples that demonstrate how to use the GDI functions for drawing.

The examples 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 returns a concrete Window Server graphics context, of type CWindowGc, which is derived from CGraphicsContext.