Vector label class. More...
#include <rvc/vector.h>
Vector label class.
| RVC::VECTOR::LABEL::LABEL | ( | ) |
Default constructor.
| RVC::VECTOR::LABEL::LABEL | ( | const LABEL & | rhs | ) |
Copy constructor.
| RVC::VECTOR::LABEL::~LABEL | ( | ) |
Destructor.
| void RVC::VECTOR::LABEL::AddLeaderLine | ( | const LEADERLINE & | LeaderLine | ) |
Add a leader line to the label.
| void RVC::VECTOR::LABEL::Clear | ( | ) |
Clear the label of the string and base points and leader lines.
| void RVC::VECTOR::LABEL::ClearLeaderLines | ( | ) |
Clear the leader lines of the label.
| void RVC::VECTOR::LABEL::DeleteLeaderLine | ( | MILIST< LEADERLINE >::ITERATOR | it | ) |
Delete a leader line from the label.
| const POLYLINE& RVC::VECTOR::LABEL::GetBaselinePoints | ( | ) | const |
Get label baseline points.
Compute the extents of this label.
| ERRVALUE RVC::VECTOR::LABEL::GetExtents | ( | DRECT3D & | extents, | |
| RVC::STYLE * | StyleObj = 0 | |||
| ) | const |
Compute the extents of this label.
| double RVC::VECTOR::LABEL::GetHeight | ( | ) | const |
Get the label height in object units.
| INT32 RVC::VECTOR::LABEL::GetNumLeaderLines | ( | ) | const |
| const MISTRING& RVC::VECTOR::LABEL::GetString | ( | ) | const |
Get the label string.
| INT32 RVC::VECTOR::LABEL::GetStyleIndex | ( | ) | const |
Get the label style index.
| const RVC::OBJECTNAME& RVC::VECTOR::LABEL::GetStyleName | ( | ) | const |
Get the label style name.
| bool RVC::VECTOR::LABEL::IsBaselineFit | ( | ) | const |
Does the label follow the baseline?
| bool RVC::VECTOR::LABEL::IsBaselineSplineFit | ( | ) | const |
Does the label follow the splined baseline?
| bool RVC::VECTOR::LABEL::IsClipUnderSet | ( | ) | const |
Clip vector features under the label when rendering.
| bool RVC::VECTOR::LABEL::IsEquivalentTo | ( | const LABEL & | rhs, | |
| double | threshold | |||
| ) | const |
Determine if the two label elements are equivalent This method uses "Fuzzy" vertex comparisons and the direction and order of the elements are not relevant.
| bool RVC::VECTOR::LABEL::IsValid | ( | ) | const |
Is label valid.
| MILIST<LEADERLINE>::ITERATOR RVC::VECTOR::LABEL::LeaderLineBegin | ( | ) |
Obtain beginning label leader line iterator.
| MILIST<LEADERLINE>::CONST_ITERATOR RVC::VECTOR::LABEL::LeaderLineBegin | ( | ) | const |
Obtain beginning label leader line const iterator.
| MILIST<LEADERLINE>::ITERATOR RVC::VECTOR::LABEL::LeaderLineEnd | ( | ) |
Obtain ending label leader line iterator.
| MILIST<LEADERLINE>::CONST_ITERATOR RVC::VECTOR::LABEL::LeaderLineEnd | ( | ) | const |
Obtain ending label leader line const iterator.
| void RVC::VECTOR::LABEL::SetBaselineFit | ( | bool | value | ) |
Set the label to follow the baseline.
| void RVC::VECTOR::LABEL::SetBaselinePoints | ( | const POLYLINE & | baseline | ) |
Set label baseline points.
| void RVC::VECTOR::LABEL::SetBaselineSplineFit | ( | bool | value | ) |
Set the label to follow the splined baseline.
| void RVC::VECTOR::LABEL::SetClipUnder | ( | bool | value | ) |
Set the label clip under flag.
| void RVC::VECTOR::LABEL::SetHeight | ( | double | height | ) |
Set the label height in object units.
| void RVC::VECTOR::LABEL::SetString | ( | const MISTRING & | string | ) |
Set the label string.
| void RVC::VECTOR::LABEL::SetStyle | ( | const RVC::OBJECTNAME & | StyleName, | |
| INT32 | StyleIndex = -1 | |||
| ) |
| ERRVALUE RVC::VECTOR::LABEL::Translate | ( | const TRANS2D_MAPGEN & | tmg | ) |
Translate label through a generic coordinate transformation.
1.6.1