MGPS::SYMBOL Class Reference
GPS symbol.
More...
#include <mi32/mgps.h>
List of all members.
Public Types |
| enum | FLAGS {
FLAG_None = 0,
FLAG_PatternSymbol = 0x00000001,
FLAG_PatternBitmap = 0x00000002,
FLAG_SizeBySpeed = 0x00000004,
FLAG_SizeLengthOnly = 0x00000008,
FLAG_KeepUpright = 0x00000010
} |
| enum | ORIENT { ORIENT_HeadingUp = 0,
ORIENT_HeadingRight = 1,
ORIENT_HeadingDown = 2,
ORIENT_HeadingLeft = 3
} |
Public Member Functions |
| | SYMBOL (const SYMBOL &rhs) |
| | SYMBOL () |
| | ~SYMBOL () |
| bool | Draw (MGD::CONTEXT *ggc, const DPOINT2D *point, const DPOINT2D *dirpoint, const DPOINT2D *waypoint, LRECT2D *retextents) const |
| const COLOR & | GetColor () const |
| UINT8 | GetPatternNum () const |
| double | GetSize () const |
| ERRVALUE | GetStyle (RVC::STYLE &ObjStyle, POINTSTYLE &Style) const |
| SYMBOL & | operator= (const SYMBOL &rhs) |
| void | ReadIniSettings (const char *IniGroup, const char *SymbolName, RVC::STYLE &ObjStyle) |
| void | ReadPattern (RVC::STYLE &ObjStyle) |
| void | SetColor (const char *name) |
| void | SetColor (const COLOR &color) |
| void | SetPatternNum (UINT8 PatternNum) |
| void | SetSize (double size) |
| ERRVALUE | SetStyle (RVC::STYLE &ObjStyle, const POINTSTYLE &Style) |
| void | WriteIniSettings (const char *IniGroup, const char *SymbolName) const |
Detailed Description
GPS symbol.
Member Enumeration Documentation
- Enumerator:
| FLAG_None |
|
| FLAG_PatternSymbol |
Use "symbol" pattern.
|
| FLAG_PatternBitmap |
Use bitmap pattern.
|
| FLAG_SizeBySpeed |
Control symbol size by speed.
|
| FLAG_SizeLengthOnly |
Only resize "length".
|
| FLAG_KeepUpright |
Keep left/right oriented symbols "upright".
|
- Enumerator:
| ORIENT_HeadingUp |
|
| ORIENT_HeadingRight |
|
| ORIENT_HeadingDown |
|
| ORIENT_HeadingLeft |
|
Constructor & Destructor Documentation
| MGPS::SYMBOL::SYMBOL |
( |
const SYMBOL & |
rhs |
) |
|
| MGPS::SYMBOL::~SYMBOL |
( |
|
) |
|
Member Function Documentation
| const COLOR& MGPS::SYMBOL::GetColor |
( |
|
) |
const [inline] |
| UINT8 MGPS::SYMBOL::GetPatternNum |
( |
|
) |
const [inline] |
Get built-in pattern number.
| double MGPS::SYMBOL::GetSize |
( |
|
) |
const [inline] |
Retrieve symbol style.
- Parameters:
-
| ObjStyle | Open style object |
| Style | Style definition returned |
| void MGPS::SYMBOL::ReadIniSettings |
( |
const char * |
IniGroup, |
|
|
const char * |
SymbolName, |
|
|
RVC::STYLE & |
ObjStyle | |
|
) |
| | |
Read symbol settings from ini file.
- Parameters:
-
| ObjStyle | Open style object |
| void MGPS::SYMBOL::ReadPattern |
( |
RVC::STYLE & |
ObjStyle |
) |
|
Read pattern from style object.
- Parameters:
-
| ObjStyle | Open style object |
| void MGPS::SYMBOL::SetColor |
( |
const char * |
name |
) |
[inline] |
Set color for symbol by name.
- Parameters:
-
| void MGPS::SYMBOL::SetColor |
( |
const COLOR & |
color |
) |
[inline] |
| void MGPS::SYMBOL::SetPatternNum |
( |
UINT8 |
PatternNum |
) |
[inline] |
| void MGPS::SYMBOL::SetSize |
( |
double |
size |
) |
[inline] |
Set symbol from POINTSTYLE.
- Parameters:
-
| ObjStyle | Open style object |
| Style | Style to set |
| void MGPS::SYMBOL::WriteIniSettings |
( |
const char * |
IniGroup, |
|
|
const char * |
SymbolName | |
|
) |
| | const |
Write settings to ini file.
The documentation for this class was generated from the following file: