31#include "tmgisdataraster.h"
32#include "tmgisdatavector.h"
33#include "tmgisscale.h"
34#include "tmlayerproperties.h"
35#include "tmrenderer.h"
36#include "tmselecteddatamemory.h"
59 wxPoint m_PreviousPoint;
63 unsigned char* imgbuf;
65 unsigned char* maskbuf;
87 bool _DrawOrientedLine(wxGraphicsContext* gdc, wxPoint* pts,
int nbpts, wxPen actualPen);
95 wxString _GetLabelText(
const wxString& definition, OGRFeature* featureref);
100 bool DrawVertexLine(wxGraphicsContext* pgdc, wxPoint* pts,
int nb_pts,
tmLayerProperties* itemProp, wxPen* pen,
107 wxPen* CreateEditUniqueVertexPen(
int size);
109 wxPen* CreateEditUniqueSegmentPen(
int size);
111 static void DrawPoint(
const wxPoint& pt, wxMemoryDC* pMdc);
113 static void DrawPoint(
const wxPoint& pt, wxClientDC* pcdc);
115 bool _SelectFeatureByQuery(
long myQueryID,
DataBaseTM* database, wxArrayLong& results);
117 bool _ExistsinResults(
long Oid,
const wxArrayLong& results);
126 m_SelMem = selectedmemory;
136 static void EnableLogging(
bool enable) {
140 static bool IsLoggingEnabled() {
144 void DrawEditVertex(
const wxRealPoint& pt,
int size, wxColour colour);
146 void DrawEditSegment(
const wxRealPoint& pt1,
const wxRealPoint& pt2,
int size);
148 void DrawEditLine(
const wxArrayRealPoints& pts,
int size, wxColour colour = *wxRED);
Definition databaseresult.h:30
Definition database_tm.h:80
In charge of all the drawing into bitmaps.
Definition tmdrawer.h:50
void DrawEditVertex(const wxRealPoint &pt, int size, wxColour colour)
Draw a vertex (used during editing)
Definition tmdrawer.cpp:1712
void DrawEditLine(const wxArrayRealPoints &pts, int size, wxColour colour= *wxRED)
Draw all edited lines.
Definition tmdrawer.cpp:1800
bool DrawExtentIntoBitmap(int width=1, const wxColour &col=wxColour(*wxBLACK))
Draw the max extent.
Definition tmdrawer.cpp:75
void DrawEditSegment(const wxRealPoint &pt1, const wxRealPoint &pt2, int size)
Draw the segment between two points.
Definition tmdrawer.cpp:1731
Main class for dealing with GIS data.
Definition tmgisdata.h:48
Definition tmgisscale.h:100
Storing object of layer type.
Definition tmlayerproperties.h:47
Class representing real rectangle.
Definition tmgisscale.h:44
Store ID of selected data into memory.
Definition tmselecteddatamemory.h:43