![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
This class contains a complete set of rendering attributes.
Public Types | |
enum | { UNDEFINED_VALUE = TSL_UNDEFINED_VALUE , MULTIPLE_VALUE = TSL_MULTIPLE_VALUE } |
Public Member Functions | |
TSLRenderingAttributes () | |
TSLRenderingAttributes (const TSLRenderingAttributes &rhs) | |
bool | merge (const TSLRenderingAttributes *source) |
void | mergeWithParent (const TSLRenderingAttributes &parent) |
TSLRenderingAttributes & | operator= (const TSLRenderingAttributes &rhs) |
TSLRenderingAttributes & | operator+= (const TSLRenderingAttributes &other) |
bool | operator== (const TSLRenderingAttributes &other) const |
Equality operator. | |
void | reset () |
TSLRenderingAttributes::TSLRenderingAttributes | ( | ) |
Default constructor.
All values are set to their 'undefined' state, as if reset had been called.
TSLRenderingAttributes::TSLRenderingAttributes | ( | const TSLRenderingAttributes & | rhs | ) |
Copy constructor for TSLRenderingAttributes
bool TSLRenderingAttributes::merge | ( | const TSLRenderingAttributes * | source | ) |
This method merges the specified TSLRenderingAttributes with this one. Each value in the specified structure is compared with the equivalent in this one.
If either value is 'multiple', then the value is ignored.
If this value is 'undefined' or differs from the one contained within the source structure then the value is set to that which is contained within the source structure, provided the value is defined.
Returns true on success, false otherwise.
void TSLRenderingAttributes::mergeWithParent | ( | const TSLRenderingAttributes & | parent | ) |
Merge with a 'parent' set of attributes
This method performs a merge with a set of 'parent' attributes. Any attribute in this object which is currently set to the 'undefined' value may be overwritten with the parent's value.
parent | The parent object to merge with |
TSLRenderingAttributes & TSLRenderingAttributes::operator+= | ( | const TSLRenderingAttributes & | other | ) |
Addition operator.
This method merges the specified TSLRenderingAttributes with this one. Each value in the specified structure is compared with the equivalent in this one.
If this value is 'multiple', then the other value is ignored.
If this value is 'undefined', and the other value has a defined value, then the other value is copied to this structure.
If neither value is 'undefined', and the values are different, then this value is set to 'multiple'
TSLRenderingAttributes & TSLRenderingAttributes::operator= | ( | const TSLRenderingAttributes & | rhs | ) |
Assignment operator
bool TSLRenderingAttributes::operator== | ( | const TSLRenderingAttributes & | other | ) | const |
Equality operator.
|
inline |
Resets the structure to default, 'undefined' values
int TSLRenderingAttributes::m_borderColour |
Border colour for bordered polygons
Equivalent of TSLRenderingAttributeBorderColour.
The undefined value is TSLRenderingAttributes::UNDEFINED_VALUE (-1)
The multiple value is TSLRenderingAttributes::MULTIPLE_VALUE (-2)
int TSLRenderingAttributes::m_borderWidth |
Border width of Bordered Polygons - in TMC units
Equivalent of TSLRenderingAttributeBorderWidth .
The undefined value is TSLRenderingAttributes::UNDEFINED_VALUE (-1)
The multiple value is TSLRenderingAttributes::MULTIPLE_VALUE (-2)
int TSLRenderingAttributes::m_edge3DDepthTest |
Equivalent of TSLRenderingAttributeEdgeDepthTest
The undefined value is TSL3DDepthTest::TSL3DDepthTestUndefined(3)
int TSLRenderingAttributes::m_edgeColour |
Edge colour for lines, arcs etc.
Equivalent of TSLRenderingAttributeEdgeColour.
The undefined value is TSLRenderingAttributes::UNDEFINED_VALUE (-1)
The multiple value is TSLRenderingAttributes::MULTIPLE_VALUE (-2)
int TSLRenderingAttributes::m_edgeStyle |
Edge style for lines, arcs etc.
Equivalent of TSLRenderingAttributeEdgeStyle.
The undefined value is TSLRenderingAttributes::UNDEFINED_VALUE (-1)
The multiple value is TSLRenderingAttributes::MULTIPLE_VALUE (-2)
double TSLRenderingAttributes::m_edgeThickness |
Edge thickness for lines, arcs etc.
Equivalent of TSLRenderingAttributeEdgeThickness.
The undefined value is TSLRenderingAttributes::UNDEFINED_VALUE (-1)
The multiple value is TSLRenderingAttributes::MULTIPLE_VALUE (-2)
TSLDimensionUnits TSLRenderingAttributes::m_edgeThicknessUnits |
Edge thickness units for lines, arcs etc.
Equivalent of TSLRenderingAttributeEdgeThicknessUnits
The undefined value is TSLDimensionUnitsUndefined
The multiple value is TSLDimensionUnitsMultiple
double TSLRenderingAttributes::m_entity3DMaxDrawDistance |
The lower bound distance defining the end point of the valid range in which to draw a 3D Entity
Range is defined as: [TSLRenderingAttributeMinDrawDistance...TSLRenderingAttributeMaxDrawDistance[
If either limit is negative the limit value is ignored.
This is the equivalent of TSLRenderingAttributeMaxDrawDistance.
double TSLRenderingAttributes::m_entity3DMinDrawDistance |
The lower bound distance defining the start point of the valid range in which to draw a 3D Entity.
Range is defined as: [TSLRenderingAttributeMinDrawDistance...TSLRenderingAttributeMaxDrawDistance[
If either limit is negative the limit value is ignored.
This is the equivalent of TSLRenderingAttributeMinDrawDistance.
int TSLRenderingAttributes::m_exteriorEdgeColour |
Edge colour for polygons, ellipses etc.
Equivalent of TSLRenderingAttributeExteriorEdgeColour.
The undefined value is TSLRenderingAttributes::UNDEFINED_VALUE (-1)
The multiple value is TSLRenderingAttributes::MULTIPLE_VALUE (-2)
int TSLRenderingAttributes::m_exteriorEdgeStyle |
Edge style for polygons, ellipses etc.
Equivalent of TSLRenderingAttributeExteriorEdgeStyle.
The undefined value is TSLRenderingAttributes::UNDEFINED_VALUE (-1)
The multiple value is TSLRenderingAttributes::MULTIPLE_VALUE (-2)
double TSLRenderingAttributes::m_exteriorEdgeThickness |
Edge thickness for polygons, ellipses etc.
Equivalent of TSLRenderingAttributeExteriorEdgeThickness.
The undefined value is TSLRenderingAttributes::UNDEFINED_VALUE (-1)
The multiple value is TSLRenderingAttributes::MULTIPLE_VALUE (-2)
TSLDimensionUnits TSLRenderingAttributes::m_exteriorEdgeThicknessUnits |
Edge thickness units for polygons, ellipses etc.
Equivalent of TSLRenderingAttributeExteriorEdgeThicknessUnits
The undefined value is TSLDimensionUnitsUndefined
The multiple value is TSLDimensionUnitsMultiple
int TSLRenderingAttributes::m_fill3DDepthTest |
Equivalent of TSLRenderingAttributeFillDepthTest
The undefined value is TSL3DDepthTest::TSL3DDepthTestUndefined(3)
int TSLRenderingAttributes::m_fillColour |
Fill colour for polygons, ellipses, rectangles etc.
Equivalent of TSLRenderingAttributeFillColour.
The undefined value is TSLRenderingAttributes::UNDEFINED_VALUE (-1)
The multiple value is TSLRenderingAttributes::MULTIPLE_VALUE (-2)
int TSLRenderingAttributes::m_fillStyle |
Fill style for polygons, ellipses, rectangles etc.
Equivalent of TSLRenderingAttributeFillStyle.
The undefined value is TSLRenderingAttributes::UNDEFINED_VALUE (-1)
The multiple value is TSLRenderingAttributes::MULTIPLE_VALUE (-2)
TSLRenderLevel TSLRenderingAttributes::m_renderLevel |
The render level for entities.
The undefined value is 'TSLRenderLevelUndefined'
The multiple value is 'TSLRenderLevelMultiple'
int TSLRenderingAttributes::m_symbol3DDepthTest |
Equivalent of TSLRenderingAttributeSymbolDepthTest
The undefined value is TSL3DDepthTest::TSL3DDepthTestUndefined(3)
int TSLRenderingAttributes::m_symbolColour |
Symbol colour.
Equivalent of TSLRenderingAttributeSymbolColour.
The undefined value is TSLRenderingAttributes::UNDEFINED_VALUE (-1)
The multiple value is TSLRenderingAttributes::MULTIPLE_VALUE (-2)
int TSLRenderingAttributes::m_symbolFontCharacter |
32bit Unicode code point value if the symbol style is a font symbol.
The Unicode code point is displayed from the font specified via the symbol Style.
The undefined value is TSL_UNDEFINED_FONT_CHARACTER_VALUE
The multiple value is TSL_MULTIPLE_FONT_CHARACTER_VALUE
The value should be considered as an unsigned value.
int TSLRenderingAttributes::m_symbolMaxPixelSize |
Maximum pixel size for symbols.
Equivalent of TSLRenderingAttributeSymbolMaxPixelSize
The undefined value is TSLRenderingAttributes::UNDEFINED_VALUE (-1)
The multiple value is TSLRenderingAttributes::MULTIPLE_VALUE (-2)
int TSLRenderingAttributes::m_symbolMinPixelSize |
Minimum pixel size for symbols.
Equivalent of TSLRenderingAttributeSymbolMinPixelSize
The undefined value is TSLRenderingAttributes::UNDEFINED_VALUE (-1)
The multiple value is TSLRenderingAttributes::MULTIPLE_VALUE (-2)
TSLSymbolRotation TSLRenderingAttributes::m_symbolRotatable |
Rotatability for symbol
Equivalent of TSLRenderingAttributeSymbolRotatable
The undefined value is TSLSymbolRotationUndefined
The multiple value is TSLSymbolRotationMultiple
TSLRasterSymbolScalable TSLRenderingAttributes::m_symbolScalable |
Scalability for symbol
Equivalent of TSLRenderingAttributeRasterSymbolScalable
The undefined value is TSLRasterSymbolScalableUndefined
The multiple value is TSLRasterSymbolScalableMultiple
double TSLRenderingAttributes::m_symbolSizeFactor |
Size factor for symbol.
Equivalent of TSLRenderingAttributeSymbolSizeFactor.
The undefined value is TSLRenderingAttributes::UNDEFINED_VALUE (-1)
The multiple value is TSLRenderingAttributes::MULTIPLE_VALUE (-2)
TSLDimensionUnits TSLRenderingAttributes::m_symbolSizeFactorUnits |
Units for symbol size
Equivalent of TSLRenderingAttributeSymbolSizeFactorUnits
The undefined value is TSLDimensionUnitsUndefined
The multiple value is TSLDimensionUnitsMultiple
int TSLRenderingAttributes::m_symbolStyle |
Style for symbols
Equivalent of TSLRenderingAttributeSymbolStyle.
The undefined value is TSLRenderingAttributes::UNDEFINED_VALUE (-1)
The multiple value is TSLRenderingAttributes::MULTIPLE_VALUE (-2)
int TSLRenderingAttributes::m_text3DDepthTest |
Equivalent of TSLRenderingAttributeTextDepthTest
The undefined value is TSL3DDepthTest::TSL3DDepthTestUndefined(3)
int TSLRenderingAttributes::m_textBackgroundColour |
Text background colour.
Equivalent of TSLRenderingAttributeTextBackgroundColour.
The undefined value is TSLRenderingAttributes::UNDEFINED_VALUE (-1)
The multiple value is TSLRenderingAttributes::MULTIPLE_VALUE (-2)
int TSLRenderingAttributes::m_textBackgroundEdgeColour |
Text background edge colour.
Equivalent of TSLRenderingAttributeTextBackgroundEdgeColour.
The undefined value is TSLRenderingAttributes::UNDEFINED_VALUE (-1)
The multiple value is TSLRenderingAttributes::MULTIPLE_VALUE (-2)
TSLTextBackgroundMode TSLRenderingAttributes::m_textBackgroundMode |
Mode for any text background.
Equivalent of TSLRenderingAttributeTextBackgroundMode
The undefined value is TSLTextBackgroundModeUndefined
The multiple value is TSLTextBackgroundModeMultiple
int TSLRenderingAttributes::m_textBackgroundStyle |
Fill style for text background rectangles
Equivalent of TSLRenderingAttributeTextBackgroundStyle.
The undefined value is TSLRenderingAttributes::UNDEFINED_VALUE (-1)
The multiple value is TSLRenderingAttributes::MULTIPLE_VALUE (-2)
int TSLRenderingAttributes::m_textColour |
Text colour.
Equivalent of TSLRenderingAttributeTextColour.
The undefined value is TSLRenderingAttributes::UNDEFINED_VALUE (-1)
The multiple value is TSLRenderingAttributes::MULTIPLE_VALUE (-2)
int TSLRenderingAttributes::m_textFont |
Font for text entities.
Equivalent of TSLRenderingAttributeTextFont.
The undefined value is TSLRenderingAttributes::UNDEFINED_VALUE (-1)
The multiple value is TSLRenderingAttributes::MULTIPLE_VALUE (-2)
TSLHorizontalAlignment TSLRenderingAttributes::m_textHorizontalAlignment |
Text horizontal alignment
Equivalent of TSLRenderingAttributeTextHorizontalAlignment
The undefined value is TSLHorizontalAlignmentUndefined
The multiple value is TSLHorizontalAlignmentMultiple
int TSLRenderingAttributes::m_textMaxPixelHeight |
Maximum pixel size for text.
Equivalent of TSLRenderingAttributeTextMaxPixelHeight
The undefined value is TSLRenderingAttributes::UNDEFINED_VALUE (-1)
The multiple value is TSLRenderingAttributes::MULTIPLE_VALUE (-2)
int TSLRenderingAttributes::m_textMinPixelHeight |
Minimum pixel size for text.
Equivalent of TSLRenderingAttributeTextMinPixelHeight
The undefined value is TSLRenderingAttributes::UNDEFINED_VALUE (-1)
The multiple value is TSLRenderingAttributes::MULTIPLE_VALUE (-2)
TSLDimensionUnits TSLRenderingAttributes::m_textOffsetUnits |
Units for text offset.
Equivalent of TSLRenderingAttributeTextOffsetUnits
The undefined value is TSLDimensionUnitsUndefined
The multiple value is TSLDimensionUnitsMultiple
double TSLRenderingAttributes::m_textOffsetX |
Offset in X dimension for text.
Equivalent of TSLRenderingAttributeTextOffsetX
Since almost any value is valid for this, the 'undefined'/'multiple' behaviour of this field is controlled by the textOffsetUnits attribute.
double TSLRenderingAttributes::m_textOffsetY |
Offset in Y dimension for text.
Equivalent of TSLRenderingAttributeTextOffsetY
Since almost any value is valid for this, the 'undefined'/'multiple' behaviour of this field is controlled by the textOffsetUnits attribute.
TSLTextRotation TSLRenderingAttributes::m_textRotatable |
Rotatability for text
Equivalent of TSLRenderingAttributeTextRotatable
The undefined value is TSLTextRotationUndefined
The multiple value is TSLTextRotationMultiple
double TSLRenderingAttributes::m_textSizeFactor |
Size factor for text.
Equivalent of TSLRenderingAttributeTextSizeFactor.
The undefined value is TSLRenderingAttributes::UNDEFINED_VALUE (-1)
The multiple value is TSLRenderingAttributes::MULTIPLE_VALUE (-2)
TSLDimensionUnits TSLRenderingAttributes::m_textSizeFactorUnits |
Units for text size
Equivalent of TSLRenderingAttributeTextSizeFactorUnits
The undefined value is TSLDimensionUnitsUndefined
The multiple value is TSLDimensionUnitsMultiple
TSLVerticalAlignment TSLRenderingAttributes::m_textVerticalAlignment |
Text vertical alignment
Equivalent of TSLRenderingAttributeTextVerticalAlignment
The undefined value is TSLVerticalAlignmentUndefined
The multiple value is TSLVerticalAlignmentMultiple