QGIS API Documentation  2.6.0-Brighton
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
QgsLabelPosition Class Reference

#include <qgsmaprenderer.h>

Public Member Functions

 QgsLabelPosition (int id, double r, const QVector< QgsPoint > &corners, const QgsRectangle &rect, double w, double h, const QString &layer, const QString &labeltext, const QFont &labelfont, bool upside_down, bool diagram=false, bool pinned=false)
 QgsLabelPosition ()

Public Attributes

int featureId
double rotation
QVector< QgsPointcornerPoints
QgsRectangle labelRect
double width
double height
QString layerID
QString labelText
QFont labelFont
bool upsideDown
bool isDiagram
bool isPinned

Constructor & Destructor Documentation

QgsLabelPosition::QgsLabelPosition ( int  id,
double  r,
const QVector< QgsPoint > &  corners,
const QgsRectangle rect,
double  w,
double  h,
const QString &  layer,
const QString &  labeltext,
const QFont &  labelfont,
bool  upside_down,
bool  diagram = false,
bool  pinned = false 
)
inline
QgsLabelPosition::QgsLabelPosition ( )
inline

Member Data Documentation

QVector< QgsPoint > QgsLabelPosition::cornerPoints
int QgsLabelPosition::featureId
double QgsLabelPosition::height
bool QgsLabelPosition::isDiagram
bool QgsLabelPosition::isPinned
QFont QgsLabelPosition::labelFont
QgsRectangle QgsLabelPosition::labelRect
QString QgsLabelPosition::labelText
QString QgsLabelPosition::layerID
double QgsLabelPosition::rotation
bool QgsLabelPosition::upsideDown
double QgsLabelPosition::width

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