| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Types | Signals | Public Member Functions | Protected Member Functions | Protected Attributes
TeQtCanvas Class Reference

`#include <TeQtCanvas.h>`

List of all members.

## Public Types

enum | CursorMode { Pointer, Area, Pan, Hand, SizeVer, SizeBDiag, UpArrow, Edit, Distance, Information, ZoomIn, ZoomOut }

## Signals

void | mousePressed (TeCoord2D &, int, QPoint &)
void | mouseDoublePressed (TeCoord2D &, int, QPoint &)
void | mouseRightButtonPressed (TeCoord2D &, int, QPoint &)
void | mouseMoved (TeCoord2D &, int, QPoint &)
void | mouseReleased (TeCoord2D &, int, QPoint &)
void | mouseLeave ()
void | paintEvent ()
void | popupCanvasSignal (QMouseEvent *)
void | keyPressed (QKeyEvent *)
void | keyReleased (QKeyEvent *)
void | zoomArea ()

## Public Member Functions

| TeQtCanvas (QWidget *parent=0, const char *name=0)
| ~TeQtCanvas ()
void | initCursorArea (QPoint p)
void | setMode (CursorMode)
CursorMode | getCursorMode ()
TeBox | getCursorBox ()
void | copyPixmapToWindow ()
bool | setWorld (TeBox b, int w=0, int h=0, QPaintDevice *pd=0)
virtual bool | setView (int w=0, int h=0, QPaintDevice *pd=0)
void | setTransformation (double xmin, double xmax, double ymin, double ymax, bool extend=true)
TeBox | getWorld ()
TeBox | getDataWorld ()
void | clear ()
void | clear (TeBox box)
void | clearAll ()
void | clearAll (TeBox box)
QPoint | offset ()
QPoint | mapDWtoV (const TeCoord2D &dw)
void | mapDWtoV (TeBox &box)
QPointArray | mapDWtoV (const TeLine2D &)
int | mapDWtoV (double)
double | mapVtoCW (int)
TeCoord2D | mapVtoCW (const QPoint &)
void | mapVtoCW (TeBox &box)
double | mapVtoDW (int)
TeCoord2D | mapVtoDW (const QPoint &)
void | mapCWtoDW (TeBox &box)
void | mapDWtoCW (TeBox &box)
void | mapCWtoV (TeBox &box)
QPoint | mapCWtoV (const TeCoord2D &c)
double | pixelSize ()
void | setDataProjection (TeProjection *proj)
void | setProjection (TeProjection *proj)
TeProjection * | projection ()
bool | canvasAndDataProjectionEqual ()
QPainter * | getPainter ()
void | plotOnWindow ()
void | plotOnPixmap0 ()
void | plotOnPixmap1 ()
void | plotOnPixmap2 ()
virtual void | copyPixmapToWindow (QPixmap *, int, int, int, int)
virtual void | copyPixmap0ToPrinter ()
virtual void | copyPixmap0To (QPaintDevice *)
virtual void | copyPixmap0ToWindow ()
virtual void | copyPixmap1ToWindow ()
virtual void | copyPixmap0ToWindow (int, int, int, int)
virtual void | copyPixmap0ToPixmap1 ()
virtual void | copyPixmap0ToPixmap1 (int, int, int, int)
virtual void | copyPixmap1ToPixmap0 ()
virtual void | copyPixmap1ToPixmap0 (int, int, int, int)
virtual void | copyPixmap1ToPixmap2 ()
virtual void | copyPixmap1ToPixmap2 (int, int, int, int)
virtual void | copyPixmap2ToPixmap1 ()
virtual void | copyPixmap2ToPixmap1 (int, int, int, int)
virtual void | copyPanArea (int, int)
void | plotPoint (const TeCoord2D &p)
void | plotPoint (const TePoint &p)
void | setPointColor (int r, int g, int b)
void | setPointStyle (int s, int w=3)
void | setPointPixmap (char *p)
void | plotCell (TeCell &s, const bool &restoreBackground=false)
QRect | getLegendRect (QPoint p, const QPixmap *pix, string tx)
void | plotLegend (QPoint p, const QPixmap *pix, string tx)
void | plotPolygon (const TePolygon &p, const bool &restoreBackground=false)
void | setPolygonColor (int r, int g, int b)
void | setPolygonStyle (int s, int width=1)
void | setPolygonLineColor (int r, int g, int b)
void | setPolygonLineStyle (int s, int width=1)
void | plotLine (TeLine2D &l)
void | plotArrow (QPointArray a)
void | plotMiddleLineArrow (QPoint ptBegin, QPoint ptEnd)
void | plotMiddleLineArrow (const TeLine2D &lne, QPointArray a)
void | setLineColor (int r, int g, int b)
void | setLineStyle (int s, int w=1)
QPointArray | getArrow (QPoint ptBegin, QPoint ptEnd, double size)
void | plotNode (TeNode &n)
void | setNodeColor (int r, int g, int b)
void | setNodeStyle (int s, int w=4)
void | setNodePixmap (char *p)
void | plotArc (TeArc &a)
void | setArcColor (int r, int g, int b)
void | setArcStyle (int s, int w=1)
void | plotPie (double x, double y, double w, double h, double a, double alen)
void | setPieColor (int r, int g, int b)
void | plotRect (double x, double y, double w, double h, int transp=0, bool legend=false)
void | plotRect (QRect &)
void | setRectColor (int r, int g, int b)
void | plotText (const TeCoord2D &p, const string &str, double angle=0., double alignh=0., double alignv=0.)
void | plotText (const TeText &tx, const TeVisual &visual)
QRect | textRect (const TeText &tx, TeVisual visual)
void | plotTextRects (TeText &tx, TeVisual visual)
void | setTextColor (int r, int g, int b)
void | setTextSize (int size)
void | setTextStyle (string &family, int size, bool bold, bool italic)
void | textExtent (string &str, int &w, int &h, double angle=0.)
void | plotXorPolyline (QPointArray &PA, bool cdev=true)
void | plotXorTextDistance (vector< QPointArray > xorPointArrayVec, double unitConv, string unit)
void | setDB (TeDatabase *db)
void | plotRaster (TeRaster *raster, TeRasterTransform *transf, TeQtProgress *progress)
void | clearRaster ()
void | endPrinting ()
QPixmap * | getPixmap0 ()
QPixmap * | getPixmap1 ()
QPixmap * | getPixmap2 ()
void | plotGraphicScale (TeVisual &visual, double offsetX, double offsetY, double unitConv=1, const string &dunit="")
void | setClipRegion (int x, int y, int w, int h)
void | setClipRegion (QRegion region)
void | setClipping (bool enable)
TeRasterParams & | getParams ()
double | scaleApx ()
void | scaleApx (double)
double | printerFactor ()
void | widthRef2PrinterFactor (int w)
void | plotLegend (const QPoint &p, TeLegendEntry *leg, const string &tx)
void | plotLegend (const QPoint &p, const TeColor &cor, const string &tx)
bool | locateGraphicScale (const QPoint &p)
QRect & | graphicScaleRect ()
void | numberOfPixmaps (int n)
int | numberOfPixmaps ()
QPopupMenu * | popupCanvas ()

## Protected Member Functions

void | drawPolygonRep (QPoint p, int w, int h, TeVisual &v)
void | drawLineRep (QPoint p, TeVisual &v)
void | drawPointRep (QPoint p, TeVisual &v)
void | plotMark (QPoint &p, int s, int w)
void | contentsMousePressEvent (QMouseEvent *)
void | contentsMouseMoveEvent (QMouseEvent *)
void | contentsMouseReleaseEvent (QMouseEvent *)
void | contentsMouseDoubleClickEvent (QMouseEvent *)
void | contentsContextMenuEvent (QContextMenuEvent *)
void | leaveEvent (QEvent *)
void | keyPressEvent (QKeyEvent *)
void | keyReleaseEvent (QKeyEvent *)
void | viewportPaintEvent (QPaintEvent *e)
void | resizeEvent (QResizeEvent *)
void | correctScrolling (QPoint &p)
bool | buildRaster ()

## Protected Attributes

TeDatabase * | db_
QPainter | painter_
QImage | qimage_
QPopupMenu * | popupCanvas_
QPixmap * | pixmap0_
QPixmap * | pixmap1_
QPixmap * | pixmap2_
int | numberOfPixmaps_
TeProjection * | canvasProjection_
TeProjection * | dataProjection_
TeRaster * | backRaster_
TeRasterParams | params_
double | printerFactor_
int | widthRef2PrinterFactor_
QRect | graphicScaleRect_
bool | canvasAndDataProjectionEqual_
TeBox | wc_
double | xmin_
double | xmax_
double | ymin_
double | ymax_
int | x0_
int | y0_
int | width_
int | height_
double | f_
double | scaleApx_
int | scale_
int | lx1_
int | ly1_
int | lx2_
int | ly2_
CursorMode | cursorMode_
bool | down_
double | xul_
double | xlr_
double | yul_
double | ylr_
int | ixul_
int | ixlr_
int | iyul_
int | iylr_
QBrush | pieBrush_
QColor | pieColor_
QBrush | rectBrush_
QColor | rectColor_
int | polygonTransparency_
QBrush | polygonBrush_
QPen | polygonPen_
QColor | polygonColor_
map< TePolyBasicType, Qt::BrushStyle > | brushStyleMap_
QPen | linePen_
QColor | lineColor_
map< TeLnBasicType, Qt::PenStyle > | penStyleMap_
TeLnBasicType | _penStyle
int | pointStyle_
int | pointSize_
QPen | pointPen_
QColor | pointColor_
QPixmap * | pointPixmap_
QPen | arcPen_
QColor | arcColor_
int | nodeStyle_
int | nodeSize_
QPen | nodePen_
QColor | nodeColor_
QPixmap * | nodePixmap_
QPen | textPen_
QColor | textColor_
QFont | textFont_
int | textSize_

## Member Enumeration Documentation

enum TeQtCanvas::CursorMode

Enumerator:

  Pointer |
  Area |
  Pan |
  Hand |
  SizeVer |
  SizeBDiag |
  UpArrow |
  Edit |
  Distance |
  Information |
  ZoomIn |
  ZoomOut |

## Constructor & Destructor Documentation

TeQtCanvas::TeQtCanvas | ( | QWidget * | parent = `0`,
|  | const char * | name = `0`
| ) |  |

TeQtCanvas::~TeQtCanvas | ( |  | ) |

## Member Function Documentation

bool TeQtCanvas::buildRaster | ( |  | ) | `[protected]`

bool TeQtCanvas::canvasAndDataProjectionEqual | ( |  | ) | `[inline]`

void TeQtCanvas::clear | ( |  | ) |

void TeQtCanvas::clear | ( | TeBox | box | ) |

void TeQtCanvas::clearAll | ( |  | ) |

void TeQtCanvas::clearAll | ( | TeBox | box | ) |

void TeQtCanvas::clearRaster | ( |  | ) |

void TeQtCanvas::contentsContextMenuEvent | ( | QContextMenuEvent * | e | ) | `[protected]`

void TeQtCanvas::contentsMouseDoubleClickEvent | ( | QMouseEvent * | e | ) | `[protected]`

void TeQtCanvas::contentsMouseMoveEvent | ( | QMouseEvent * | e | ) | `[protected]`

void TeQtCanvas::contentsMousePressEvent | ( | QMouseEvent * | e | ) | `[protected]`

void TeQtCanvas::contentsMouseReleaseEvent | ( | QMouseEvent * | e | ) | `[protected]`

void TeQtCanvas::copyPanArea | ( | int | x,
|  | int | y
| ) |  | `[virtual]`

void TeQtCanvas::copyPixmap0To | ( | QPaintDevice * | dev | ) | `[virtual]`

void TeQtCanvas::copyPixmap0ToPixmap1 | ( |  | ) | `[virtual]`

void TeQtCanvas::copyPixmap0ToPixmap1 | ( | int | ulx,
|  | int | uly,
|  | int | w,
|  | int | h
| ) |  | `[virtual]`

void TeQtCanvas::copyPixmap0ToPrinter | ( |  | ) | `[virtual]`

void TeQtCanvas::copyPixmap0ToWindow | ( |  | ) | `[virtual]`

void TeQtCanvas::copyPixmap0ToWindow | ( | int | ulx,
|  | int | uly,
|  | int | w,
|  | int | h
| ) |  | `[virtual]`

void TeQtCanvas::copyPixmap1ToPixmap0 | ( |  | ) | `[virtual]`

void TeQtCanvas::copyPixmap1ToPixmap0 | ( | int | ulx,
|  | int | uly,
|  | int | w,
|  | int | h
| ) |  | `[virtual]`

void TeQtCanvas::copyPixmap1ToPixmap2 | ( |  | ) | `[virtual]`

void TeQtCanvas::copyPixmap1ToPixmap2 | ( | int | ulx,
|  | int | uly,
|  | int | w,
|  | int | h
| ) |  | `[virtual]`

void TeQtCanvas::copyPixmap1ToWindow | ( |  | ) | `[virtual]`

void TeQtCanvas::copyPixmap2ToPixmap1 | ( |  | ) | `[virtual]`

void TeQtCanvas::copyPixmap2ToPixmap1 | ( | int | ulx,
|  | int | uly,
|  | int | w,
|  | int | h
| ) |  | `[virtual]`

void TeQtCanvas::copyPixmapToWindow | ( |  | ) |

void TeQtCanvas::copyPixmapToWindow | ( | QPixmap * | p,
|  | int | ulx,
|  | int | uly,
|  | int | w,
|  | int | h
| ) |  | `[virtual]`

void TeQtCanvas::correctScrolling | ( | QPoint & | p | ) | `[protected]`

void TeQtCanvas::drawLineRep | ( | QPoint | p,
|  | TeVisual & | v
| ) |  | `[protected]`

void TeQtCanvas::drawPointRep | ( | QPoint | p,
|  | TeVisual & | v
| ) |  | `[protected]`

void TeQtCanvas::drawPolygonRep | ( | QPoint | p,
|  | int | w,
|  | int | h,
|  | TeVisual & | v
| ) |  | `[protected]`

void TeQtCanvas::endPrinting | ( |  | ) |

QPointArray TeQtCanvas::getArrow | ( | QPoint | ptBegin,
|  | QPoint | ptEnd,
|  | double | size
| ) |  |

TeBox TeQtCanvas::getCursorBox | ( |  | ) | `[inline]`

CursorMode TeQtCanvas::getCursorMode | ( |  | ) | `[inline]`

TeBox TeQtCanvas::getDataWorld | ( |  | ) |

QRect TeQtCanvas::getLegendRect | ( | QPoint | p,
|  | const QPixmap * | pix,
|  | string | tx
| ) |  |

QPainter* TeQtCanvas::getPainter | ( |  | ) | `[inline]`

TeRasterParams& TeQtCanvas::getParams | ( |  | ) | `[inline]`

QPixmap* TeQtCanvas::getPixmap0 | ( |  | ) | `[inline]`

QPixmap* TeQtCanvas::getPixmap1 | ( |  | ) | `[inline]`

QPixmap* TeQtCanvas::getPixmap2 | ( |  | ) | `[inline]`

TeBox TeQtCanvas::getWorld | ( |  | ) | `[inline]`

QRect& TeQtCanvas::graphicScaleRect | ( |  | ) | `[inline]`

void TeQtCanvas::initCursorArea | ( | QPoint | p | ) |

void TeQtCanvas::keyPressed | ( | QKeyEvent * |  | ) | `[signal]`

void TeQtCanvas::keyPressEvent | ( | QKeyEvent * | e | ) | `[protected]`

void TeQtCanvas::keyReleased | ( | QKeyEvent * |  | ) | `[signal]`

void TeQtCanvas::keyReleaseEvent | ( | QKeyEvent * | e | ) | `[protected]`

void TeQtCanvas::leaveEvent | ( | QEvent * |  | ) | `[protected]`

bool TeQtCanvas::locateGraphicScale | ( | const QPoint & | p | ) |

void TeQtCanvas::mapCWtoDW | ( | TeBox & | box | ) |

void TeQtCanvas::mapCWtoV | ( | TeBox & | box | ) |

QPoint TeQtCanvas::mapCWtoV | ( | const TeCoord2D & | c | ) |

void TeQtCanvas::mapDWtoCW | ( | TeBox & | box | ) |

void TeQtCanvas::mapDWtoV | ( | TeBox & | box | ) |

QPointArray TeQtCanvas::mapDWtoV | ( | const TeLine2D & | line | ) |

int TeQtCanvas::mapDWtoV | ( | double | a | ) |

QPoint TeQtCanvas::mapDWtoV | ( | const TeCoord2D & | dw | ) |

double TeQtCanvas::mapVtoCW | ( | int | pixels | ) |

TeCoord2D TeQtCanvas::mapVtoCW | ( | const QPoint & | p | ) |

void TeQtCanvas::mapVtoCW | ( | TeBox & | box | ) |

double TeQtCanvas::mapVtoDW | ( | int | pixels | ) |

TeCoord2D TeQtCanvas::mapVtoDW | ( | const QPoint & | v | ) |

void TeQtCanvas::mouseDoublePressed | ( | TeCoord2D & | ,
|  | int | ,
|  | QPoint & |
| ) |  | `[signal]`

void TeQtCanvas::mouseLeave | ( |  | ) | `[signal]`

void TeQtCanvas::mouseMoved | ( | TeCoord2D & | ,
|  | int | ,
|  | QPoint & |
| ) |  | `[signal]`

void TeQtCanvas::mousePressed | ( | TeCoord2D & | ,
|  | int | ,
|  | QPoint & |
| ) |  | `[signal]`

void TeQtCanvas::mouseReleased | ( | TeCoord2D & | ,
|  | int | ,
|  | QPoint & |
| ) |  | `[signal]`

void TeQtCanvas::mouseRightButtonPressed | ( | TeCoord2D & | ,
|  | int | ,
|  | QPoint & |
| ) |  | `[signal]`

int TeQtCanvas::numberOfPixmaps | ( |  | ) | `[inline]`

void TeQtCanvas::numberOfPixmaps | ( | int | n | ) | `[inline]`

QPoint TeQtCanvas::offset | ( |  | ) | `[inline]`

void TeQtCanvas::paintEvent | ( |  | ) | `[signal]`

double TeQtCanvas::pixelSize | ( |  | ) | `[inline]`

void TeQtCanvas::plotArc | ( | TeArc & | a | ) |

void TeQtCanvas::plotArrow | ( | QPointArray | a | ) |

void TeQtCanvas::plotCell | ( | TeCell & | s,
|  | const bool & | restoreBackground = `false`
| ) |  |

void TeQtCanvas::plotGraphicScale | ( | TeVisual & | visual,
|  | double | offsetX,
|  | double | offsetY,
|  | double | unitConv = `1`,
|  | const string & | dunit = `""`
| ) |  |

void TeQtCanvas::plotLegend | ( | const QPoint & | p,
|  | TeLegendEntry * | leg,
|  | const string & | tx
| ) |  |

void TeQtCanvas::plotLegend | ( | QPoint | p,
|  | const QPixmap * | pix,
|  | string | tx
| ) |  |

void TeQtCanvas::plotLegend | ( | const QPoint & | p,
|  | const TeColor & | cor,
|  | const string & | tx
| ) |  |

void TeQtCanvas::plotLine | ( | TeLine2D & | l | ) |

void TeQtCanvas::plotMark | ( | QPoint & | p,
|  | int | s,
|  | int | w
| ) |  | `[protected]`

void TeQtCanvas::plotMiddleLineArrow | ( | QPoint | ptBegin,
|  | QPoint | ptEnd
| ) |  |

void TeQtCanvas::plotMiddleLineArrow | ( | const TeLine2D & | lne,
|  | QPointArray | a
| ) |  |

void TeQtCanvas::plotNode | ( | TeNode & | n | ) |

void TeQtCanvas::plotOnPixmap0 | ( |  | ) |

void TeQtCanvas::plotOnPixmap1 | ( |  | ) |

void TeQtCanvas::plotOnPixmap2 | ( |  | ) |

void TeQtCanvas::plotOnWindow | ( |  | ) |

void TeQtCanvas::plotPie | ( | double | x,
|  | double | y,
|  | double | w,
|  | double | h,
|  | double | a,
|  | double | alen
| ) |  |

void TeQtCanvas::plotPoint | ( | const TeCoord2D & | p | ) |

void TeQtCanvas::plotPoint | ( | const TePoint & | p | ) | `[inline]`

void TeQtCanvas::plotPolygon | ( | const TePolygon & | p,
|  | const bool & | restoreBackground = `false`
| ) |  |

void TeQtCanvas::plotRaster | ( | TeRaster * | raster,
|  | TeRasterTransform * | transf,
|  | TeQtProgress * | progress
| ) |  |

void TeQtCanvas::plotRect | ( | double | x,
|  | double | y,
|  | double | w,
|  | double | h,
|  | int | transp = `0`,
|  | bool | legend = `false`
| ) |  |

void TeQtCanvas::plotRect | ( | QRect & | rect | ) |

void TeQtCanvas::plotText | ( | const TeText & | tx,
|  | const TeVisual & | visual
| ) |  |

void TeQtCanvas::plotText | ( | const TeCoord2D & | p,
|  | const string & | str,
|  | double | angle = `0.`,
|  | double | alignh = `0.`,
|  | double | alignv = `0.`
| ) |  |

void TeQtCanvas::plotTextRects | ( | TeText & | tx,
|  | TeVisual | visual
| ) |  |

void TeQtCanvas::plotXorPolyline | ( | QPointArray & | PA,
|  | bool | cdev = `true`
| ) |  |

void TeQtCanvas::plotXorTextDistance | ( | vector< QPointArray > | xorPointArrayVec,
|  | double | unitConv,
|  | string | unit
| ) |  |

QPopupMenu* TeQtCanvas::popupCanvas | ( |  | ) | `[inline]`

void TeQtCanvas::popupCanvasSignal | ( | QMouseEvent * |  | ) | `[signal]`

double TeQtCanvas::printerFactor | ( |  | ) | `[inline]`

TeProjection* TeQtCanvas::projection | ( |  | ) | `[inline]`

void TeQtCanvas::resizeEvent | ( | QResizeEvent * | e | ) | `[protected]`

double TeQtCanvas::scaleApx | ( |  | ) | `[inline]`

void TeQtCanvas::scaleApx | ( | double | scale | ) |

void TeQtCanvas::setArcColor | ( | int | r,
|  | int | g,
|  | int | b
| ) |  |

void TeQtCanvas::setArcStyle | ( | int | s,
|  | int | w = `1`
| ) |  |

void TeQtCanvas::setClipping | ( | bool | enable | ) |

void TeQtCanvas::setClipRegion | ( | QRegion | region | ) |

void TeQtCanvas::setClipRegion | ( | int | x,
|  | int | y,
|  | int | w,
|  | int | h
| ) |  |

void TeQtCanvas::setDataProjection | ( | TeProjection * | proj | ) |

void TeQtCanvas::setDB | ( | TeDatabase * | db | ) | `[inline]`

void TeQtCanvas::setLineColor | ( | int | r,
|  | int | g,
|  | int | b
| ) |  |

void TeQtCanvas::setLineStyle | ( | int | s,
|  | int | w = `1`
| ) |  |

void TeQtCanvas::setMode | ( | CursorMode | m | ) |

void TeQtCanvas::setNodeColor | ( | int | r,
|  | int | g,
|  | int | b
| ) |  |

void TeQtCanvas::setNodePixmap | ( | char * | p | ) |

void TeQtCanvas::setNodeStyle | ( | int | s,
|  | int | w = `4`
| ) |  |

void TeQtCanvas::setPieColor | ( | int | r,
|  | int | g,
|  | int | b
| ) |  |

void TeQtCanvas::setPointColor | ( | int | r,
|  | int | g,
|  | int | b
| ) |  |

void TeQtCanvas::setPointPixmap | ( | char * | p | ) |

void TeQtCanvas::setPointStyle | ( | int | s,
|  | int | w = `3`
| ) |  |

void TeQtCanvas::setPolygonColor | ( | int | r,
|  | int | g,
|  | int | b
| ) |  |

void TeQtCanvas::setPolygonLineColor | ( | int | r,
|  | int | g,
|  | int | b
| ) |  |

void TeQtCanvas::setPolygonLineStyle | ( | int | s,
|  | int | width = `1`
| ) |  |

void TeQtCanvas::setPolygonStyle | ( | int | s,
|  | int | width = `1`
| ) |  |

void TeQtCanvas::setProjection | ( | TeProjection * | proj | ) |

void TeQtCanvas::setRectColor | ( | int | r,
|  | int | g,
|  | int | b
| ) |  |

void TeQtCanvas::setTextColor | ( | int | r,
|  | int | g,
|  | int | b
| ) |  |

void TeQtCanvas::setTextSize | ( | int | size | ) |

void TeQtCanvas::setTextStyle | ( | string & | family,
|  | int | size,
|  | bool | bold,
|  | bool | italic
| ) |  |

void TeQtCanvas::setTransformation | ( | double | xmin,
|  | double | xmax,
|  | double | ymin,
|  | double | ymax,
|  | bool | extend = `true`
| ) |  |

bool TeQtCanvas::setView | ( | int | w = `0`,
|  | int | h = `0`,
|  | QPaintDevice * | pd = `0`
| ) |  | `[virtual]`

bool TeQtCanvas::setWorld | ( | TeBox | b,
|  | int | w = `0`,
|  | int | h = `0`,
|  | QPaintDevice * | pd = `0`
| ) |  |

void TeQtCanvas::textExtent | ( | string & | str,
|  | int & | w,
|  | int & | h,
|  | double | angle = `0.`
| ) |  |

QRect TeQtCanvas::textRect | ( | const TeText & | tx,
|  | TeVisual | visual
| ) |  |

void TeQtCanvas::viewportPaintEvent | ( | QPaintEvent * | e | ) | `[protected]`

void TeQtCanvas::widthRef2PrinterFactor | ( | int | w | ) | `[inline]`

void TeQtCanvas::zoomArea | ( |  | ) | `[signal]`

## Member Data Documentation

TeLnBasicType TeQtCanvas::_penStyle`[protected]`

QColor TeQtCanvas::arcColor_`[protected]`

QPen TeQtCanvas::arcPen_`[protected]`

TeRaster* TeQtCanvas::backRaster_`[protected]`

map<TePolyBasicType, Qt::BrushStyle> TeQtCanvas::brushStyleMap_`[protected]`

bool TeQtCanvas::canvasAndDataProjectionEqual_`[protected]`

TeProjection* TeQtCanvas::canvasProjection_`[protected]`

CursorMode TeQtCanvas::cursorMode_`[protected]`

TeProjection* TeQtCanvas::dataProjection_`[protected]`

TeDatabase* TeQtCanvas::db_`[protected]`

bool TeQtCanvas::down_`[protected]`

double TeQtCanvas::f_`[protected]`

QRect TeQtCanvas::graphicScaleRect_`[protected]`

int TeQtCanvas::height_`[protected]`

int TeQtCanvas::ixlr_`[protected]`

int TeQtCanvas::ixul_`[protected]`

int TeQtCanvas::iylr_`[protected]`

int TeQtCanvas::iyul_`[protected]`

QColor TeQtCanvas::lineColor_`[protected]`

QPen TeQtCanvas::linePen_`[protected]`

int TeQtCanvas::lx1_`[protected]`

int TeQtCanvas::lx2_`[protected]`

int TeQtCanvas::ly1_`[protected]`

int TeQtCanvas::ly2_`[protected]`

QColor TeQtCanvas::nodeColor_`[protected]`

QPen TeQtCanvas::nodePen_`[protected]`

QPixmap* TeQtCanvas::nodePixmap_`[protected]`

int TeQtCanvas::nodeSize_`[protected]`

int TeQtCanvas::nodeStyle_`[protected]`

int TeQtCanvas::numberOfPixmaps_`[protected]`

QPainter TeQtCanvas::painter_`[protected]`

TeRasterParams TeQtCanvas::params_`[protected]`

map<TeLnBasicType, Qt::PenStyle> TeQtCanvas::penStyleMap_`[protected]`

QBrush TeQtCanvas::pieBrush_`[protected]`

QColor TeQtCanvas::pieColor_`[protected]`

QPixmap* TeQtCanvas::pixmap0_`[protected]`

QPixmap* TeQtCanvas::pixmap1_`[protected]`

QPixmap* TeQtCanvas::pixmap2_`[protected]`

QColor TeQtCanvas::pointColor_`[protected]`

QPen TeQtCanvas::pointPen_`[protected]`

QPixmap* TeQtCanvas::pointPixmap_`[protected]`

int TeQtCanvas::pointSize_`[protected]`

int TeQtCanvas::pointStyle_`[protected]`

QBrush TeQtCanvas::polygonBrush_`[protected]`

QColor TeQtCanvas::polygonColor_`[protected]`

QPen TeQtCanvas::polygonPen_`[protected]`

int TeQtCanvas::polygonTransparency_`[protected]`

QPopupMenu* TeQtCanvas::popupCanvas_`[protected]`

double TeQtCanvas::printerFactor_`[protected]`

QImage TeQtCanvas::qimage_`[protected]`

QBrush TeQtCanvas::rectBrush_`[protected]`

QColor TeQtCanvas::rectColor_`[protected]`

int TeQtCanvas::scale_`[protected]`

double TeQtCanvas::scaleApx_`[protected]`

QColor TeQtCanvas::textColor_`[protected]`

QFont TeQtCanvas::textFont_`[protected]`

QPen TeQtCanvas::textPen_`[protected]`

int TeQtCanvas::textSize_`[protected]`

TeBox TeQtCanvas::wc_`[protected]`

int TeQtCanvas::width_`[protected]`

int TeQtCanvas::widthRef2PrinterFactor_`[protected]`

int TeQtCanvas::x0_`[protected]`

double TeQtCanvas::xlr_`[protected]`

double TeQtCanvas::xmax_`[protected]`

double TeQtCanvas::xmin_`[protected]`

double TeQtCanvas::xul_`[protected]`

int TeQtCanvas::y0_`[protected]`

double TeQtCanvas::ylr_`[protected]`

double TeQtCanvas::ymax_`[protected]`

double TeQtCanvas::ymin_`[protected]`

double TeQtCanvas::yul_`[protected]`

The documentation for this class was generated from the following files:

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/qt/TeQtCanvas.h
- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/qt/TeQtCanvas.cpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines