In charge of all the drawing into bitmaps.
More...
#include <tmdrawer.h>
|
void | SetSelectedData (tmSelectedDataMemory *selectedmemory) |
|
void | InitDrawer (wxBitmap *bitmap, tmGISScale *scale, const tmRealRect &filter) |
|
bool | DrawExtentIntoBitmap (int width=1, const wxColour &col=wxColour(*wxBLACK)) |
| Draw the max extent.
|
|
bool | Draw (tmLayerProperties *itemProp, tmGISData *pdata) |
|
void | DrawEditVertex (const wxRealPoint &pt, int size, wxColour colour) |
| Draw a vertex (used during editing)
|
|
void | DrawEditSegment (const wxRealPoint &pt1, const wxRealPoint &pt2, int size) |
| Draw the segment between two points.
|
|
void | DrawEditLine (const wxArrayRealPoints &pts, int size, wxColour colour= *wxRED) |
| Draw all edited lines.
|
|
|
static void | EnableLogging (bool enable) |
|
static bool | IsLoggingEnabled () |
|
In charge of all the drawing into bitmaps.
- Author
- Lucien Schreiber (c) CREALP 2008
- Date
- 24 July 2008
◆ DrawEditLine()
void tmDrawer::DrawEditLine |
( |
const wxArrayRealPoints & |
pts, |
|
|
int |
size, |
|
|
wxColour |
colour = *wxRED |
|
) |
| |
Draw all edited lines.
- Parameters
-
pts | Adress of a wxArrayRealPoints |
size | Size of the line |
colour | the Colour of the line to draw, default is RED |
- Author
- Lucien Schreiber (c) CREALP 2009
- Date
- 04 February 2009
◆ DrawEditSegment()
void tmDrawer::DrawEditSegment |
( |
const wxRealPoint & |
pt1, |
|
|
const wxRealPoint & |
pt2, |
|
|
int |
size |
|
) |
| |
Draw the segment between two points.
- Parameters
-
pt1 | first point (Real) |
pt2 | second point (Real) |
size | size of the segment |
- Author
- Lucien Schreiber (c) CREALP 2009
- Date
- 03 February 2009
◆ DrawEditVertex()
void tmDrawer::DrawEditVertex |
( |
const wxRealPoint & |
pt, |
|
|
int |
size, |
|
|
wxColour |
colour |
|
) |
| |
Draw a vertex (used during editing)
- Parameters
-
pt | a point (real coordinates) |
size | the size of the vertex to draw |
colour | the wxColour to use for drawing vertex |
- Author
- Lucien Schreiber (c) CREALP 2009
- Date
- 03 February 2009
◆ DrawExtentIntoBitmap()
bool tmDrawer::DrawExtentIntoBitmap |
( |
int |
width = 1 , |
|
|
const wxColour & |
col = wxColour(*wxBLACK) |
|
) |
| |
Draw the max extent.
Draw a rectangle of specified colour and width corresponding to the maximum extent of all visible layers
- Parameters
-
width | Width of the pen (in pixels) |
col | Colour of the pen |
- Returns
- always true
- Author
- Lucien Schreiber (c) CREALP 2008
- Date
- 24 July 2008
The documentation for this class was generated from the following files:
- /github/workspace/src/gis/tmdrawer.h
- /github/workspace/src/gis/tmdrawer.cpp