|
SAGA API Version 9.14
|
#include <mapping.h>
Public Member Functions | |
| CMap (void) | |
| virtual | ~CMap (void) |
| CMap (const CSG_Rect &rWorld, int Width, int Height, double Scale=1., int Background=-1, bool bAlpha=false) | |
| bool | Create (const CSG_Rect &rWorld, int Width, int Height, double Scale=1., int Background=-1, bool bAlpha=false) |
| bool | Clear (void) |
| const CSG_Rect & | Get_Extent (void) const |
| int | Get_Width (void) const |
| int | Get_Height (void) const |
| bool | Draw (CMap_Canvas &Canvas, int x, int y, int Frame=0) |
| bool | Draw (class CMap_Base_Layer &Layer) |
| bool | Save (const char *File) |
| bool | Save (const wchar_t *File) |
| bool | Save (const CSG_String &File) |
Friends | |
| class | CMap_Base_Layer |
| CMap::CMap | ( | void | ) |
Definition at line 178 of file mapping.cpp.
|
virtual |
Definition at line 192 of file mapping.cpp.
| CMap::CMap | ( | const CSG_Rect & | rWorld, |
| int | Width, | ||
| int | Height, | ||
| double | Scale = 1., | ||
| int | Background = -1, | ||
| bool | bAlpha = false ) |
Definition at line 184 of file mapping.cpp.
References Create().
| bool CMap::Clear | ( | void | ) |
Definition at line 204 of file mapping.cpp.
| bool CMap::Create | ( | const CSG_Rect & | rWorld, |
| int | Width, | ||
| int | Height, | ||
| double | Scale = 1., | ||
| int | Background = -1, | ||
| bool | bAlpha = false ) |
Definition at line 198 of file mapping.cpp.
Referenced by CMap().
| bool CMap::Draw | ( | class CMap_Base_Layer & | Layer | ) |
Definition at line 273 of file mapping.cpp.
References CMap_Base_Layer, and CMap_Base_Layer::Draw().
| bool CMap::Draw | ( | CMap_Canvas & | Canvas, |
| int | x, | ||
| int | y, | ||
| int | Frame = 0 ) |
Definition at line 222 of file mapping.cpp.
References CSG_Rect::Get_XMax(), CSG_Rect::Get_XMin(), CSG_Rect::Get_XRange(), CSG_Rect::Get_YMax(), CSG_Rect::Get_YMin(), CSG_Rect::Get_YRange(), SG_DC_Draw_Edge(), SG_DC_Draw_Scale(), and SG_DC_EDGE_STYLE_SIMPLE.
Referenced by CMap_Canvas::Draw_Map().
| const CSG_Rect & CMap::Get_Extent | ( | void | ) | const |
Definition at line 210 of file mapping.cpp.
Referenced by CMap_Canvas::Draw_ScaleBar().
| int CMap::Get_Height | ( | void | ) | const |
Definition at line 214 of file mapping.cpp.
| int CMap::Get_Width | ( | void | ) | const |
Definition at line 213 of file mapping.cpp.
Referenced by CMap_Canvas::Draw_ScaleBar().
| bool CMap::Save | ( | const char * | File | ) |
| bool CMap::Save | ( | const CSG_String & | File | ) |
Definition at line 281 of file mapping.cpp.
References SG_File_Cmp_Extension(), and CSG_String::wx_str().
| bool CMap::Save | ( | const wchar_t * | File | ) |
Definition at line 280 of file mapping.cpp.
References Save().
|
friend |
Definition at line 136 of file mapping.h.
References CMap_Base_Layer.
Referenced by CMap_Base_Layer, and Draw().