CartoType API
Public Member Functions | Public Attributes
CartoType::TLineStyle Class Reference

#include <cartotype_style_sheet.h>

Inheritance diagram for CartoType::TLineStyle:
CartoType::THighlightStyle

List of all members.

Public Member Functions

CT_IMPORT void Normalise ()
CT_IMPORT void Inherit (const TLineStyle &aLineStyle)
CT_IMPORT TFixed MaxIntersectionDistance () const

Public Attributes

TPaint iFill
TPaint iBorder
TFixed iWidth
TFixed iBorderWidth
CSymboliRepeatedSymbol
uint32 iRepeatedSymbolFlags
CSymboliStartSymbol
CSymboliEndSymbol
const CDashArrayiDashArray
class THighlightStyleiHighlight
TFixed iMaxIntersectionDistance
bool iFillIsPaintStripper
TFixed iTruncationAtStart
TFixed iTruncationAtEnd

Detailed Description

The style of a line.


Member Data Documentation

The paint used for the borders of lines.

Width of borders in pixels.

If non-null, a pointer to the dash array used for drawing lines.

If non-null, a symbol to be drawn at the end of the line. The symbol is relative to the right end of the last segment of the line. Not owned.

The paint used for the interiors of lines.

True if the interior of the line is to be removed, as if by drawing it using paint stripper. This special effect overrides the fill paint. It is useful only if drawing a set of lines into a fresh surface, because it destroys anything underneath the interior of the lines.

If non-null, a pointer to a list of highlight styles.

The maximum distance from an object, in pixels, that is affected when a line is drawn.To set this value correctly, call Normalise after setting the other parameters.

If non-null this member points to a repeated symbol to be drawn along paths, for instance an arrow to be drawn along one-way streets. For compiled styles the symbol is owned by the CMap::CStyle object.

Flags modifying the behaviour of repeated symbols.

If non-null, a symbol to be drawn at the start of the line. The symbol is relative to the left end of the first segment of the line. Not owned.

The amount by which the line is to be truncated at its end.

The amount by which the line is to be truncated at its start.

Width of lines, including borders, in pixels.


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