This example implements simple freehand drawing. The example illustrates the use of RWindowBase 's pointer move buffer functions: AllocPointerMoveBuffer() , EnablePointerMoveBuffer() , RetrievePointerMoveBuffer() and DisablePointerMoveBuffer() .
Click on the following link to download the example: PtBuffer.zip
Click: browse to view the example code.
Hold down the shift key and drag the mouse (with left mouse button down) for freehand drawing.
Hold down the shift key and draw using the pointer device.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License v1.0.