A rectangular graphics item representing the map on the canvas.
More...
#include <qgsmapcanvasmap.h>
Additional Inherited Members |
| QgsMapCanvasItem (QgsMapCanvas *mapCanvas) |
| protected constructor: cannot be constructed directly
|
virtual | ~QgsMapCanvasItem () |
virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0) override |
| paint function called by map canvas
|
bool | setRenderContextVariables (QPainter *p, QgsRenderContext &context) const |
| Sets render context parameters.
|
void | updateCanvas () |
| schedules map canvas for repaint
|
QSizeF | mItemSize |
| cached size of the item (to return in boundingRect())
|
QgsMapCanvas * | mMapCanvas |
| pointer to map canvas
|
QPoint | mPanningOffset |
| offset from normal position due current panning operation, used when converting map coordinates to move map canvas items
|
QgsRectangle | mRect |
| cached canvas item rectangle in map coordinates encodes position (xmin,ymax) and size (width/height) used to re-position and re-size the item on zoom/pan while waiting for the renderer to complete.
|
double | mRectRotation |
Detailed Description
A rectangular graphics item representing the map on the canvas.
Definition at line 34 of file qgsmapcanvasmap.h.
Constructor & Destructor Documentation
QgsMapCanvasMap::~QgsMapCanvasMap |
( |
| ) |
|
Member Function Documentation
QImage QgsMapCanvasMap::contentImage |
( |
| ) |
const |
|
inline |
Q_DECL_DEPRECATED void QgsMapCanvasMap::enableAntiAliasing |
( |
bool |
flag | ) |
|
|
inline |
void QgsMapCanvasMap::paint |
( |
QPainter * |
painter | ) |
|
|
overridevirtual |
QPaintDevice & QgsMapCanvasMap::paintDevice |
( |
| ) |
|
Q_DECL_DEPRECATED void QgsMapCanvasMap::refresh |
( |
| ) |
|
|
inline |
Q_DECL_DEPRECATED void QgsMapCanvasMap::render |
( |
| ) |
|
|
inline |
Q_DECL_DEPRECATED void QgsMapCanvasMap::resize |
( |
QSize |
size | ) |
|
|
inline |
Q_DECL_DEPRECATED void QgsMapCanvasMap::setBackgroundColor |
( |
const QColor & |
color | ) |
|
|
inline |
void QgsMapCanvasMap::setContent |
( |
const QImage & |
image, |
|
|
const QgsRectangle & |
rect |
|
) |
| |
Q_DECL_DEPRECATED void QgsMapCanvasMap::setPanningOffset |
( |
const QPoint & |
point | ) |
|
|
inline |
Q_DECL_DEPRECATED void QgsMapCanvasMap::updateContents |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following files: