CartoType API
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
CartoType Namespace Reference

Namespaces

namespace  Router
namespace  Sax
namespace  Svg

Classes

class  int64
class  Arithmetic
class  TFixed
class  TFixedSmall
class  TPointFixed
class  TPointFixedSmall
class  TLineFixed
class  CArrayBase
class  CArray
class  CPointerArray
class  CNonOwningPointerArray
class  TFixedSizeArray
class  TStackArray
class  CCompactArrayBase
class  CCompactArray
class  CCompactPointerArray
class  TPoint
class  TPoint2D
class  TLine
class  TOutlinePoint
class  TRect
class  MDictionary
class  MPointerDictionary
class  CRefCountedValue
class  CRefCounted
class  TBidiRun
class  CBidiEngine
class  TChar
class  TExpressionEvaluator
class  MIter
class  TListLink
class  CListBase
class  CList
class  CPointerList
class  MInputStream
class  MOutputStream
class  TDataStream
class  TDataOutputStream
class  TDataInputStream
class  TMemoryInputStream
class  CFileInputStream
class  COpenFileOutputStream
class  CFileOutputStream
class  CMemoryOutputStream
class  TUtf16Buffer
class  MString
class  TText
class  TTextBuffer
class  CString
class  TUtf8ToUtf32
class  TUtf16ToUtf32
class  TUtf32Iter
class  TStringTokenizer
class  TTransform
class  TPerspectiveTransform
class  TTransformFP
class  CTrieBase
class  CTrie
class  CStringDictionary
class  CStringTypeDictionary
class  CDictionary
class  CCloudMadeMapDataAccessor
class  CCloudMadeMapDataContext
class  CCloudMadeMapDataBase
class  CFreeTypeAccessor
class  TAntiAliasRender
class  CConfigHandler
class  CDiffuseLighting
class  CEngine
class  CStroker
class  TFlattenTraverser
class  TFlattenTraverserFP
class  CFlatPath
class  TGradientStop
class  TGradientRange
class  CLinearOrRadialGradient
class  CLinearGradient
class  CRadialGradient
class  CRampGradient
class  TColor
class  TBitmap
class  CBitmap
class  TCircularPen
class  MPaintServer
class  CPaintServer
class  CPattern
class  TPaint
class  MPalette
class  TSimplePalette
class  TGraphicsParam
class  MPathTraverser
class  TExtrema
class  MPath
class  MWritableContour
class  TSimpleContourData
class  TContour
class  CContour
class  TPathIterator
class  CMarker
class  MPointTransformer
class  CTransformedPath
class  TOutline
class  COutline
class  CCompoundPath
class  TTypefaceAttrib
class  TTypefaceInstance
class  TFontSpec
class  TTextParam
class  TTextMetrics
class  TFont
class  CGraphicsContext
class  CBitmapGraphicsContext
class  CLabelGraphicsContext
class  C16BitColorBitmapGraphicsContext
class  C24BitColorBitmapGraphicsContext
class  C32BitColorBitmapGraphicsContext
class  C8BitMonoBitmapGraphicsContext
class  C8BitTwinBitmapGraphicsContext
class  TGraphicsContextTransformer
class  TDraw1BitMonoBitmapHelper
class  TDraw8BitMonoBitmapHelper
class  T8BitTestZRaster
class  CTexture
class  CBitmapTexture
class  COwnBitmapTexture
class  CHachure
class  TMonoRender
class  COpenGlGraphicsContext
class  CPerspectiveGraphicsContext
class  TRasterSpan
class  MRaster
class  Spline
class  TFontMetrics
class  CTypeface
class  TGlyphKey
class  TLoggedGlyph
class  CGlyph
class  CTypefaceResource
class  TTypefaceResourceId
class  CTypefaceAccessor
class  CInternetData
class  CInternetSession
class  MInternetAccessor
class  CElevationGrid
class  TTestLabelGraphicsContext
class  TTestZGraphicsContext
class  CMap
class  CLabelFontInfo
class  CLabelInfo
class  CMapPainter
class  CMapDrawIter
class  TNavigationData
class  MBitmapTileSource
class  CTileServer
class  CMacro
class  CStyleSheetHandler
class  CIcon
class  CBitmapIcon
class  CBoxIcon
class  CIconRegistry
class  TMapAttributeDefinition
class  CMapAttributeDefinition
class  CMapDataLayer
class  CMapAttributeTest
class  TMapDataCondition
class  CMapDataCondition
class  CMapObject
class  CStringAttrib
class  CBasicMapObject
class  TMapGrid
class  TDataVersion
class  TMapDataParam
class  CMapDataContext
class  CMapDataBase
class  CMemoryMapDataBase
class  CMapDataAccessor
class  CSimpleMapObjectCollection
class  CSimpleMapDataSource
class  CSimpleMapDataBase
class  CMapLayerStore
class  CMapLevelStore
class  CMapTunnelStore
class  TMapObjectGroup
class  CMapStore
class  CMapObjectCacheSearchResult
class  CMapObjectCacheEntry
class  CMapObjectCache
class  TLabelStyle
class  TLineStyle
class  THighlightStyle
class  TBridgeStyle
class  TTunnelStyle
class  CIconArray
class  TObjectStyle
class  CLayerCondition
class  CConditionalLayerStyle
class  CLayerStyle
class  TProjectionForScale
class  CMapStyle
class  CLayerParam
class  MObjectStyleOverride
class  CMapDrawParam
class  CSymbol
class  CPathSymbol
class  CSvgSymbol
class  COsmMapDataAccessor
class  COsmDataBase
class  TCylindricalEquidistant
class  TTransverseMercatorParam
class  TUniversalTransverseMercatorParamBase
class  TUniversalTransverseMercatorParam
class  TUniversalTransverseMercatorZoneParam
class  TTransverseMercator
class  TUniversalTransverseMercator
class  TUtmEllipsoidalParam
class  TUtmEllipsoidal
class  TMercatorParam
class  TMercator
class  TMillerCylindricalParam
class  TMillerCylindrical
class  TOrdnanceSurveyProjection
class  TCoordinateTransformParam
class  TProjectionParam
class  TCoordinateTransform
class  TProjection
class  TProjectionUsingFloatingPoint
class  TNullProjection
class  TSimpleCoordinateTransform
class  CShpMapDataAccessor
class  TAttribMapping
class  CDbfFieldSpec
class  TDbfFile
class  TShpObjectReader
class  CShpLayer
class  CShpMapDataContext
class  CShpMapDataBase
class  CShpMapObject
class  CShpPointOrMultiPoint
class  CShpPoint
class  CShpMultiPoint
class  CShpLineOrPolygon
class  CShpLine
class  CShpPolygon
class  CTextParam
class  CGradientParam
class  CGState
class  CSvgState
class  CSvgInterpreter
class  CSvgXmlHandler
class  CTileDataAccessor
class  CType1MapDataAccessor
class  CType1MapDataContext
class  CType1MapDataBase
class  CType1MapLabelIndex
class  TType1Reader
class  CType1MapObject
class  CType1SingleContourObject
class  CType1Point
class  CType1SingleLineOrPolygon
class  CType1MultipleLineOrPolygon
class  CType1Array
class  CType1StringTable

Typedefs

typedef class TPoint2D< double > TPointFP
typedef int32 TResult
typedef CArray< TFixedCDashArray
typedef TTextBuffer
< KMaxPaintServerNameLength
TPaintServerName
typedef TTextBuffer
< KMaxTypefaceNameLength
TTypefaceName
typedef TTextBuffer
< KIconNameLength
TIconName
typedef int32 TMapAttribute

Enumerations

enum  TIntersectionType {
  ENoIntersection = 0, EFirstSegmentIntersectionBefore = 1, EFirstSegmentIntersection = 2, EFirstSegmentIntersectionAfter = 4,
  ESecondSegmentIntersectionBefore = 8, ESecondSegmentIntersection = 16, ESecondSegmentIntersectionAfter = 32, EBothSegmentsIntersection = EFirstSegmentIntersection | ESecondSegmentIntersection
}
enum  TPointType { EOnCurvePoint, EQuadraticControlPoint, ECubicControlPoint }
enum  TBidiOverride { ENeutralOverride, ELeftToRightOverride, ERightToLeftOverride }
enum  TBidiParDir { ELeftToRightPreferred, ERightToLeftPreferred, ELeftToRightForced, ERightToLeftForced }
enum  TLetterCase { ENoLetterCase, ELowerCase, ETitleCase, EUpperCase }
enum  TCharCategory {
  ELuCategory = 1, ELlCategory = 2, ELtCategory = 4, ELmCategory = 8,
  ELoCategory = 0x10, EMnCategory = 0x20, EMcCategory = 0x40, EMeCategory = 0x80,
  ENdCategory = 0x100, ENlCategory = 0x200, ENoCategory = 0x400, EPcCategory = 0x800,
  EPdCategory = 0x1000, EPsCategory = 0x2000, EPeCategory = 0x4000, EPiCategory = 0x8000,
  EPfCategory = 0x10000, EPoCategory = 0x20000, ESmCategory = 0x40000, EScCategory = 0x80000,
  ESkCategory = 0x100000, ESoCategory = 0x200000, EZsCategory = 0x400000, EZlCategory = 0x800000,
  EZpCategory = 0x1000000, ECcCategory = 0x2000000, ECfCategory = 0x4000000, ECsCategory = 0x8000000,
  ECoCategory = 0x10000000, ECnCategory = 0x20000000, EUpperCaseFlag = 0x40000000
}
enum  TBidiType {
  ELBidiType = 1, ELREBidiType = 2, ELROBidiType = 4, ERBidiType = 8,
  EALBidiType = 0x10, ERLEBidiType = 0x20, ERLOBidiType = 0x40, EPDFBidiType = 0x80,
  EENBidiType = 0x100, EESBidiType = 0x200, EETBidiType = 0x400, EANBidiType = 0x800,
  ECSBidiType = 0x1000, ENSMBidiType = 0x2000, EBNBidiType = 0x4000, EBBidiType = 0x8000,
  ESBidiType = 0x10000, EWSBidiType = 0x20000, EONBidiType = 0x40000
}
enum  { EStrongLeftToRightBidiTypes = ELBidiType | ELREBidiType | ELROBidiType, EStrongRightToLeftBidiTypes = ERBidiType | EALBidiType | ERLEBidiType | ERLOBidiType, EStrongBidiTypes = EStrongLeftToRightBidiTypes | EStrongRightToLeftBidiTypes }
enum  TStreamEncoding { EUtf16, EUtf8 }
enum  TStreamEndianness { EBigEndian, ELittleEndian }
enum  { EIdentityTransformType = 0, EYReflectTransformType = 1, ETranslateTransformType = 2, EGeneralTransformType = 4 }
enum  TGradientSpreadMethod { EPadGradient, EReflectGradient, ERepeatGradient }
enum  TLineCap { ELineCapButt, ELineCapRound, ELineCapSquare, ELineCapEighthSquare }
enum  TLineJoin { ELineJoinRound, ELineJoinBevel, ELineJoinMiter }
enum  TCompositingOp { EOverCompositingOp, ERoutCompositingOp }
enum  TTextBaseline {
  EAlphabeticBaseline, EIdeographicBaseline, EHangingBaseline, EMathematicalBaseline,
  ECentralBaseline, EMiddleBaseline, ETextBeforeEdgeBaseline, ETextAfterEdgeBaseline,
  ECentralCapsBaseline
}
enum  TTextureType { ESimpleTexture, EOpenGlTexture }
enum  { ERenderEvenOddFill = 1 }
enum  TCfcc {
  ECfccA00 = 100, ECfccA01 = 101, ECfccA02 = 102, ECfccA03 = 103,
  ECfccA04 = 104, ECfccA05 = 105, ECfccA06 = 106, ECfccA07 = 107,
  ECfccA08 = 108, ECfccA10 = 110, ECfccA11 = 111, ECfccA12 = 112,
  ECfccA13 = 113, ECfccA14 = 114, ECfccA15 = 115, ECfccA16 = 116,
  ECfccA17 = 117, ECfccA18 = 118, ECfccA20 = 120, ECfccA21 = 121,
  ECfccA22 = 122, ECfccA23 = 123, ECfccA24 = 124, ECfccA25 = 125,
  ECfccA26 = 126, ECfccA27 = 127, ECfccA28 = 128, ECfccA30 = 130,
  ECfccA31 = 131, ECfccA32 = 132, ECfccA33 = 133, ECfccA34 = 134,
  ECfccA35 = 135, ECfccA36 = 136, ECfccA37 = 137, ECfccA38 = 138,
  ECfccA40 = 140, ECfccA41 = 141, ECfccA42 = 142, ECfccA43 = 143,
  ECfccA44 = 144, ECfccA45 = 145, ECfccA46 = 146, ECfccA47 = 147,
  ECfccA48 = 148, ECfccA50 = 150, ECfccA51 = 151, ECfccA52 = 152,
  ECfccA53 = 153, ECfccA60 = 160, ECfccA61 = 161, ECfccA62 = 162,
  ECfccA63 = 163, ECfccA64 = 164, ECfccA65 = 165, ECfccA66 = 166,
  ECfccA68 = 168, ECfccA69 = 169, ECfccA70 = 170, ECfccA71 = 171,
  ECfccA72 = 172, ECfccA73 = 173, ECfccA74 = 174, ECfccA75 = 175,
  ECfccB00 = 200, ECfccB01 = 201, ECfccB02 = 202, ECfccB03 = 203,
  ECfccB10 = 210, ECfccB11 = 211, ECfccB12 = 212, ECfccB13 = 213,
  ECfccB20 = 220, ECfccB21 = 221, ECfccB22 = 222, ECfccB23 = 223,
  ECfccB30 = 230, ECfccB31 = 231, ECfccB32 = 232, ECfccB33 = 233,
  ECfccB40 = 240, ECfccB42 = 242, ECfccB50 = 250, ECfccB51 = 251,
  ECfccB52 = 252, ECfccC00 = 300, ECfccC10 = 310, ECfccC20 = 320,
  ECfccC30 = 330, ECfccC31 = 331, ECfccD00 = 400, ECfccD01 = 401,
  ECfccD10 = 410, ECfccD20 = 420, ECfccD21 = 421, ECfccD22 = 422,
  ECfccD23 = 423, ECfccD24 = 424, ECfccD25 = 425, ECfccD26 = 426,
  ECfccD27 = 427, ECfccD28 = 428, ECfccD29 = 429, ECfccD30 = 430,
  ECfccD31 = 431, ECfccD32 = 432, ECfccD33 = 433, ECfccD34 = 434,
  ECfccD35 = 435, ECfccD36 = 436, ECfccD37 = 437, ECfccD40 = 440,
  ECfccD41 = 441, ECfccD42 = 442, ECfccD43 = 443, ECfccD44 = 444,
  ECfccD50 = 450, ECfccD51 = 451, ECfccD52 = 452, ECfccD53 = 453,
  ECfccD54 = 454, ECfccD55 = 455, ECfccD56 = 456, ECfccD57 = 457,
  ECfccD58 = 458, ECfccD59 = 459, ECfccD60 = 460, ECfccD61 = 461,
  ECfccD62 = 462, ECfccD63 = 463, ECfccD64 = 464, ECfccD65 = 465,
  ECfccD66 = 466, ECfccD67 = 467, ECfccD70 = 470, ECfccD71 = 471,
  ECfccD80 = 480, ECfccD81 = 481, ECfccD82 = 482, ECfccD83 = 483,
  ECfccD84 = 484, ECfccD85 = 485, ECfccD89 = 489, ECfccD90 = 490,
  ECfccD91 = 491, ECfccD92 = 492, ECfccD93 = 493, ECfccD94 = 494,
  ECfccD95 = 495, ECfccD96 = 496, ECfccE00 = 500, ECfccE10 = 510,
  ECfccE20 = 520, ECfccE21 = 521, ECfccE22 = 522, ECfccE23 = 523,
  ECfccE24 = 524, ECfccF00 = 600, ECfccF10 = 610, ECfccF11 = 611,
  ECfccF12 = 612, ECfccF13 = 613, ECfccF14 = 614, ECfccF15 = 615,
  ECfccF16 = 616, ECfccF17 = 617, ECfccF18 = 618, ECfccF19 = 619,
  ECfccF20 = 620, ECfccF21 = 621, ECfccF22 = 622, ECfccF23 = 623,
  ECfccF24 = 624, ECfccF25 = 625, ECfccF30 = 630, ECfccF40 = 640,
  ECfccF50 = 650, ECfccF60 = 660, ECfccF70 = 670, ECfccF71 = 671,
  ECfccF72 = 672, ECfccF73 = 673, ECfccF74 = 674, ECfccF80 = 680,
  ECfccF81 = 681, ECfccF82 = 682, ECfccF83 = 683, ECfccF84 = 684,
  ECfccF85 = 685, ECfccF86 = 686, ECfccF87 = 687, ECfccF88 = 688,
  ECfccH00 = 800, ECfccH01 = 801, ECfccH02 = 802, ECfccH10 = 810,
  ECfccH11 = 811, ECfccH12 = 812, ECfccH13 = 813, ECfccH20 = 820,
  ECfccH21 = 821, ECfccH22 = 822, ECfccH30 = 830, ECfccH31 = 831,
  ECfccH32 = 832, ECfccH40 = 840, ECfccH41 = 841, ECfccH42 = 842,
  ECfccH50 = 850, ECfccH51 = 851, ECfccH53 = 853, ECfccH59 = 859,
  ECfccH60 = 860, ECfccH70 = 870, ECfccH71 = 871, ECfccH72 = 872,
  ECfccH73 = 873, ECfccH74 = 874, ECfccH75 = 875, ECfccH80 = 880,
  ECfccH81 = 881, ECfccX00 = 2400
}
enum  TMapObjectType {
  EPointObject, ELineObject, EPolygonObject, EArrayObject,
  EMapObjectTypes, ENoObjectType = -1
}
enum  TTerrainArrayType { ETerrainShadowArray, ETerrainHeightMetresLogArray, ETerrainHeightFeetArray }
enum  TArrayMapObjectFormat { EPlainArrayMapObjectFormat, EDeltaCompressedArrayMapObjectFormat }
enum  TLabelMatchMethod { EExact, ELabelStart }
enum  TRoadType {
  ERoadRoutingMask = 0x3E, ERoadTypeMask = 0xFC0, EMajorRoadTypeMask = 0xF00, ERoadLevelMask = 0xF000,
  ECountryRoadTypeMask = 0xFF000000, ETunnelRoadTypeFlag = 1, EBridgeRoadTypeFlag = 0x10000, ERoadLevelShift = 12,
  EUnknownMajorRoadType = 0, EPrimaryLimitedAccessRoadType = 0x100, EPrimaryUnlimitedAccessRoadType = 0x200, ESecondaryRoadType = 0x300,
  EMinorRoadType = 0x400, EBywayRoadType = 0x500, EAccessRampType = 0x600, EServiceRoadType = 0x700,
  EVehicularFerryRoadType = 0x800, EPassengerFerryRoadType = 0x900, EPathRoadType = 0xA00, EStairwayRoadType = 0xB00,
  EDividerRoadTypeFlag = 2, ERoundaboutRoadTypeFlag = 4, ERestrictionRoadTypeFlag = 8, EOneWayForwardRoadTypeFlag = 16,
  EOneWayBackwardRoadTypeFlag = 32, ERampRoadTypeFlag = 64, ELinkRoadTypeFlag = ERampRoadTypeFlag, ELowerGradeRoadTypeFlag = 128,
  EFirstOverRoadLevel = 0x1000, EFirstUnderRoadLevel = 0xF000, ESecondUnderRoadLevel = 0xE000
}
enum  TPointFormat {
  EUnknownPointFormat, EDegreePointFormat, EMetrePointFormat, E64thsDegreePointFormat,
  E64thsMetrePointFormat, EOrdnanceSurveyPointFormat, EMercatorPointFormat
}
enum  TMapDatum { EUnknownMapDatum, EWgs84MapDatum, EOsgb36MapDatum }
enum  TLabelPosition {
  EDefaultLabelPosition, ECentralPathLabelPosition, ECentralPathHorizontalLabelPosition, EHorizontalLabelPosition,
  EBoxLabelPosition, EIconLabelPosition, EAbovePathLabelPosition
}
enum  TAlign {
  EAlignCenter, EAlignStandard, EAlignReverse, EAlignLeft,
  EAlignRight
}
enum  TProjectionType {
  ENoProjection, ENullProjection, EUtmProjection, ETmProjection,
  ECedProjection, EUtmEllipsoidalProjection, EMercatorProjection, EMillerCylindricalProjection,
  EOrdnanceSurveyProjection
}

Functions

CT_IMPORT void operator*= (int32 &aValue, TFixed aFixed)
int32 operator* (int32 aValue, TFixed aFixed)
void Panic ()
void Assert (bool)
void Assert (int)
void Assert (const void *)
void Check (bool aExp)
void Check (int aExp)
void Check (const void *aPtr)

Variables

const double KPiDouble = 3.141592654
const double KRadiansToDegreesDouble = 180.0 / KPiDouble
const double KDegreesToRadiansDouble = KPiDouble / 180.0
const int32 KErrorNone = 0
const int32 KErrorGeneral = 1
const int32 KErrorNoMemory = 2
const int32 KErrorEndOfData = 3
const int32 KErrorTextUnmodifiable = 4
const int32 KErrorTextTruncated = 5
const int32 KErrorNotFound = 6
const int32 KErrorUnimplemented = 7
const int32 KErrorInvalidOutline = 8
const int32 KErrorIo = 9
const int32 KErrorCorrupt = 10
const int32 KErrorUnknownDataFormat = 11
const int32 KErrorNoInverse = 12
const int32 KErrorProjectionOverflow = 13
const int32 KErrorCancel = 14
const int32 KErrorInvalidArgument = 15
const int32 KErrorUnknownVersion = 16
const int32 KErrorOverflow = 17
const int32 KErrorOverlap = 18
const int32 KErrorParallelLines = 19
const int32 KErrorPathLengthExceeded = 20
const int32 KErrorMaxTurnExceeded = 21
const int32 KErrorNoPalette = 22
const int32 KErrorDuplicate = 23
const int32 KErrorNoProjection = 24
const int32 KErrorPaletteFull = 25
const int32 KErrorInvalidDashArray = 26
const int32 KErrorCentralPath = 27
const int32 KError28Reserved = 28
const int32 KErrorZoomLimitReached = 29
const int32 KErrorAlreadyProjected = 30
const int32 KErrorConditionsTooDeeplyNested = 31
const int32 KErrorNullFont = 32
const int32 KErrorInternetIo = 33
const int32 KErrorDivideByZero = 34
const int32 KErrorTransformFailed = 35
const int32 KErrorPngRead = 36
const int32 KErrorJpgRead = 37
const int32 KErrorNoIntersection = 38
const int32 KErrorInterrupt = 39
const int32 KErrorSystem = 0x73790000
const int INT8_MIN = -128
const int INT8_MAX = 127
const int UINT8_MAX = 255
const int INT16_MIN = -32767
const int INT16_MAX = 32767
const int32 UINT16_MAX = 65535
const int32 INT32_MIN = -2147483647 - 1
const int32 INT32_MAX = 0x7FFFFFFF
const uint32 UINT32_MAX = 4294967295U
const uint32 KBlack = 0xFF000000
const uint32 KDarkGray = 0xFF555555
const uint32 KDarkRed = 0xFF000080
const uint32 KDarkGreen = 0xFF008000
const uint32 KDarkYellow = 0xFF008080
const uint32 KDarkBlue = 0xFF800000
const uint32 KDarkMagenta = 0xFF800080
const uint32 KDarkCyan = 0xFF808000
const uint32 KRed = 0xFF0000FF
const uint32 KGreen = 0xFF00FF00
const uint32 KYellow = 0xFF00FFFF
const uint32 KBlue = 0xFFFF0000
const uint32 KMagenta = 0xFFFF00FF
const uint32 KCyan = 0xFFFFFF00
const uint32 KGray = 0xFFAAAAAA
const uint32 KWhite = 0xFFFFFFFF
const uint32 KTransparentBlack = 0x00000000
const int32 KMaxPaintServerNameLength = 32
const uint32 KLatinScript = 1
const uint32 KGreekScript = 2
const uint32 KCyrillicScript = 4
const uint32 KArmenianScript = 8
const uint32 KHebrewScript = 0x10
const uint32 KArabicScript = 0x20
const uint32 KDevanagariScript = 0x40
const uint32 KBengaliScript = 0x80
const uint32 KGurmukhiScript = 0x100
const uint32 KGujaratiScript = 0x200
const uint32 KOriyaScript = 0x400
const uint32 KTamilScript = 0x800
const uint32 KTeluguScript = 0x1000
const uint32 KKannadaScript = 0x2000
const uint32 KMalayalamScript = 0x4000
const uint32 KSinhalaScript = 0x8000
const uint32 KThaiScript = 0x10000
const uint32 KLaoScript = 0x20000
const uint32 KTibetanScript = 0x40000
const uint32 KMyanmarScript = 0x80000
const uint32 KGeorgianScript = 0x100000
const uint32 KHangulScript = 0x200000
const uint32 KEthiopicScript = 0x400000
const uint32 KKhmerScript = 0x800000
const uint32 KMongolianScript = 0x1000000
const uint32 KHiraganaScript = 0x2000000
const uint32 KKatakanaScript = 0x4000000
const uint32 KBopomofoScript = 0x8000000
const uint32 KHanScript = 0x10000000
const uint32 KReservedScript = 0x20000000
const uint32 KSymbolScript = 0x40000000
const uint32 KOtherScript = 0x80000000
const uint32 KBoldStyle = 1
const uint32 KItalicStyle = 2
const uint32 KSerifStyle = 4
const uint32 KCursiveStyle = 8
const uint32 KFantasyStyle = 16
const uint32 KMonospaceStyle = 32
const int32 KMaxTypefaceNameLength = 32
const int32 KGraphicsErrorBase = 0x47520000
const int32 KErrorRenderOverflow = KGraphicsErrorBase
const int32 KErrorRenderNegativeHeight = KGraphicsErrorBase + 1
const int32 KErrorRenderInvalidProfileDirection = KGraphicsErrorBase + 2
const int32 KErrorAntiAlias = KGraphicsErrorBase + 3
const int32 KIconNameLength = 32
const int KMinLineWidthForEdges = 65536 * 2
const int KMinEdgeWidth = 65536 / 2
const int KMinCenterLineWidth = 65536 / 4
const char *const KRoadLayerName = "road"
const char *const KElevationLayerName = "elevation"
const int32 KOsmErrorBase = ('O' << 24) | ('M' << 16)
const int32 KErrorOsmWayNotFound = KOsmErrorBase
const int32 KErrorOsmNodeNotFound = KOsmErrorBase + 1
const int32 KErrorOsmLayerNotFound = KOsmErrorBase + 2
const int32 KErrorOsmNotMultiPolygon = KOsmErrorBase + 3
const uint16 KMinTableCount = 2
const uint16 KMaxTableCount = 7
const int32 KErrorXmlBase = 0x73610000
const int32 KErrorXmlParser = KErrorXmlBase
const int32 KErrorXmlWrapper = KErrorXmlParser + 0x400
const int32 KErrorXmlInternalUser = KErrorXmlWrapper + 0x400
const int32 KErrorXmlUser = KErrorXmlInternalUser + 0x1000
const int32 KErrorXmlFeatureNotSupported = KErrorXmlWrapper + 1

Detailed Description

A namespace for the CartoType library.


Typedef Documentation

A type for an array of dashes and gaps used for drawing a stroke.

A fixed-length string type for an icon name.

typedef int32 CartoType::TMapAttribute

Attributes of map objects are always stored in 32-bit integers.

A fixed-length string type for a paint server name.

typedef class TPoint2D< double > CartoType::TPointFP

A double-precision floating-point 2D point class.

typedef int32 CartoType::TResult

The result and error code type is a class in debug mode, so that a breakpoint can be placed in the constructor if necessary, and to enforce initialisation. For speed - because result codes are used and checked everywhere, and on some GCC compilers even tiny class objects (32 bits or less) are not passed in registers, while ordinary integers are - it is just an integer in release mode.

A fixed-length string type for a typeface name.


Enumeration Type Documentation

anonymous enum

Groups of bidirectional types.

anonymous enum

Flags used by rendering functions.

anonymous enum

Transform type flag bits; used to reduce calculation.

Enumerator:
EIdentityTransformType 

The transform has no effect.

EYReflectTransformType 

The transform reflects around the line (y = 0).

ETranslateTransformType 

The transform does translation.

EGeneralTransformType 

The transform has an effect, and does something other than reflection and translation.

Alignments used for multi-line text.

Enumerator:
EAlignCenter 

Center the text.

EAlignStandard 

Align to the left for left-to-right text, to the right for right-to-left text.

EAlignReverse 

Align to the right for left-to-right text, to the left for right-to-left text.

EAlignLeft 

Align to the left and leave space on the right.

EAlignRight 

Align to the right and leave space on the left.

Formats for array map objects.

Enumerator:
EPlainArrayMapObjectFormat 

An uncompressed array of bytes.

EDeltaCompressedArrayMapObjectFormat 

An array of delta values compressed using zlib.

The override status during bidirectional reordering.

The paragraph direction used during bidirectional reordering.

Enumerator:
ELeftToRightPreferred 

Set the paragraph direction from the first strongly directional character. If there are none, use left-to-right.

ERightToLeftPreferred 

Set the paragraph direction from the first strongly directional character. If there are none, use right-to-left.

ELeftToRightForced 

Set the paragraph direction to left-to-right whatever its content.

ERightToLeftForced 

Set the paragraph direction to right-to-left whatever its content.

The bidirectional type of a character as used in the Unicode Bidirectional Algorithm. Each constant is a single bit so that masks can be made by combining them.

Map object types adapted from those defined by the U.S. Bureau of the Census and provided in TIGER data files.

The original CFCC codes are made from an uppercase letter followed by a two-digit number. The codes used here are entirely numeric. The uppercase letter is replaced by one or two digits, using the range 1...26 for the letters A...Z. Thus A08 (road with rail line in center) becomes 108, and X00 (feature not yet classified) becomes 2400.

Enumerator:
ECfccA00 

Road, major and minor categories unknown

ECfccA01 

Road, unseparated

ECfccA02 

Road, unseparated, in tunnel

ECfccA03 

Road, unseparated, underpassing

ECfccA04 

Road, unseparated, with rail line in center

ECfccA05 

Road, separated

ECfccA06 

Road, separated, in tunnel

ECfccA07 

Road, separated, underpassing

ECfccA08 

Road, separated, with rail line in center

ECfccA10 

Primary road with limited access or interstate highway, major category

ECfccA11 

Primary road with limited access or interstate highway, unseparated

ECfccA12 

Primary road with limited access or interstate highway, unseparated, in tunnel

ECfccA13 

Primary road with limited access or interstate highway, unseparated, underpassing

ECfccA14 

Primary road with limited access or interstate highway, unseparated, with rail line in center

ECfccA15 

Primary road with limited access or interstate highway, separated

ECfccA16 

Primary road with limited access or interstate highway, separated, in tunnel

ECfccA17 

Primary road with limited access or interstate highway, separated, underpassing

ECfccA18 

Primary road with limited access or interstate highway, separated, with rail line in center

ECfccA20 

Primary road without limited access, U.S. and State highway, major category

ECfccA21 

Primary road without limited access, U.S. and State highways, unseparated

ECfccA22 

Primary road without limited access, U.S. and State highways, unseparated, in tunnel

ECfccA23 

Primary road without limited access, U.S. and State highways, unseparated, underpassing

ECfccA24 

Primary road without limited access, U.S. and State highways, unseparated, with rail line in center

ECfccA25 

Primary road without limited access, U.S. and State highways, separated

ECfccA26 

Primary road without limited access, U.S. and State highways, separated, in tunnel

ECfccA27 

Primary road without limited access, U.S. and State highways, separated, underpassing

ECfccA28 

Primary road without limited access, U.S. and State highways, separated, with rail line in center

ECfccA30 

Secondary and connecting road, State and county highways, major category

ECfccA31 

Secondary and connecting road, State and county highways, unseparated

ECfccA32 

Secondary and connecting road, State and county highways, unseparated, in tunnel

ECfccA33 

Secondary and connecting road, State and county highways, unseparated, underpassing

ECfccA34 

Secondary and connecting road, State and county highways, unseparated, with rail line in center

ECfccA35 

Secondary and connecting road, State and county highways, separated

ECfccA36 

Secondary and connecting road, State and county highways, separated, in tunnel

ECfccA37 

Secondary and connecting road, State and county highways, separated, underpassing

ECfccA38 

Secondary and connecting road, State and county highway, separated, with rail line in center

ECfccA40 

Local, neighborhood, and rural road, city street, major category

ECfccA41 

Local, neighborhood, and rural road, city street, unseparated

ECfccA42 

Local, neighborhood, and rural road, city street, unseparated, in tunnel

ECfccA43 

Local, neighborhood, and rural road, city street, unseparated, underpassing

ECfccA44 

Local, neighborhood, and rural road, city street, unseparated, with rail line in center

ECfccA45 

Local, neighborhood, and rural road, city street, separated

ECfccA46 

Local, neighborhood, and rural road, city street, separated, in tunnel

ECfccA47 

Local, neighborhood, and rural road, city street, separated, underpassing

ECfccA48 

Local, neighborhood, and rural road, city street, separated, with rail line in center

ECfccA50 

Vehicular trail, road passable only by four-wheel drive (4WD) vehicle, major category

ECfccA51 

Vehicular trail, road passable only by 4WD vehicle, unseparated

ECfccA52 

Vehicular trail, road passable only by 4WD vehicle, unseparated, in tunnel

ECfccA53 

Vehicular trail, road passable only by 4WD vehicle, unseparated, underpassing

ECfccA60 

Special road feature, major category used when the minor category could not be determined

ECfccA61 

Cul-de-sac, the closed end of a road that forms a loop or turn around

ECfccA62 

Traffic circle, the portion of a road or intersection of roads that form a roundabout

ECfccA63 

Access ramp, the portion of a road that forms a cloverleaf or limited access interchange

ECfccA64 

Service drive, road that provides access to businesses, facilities, and rest areas along limited-access highway

ECfccA65 

Ferry crossing, the representation of a route over water that connects roads on opposite shores

ECfccA66 

Ferry crossing, Passenger, Year Round

ECfccA68 

Ferry Crossing, Vehicular, Seasonal

ECfccA69 

Ferry Crossing, Vehicular, Year-Round

ECfccA70 

Other thoroughfare, major category used when the minor category could not be determined

ECfccA71 

Walkway, nearly level road for pedestrians, usually unnamed

ECfccA72 

Stairway, stepped road for pedestrians, usually unnamed

ECfccA73 

Alley, road for service vehicles, usually unnamed, located at the rear of buildings and property

ECfccA74 

Driveway or service road, usually privately owned and unnamed, used as access to residences, etc., or as access to logging areas, etc.

ECfccA75 

Road, Parking Area

ECfccB00 

Railroad, major and minor categories unknown

ECfccB01 

Railroad track, not in tunnel or underpassing

ECfccB02 

Railroad track, in tunnel

ECfccB03 

Railroad track, underpassing

ECfccB10 

Railroad main track, major category

ECfccB11 

Railroad main track, not in tunnel or underpassing

ECfccB12 

Railroad main track, in tunnel

ECfccB13 

Railroad main track, underpassing

ECfccB20 

Railroad spur track, major category

ECfccB21 

Railroad spur track, not in tunnel or underpassing

ECfccB22 

Railroad spur track, in tunnel

ECfccB23 

Railroad spur track, underpassing

ECfccB30 

Railroad yard track, major category

ECfccB31 

Railroad yard track, not in tunnel or underpassing

ECfccB32 

Railroad yard track, in tunnel

ECfccB33 

Railroad yard track, underpassing

ECfccB40 

Railroad ferry crossing, route over water used by ships carrying train cars to connecting railroads on opposite shores, major category

ECfccB42 

Subway or Metroline

ECfccB50 

Other rail line; major category used alone when the minor category could not be determined

ECfccB51 

Carline, a track for street cars, trolleys, and other mass transit rail systems

ECfccB52 

Cog railroad, incline railway, or logging tram

ECfccC00 

Miscellaneous ground transportation, not road or railroad; major and minor categories unknown

ECfccC10 

Pipeline, major category used alone

ECfccC20 

Power transmission line, major category used alone

ECfccC30 

Other ground transportation that is not a pipeline or a power transmission line, major category

ECfccC31 

Aerial tramway, monorail, or ski lift

ECfccD00 

Landmark, major and minor categories unknown

ECfccD01 

GDT created CFC code for a building that is not classified

ECfccD10 

Military installation or reservation; major category used alone

ECfccD20 

Multihousehold or transient quarters; major category used alone when minor category not determined

ECfccD21 

Apartment building or complex

ECfccD22 

Rooming or boarding house

ECfccD23 

Trailer court or mobile home park

ECfccD24 

Marina

ECfccD25 

Crew-of-vessel area

ECfccD26 

Housing facility for workers

ECfccD27 

Hotel, motel, resort, spa, hostel, YMCA, or YWCA

ECfccD28 

Campground

ECfccD29 

Shelter or mission

ECfccD30 

Custodial facility; major category used alone when the minor category could not be determined

ECfccD31 

Hospital

ECfccD32 

Halfway house

ECfccD33 

Nursing home, retirement home, or home for the aged

ECfccD34 

County home or poor farm

ECfccD35 

Orphanage

ECfccD36 

Jail or detention center

ECfccD37 

Federal penitentiary, State prison, or prison farm

ECfccD40 

Educational or religious institution, major category

ECfccD41 

Sorority or fraternity

ECfccD42 

Convent or monastery

ECfccD43 

Educational institution, including academy, school, college, and university

ECfccD44 

Religious institution, including church, synagogue, seminary, temple, and mosque

ECfccD50 

Transportation terminal; major category used alone when the minor category could not be determined

ECfccD51 

Airport or airfield

ECfccD52 

Train station

ECfccD53 

Bus terminal

ECfccD54 

Marine terminal

ECfccD55 

Seaplane anchorage

ECfccD56 

Subway or metro station

ECfccD57 

Parking Area Boundary

ECfccD58 

GDT airport property boundary

ECfccD59 

GDT airport runway

ECfccD60 

Employment center; major category used alone when the minor category could not be determined

ECfccD61 

Shopping center or major retail center

ECfccD62 

Industrial building or industrial park

ECfccD63 

Office building or office park

ECfccD64 

Amusement center

ECfccD65 

Government center

ECfccD66 

Other employment center

ECfccD67 

Stadium

ECfccD70 

Tower; major category used alone when minor category could not be determined

ECfccD71 

Lookout tower

ECfccD80 

Open space; major category used alone when the minor category could not be determined

ECfccD81 

Golf course

ECfccD82 

Cemetery

ECfccD83 

National Park Service land

ECfccD84 

National forest or other Federal land

ECfccD85 

State or local park or forest

ECfccD89 

Local Park or Recreation Area

ECfccD90 

Special purpose landmark; major category used alone when the minor category could not be determined

ECfccD91 

Post office box ZIP Code(R)

ECfccD92 

Urbanizacion, an identifiable community development in Puerto Rico

ECfccD93 

Fire Department

ECfccD94 

Police Station

ECfccD95 

Library

ECfccD96 

City/Town Hall

ECfccE00 

Physical feature, tangible but not transportation or hydrographic; major and minor categories unknown

ECfccE10 

Fence line locating a visible and permanent fence between separately identified property

ECfccE20 

Topographic feature; major category used when the minor category could not be determined

ECfccE21 

Ridge line, the line of highest elevation of a linear mountain

ECfccE22 

Mountain peak, the point of highest elevation of a mountain

ECfccE23 

Island, identified by name

ECfccE24 

Levee, an embankment, as of earth or concrete, used to prevent a river or other body of water from overflowing

ECfccF00 

Nonvisible boundary, major and minor categories unknown

ECfccF10 

Nonvisible jurisdictional boundary of a legal or administrative entity, major category

ECfccF11 

Offset boundary of a legal or administrative entity

ECfccF12 

Corridor boundary of a legal or administrative entity

ECfccF13 

Nonvisible superseded 2000 governmental unit boundary

ECfccF14 

Superseded 1990 legal boundary

ECfccF15 

Superseded 1990 legal boundary, corrected through post census process

ECfccF16 

Superseded legal boundary, current at the time of the 1997 Economic Census

ECfccF17 

Nonvisible State Legislative District boundary

ECfccF18 

Nonvisible Congressional District boundary

ECfccF19 

Nonvisible corrected 2000 governmental unit boundary

ECfccF20 

Nonvisible feature for data base topology; major category used when the minor category could not be determined

ECfccF21 

Automated feature extension to lengthen existing physical feature

ECfccF22 

Irregular feature extension, determined manually, to lengthen existing physical feature

ECfccF23 

Closure extension to complete data base topological closure between extremely close features

ECfccF24 

Nonvisible separation line used with offset and corridor boundaries

ECfccF25 

Nonvisible centerline of area enclosed by corridor boundary

ECfccF30 

Point-to-point line, follows a line of sight and should not cross any visible feature

ECfccF40 

Property line, nonvisible boundary of either public or private lands, e.g., a park boundary

ECfccF50 

ZIP Code(R) tabulation boundary, used in delineating ZIP Code(R) Tabulation Areas

ECfccF60 

Map edge, now removed, used during data base creation

ECfccF70 

Statistical boundary; major category used when the minor category could not be determined

ECfccF71 

1980 statistical boundary

ECfccF72 

1990 statistical boundary, used to hold collection and tabulation census block boundaries not represented by existing physical features

ECfccF73 

1990 statistical boundary and extent of land use, it is not classifiable as a physical feature

ECfccF74 

1990 statistical boundary, used to hold a tabulation census block boundary not represented by an existing physical feature

ECfccF80 

Nonvisible other tabulation boundary, major category used when the minor category could not be determined

ECfccF81 

School district tabulation boundary

ECfccF82 

Special census tabulation boundary

ECfccF83 

Census 2000 collection block boundary; used to hold Census collection block boundaries not represented by existing physical features

ECfccF84 

Census 2000 statistical area boundary; used to hold Census statistical area boundaries not represented by existing physical features

ECfccF85 

Census 2000 tabulation block boundary; used to hold Census tabulation block boundaries not represented by existing physical features

ECfccF86 

Internal U.S. Census Bureau use

ECfccF87 

Oregon urban growth area boundary

ECfccF88 

Current statistical area boundary

ECfccH00 

Water feature, classification unknown or not elsewhere classified

ECfccH01 

Shoreline of perennial water feature

ECfccH02 

Shoreline of intermittent water feature

ECfccH10 

Stream boundary, major category

ECfccH11 

Perennial stream or river

ECfccH12 

Intermittent stream, river, or wash

ECfccH13 

Braided stream or river

ECfccH20 

Canal, ditch, or aqueduct, major category

ECfccH21 

Perennial canal, ditch, or aqueduct

ECfccH22 

Intermittent canal, ditch, or aqueduct

ECfccH30 

Lake or pond; major category used when the minor category could not be determined

ECfccH31 

Perennial lake or pond

ECfccH32 

Intermittent lake or pond

ECfccH40 

Reservoir; major category used when the minor category could not be determined

ECfccH41 

Perennial reservoir

ECfccH42 

Intermittent reservoir

ECfccH50 

Bay, estuary, gulf, sound, sea, or ocean; major category used when the minor category could not be determined

ECfccH51 

Bay, estuary, gulf, or sound

ECfccH53 

Sea or ocean

ECfccH59 

GDT Shoreline

ECfccH60 

Gravel pit or quarry filled with water

ECfccH70 

Nonvisible water area definition boundary; used to separate named water areas; major category

ECfccH71 

USGS closure line, used as maritime shoreline

ECfccH72 

Census water centerline, computed to use as median positional boundary

ECfccH73 

Census water boundary, international in waterways or at 12-mile limit, used as area measurement line

ECfccH74 

Census water boundary, separates inland from coastal or Great Lakes, used as area measurement line

ECfccH75 

Census water boundary, separates coastal from territorial sea at 3-mile limit, used as area measurement line

ECfccH80 

Special water feature, major category used when the minor category could not be determined

ECfccH81 

Glacier

ECfccX00 

Feature not yet classified

The general category of a character as defined in the Unicode Standard (http://www.unicode.org/versions/Unicode5.0.0/ch04.pdf). Each constant is a single bit so that masks can be made by combining them.

Enumerator:
EUpperCaseFlag 

A flag to indicate a character outside the categories Lu and Lt that has a lower-case variant. It is used internally.

Compositing operations supported by some graphics contexts. Alll graphics contexts support 'over' (EOverCompositingOp), which implements the standard painter's algorithm.

Enumerator:
EOverCompositingOp 

The standard 'over' compositing operation.

ERoutCompositingOp 

The 'reverse out' compositing operation: the foreground is used as a mask to remove parts of the background.

Methods for dealing with points that are outside the range covered by a gradient.

Enumerator:
EPadGradient 

Use the end colors of the gradient for any points outside the gradient range.

EReflectGradient 

Reflect the gradient end-to-start, start-to-end, repeatedly for points outside the gradient range.

ERepeatGradient 

Repeat the gradient start-to-end, start-to-end, repeatedly for points outside the gradient range.

The type of intersection of two line segments, made up of bit flags for convenience of testing.

Enumerator:
ENoIntersection 

Lines are parallel or coincident.

EFirstSegmentIntersectionBefore 

The intersection is before the start of the first segment.

EFirstSegmentIntersection 

The intersection is on the first segment.

EFirstSegmentIntersectionAfter 

The intersection is after the end of the first segment.

ESecondSegmentIntersectionBefore 

The intersection is before the start of the second segment.

ESecondSegmentIntersection 

The intersection is on the second segment.

ESecondSegmentIntersectionAfter 

The intersection is after the end of the second segment.

EBothSegmentsIntersection 

Combination of flags: the intersection is on both segments.

Methods of label matching.

Enumerator:
EExact 

Exact label match.

ELabelStart 

Match start of label.

Label positions.

Enumerator:
EDefaultLabelPosition 

The default label position causes the labels for point objects to be positioned next to them, the labels for line objects to be drawn along them, and the labels for polygon objects to be drawn horizontally across them.

ECentralPathLabelPosition 

The central path label position causes the labels for polygon objects to be fitted to the central path or main axis of the polygon. For non-polygon objects it is equivalent to EDefaultLabelPosition.

ECentralPathHorizontalLabelPosition 

A modified version of the central-path position that allows only horizontal fallback positions.

EHorizontalLabelPosition 

The horizontal label position is used for polygons and finds a horizontal line that fits inside the polygon. For non-polygon objects it is equivalent to EDefaultLabelPosition.

EBoxLabelPosition 

The box label position draws the label horizontally in a box. It can be used for major roads at small scales. If a more elaborate frame for a road number is needed, like a US highway shield, use EIconLabelPosition.

EIconLabelPosition 

Draw the label on an icon. The icon has attributes giving the position of the center of the text, and the maximum length of the text.

EAbovePathLabelPosition 

Draw the label above a path, offsetting its baseline by TLabelStyle::iBaselineOffset from a baseline below the text.

The case of letters and strings in Latin and a few other alphabetic scripts.

Enumerator:
ENoLetterCase 

A code used when the letter case is to be left as it is, or is irrelevant.

ELowerCase 

The case of the letters 'a', 'b', c', etc.

ETitleCase 

The case of letters like U+01C8 'Lj' and a few others; also indicates that the first letter of each word should be changed to titlecase.

EUpperCase 

The case of the letters 'A', 'B', 'C, etc.

Methods of adding caps to the ends of lines created as envelopes of open paths.

Enumerator:
ELineCapButt 

End a line with a straight line intersecting the end point and normal to the line direction.

ELineCapRound 

End a line with a half-circle. The center of the circle is the end point of the line.

ELineCapSquare 

End a line with a half-square. The center of the square is the end point of the line.

ELineCapEighthSquare 

End a line with an eighth-square. This is used to draw a road interior for a bridge; the border is drawn with a butt end, and making the interior slightly longer than the border prevents the artifacts that occur when both are drawn with a butt end.

Methods of joining segments of lines created as path envelopes.

Enumerator:
ELineJoinRound 

Use arcs of circles to join line segments.

ELineJoinBevel 

Extend line borders till they intersect.

ELineJoinMiter 

The same as ELineJoinBevel, but if long spikes are produced they are cut off.

Map datum systems.

Enumerator:
EUnknownMapDatum 

The map datum is arbitrary or unknown.

EWgs84MapDatum 

The map datum is the World Geodetic System of 1984 (WGS 84).

EOsgb36MapDatum 

The map datum is the British Ordnance Survey datum (OSGB36).

An enumerated type for map objects.

Enumerator:
EPointObject 

A point in two-dimensional space.

ELineObject 

A line in two-dimensional space, consisting of one or more open contours.

EPolygonObject 

A polygon in two-dimensional space, consisting of one or more closed contours.

EArrayObject 

Information arranged as an array of values, such as an image or height data.

EMapObjectTypes 

The total number of map object types. This is not an actual type.

ENoObjectType 

A value to use where a null type is needed.

The two-dimensional point format.

Enumerator:
EUnknownPointFormat 

An arbitrary or unknown point format.

EDegreePointFormat 

Fractional degrees, using 16.16 fixed-point numbers (i.e., 1/65536 degrees): these units are ~1.7 metres at the equator, smaller away from the equator

EMetrePointFormat 

Projected metres; unknown projection.

E64thsDegreePointFormat 

Fractional 64ths of degrees, using 16.16 fixed-point numbers (i.e., 1/65536 degrees): these units are ~2.6 centimetres at the equator, smaller away from the equator

E64thsMetrePointFormat 

Projected 64ths of metres; unknown projection.

EOrdnanceSurveyPointFormat 

Projected metres with a known projection type of British Ordnance Survey National Grid.

EMercatorPointFormat 

Projected metres with a known projection type of Mercator

Types used by TOutlinePoint.

Enumerator:
EOnCurvePoint 

A point on the curve.

EQuadraticControlPoint 

A control point for a quadratic (conic) Bezier spline curve.

ECubicControlPoint 

A control point for a cubic Bezier spline curve.

Projection types used when serialising projections. The type is not written by TCoordinateTransform::Write but is used only when needed.

Enumerator:
ENoProjection 

Not a projection type, but an indication that there is no projection.

ENullProjection 

The identity projection that does nothing.

EUtmProjection 

Universal Transverse Mercator (Spherical).

ETmProjection 

Transverse Mercator.

ECedProjection 

Cylindrical Equidistant.

EUtmEllipsoidalProjection 

Universal Transverse Mercator (Ellipsoidal).

EMercatorProjection 

Mercator.

EMillerCylindricalProjection 

Miller Cylindrical.

EOrdnanceSurveyProjection 

Ordnance Survey of Great Britain projection.

Standard types for road objects; level, bridge and tunnel flags are also used for other types of objects.

Bit assignments:

bit 0: tunnel; bit 1: divider; bit 2: restricted turn at start; bit 3: restricted turn at end; bit 4: one way forward; bit 5: one way backward; bit 6: link; bit 7: lower grade road; bits 8...11: major road type; bits 12...15: level; bit 16: bridge; bits 17...23: unassigned; bits 24...31: country.

Enumerator:
ERoadRoutingMask 

The divider, roundabout, restriction and direction flags are held in bits 1...5.

ERoadTypeMask 

The road type is held in bits 6...11.

EMajorRoadTypeMask 

The major road type is held in bits 8...11; bits 7 and 6 are used for finer distinctions.

ERoadLevelMask 

The level (0 = surface, positive = above surface, negative = below surface) is held as a signed nybble in bits 12...15. Levels above 0 are not necessarily bridges; they can be embankments or other raised structures, and levels below 0 are not necessarily tunnels. There are separate bits to mark bridges and tunnels: EBridgeRoadTypeFlag and ETunnelRoadTypeFlag.

The level mask is also used for levels in the 'Type' attribute of non-road objects.

ECountryRoadTypeMask 

The country code is held in bits 24...31. If zero it means 'any country'. It can be used for the per-country customisation features in the style sheet.

ETunnelRoadTypeFlag 

A bit flag to identify tunnels.

EBridgeRoadTypeFlag 

A bit flag to identify bridges.

ERoadLevelShift 

The amount by which road levels are shifted.

EUnknownMajorRoadType 

Roads of unknown type.

EPrimaryLimitedAccessRoadType 

Primary road with limited access (motorway, freeway, etc.).

EPrimaryUnlimitedAccessRoadType 

Primary road without limited access: UK 'A' road.

ESecondaryRoadType 

Secondary road: UK 'B' road.

EMinorRoadType 

Local road or town or city street.

EBywayRoadType 

Byway: road or track open to motor vehicles.

EAccessRampType 

Access ramp to limited access road.

EServiceRoadType 

Service road or access road.

EVehicularFerryRoadType 

Vehicular Ferry route.

EPassengerFerryRoadType 

Passenger-only Ferry route.

EPathRoadType 

Path or walkway for pedestrians.

EStairwayRoadType 

Stairway or escalator for pedestrians.

EDividerRoadTypeFlag 

A bit flag for roads separated by a logical or physical central divider, preventing U-turns, and right turns in left-driving countries and vice versa..

ERoundaboutRoadTypeFlag 

A bit flag indicating that the road is part of a roundabout.

ERestrictionRoadTypeFlag 

A bit flag indicating that the road has one or more restrictions (e.g., right turn only). The details of the restrictions are stored in string attributes.

EOneWayForwardRoadTypeFlag 

A bit flag indicating that the road is one-way in the direction in which it is defined.

EOneWayBackwardRoadTypeFlag 

A bit flag indicating that the road is one-way in the reverse direction to that in which it is defined.

ERampRoadTypeFlag 

A bit flag to allow access ramps to be marked as sub-types of a major road type.

ELinkRoadTypeFlag 

An obsolete synonym for ERampRoadTypeFlag, retained for backward compatibility.

ELowerGradeRoadTypeFlag 

A bit flag to allow a distinction to be made between grades of road, within the major road type. It allows OSM data to distinguish trunk roads from primary roads in a backward-compatible way.

EFirstOverRoadLevel 

The first raised level: the default level for a bridge or overpass.

EFirstUnderRoadLevel 

The first sub-surface level: the default value for an underpass.

ESecondUnderRoadLevel 

The second sub-surface level: the default value for a tunnel.

The encoding for reading or writing strings.

The endianness for data streams.

Types of terrain array object.

Enumerator:
ETerrainShadowArray 

Heights as 8-bit alpha values representing illumination by a light source representing the sun.

ETerrainHeightMetresLogArray 

Heights as unsigned 8-bit numbers representing a logarithmic scale of metres.

Zero and positive heights - up to 8848m (Everest) - occupy the range of values 32...255 and are obtained by raising each height to the power 0.595475 (ln 224 / ln 8848) and adding 32.

Negative heights - down to -418m (Dead Sea) - occupy the range of values 0...31 and are obtained by raising the negated value of each height to the power 0.574227 (ln 32 / ln 418) and subtracting from 32.

ETerrainHeightFeetArray 

Heights as unsigned 8-bit numbers representing feet, using 100-foot intervals at lower heights and 200-foot intervals at greater heights.

We use 0 for unknown heights (sea or unspecified); 1...15 for -1400ft to sea level in intervals of 100ft; 16...195 for 100ft to 18,000ft in intervals of 100ft; and 196...255 for 18,200ft to 30,000ft in intervals of 200ft.

Baselines used for aligning text.

Enumerator:
EAlphabeticBaseline 

The baseline for Latin and similar scripts. It is at or near the bottom of 'A'.

EIdeographicBaseline 

The bottom edge of Han ideographic characters.

EHangingBaseline 

The top edge of characters in hanging Indic scripts like Devanagari.

EMathematicalBaseline 

The baseline used for mathematical symbols.

ECentralBaseline 

A baseline half way between the leading and trailing edges (top and bottom, for horizontal setting) of the em square.

EMiddleBaseline 

A baseline that is offset from the alphabetic baseline upwards by 1/2 the value of the x-height.

ETextBeforeEdgeBaseline 

The top edge of the em box.

ETextAfterEdgeBaseline 

The bottom edge of the em box.

ECentralCapsBaseline 

A baseline half way between the ascent line and the alphabetic baseline, suitable for text that is wholly in capital letters.

Texture implementation types.

Enumerator:
ESimpleTexture 

A simple software-only implementation of textures.

EOpenGlTexture 

An OpenGL texture.


Function Documentation

void CartoType::Check ( bool  aExp) [inline]

Check is the same as Assert but is enabled in both debug and non-debug builds.

int32 CartoType::operator* ( int32  aValue,
TFixed  aFixed 
) [inline]

Multiply an integer by a fixed-point value and return an integer. The return value is rounded.

CT_EXPORT void CartoType::operator*= ( int32 &  aValue,
TFixed  aFixed 
)

An assignment operator to multiply an integer by a fixed-point value and return an integer. The return value is rounded.


Variable Documentation

const uint32 CartoType::KBlack = 0xFF000000

Opaque black.

const uint32 CartoType::KBlue = 0xFFFF0000

Opaque blue.

const uint32 CartoType::KBoldStyle = 1

Constants used to refer to styles in TTypefaceAttrib, etc. These are flags used in a 32-bit word. The bit flag used to select bold face in TTypefaceAttrib::Style, etc.

const uint32 CartoType::KCursiveStyle = 8

The bit flag used to select a cursive font in TTypefaceAttrib::Style, etc.

const uint32 CartoType::KCyan = 0xFFFFFF00

Opaque cyan.

const uint32 CartoType::KDarkBlue = 0xFF800000

Opaque dark blue.

const uint32 CartoType::KDarkCyan = 0xFF808000

Opaque dark cyan.

const uint32 CartoType::KDarkGray = 0xFF555555

Opaque dark gray.

const uint32 CartoType::KDarkGreen = 0xFF008000

Opaque dark green.

const uint32 CartoType::KDarkMagenta = 0xFF800080

Opaque dark magenta.

const uint32 CartoType::KDarkRed = 0xFF000080

Opaque dark red.

const uint32 CartoType::KDarkYellow = 0xFF008080

Opaque dark yellow.

const int32 CartoType::KError28Reserved = 28

This error code is reserved and is currently unused.

There was an attempt to project a map object that had already been projected.

const int32 CartoType::KErrorCancel = 14

The code KErrorCancel is returned to cancel an asynchronous operation that uses callbacks. The callback or virtual function returns this code. the caller must terminate further processing on receipt of any error, but this one indicates that there has been no actual error, but the handler has canceled the operation.

const int32 CartoType::KErrorCentralPath = 27

The central-path system failed to create a usable path.

Conditions are too deeply nested in the style sheet.

const int32 CartoType::KErrorCorrupt = 10

Use KErrorCorrupt when illegal values are found when reading data from a file or other serialized form.

Division by zero in an interpreted expression.

const int32 CartoType::KErrorDuplicate = 23

An attempt was made to insert a duplicate object into a collection class that does not allow duplicates.

const int32 CartoType::KErrorEndOfData = 3

KErrorEndOfData is returned by iterators and streams when no more data is available. It may be treated as an error or not depending on the circumstances.

const int32 CartoType::KErrorGeneral = 1

Use KErrorGeneral where an error has occurred but no other CartoType error is applicable. For example, this error code can be used when FreeType returns an error code for illegal TrueType hinting instructions.

const int32 CartoType::KErrorInternetIo = 33

An attempt to read data from the internet failed.

const int32 CartoType::KErrorInterrupt = 39

An operation was interrupted, for example by another thread writing to a shared flag.

This error is returned when an invalid argument has been given to a function.

The dash array for drawing strokes is invalid.

If the graphics system detects an invalid outline, such as one that starts with a cubic control point, it returns KErrorInvalidOutline.

const int32 CartoType::KErrorIo = 9

The code KErrorIo should be used for unexpected read or write errors on files or other data streams. This is for where you attempt to read data that should be there, but the OS says it's unavailable (e.g., someone has taken the CD out of the drive or the network is down).

const int32 CartoType::KErrorJpgRead = 37

Reading a bitmap from JPG format failed.

Text was drawn along a path but the maximum allowed angle between the baselines of successive characters was exceeded.

An object did not intersect a specified region.

const int32 CartoType::KErrorNoInverse = 12

This error is returned by transformation inversion if the transformation has no inverse.

const int32 CartoType::KErrorNoMemory = 2

Use KErrorNoMemory when an attempted memory allocation fails.

const int32 CartoType::KErrorNone = 0

No error; a successful result.

const int32 CartoType::KErrorNoPalette = 22

An attempt was made to draw a bitmap needing a color palette but no palette was provided.

The projection for converting latitude and longitude to map coordinates is unknown or unavailable.

const int32 CartoType::KErrorNotFound = 6

KErrorNotFound is returned whenever a resource like a file is not found, or a search fails. It may be treated as an error or not depending on the circumstances.

const int32 CartoType::KErrorNullFont = 32

There was an attempt to use a null font for drawing text.

const int32 CartoType::KErrorOverflow = 17

This error is returned by the base library when reading data or calculations result in overflow.

const int32 CartoType::KErrorOverlap = 18

Graphics functions can use this code to indicate that two graphics objects overlap.

const int32 CartoType::KErrorPaletteFull = 25

A palette is full and no new entries can be added.

The error code returned by line intersection algorithms when the lines are parallel.

Text was drawn along a path but the path was too short for all the text.

const int32 CartoType::KErrorPngRead = 36

Reading a bitmap from PNG format failed.

This error is returned by the projection system if the projection causes overflow.

const int32 CartoType::KErrorSystem = 0x73790000

The base of error codes for returning system and C standard library errors. The high two bytes of this number are the ASCII characters 's' and 'y'. The system error code itself is placed in the lower two bytes.

KErrorTextTruncated is returned when text inserted into a string derived from MString is too long for a fixed-size buffer.

KErrorTextUnmodifiable is returned when an attempt is made to modify an unmodifiable string represented by a class derived from MString.

A transform failed because an argument or result was out of range.

The code KErrorUnimplemented is used for functions that have not yet been implemented, or for circumstances or options within functions that remain unimplemented because they are deemed to be either rarely or never useful.

This error is returned by database accessors, typeface accessors, etc., to indicate that this data format is unknown to a particular accessor. It is not really an error but tells the caller to try the next accessor in the list.

This error is returned by a data reader when it can not deal with the data version.

const int32 CartoType::KErrorXmlBase = 0x73610000

This is the base error code for all errors from the SAX API to the XML parser and to the XML parser subsystem. It is made from the ASCII codes of the letters 's' and 'a', standing for 'SAX'.

This error is returned by the XML system if a feature is not supported by the parser.

The next 4096 entries are reserved for CartoType users of the XML system.

The first 1024 entries are reserved for errors from the third party XML parser.

The remainder of the entries are for external users of the XML system.

The next 1024 entries are reserved for errors from the Sax wrapper.

There was an attempt to zoom beyond the legal zoom limits for a map.

const uint32 CartoType::KFantasyStyle = 16

The bit flag used to select a 'fantasy' font (as defined in http://www.w3.org/TR/REC-CSS2/fonts.html#generic-font-families) in TTypefaceAttrib::Style, etc.

const int32 CartoType::KGraphicsErrorBase = 0x47520000

Graphics errors start at KGraphicsErrorBase. The top bytes of this value encode 'GR' in ASCII.

const uint32 CartoType::KGray = 0xFFAAAAAA

Opaque gray.

const uint32 CartoType::KGreen = 0xFF00FF00

Opaque green.

const int32 CartoType::KIconNameLength = 32

The maximum length of an icon name.

const uint32 CartoType::KItalicStyle = 2

The bit flag used to select italics in styles in TTypefaceAttrib::Style, etc.

const uint32 CartoType::KLatinScript = 1

Constants used to refer to scripts in TTypefaceAttrib, etc. There are only 32 constants and all are assigned, because they are used as flags in a 32-bit word to show which scripts are supported by a typeface.

Scripts not encoded, such as Syriac, Thaana, Cherokee, Runic, etc., are represented by KOtherScript, except for symbol sets and 'pi fonts', which are indicated by KSymbolScript.

There is a reserved code, KReservedScript, which must not be used.

const uint32 CartoType::KMagenta = 0xFFFF00FF

Opaque magenta.

The maximum length of a paint server name.

const uint16 CartoType::KMaxTableCount = 7

Maximum number of tables expected in input.

The maximum length of a typeface name.

const int CartoType::KMinCenterLineWidth = 65536 / 4

Road center lines are not drawn unless they are at least a quarter pixel wide.

const int CartoType::KMinEdgeWidth = 65536 / 2

Line edges are not drawn unless they are at least half a pixel wide.

const int CartoType::KMinLineWidthForEdges = 65536 * 2

Line edges and road center lines are not drawn unless the line is at least two pixels wide.

const uint16 CartoType::KMinTableCount = 2

Minimum number of tables expected in input.

const uint32 CartoType::KMonospaceStyle = 32

The bit flag used to select a monospace font in TTypefaceAttrib::Style, etc.

const uint32 CartoType::KRed = 0xFF0000FF

Opaque red.

const uint32 CartoType::KSerifStyle = 4

The bit flag used to select a serif font in TTypefaceAttrib::Style, etc.

const uint32 CartoType::KTransparentBlack = 0x00000000

The 'null color' transparent black.

const uint32 CartoType::KWhite = 0xFFFFFFFF

Opaque white.

const uint32 CartoType::KYellow = 0xFF00FFFF

Opaque yellow.