CartoType API
Public Member Functions
CartoType::CMapDrawIter Class Reference

#include <cartotype_map.h>

List of all members.

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)

Detailed Description

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


The documentation for this class was generated from the following files: