|
SAGA API Version 9.14
|
#include <mapping.h>
Public Member Functions | |
| CMap_Canvas (void) | |
| virtual | ~CMap_Canvas (void) |
| CMap_Canvas (int Width, int Height, int Background=-1) | |
| bool | Create (int Width, int Height, int Background=-1) |
| bool | Clear (void) |
| bool | Save (const char *File) |
| bool | Save (const wchar_t *File) |
| bool | Save (const CSG_String &File) |
| bool | Draw_Map (class CMap &Map, int x=0, int y=0, int Frame=0) |
| bool | Draw_ScaleBar (class CMap &Map, int x=0, int y=0, int Width=400, int Height=30, int Style=0x18) |
| bool | Draw_Legend (class CMap_Layer &Layer, int x=0, int y=0, double Zoom=1.) |
Friends | |
| class | CMap |
| class | CMap_Layer |
| CMap_Canvas::CMap_Canvas | ( | void | ) |
Definition at line 67 of file mapping.cpp.
|
virtual |
Definition at line 81 of file mapping.cpp.
| CMap_Canvas::CMap_Canvas | ( | int | Width, |
| int | Height, | ||
| int | Background = -1 ) |
Definition at line 73 of file mapping.cpp.
References Create().
| bool CMap_Canvas::Clear | ( | void | ) |
Definition at line 109 of file mapping.cpp.
| bool CMap_Canvas::Create | ( | int | Width, |
| int | Height, | ||
| int | Background = -1 ) |
Definition at line 92 of file mapping.cpp.
References SG_GET_B, SG_GET_G, and SG_GET_R.
Referenced by CMap_Canvas().
| bool CMap_Canvas::Draw_Legend | ( | class CMap_Layer & | Layer, |
| int | x = 0, | ||
| int | y = 0, | ||
| double | Zoom = 1. ) |
Definition at line 165 of file mapping.cpp.
References CMap_Layer, and CMap_Layer::Draw_Legend().
| bool CMap_Canvas::Draw_Map | ( | class CMap & | Map, |
| int | x = 0, | ||
| int | y = 0, | ||
| int | Frame = 0 ) |
Definition at line 149 of file mapping.cpp.
References CMap, and CMap::Draw().
| bool CMap_Canvas::Draw_ScaleBar | ( | class CMap & | Map, |
| int | x = 0, | ||
| int | y = 0, | ||
| int | Width = 400, | ||
| int | Height = 30, | ||
| int | Style = 0x18 ) |
Definition at line 155 of file mapping.cpp.
References CMap, CMap::Get_Extent(), CMap::Get_Width(), CSG_Rect::Get_XRange(), SG_DC_Draw_Scale(), and SG_DC_SCALE_HORIZONTAL.
| bool CMap_Canvas::Save | ( | const char * | File | ) |
| bool CMap_Canvas::Save | ( | const CSG_String & | File | ) |
Definition at line 124 of file mapping.cpp.
References SG_File_Cmp_Extension(), and CSG_String::wx_str().
| bool CMap_Canvas::Save | ( | const wchar_t * | File | ) |
Definition at line 123 of file mapping.cpp.
References Save().
|
friend |
Definition at line 94 of file mapping.h.
References CMap, and CMap_Layer.
Referenced by CMap, Draw_Map(), and Draw_ScaleBar().
|
friend |
Definition at line 94 of file mapping.h.
Referenced by CMap, and Draw_Legend().