mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-08 00:05:09 -04:00
Updated comments/documentation
git-svn-id: http://svn.osgeo.org/qgis/trunk@1700 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
a32990b08a
commit
fd73b222ec
@ -23,7 +23,7 @@ class QgsPoint;
|
|||||||
class QPainter;
|
class QPainter;
|
||||||
class QgsCoordinateTransform;
|
class QgsCoordinateTransform;
|
||||||
|
|
||||||
/** \class QgsAcetateObject
|
/*! \class QgsAcetateObject
|
||||||
* \brief Base class for all objects that are drawn on the acetate layer of a map canvas.
|
* \brief Base class for all objects that are drawn on the acetate layer of a map canvas.
|
||||||
*
|
*
|
||||||
* An acetate object is a graphic or text object that is drawn on top of the map canvas
|
* An acetate object is a graphic or text object that is drawn on top of the map canvas
|
||||||
|
@ -27,16 +27,16 @@ class QgsCoordinateTransform;
|
|||||||
#include "qgsacetateobject.h"
|
#include "qgsacetateobject.h"
|
||||||
|
|
||||||
/** \class QgsAcetateRectangle
|
/** \class QgsAcetateRectangle
|
||||||
* \brief A rectangle drawn on the acetate layer of a map canvas
|
* \brief A rectangle drawn on the acetate layer of a map canvas
|
||||||
*
|
*
|
||||||
* An acetate object is a graphic or text object that is drawn on top of the map canvas
|
* An acetate object is a graphic or text object that is drawn on top of the map canvas
|
||||||
* after rendering of all map elements is completed. Acetate objects can be drawn in
|
* after rendering of all map elements is completed. Acetate objects can be drawn in
|
||||||
* device coordinates or map coordinates. Drawing in map coordinates requires passing
|
* device coordinates or map coordinates. Drawing in map coordinates requires passing
|
||||||
* a QgsCoordinateTransform object to the draw function.
|
* a QgsCoordinateTransform object to the draw function.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
class QgsAcetateRectangle : public QgsAcetateObject {
|
class QgsAcetateRectangle : public QgsAcetateObject {
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
* Constructor. Constructs an object with the specified origin. If the object is
|
* Constructor. Constructs an object with the specified origin. If the object is
|
||||||
* spatially referenced, the origin should be in map coordinates.
|
* spatially referenced, the origin should be in map coordinates.
|
||||||
@ -72,7 +72,7 @@ public:
|
|||||||
* @param rect The rectanlge
|
* @param rect The rectanlge
|
||||||
*/
|
*/
|
||||||
void setRectangle(QgsRect value);
|
void setRectangle(QgsRect value);
|
||||||
private:
|
private:
|
||||||
//! Origin of the object in device or map coordinates
|
//! Origin of the object in device or map coordinates
|
||||||
QgsPoint mOrigin;
|
QgsPoint mOrigin;
|
||||||
//! Rectangle
|
//! Rectangle
|
||||||
|
Loading…
x
Reference in New Issue
Block a user