|
CartoType API
|
#include <cartotype_map.h>
Public Member Functions | |
| CT_IMPORT | CMapDrawIter (CMap &aMap, CGraphicsContext &aGc, const TPoint &aTopLeft, MInputStream &aStyleSheet, const CMapDrawParam *aParam) |
| CT_IMPORT bool | Next (TResult &aError, int32 &aObjectsDrawn) |
An iterator to draw a map step by step, allowing maps to be partially drawn so that drawing can be interrupted by user-generated events like zooming and panning. The caller calls Next repeatedly until it returns false or an interruption occurs.
| CT_EXPORT CMapDrawIter::CMapDrawIter | ( | CMap & | aMap, |
| CGraphicsContext & | aGc, | ||
| const TPoint & | aTopLeft, | ||
| MInputStream & | aStyleSheet, | ||
| const CMapDrawParam * | aParam | ||
| ) |
Create a map drawing iterator to draw a map step by step.
| CT_EXPORT bool CMapDrawIter::Next | ( | TResult & | aError, |
| int32 & | aObjectsDrawn | ||
| ) |
Perform the next drawing step for a map drawing operation. Return true if there is anything more to be done. Return the number of objects drawn in aObjectsDrawn.
If drawing is interrupted because another thread has set the paint interrupt flag, aError is set to KErrorInterrupt.
1.7.5.1