diff -r ebc84c812384 -r 46218c8b8afa Symbian3/PDK/Source/GUID-E3AC8F3E-9D5C-5E7D-9760-023B77C7C8A8.dita --- a/Symbian3/PDK/Source/GUID-E3AC8F3E-9D5C-5E7D-9760-023B77C7C8A8.dita Thu Mar 11 15:24:26 2010 +0000 +++ b/Symbian3/PDK/Source/GUID-E3AC8F3E-9D5C-5E7D-9760-023B77C7C8A8.dita Thu Mar 11 18:02:22 2010 +0000 @@ -1,13 +1,13 @@ - - - - - -Drawing and Graphics Contexts

The GDI API provides functions for drawing and filling various shapes (points, lines, polylines, arcs, rectangles, polygons, ellipses, rounded rectangles and pie slices), for drawing text, and for drawing bitmaps. Each drawing operation has a number of settings that affect its function—pen style, fill style, typeface, etc. Instead of passing these settings as parameters to every drawing function, the GDI API has the concept of a graphics context (GC) in which drawing functions are performed. The CGraphicsContext class is used to hold these settings and to provide all of the graphics functionality.

The normal way of performing a drawing operation is therefore:

  1. Set up a graphics context to hold the settings.

  2. Call the graphics function of that context to perform the operation.

Graphics contexts are provided by graphics device objects that represents the medium being drawn to. The abstract base class for graphics device objects is CGraphicsDevice.

Graphics Device Interface + + + + + +Drawing and Graphics Contexts

The GDI API provides functions for drawing and filling various shapes (points, lines, polylines, arcs, rectangles, polygons, ellipses, rounded rectangles and pie slices), for drawing text, and for drawing bitmaps. Each drawing operation has a number of settings that affect its function—pen style, fill style, typeface, etc. Instead of passing these settings as parameters to every drawing function, the GDI API has the concept of a graphics context (GC) in which drawing functions are performed. The CGraphicsContext class is used to hold these settings and to provide all of the graphics functionality.

The normal way of performing a drawing operation is therefore:

  1. Set up a graphics context to hold the settings.

  2. Call the graphics function of that context to perform the operation.

Graphics contexts are provided by graphics device objects that represents the medium being drawn to. The abstract base class for graphics device objects is CGraphicsDevice.

Graphics Device Interface Concepts
\ No newline at end of file