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.