diff -r 80ef3a206772 -r 48780e181b38 Symbian3/SDK/Source/GUID-30382EFD-90D5-570C-A6CD-19D34360F329.dita --- a/Symbian3/SDK/Source/GUID-30382EFD-90D5-570C-A6CD-19D34360F329.dita Fri Jul 16 17:23:46 2010 +0100 +++ b/Symbian3/SDK/Source/GUID-30382EFD-90D5-570C-A6CD-19D34360F329.dita Tue Jul 20 12:00:49 2010 +0100 @@ -9,42 +9,31 @@ --> -GraphicsShell: -drawing and zoomingA TechView application that demonstrates drawing points, lines -and shapes, and zooming a bitmap and text. -
Download

Click on the following link to download -the example: GraphicsShell.zip

Download some additional files -required by the example: CommonGraphicsExampleFiles

Click: browse to view the example code.

View the additional -files: browse.
-
Description

GraphicsShell provides -an application shell, and two concrete controls.

CGraphicExampleControl is -a control class, derived from CCoeControl, which links the -app shell to the particular controls.

CDrawControl illustrates -the drawing of shapes in a window. The code draws points, lines and shapes; -this exercises a variety of drawing functions provided by the window graphics -context such as MoveTo(), DrawLineTo(), DrawArc() etc.

CZoomControl illustrates -the use of zooming.

-
Class Summary

TPoint

TRectTSize

CWindowGc

TRgb

CFont

TFontSpec

CWindowGc

TZoomFactor

MGraphicsDeviceMap

CFbsBitmap

-
Build

The source code for this example -application can be found in the directory:

examples\Graphics\GraphicsShell

This -source code may be in the directory in which you installed the Symbian platform, -or it may be in the src\common\developerlibrary\ directory. -The directory includes the two project files needed for building the example: bld.inf and -the .mmp file.

The -Symbian build process describes how to build this application. For -the emulator, an application called GraphicsShell.exe is -created in epoc32\release\winscw\<udeb or urel>\.

+GraphicsShell: drawing and zoomingA TechView application that demonstrates drawing points, +lines and shapes, and zooming a bitmap and text. +
Download

Click on the following link to download the example: GraphicsShell.zip

Download some additional +files required by the example: CommonGraphicsExampleFiles

Click: browse to view the example code.

View the +additional files: browse.
+
Description

GraphicsShell provides an application shell, +and two concrete controls.

CGraphicExampleControl is a control class, derived from CCoeControl, which +links the app shell to the particular controls.

CDrawControl illustrates the drawing of shapes in a window. The code draws points, +lines and shapes; this exercises a variety of drawing functions provided +by the window graphics context such as MoveTo(), DrawLineTo(), DrawArc() etc.

CZoomControl illustrates the use of zooming.

+
Class +Summary

TPoint

TRectTSize

CWindowGc

TRgb

CFont

TFontSpec

CWindowGc

TZoomFactor

MGraphicsDeviceMap

CFbsBitmap

+
Build

The source code for this example application can be found in +the directory:

examples\Graphics\GraphicsShell

This source code may be in the directory in which you installed +the Symbian platform, or it may be in the src\common\developerlibrary\ directory. The directory includes the two project files needed for +building the example: bld.inf and the .mmp file.

The Symbian build process describes +how to build this application. For the emulator, an application called GraphicsShell.exe is created in epoc32\release\winscw\<udeb +or urel>\.

Usage
    -
  1. Launch the emulator:

    \epoc32\release\winscw\<udeb -or urel>\EPOC.EXE.

  2. -
  3. Click on GRAPHICSSHELL to -run the application. If using the TechView emulator, this will be in -the Extras menu.

  4. -
  5. The controls are listed -on the menu List of Programs. -Press the appropriate menu item to select a specific control.

  6. -
  7. Step through each phase -of the example by pressing the space bar or by tapping on the window drawn -by that example.

  8. +
  9. Launch the emulator:

    \epoc32\release\winscw\<udeb or urel>\EPOC.EXE.

  10. +
  11. Click on GRAPHICSSHELL to run the application. If using the TechView emulator, this will be in the Extras menu.

  12. +
  13. The controls +are listed on the menu List of Programs. Press the appropriate menu item to select a specific control.

  14. +
  15. Step through +each phase of the example by pressing the space bar or by tapping +on the window drawn by that example.

\ No newline at end of file