|
CartoType API
|
#include <cartotype_style_sheet.h>
Public Member Functions | |
| virtual const TObjectStyle * | ObjectStyle (const CMapObject &aObject, const TObjectStyle &aDefaultStyle)=0 |
An interface used by CMapDrawParam to allow the style of an individual object to be overridden if desired.
| 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.
1.7.5.1