QGIS API Documentation  2.2.0-Valmiera
 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>

Collaboration diagram for QgsLabelPosition:
Collaboration graph
[legend]

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

Detailed Description

Definition at line 45 of file qgsmaprenderer.h.

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

Definition at line 48 of file qgsmaprenderer.h.

QgsLabelPosition::QgsLabelPosition ( )
inline

Definition at line 50 of file qgsmaprenderer.h.

Member Data Documentation

QVector< QgsPoint > QgsLabelPosition::cornerPoints

Definition at line 53 of file qgsmaprenderer.h.

int QgsLabelPosition::featureId

Definition at line 51 of file qgsmaprenderer.h.

double QgsLabelPosition::height

Definition at line 56 of file qgsmaprenderer.h.

bool QgsLabelPosition::isDiagram

Definition at line 61 of file qgsmaprenderer.h.

bool QgsLabelPosition::isPinned

Definition at line 62 of file qgsmaprenderer.h.

QFont QgsLabelPosition::labelFont

Definition at line 59 of file qgsmaprenderer.h.

QgsRectangle QgsLabelPosition::labelRect

Definition at line 54 of file qgsmaprenderer.h.

QString QgsLabelPosition::labelText

Definition at line 58 of file qgsmaprenderer.h.

QString QgsLabelPosition::layerID

Definition at line 57 of file qgsmaprenderer.h.

double QgsLabelPosition::rotation

Definition at line 52 of file qgsmaprenderer.h.

bool QgsLabelPosition::upsideDown

Definition at line 60 of file qgsmaprenderer.h.

double QgsLabelPosition::width

Definition at line 55 of file qgsmaprenderer.h.


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