|
SAGA API Version 9.14
|
Go to the source code of this file.
Enumerations | |
| enum | { SG_DC_EDGE_STYLE_SIMPLE , SG_DC_EDGE_STYLE_STATIC , SG_DC_EDGE_STYLE_SUNKEN , SG_DC_EDGE_STYLE_RAISED } |
Functions | |
| SAGA_API_DLL_EXPORT wxColour | SG_System_Get_Color (wxSystemColour index) |
| SAGA_API_DLL_EXPORT wxColour | SG_System_Get_Color_Background (int Mode=0) |
| SAGA_API_DLL_EXPORT wxColour | SG_System_Get_Color_Foreground (int Mode=0) |
| SAGA_API_DLL_EXPORT bool | SG_Set_Font (CSG_Parameter *pFont, wxFont &Font, wxColour &Colour) |
| SAGA_API_DLL_EXPORT bool | SG_Set_Font (const wxFont &Font, wxColour Colour, CSG_Parameter *pFont) |
| SAGA_API_DLL_EXPORT wxFont | SG_Get_wxFont (CSG_Parameter *pFont) |
| SAGA_API_DLL_EXPORT int | SG_Get_Color (const wxColour &Color) |
| SAGA_API_DLL_EXPORT wxColour | SG_Get_wxColor (int Color) |
| SAGA_API_DLL_EXPORT void | SG_DC_Draw_Edge (wxDC &dc, int Edge_Style, int ax, int ay, int bx, int by) |
| SAGA_API_DLL_EXPORT void | SG_DC_Draw_Edge (wxDC &dc, int Edge_Style, wxRect r) |
| SAGA_API_DLL_EXPORT void | SG_DC_Draw_Rect (wxDC &dc, wxColour Color, int ax, int ay, int bx, int by) |
| SAGA_API_DLL_EXPORT void | SG_DC_Draw_Rect (wxDC &dc, wxColour Color, wxRect r) |
| SAGA_API_DLL_EXPORT void | SG_DC_Draw_FillRect (wxDC &dc, wxColour Color, int ax, int ay, int bx, int by) |
| SAGA_API_DLL_EXPORT void | SG_DC_Draw_FillRect (wxDC &dc, wxColour Color, wxRect r) |
| SAGA_API_DLL_EXPORT void | SG_DC_Draw_Text (wxDC &dc, int Align, int x, int y, const wxString &Text) |
| SAGA_API_DLL_EXPORT void | SG_DC_Draw_Text (wxDC &dc, int Align, int x, int y, double Angle, const wxString &Text) |
| SAGA_API_DLL_EXPORT void | SG_DC_Draw_Text (wxDC &dc, int Align, int x, int y, const wxString &Text, int Effect, wxColour Effect_Color, int Effect_Size=1) |
| SAGA_API_DLL_EXPORT void | SG_DC_Draw_Text (wxDC &dc, int Align, int x, int y, double Angle, const wxString &Text, int Effect, wxColour Effect_Color, int Effect_Size=1) |
| SAGA_API_DLL_EXPORT void | SG_DC_Draw_Scale (wxDC &dc, const wxRect &r, double min_Value, double max_Value, int Orientation=SG_DC_SCALE_HORIZONTAL, int Tick=SG_DC_SCALE_TICK_NONE, int Style=SG_DC_SCALE_STYLE_DEFAULT, const wxString &Unit="", bool bUseDCFont=false) |
| SAGA_API_DLL_EXPORT void | SG_DC_Draw_Scale (wxDC &dc, const wxRect &r, double min_Value, double max_Value, bool bHorizontal, bool bAscendent, bool bTickAtTop, const wxString &Unit="", bool bUseDCFont=false) |
| SAGA_API_DLL_EXPORT bool | SG_DC_Draw_Ruler (wxDC &dc, const wxRect &r, bool bHorizontal, double zMin, double zMax, bool bAscendent=true, int FontSize=7, const wxColour &Colour=wxColour(127, 127, 127)) |
| #define SG_DC_SCALE_HORIZONTAL 0x00 |
Definition at line 167 of file dc_helper.h.
Referenced by CMap_Canvas::Draw_ScaleBar(), and SG_DC_Draw_Scale().
| #define SG_DC_SCALE_STYLE_BLACKWHITE 0x08 |
Definition at line 179 of file dc_helper.h.
Referenced by SG_DC_Draw_Scale().
| #define SG_DC_SCALE_STYLE_DEFAULT 0x00 |
Definition at line 176 of file dc_helper.h.
Referenced by SG_DC_Draw_Scale().
| #define SG_DC_SCALE_STYLE_DESCENDENT 0x02 |
Definition at line 177 of file dc_helper.h.
Referenced by SG_DC_Draw_Scale(), and SG_DC_Draw_Scale().
| #define SG_DC_SCALE_STYLE_GLOOMING 0x10 |
Definition at line 180 of file dc_helper.h.
Referenced by SG_DC_Draw_Scale().
| #define SG_DC_SCALE_STYLE_LINECONN 0x04 |
Definition at line 178 of file dc_helper.h.
Referenced by SG_DC_Draw_Scale().
| #define SG_DC_SCALE_STYLE_UNIT_ABOVE 0x20 |
Definition at line 181 of file dc_helper.h.
| #define SG_DC_SCALE_STYLE_UNIT_BELOW 0x40 |
Definition at line 182 of file dc_helper.h.
Referenced by SG_DC_Draw_Scale().
| #define SG_DC_SCALE_TICK_BOTTOM 0x02 |
Definition at line 173 of file dc_helper.h.
Referenced by SG_DC_Draw_Scale(), and SG_DC_Draw_Scale().
| #define SG_DC_SCALE_TICK_NONE 0x00 |
Definition at line 171 of file dc_helper.h.
Referenced by SG_DC_Draw_Scale().
| #define SG_DC_SCALE_TICK_TOP 0x01 |
Definition at line 172 of file dc_helper.h.
Referenced by SG_DC_Draw_Scale(), and SG_DC_Draw_Scale().
| #define SG_DC_SCALE_VERTICAL 0x01 |
Definition at line 168 of file dc_helper.h.
Referenced by SG_DC_Draw_Scale(), and SG_DC_Draw_Scale().
| #define SG_DC_TEXTALIGN_BOTTOM 0x20 |
Definition at line 129 of file dc_helper.h.
Referenced by CSG_Map_Legend::_Draw_Label(), CSG_Map_Shapes_Point::Draw_Label(), CSG_Map_Shapes_Point::Parameters_Changed(), SG_DC_Draw_Text(), and SG_DC_Draw_Text().
| #define SG_DC_TEXTALIGN_BOTTOMCENTER (SG_DC_TEXTALIGN_BOTTOM |SG_DC_TEXTALIGN_XCENTER) |
Definition at line 138 of file dc_helper.h.
Referenced by CSG_Map_Graticule::Draw(), and SG_DC_Draw_Scale().
| #define SG_DC_TEXTALIGN_BOTTOMLEFT (SG_DC_TEXTALIGN_BOTTOM |SG_DC_TEXTALIGN_LEFT) |
Definition at line 137 of file dc_helper.h.
Referenced by CSG_Map_Legend::_Draw_Label(), and CSG_Map_Shapes_Line::Draw_Initialize().
| #define SG_DC_TEXTALIGN_BOTTOMRIGHT (SG_DC_TEXTALIGN_BOTTOM |SG_DC_TEXTALIGN_RIGHT) |
Definition at line 139 of file dc_helper.h.
| #define SG_DC_TEXTALIGN_CENTER (SG_DC_TEXTALIGN_YCENTER|SG_DC_TEXTALIGN_XCENTER) |
Definition at line 135 of file dc_helper.h.
Referenced by CSG_Map_BaseMap::Draw(), CSG_Map_Graticule::Draw(), CSG_Map_Shapes_Line::Draw_Label(), CSG_Map_Shapes_Points::Draw_Label(), and CSG_Map_Shapes_Polygon::Draw_Label().
| #define SG_DC_TEXTALIGN_CENTERLEFT (SG_DC_TEXTALIGN_YCENTER|SG_DC_TEXTALIGN_LEFT) |
Definition at line 134 of file dc_helper.h.
Referenced by CSG_Map_Legend::_Draw_Label(), CSG_Map_Graticule::Draw(), and CSG_Map_Shapes_Line::Draw_Initialize().
| #define SG_DC_TEXTALIGN_CENTERRIGHT (SG_DC_TEXTALIGN_YCENTER|SG_DC_TEXTALIGN_RIGHT) |
Definition at line 136 of file dc_helper.h.
Referenced by CSG_Map_Graticule::Draw().
| #define SG_DC_TEXTALIGN_LEFT 0x01 |
Definition at line 124 of file dc_helper.h.
Referenced by CSG_Map_Shapes_Point::Draw_Label(), and CSG_Map_Shapes_Point::Parameters_Changed().
| #define SG_DC_TEXTALIGN_RIGHT 0x04 |
Definition at line 126 of file dc_helper.h.
Referenced by CSG_Map_Shapes_Point::Draw_Label(), CSG_Map_Shapes_Point::Parameters_Changed(), SG_DC_Draw_Text(), and SG_DC_Draw_Text().
| #define SG_DC_TEXTALIGN_TOP 0x08 |
Definition at line 127 of file dc_helper.h.
Referenced by CSG_Map_Legend::_Draw_Box(), CSG_Map_Legend::_Draw_CompositeBand(), CSG_Map_Legend::_Draw_Label(), CSG_Map_Legend::_Draw_Line(), CSG_Map_Legend::_Draw_Point(), CSG_Map_Shapes_Point::Draw_Label(), and CSG_Map_Shapes_Point::Parameters_Changed().
| #define SG_DC_TEXTALIGN_TOPCENTER (SG_DC_TEXTALIGN_TOP |SG_DC_TEXTALIGN_XCENTER) |
Definition at line 132 of file dc_helper.h.
Referenced by CSG_Map_Legend::_Draw_Continuum_H(), CSG_Map_Graticule::Draw(), and SG_DC_Draw_Scale().
| #define SG_DC_TEXTALIGN_TOPLEFT (SG_DC_TEXTALIGN_TOP |SG_DC_TEXTALIGN_LEFT) |
Definition at line 131 of file dc_helper.h.
Referenced by CSG_Map_Legend::_Draw_Label(), CSG_Map_Legend::_Draw_Title(), CSG_Map_Shapes_Line::Draw_Initialize(), SG_DC_Draw_Scale(), SG_DC_Draw_Text(), and SG_DC_Draw_Text().
| #define SG_DC_TEXTALIGN_TOPRIGHT (SG_DC_TEXTALIGN_TOP |SG_DC_TEXTALIGN_RIGHT) |
Definition at line 133 of file dc_helper.h.
| #define SG_DC_TEXTALIGN_XCENTER 0x02 |
Definition at line 125 of file dc_helper.h.
Referenced by CSG_Map_Shapes_Point::Parameters_Changed(), SG_DC_Draw_Text(), and SG_DC_Draw_Text().
| #define SG_DC_TEXTALIGN_YCENTER 0x10 |
Definition at line 128 of file dc_helper.h.
Referenced by CSG_Map_Legend::_Draw_Continuum_V(), CSG_Map_Legend::_Draw_Label(), CSG_Map_Shapes_Point::Parameters_Changed(), SG_DC_Draw_Text(), and SG_DC_Draw_Text().
| #define SG_DC_TEXTEFFECT_BOTTOM 0x10 |
Definition at line 146 of file dc_helper.h.
Referenced by CSG_Map_Graticule::Draw(), CSG_Map_Shapes_Line::Draw_Shape(), CSG_Map_Shapes::Parameters_Changed(), CSG_Map_Shapes_Line::Parameters_Changed(), and SG_DC_Draw_Text().
| #define SG_DC_TEXTEFFECT_BOTTOMLEFT 0x08 |
Definition at line 145 of file dc_helper.h.
Referenced by CSG_Map_Graticule::Draw(), CSG_Map_Shapes_Line::Draw_Shape(), CSG_Map_Shapes::Parameters_Changed(), CSG_Map_Shapes_Line::Parameters_Changed(), and SG_DC_Draw_Text().
| #define SG_DC_TEXTEFFECT_BOTTOMRIGHT 0x20 |
Definition at line 147 of file dc_helper.h.
Referenced by CSG_Map_Graticule::Draw(), CSG_Map_Shapes_Line::Draw_Shape(), CSG_Map_Shapes::Parameters_Changed(), CSG_Map_Shapes_Line::Parameters_Changed(), and SG_DC_Draw_Text().
| #define SG_DC_TEXTEFFECT_FRAME (SG_DC_TEXTEFFECT_TOPLEFT|SG_DC_TEXTEFFECT_BOTTOMLEFT|SG_DC_TEXTEFFECT_BOTTOMRIGHT|SG_DC_TEXTEFFECT_TOPRIGHT) |
Definition at line 150 of file dc_helper.h.
Referenced by CSG_Map_BaseMap::Draw(), CSG_Map_Graticule::Draw(), CSG_Map_Shapes::Parameters_Changed(), CSG_Map_Shapes_Line::Parameters_Changed(), and SG_DC_Draw_Text().
| #define SG_DC_TEXTEFFECT_LEFT 0x04 |
Definition at line 144 of file dc_helper.h.
Referenced by CSG_Map_Graticule::Draw(), CSG_Map_Shapes_Line::Draw_Shape(), CSG_Map_Shapes::Parameters_Changed(), CSG_Map_Shapes_Line::Parameters_Changed(), and SG_DC_Draw_Text().
| #define SG_DC_TEXTEFFECT_NONE 0x00 |
Definition at line 141 of file dc_helper.h.
Referenced by CSG_Map_Graticule::Draw(), CSG_Map_Shapes::Parameters_Changed(), CSG_Map_Shapes_Line::Parameters_Changed(), and SG_DC_Draw_Text().
| #define SG_DC_TEXTEFFECT_RIGHT 0x40 |
Definition at line 148 of file dc_helper.h.
Referenced by CSG_Map_Graticule::Draw(), CSG_Map_Shapes_Line::Draw_Shape(), CSG_Map_Shapes::Parameters_Changed(), CSG_Map_Shapes_Line::Parameters_Changed(), and SG_DC_Draw_Text().
| #define SG_DC_TEXTEFFECT_TOP 0x01 |
Definition at line 142 of file dc_helper.h.
Referenced by CSG_Map_Graticule::Draw(), CSG_Map_Shapes_Line::Draw_Shape(), CSG_Map_Shapes::Parameters_Changed(), CSG_Map_Shapes_Line::Parameters_Changed(), and SG_DC_Draw_Text().
| #define SG_DC_TEXTEFFECT_TOPLEFT 0x02 |
Definition at line 143 of file dc_helper.h.
Referenced by CSG_Map_Graticule::Draw(), CSG_Map_Shapes_Line::Draw_Shape(), CSG_Map_Shapes::Parameters_Changed(), CSG_Map_Shapes_Line::Parameters_Changed(), and SG_DC_Draw_Text().
| #define SG_DC_TEXTEFFECT_TOPRIGHT 0x80 |
Definition at line 149 of file dc_helper.h.
Referenced by CSG_Map_Graticule::Draw(), CSG_Map_Shapes_Line::Draw_Shape(), CSG_Map_Shapes::Parameters_Changed(), CSG_Map_Shapes_Line::Parameters_Changed(), and SG_DC_Draw_Text().
| anonymous enum |
| Enumerator | |
|---|---|
| SG_DC_EDGE_STYLE_SIMPLE | |
| SG_DC_EDGE_STYLE_STATIC | |
| SG_DC_EDGE_STYLE_SUNKEN | |
| SG_DC_EDGE_STYLE_RAISED | |
Definition at line 96 of file dc_helper.h.
| SAGA_API_DLL_EXPORT void SG_DC_Draw_Edge | ( | wxDC & | dc, |
| int | Edge_Style, | ||
| int | ax, | ||
| int | ay, | ||
| int | bx, | ||
| int | by ) |
Definition at line 186 of file dc_helper.cpp.
References SG_DC_Draw_Edge(), SG_DC_EDGE_STYLE_RAISED, SG_DC_EDGE_STYLE_SIMPLE, SG_DC_EDGE_STYLE_STATIC, SG_DC_EDGE_STYLE_SUNKEN, and SG_System_Get_Color().
Referenced by CSG_Map_Legend::_Draw_Continuum_H(), CSG_Map_Legend::_Draw_Continuum_V(), CSG_Map_Legend::_Draw_Layer_Image(), CMap::Draw(), SG_DC_Draw_Edge(), SG_DC_Draw_Edge(), and SG_DC_Draw_Rect().
| SAGA_API_DLL_EXPORT void SG_DC_Draw_Edge | ( | wxDC & | dc, |
| int | Edge_Style, | ||
| wxRect | r ) |
Definition at line 247 of file dc_helper.cpp.
References SG_DC_Draw_Edge().
| SAGA_API_DLL_EXPORT void SG_DC_Draw_FillRect | ( | wxDC & | dc, |
| wxColour | Color, | ||
| int | ax, | ||
| int | ay, | ||
| int | bx, | ||
| int | by ) |
Definition at line 281 of file dc_helper.cpp.
Referenced by SG_DC_Draw_FillRect(), and SG_DC_Draw_Rect().
| SAGA_API_DLL_EXPORT void SG_DC_Draw_FillRect | ( | wxDC & | dc, |
| wxColour | Color, | ||
| wxRect | r ) |
Definition at line 316 of file dc_helper.cpp.
References SG_DC_Draw_FillRect().
| SAGA_API_DLL_EXPORT void SG_DC_Draw_Rect | ( | wxDC & | dc, |
| wxColour | Color, | ||
| int | ax, | ||
| int | ay, | ||
| int | bx, | ||
| int | by ) |
Definition at line 260 of file dc_helper.cpp.
References SG_DC_Draw_Edge(), SG_DC_Draw_FillRect(), and SG_DC_EDGE_STYLE_SIMPLE.
Referenced by SG_DC_Draw_Rect().
| SAGA_API_DLL_EXPORT void SG_DC_Draw_Rect | ( | wxDC & | dc, |
| wxColour | Color, | ||
| wxRect | r ) |
Definition at line 268 of file dc_helper.cpp.
References SG_DC_Draw_Rect().
| SAGA_API_DLL_EXPORT bool SG_DC_Draw_Ruler | ( | wxDC & | dc, |
| const wxRect & | r, | ||
| bool | bHorizontal, | ||
| double | zMin, | ||
| double | zMax, | ||
| bool | bAscendent = true, | ||
| int | FontSize = 7, | ||
| const wxColour & | Colour = wxColour(127, 127, 127) ) |
Definition at line 664 of file dc_helper.cpp.
References Extent, and RULER_TEXT_SPACE.
| SAGA_API_DLL_EXPORT void SG_DC_Draw_Scale | ( | wxDC & | dc, |
| const wxRect & | r, | ||
| double | min_Value, | ||
| double | max_Value, | ||
| bool | bHorizontal, | ||
| bool | bAscendent, | ||
| bool | bTickAtTop, | ||
| const wxString & | Unit = "", | ||
| bool | bUseDCFont = false ) |
Definition at line 648 of file dc_helper.cpp.
References SG_DC_Draw_Scale(), SG_DC_SCALE_HORIZONTAL, SG_DC_SCALE_STYLE_DEFAULT, SG_DC_SCALE_STYLE_DESCENDENT, SG_DC_SCALE_TICK_BOTTOM, SG_DC_SCALE_TICK_TOP, and SG_DC_SCALE_VERTICAL.
| SAGA_API_DLL_EXPORT void SG_DC_Draw_Scale | ( | wxDC & | dc, |
| const wxRect & | r, | ||
| double | min_Value, | ||
| double | max_Value, | ||
| int | Orientation = SG_DC_SCALE_HORIZONTAL, | ||
| int | Tick = SG_DC_SCALE_TICK_NONE, | ||
| int | Style = SG_DC_SCALE_STYLE_DEFAULT, | ||
| const wxString & | Unit = "", | ||
| bool | bUseDCFont = false ) |
Definition at line 476 of file dc_helper.cpp.
References SG_DC_Draw_Scale(), SG_DC_Draw_Text(), SG_DC_SCALE_STYLE_BLACKWHITE, SG_DC_SCALE_STYLE_DESCENDENT, SG_DC_SCALE_STYLE_GLOOMING, SG_DC_SCALE_STYLE_LINECONN, SG_DC_SCALE_STYLE_UNIT_BELOW, SG_DC_SCALE_TICK_BOTTOM, SG_DC_SCALE_TICK_NONE, SG_DC_SCALE_TICK_TOP, SG_DC_SCALE_VERTICAL, SG_DC_TEXTALIGN_BOTTOMCENTER, SG_DC_TEXTALIGN_TOPCENTER, SG_DC_TEXTALIGN_TOPLEFT, and TEXTSPACE.
Referenced by CMap::Draw(), CMap_Canvas::Draw_ScaleBar(), SG_DC_Draw_Scale(), and SG_DC_Draw_Scale().
| SAGA_API_DLL_EXPORT void SG_DC_Draw_Text | ( | wxDC & | dc, |
| int | Align, | ||
| int | x, | ||
| int | y, | ||
| const wxString & | Text ) |
Definition at line 329 of file dc_helper.cpp.
References SG_DC_TEXTALIGN_BOTTOM, SG_DC_TEXTALIGN_RIGHT, SG_DC_TEXTALIGN_TOPLEFT, SG_DC_TEXTALIGN_XCENTER, and SG_DC_TEXTALIGN_YCENTER.
Referenced by CSG_Map_Legend::_Draw_Continuum_H(), CSG_Map_Legend::_Draw_Label(), CSG_Map_Legend::_Draw_Title(), CSG_Map_BaseMap::Draw(), CSG_Map_DC::DrawText(), CSG_Map_DC::DrawText(), CSG_Map_DC::DrawText(), CSG_Map_DC::DrawText(), SG_DC_Draw_Scale(), SG_DC_Draw_Text(), SG_DC_Draw_Text(), and SG_DC_Draw_Text().
| SAGA_API_DLL_EXPORT void SG_DC_Draw_Text | ( | wxDC & | dc, |
| int | Align, | ||
| int | x, | ||
| int | y, | ||
| const wxString & | Text, | ||
| int | Effect, | ||
| wxColour | Effect_Color, | ||
| int | Effect_Size = 1 ) |
Definition at line 410 of file dc_helper.cpp.
References SG_DC_Draw_Text().
| SAGA_API_DLL_EXPORT void SG_DC_Draw_Text | ( | wxDC & | dc, |
| int | Align, | ||
| int | x, | ||
| int | y, | ||
| double | Angle, | ||
| const wxString & | Text ) |
Definition at line 362 of file dc_helper.cpp.
References M_DEG_TO_RAD, SG_DC_Draw_Text(), SG_DC_TEXTALIGN_BOTTOM, SG_DC_TEXTALIGN_RIGHT, SG_DC_TEXTALIGN_TOPLEFT, SG_DC_TEXTALIGN_XCENTER, and SG_DC_TEXTALIGN_YCENTER.
| SAGA_API_DLL_EXPORT void SG_DC_Draw_Text | ( | wxDC & | dc, |
| int | Align, | ||
| int | x, | ||
| int | y, | ||
| double | Angle, | ||
| const wxString & | Text, | ||
| int | Effect, | ||
| wxColour | Effect_Color, | ||
| int | Effect_Size = 1 ) |
Definition at line 415 of file dc_helper.cpp.
References SG_DC_Draw_Text(), SG_DC_TEXTEFFECT_BOTTOM, SG_DC_TEXTEFFECT_BOTTOMLEFT, SG_DC_TEXTEFFECT_BOTTOMRIGHT, SG_DC_TEXTEFFECT_FRAME, SG_DC_TEXTEFFECT_LEFT, SG_DC_TEXTEFFECT_NONE, SG_DC_TEXTEFFECT_RIGHT, SG_DC_TEXTEFFECT_TOP, SG_DC_TEXTEFFECT_TOPLEFT, and SG_DC_TEXTEFFECT_TOPRIGHT.
| SAGA_API_DLL_EXPORT int SG_Get_Color | ( | const wxColour & | Color | ) |
Definition at line 64 of file dc_helper.cpp.
References SG_GET_RGB.
Referenced by CSG_Map_Legend::_Draw_Box(), CSG_Map_Shapes::Add_Parameters(), CSG_Map_DC::Get_Background(), and CSG_Map_Layer::Set_Thumbnail().
| SAGA_API_DLL_EXPORT wxColour SG_Get_wxColor | ( | int | Color | ) |
Definition at line 70 of file dc_helper.cpp.
References SG_GET_B, SG_GET_G, and SG_GET_R.
Referenced by CSG_Map_Legend::_Draw_Box(), CSG_Map_Legend::_Draw_CompositeBand(), CSG_Map_Legend::_Draw_Continuum_H(), CSG_Map_Legend::_Draw_Continuum_V(), CSG_Map_Graticule::Draw(), CSG_Map_Shapes_Point::Draw_Initialize(), CSG_Map_Shapes_Polygon::Draw_Initialize(), CSG_Map_Shapes_Point::Parameters_Changed(), and CSG_Map_Shapes_Polygon::Parameters_Changed().
| SAGA_API_DLL_EXPORT wxFont SG_Get_wxFont | ( | CSG_Parameter * | pFont | ) |
Definition at line 169 of file dc_helper.cpp.
References SG_Set_Font().
Referenced by CSG_Map_Graticule::Draw(), and CSG_Map_Shapes::On_Draw().
| SAGA_API_DLL_EXPORT bool SG_Set_Font | ( | const wxFont & | Font, |
| wxColour | Colour, | ||
| CSG_Parameter * | pFont ) |
Definition at line 151 of file dc_helper.cpp.
References CSG_Parameter::Get_Type(), PARAMETER_TYPE_Font, CSG_Parameter::Set_Value(), and SG_GET_RGB.
| SAGA_API_DLL_EXPORT bool SG_Set_Font | ( | CSG_Parameter * | pFont, |
| wxFont & | Font, | ||
| wxColour & | Colour ) |
Definition at line 129 of file dc_helper.cpp.
References CSG_Parameter::asColor(), CSG_Parameter::asFont(), CSG_Parameter::Get_Type(), PARAMETER_TYPE_Font, SG_GET_B, SG_GET_G, and SG_GET_R.
Referenced by SG_Get_wxFont().
| SAGA_API_DLL_EXPORT wxColour SG_System_Get_Color | ( | wxSystemColour | index | ) |
Definition at line 81 of file dc_helper.cpp.
References SG_UI_Get_Window_Main().
Referenced by CSG_Map_Layer::Set_Thumbnail(), SG_DC_Draw_Edge(), SG_System_Get_Color_Background(), and SG_System_Get_Color_Foreground().
| SAGA_API_DLL_EXPORT wxColour SG_System_Get_Color_Background | ( | int | Mode = 0 | ) |
Definition at line 102 of file dc_helper.cpp.
References SG_System_Get_Color().
Referenced by CSG_Map_Shapes::Add_Parameters().
| SAGA_API_DLL_EXPORT wxColour SG_System_Get_Color_Foreground | ( | int | Mode = 0 | ) |
Definition at line 113 of file dc_helper.cpp.
References SG_System_Get_Color().
Referenced by CSG_Map_Shapes::Add_Parameters().