PtBuffer: the pointer move buffer

Description

This example implements simple freehand drawing. The example illustrates the use of RWindowBase 's pointer move buffer functions: AllocPointerMoveBuffer() , EnablePointerMoveBuffer() , RetrievePointerMoveBuffer() and DisablePointerMoveBuffer() .

Download

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

Click: browse to view the example code.

Class Summary

RWindowBase

Running on the emulator

Hold down the shift key and drag the mouse (with left mouse button down) for freehand drawing.

Running on the target phone

Hold down the shift key and draw using the pointer device.