Public Member Functions |
| QgsPalGeometry (QgsFeatureId id, QString text, GEOSGeometry *g, qreal ltrSpacing=0.0, qreal wordSpacing=0.0, bool curvedLabeling=false) |
| ~QgsPalGeometry () |
const GEOSGeometry * | getGeosGeometry () |
void | releaseGeosGeometry (const GEOSGeometry *) |
const char * | strId () |
QString | text () |
pal::LabelInfo * | info (QFontMetricsF *fm, const QgsMapToPixel *xform, double fontScale, double maxinangle, double maxoutangle) |
const QMap
< QgsPalLayerSettings::DataDefinedProperties,
QVariant > & | dataDefinedValues () const |
void | addDataDefinedValue (QgsPalLayerSettings::DataDefinedProperties p, QVariant v) |
void | setIsDiagram (bool d) |
bool | isDiagram () const |
void | setIsPinned (bool f) |
bool | isPinned () const |
void | setDefinedFont (QFont f) |
QFont | definedFont () |
QFontMetricsF * | getLabelFontMetrics () |
void | setDiagramAttributes (const QgsAttributes &attrs) |
const QgsAttributes & | diagramAttributes () |
Detailed Description
Definition at line 63 of file qgspallabeling.cpp.
Constructor & Destructor Documentation
QgsPalGeometry::QgsPalGeometry |
( |
QgsFeatureId |
id, |
|
|
QString |
text, |
|
|
GEOSGeometry * |
g, |
|
|
qreal |
ltrSpacing = 0.0 , |
|
|
qreal |
wordSpacing = 0.0 , |
|
|
bool |
curvedLabeling = false |
|
) |
| |
|
inline |
QgsPalGeometry::~QgsPalGeometry |
( |
| ) |
|
|
inline |
Member Function Documentation
QFont QgsPalGeometry::definedFont |
( |
| ) |
|
|
inline |
const GEOSGeometry* QgsPalGeometry::getGeosGeometry |
( |
| ) |
|
|
inline |
QFontMetricsF* QgsPalGeometry::getLabelFontMetrics |
( |
| ) |
|
|
inline |
pal::LabelInfo* QgsPalGeometry::info |
( |
QFontMetricsF * |
fm, |
|
|
const QgsMapToPixel * |
xform, |
|
|
double |
fontScale, |
|
|
double |
maxinangle, |
|
|
double |
maxoutangle |
|
) |
| |
|
inline |
bool QgsPalGeometry::isDiagram |
( |
| ) |
const |
|
inline |
bool QgsPalGeometry::isPinned |
( |
| ) |
const |
|
inline |
void QgsPalGeometry::releaseGeosGeometry |
( |
const GEOSGeometry * |
| ) |
|
|
inline |
void QgsPalGeometry::setDefinedFont |
( |
QFont |
f | ) |
|
|
inline |
void QgsPalGeometry::setDiagramAttributes |
( |
const QgsAttributes & |
attrs | ) |
|
|
inline |
void QgsPalGeometry::setIsDiagram |
( |
bool |
d | ) |
|
|
inline |
void QgsPalGeometry::setIsPinned |
( |
bool |
f | ) |
|
|
inline |
const char* QgsPalGeometry::strId |
( |
| ) |
|
|
inline |
QString QgsPalGeometry::text |
( |
void |
| ) |
|
|
inline |
Member Data Documentation
bool QgsPalGeometry::mCurvedLabeling |
|
protected |
QFont QgsPalGeometry::mDefinedFont |
|
protected |
QFontMetricsF* QgsPalGeometry::mFontMetrics |
|
protected |
GEOSGeometry* QgsPalGeometry::mG |
|
protected |
LabelInfo* QgsPalGeometry::mInfo |
|
protected |
bool QgsPalGeometry::mIsDiagram |
|
protected |
bool QgsPalGeometry::mIsPinned |
|
protected |
qreal QgsPalGeometry::mLetterSpacing |
|
protected |
QByteArray QgsPalGeometry::mStrId |
|
protected |
QString QgsPalGeometry::mText |
|
protected |
qreal QgsPalGeometry::mWordSpacing |
|
protected |
The documentation for this class was generated from the following file: