|
CartoType API
|
#include <cartotype_map_style.h>
Classes | |
| class | TStackItem |
Public Member Functions | |
| CStyleSheetHandler (CMap &aMap, const CPointerArray< CIcon > *aCustomIconList, CMapStyle &aMapStyle, Sax::CXmlReader &aXmlReader, MInputStream &aInputStream, const MDictionary< MString, int32 > &aVariableDictionary) | |
| TResult | StartElement (const MString &aUri, const MString &aLocalName, const MString &aQName, const Sax::MAttributes &aAttributes) |
| TResult | EndElement (const MString &aUri, const MString &aLocalName, const MString &aQName) |
| MInputStream & | InputStream () |
| Sax::CXmlReader * | SetXmlReader (Sax::CXmlReader *aReader) |
The handler for CartoType XML style sheet files.
| TResult CStyleSheetHandler::EndElement | ( | const MString & | aUri, |
| const MString & | aLocalName, | ||
| const MString & | aQName | ||
| ) | [virtual] |
Receive notification of the end of an element.
Normalise the style after it has been set by the style sheet by modifying certain parameters to improve drawing: adjust label positions if drawn above the line, suppress line borders if too narrow, or if they would obliterate the line, etc.
Reimplemented from CartoType::Sax::TDefaultHandler.
| TResult CStyleSheetHandler::StartElement | ( | const MString & | aUri, |
| const MString & | aLocalName, | ||
| const MString & | aQName, | ||
| const Sax::MAttributes & | aAttributes | ||
| ) | [virtual] |
Receive notification of the beginning of an element.
Reimplemented from CartoType::Sax::TDefaultHandler.
1.7.5.1