Go to the documentation of this file.
26 #ifndef __TERRALIB_QT_WIDGETS_INTERNAL_CANVAS_H
27 #define __TERRALIB_QT_WIDGETS_INTERNAL_CANVAS_H
30 #include "../../../maptools/Canvas.h"
31 #include "../Config.h"
70 Canvas(
int w,
int h,
int devType = QInternal::Pixmap);
101 const double& urx,
const double& ury);
162 void drawImage(
int x,
int y,
int w,
int h,
char* src, std::size_t size,
te::map::ImageType t,
int sx,
int sy,
int sw,
int sh);
175 const std::string& txt,
177 double anchorX = 0.5,
double anchorY = 0.5,
178 int displacementX = 0,
int displacementY = 0);
181 const std::string& txt,
183 double anchorX = 0.5,
double anchorY = 0.5,
184 int displacementX = 0,
int displacementY = 0);
187 const std::string& txt,
189 double anchorX = 0.5,
double anchorY = 0.5,
190 int displacementX = 0,
int displacementY = 0);
193 const std::string& txt,
195 double anchorX = 0.5,
double anchorY = 0.5,
196 int displacementX = 0,
int displacementY = 0);
199 const std::string& txt,
201 double anchorX = 0.5,
double anchorY = 0.5,
202 int displacementX = 0,
int displacementY = 0);
205 const std::string& txt,
207 double anchorX = 0.5,
double anchorY = 0.5,
208 int displacementX = 0,
int displacementY = 0);
339 const std::string& txt,
341 double anchorX = 0.5,
double anchorY = 0.5,
342 int displacementX = 0,
int displacementY = 0);
362 double anchorX = 0.5,
double anchorY = 0.5,
363 int displacementX = 0,
int displacementY = 0);
404 void setDevice(QPaintDevice* device,
bool takeOwnerShip);
543 #endif // __TERRALIB_QT_WIDGETS_INTERNAL_CANVAS_H
An Envelope defines a 2D rectangular region.
MultiPoint is a GeometryCollection whose elements are restricted to points.
LineJoinStyle
This enum encodes enumerated values telling how line strings should be joined (between line segments)...
AlignType
This enum contains values to control the alignment of components (like Canvas and MapDisplay).
An abstract class for raster data strucutures.
FontStyleType
It defines the style to use for a font.
It is a collection of other geometric objects.
Polygon is a subclass of CurvePolygon whose rings are defined by linear rings.
LineCapStyle
This enum encodes enumerated values telling how line strings should be capped (at the two ends of the...
#define TE_OPAQUE
For an RGBA color this is the value of the alpha-channel for totally opaque.
LineDashStyle
This enum encodes enumerated values telling how lines should be drawn. e.g. as a plain line or dash l...
FontWeightType
It gives the amount of weight or boldness to use for a font.
MultiPolygon is a MultiSurface whose elements are Polygons.
A canvas is an abstraction of a drawing area.
LineString is a curve with linear interpolation between points.
A helper class for 32-bit RGBA (Red-Green-Blue-Alpha channel) color.
ImageType
This enum specifies the possible input and output image formats supported by the canvas API.
MultiLineString is a MultiCurve whose elements are LineStrings.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
A point with x and y coordinate values.
MultiSurface is a class that represents a 2-dimensional GeometryCollection whose elements are surface...