CartoType API
Public Member Functions
CartoType::MObjectStyleOverride Class Reference

#include <cartotype_style_sheet.h>

List of all members.

Public Member Functions

virtual const TObjectStyleObjectStyle (const CMapObject &aObject, const TObjectStyle &aDefaultStyle)=0

Detailed Description

An interface used by CMapDrawParam to allow the style of an individual object to be overridden if desired.


Member Function Documentation

virtual const TObjectStyle* CartoType::MObjectStyleOverride::ObjectStyle ( const CMapObject aObject,
const TObjectStyle aDefaultStyle 
) [pure virtual]

This function is called for every object just before it is drawn, allowing the style of an object to be set according to its ID or attributes. aDefaultStyle is a pointer to the style normally used for the object.


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