|
Quantum GIS API Documentation
1.8
|
Public Member Functions | |
| QgsPalGeometry (QgsFeatureId id, QString text, GEOSGeometry *g) | |
| ~QgsPalGeometry () | |
| GEOSGeometry * | getGeosGeometry () |
| void | releaseGeosGeometry (GEOSGeometry *) |
| const char * | strId () |
| QString | text () |
| pal::LabelInfo * | info (QFontMetricsF *fm, const QgsMapToPixel *xform, double fontScale) |
| const QMap < QgsPalLayerSettings::DataDefinedProperties, QVariant > & | dataDefinedValues () const |
| void | addDataDefinedValue (QgsPalLayerSettings::DataDefinedProperties p, QVariant v) |
| void | setIsDiagram (bool d) |
| bool | isDiagram () const |
| void | addDiagramAttribute (int index, QVariant value) |
| const QgsAttributeMap & | diagramAttributes () |
Protected Attributes | |
| GEOSGeometry * | mG |
| QString | mText |
| QByteArray | mStrId |
| QgsFeatureId | mId |
| LabelInfo * | mInfo |
| bool | mIsDiagram |
| QMap < QgsPalLayerSettings::DataDefinedProperties, QVariant > | mDataDefinedValues |
| Stores attribute values for data defined properties. | |
| QgsAttributeMap | mDiagramAttributes |
| Stores attribute values for diagram rendering. | |
Definition at line 56 of file qgspallabeling.cpp.
| QgsPalGeometry::QgsPalGeometry | ( | QgsFeatureId | id, |
| QString | text, | ||
| GEOSGeometry * | g | ||
| ) | [inline] |
Definition at line 59 of file qgspallabeling.cpp.
References FID_TO_STRING.
| QgsPalGeometry::~QgsPalGeometry | ( | ) | [inline] |
Definition at line 69 of file qgspallabeling.cpp.
| void QgsPalGeometry::addDataDefinedValue | ( | QgsPalLayerSettings::DataDefinedProperties | p, |
| QVariant | v | ||
| ) | [inline] |
Definition at line 110 of file qgspallabeling.cpp.
Referenced by QgsPalLayerSettings::registerFeature().
| void QgsPalGeometry::addDiagramAttribute | ( | int | index, |
| QVariant | value | ||
| ) | [inline] |
Definition at line 115 of file qgspallabeling.cpp.
Referenced by QgsPalLabeling::registerDiagramFeature().
| const QMap< QgsPalLayerSettings::DataDefinedProperties, QVariant >& QgsPalGeometry::dataDefinedValues | ( | ) | const [inline] |
Definition at line 109 of file qgspallabeling.cpp.
Referenced by QgsPalLabeling::drawLabeling().
| const QgsAttributeMap& QgsPalGeometry::diagramAttributes | ( | ) | [inline] |
Definition at line 116 of file qgspallabeling.cpp.
Referenced by QgsPalLabeling::drawLabeling().
| GEOSGeometry* QgsPalGeometry::getGeosGeometry | ( | ) | [inline] |
Definition at line 78 of file qgspallabeling.cpp.
| pal::LabelInfo* QgsPalGeometry::info | ( | QFontMetricsF * | fm, |
| const QgsMapToPixel * | xform, | ||
| double | fontScale | ||
| ) | [inline] |
Definition at line 90 of file qgspallabeling.cpp.
References QgsMapToPixel::toMapCoordinates(), QgsMapToPixel::toMapCoordinatesF(), QgsPoint::x(), and QgsPoint::y().
Referenced by QgsPalLayerSettings::registerFeature().
| bool QgsPalGeometry::isDiagram | ( | ) | const [inline] |
Definition at line 113 of file qgspallabeling.cpp.
Referenced by QgsPalLabeling::drawLabeling().
| void QgsPalGeometry::releaseGeosGeometry | ( | GEOSGeometry * | ) | [inline] |
Definition at line 82 of file qgspallabeling.cpp.
| void QgsPalGeometry::setIsDiagram | ( | bool | d | ) | [inline] |
Definition at line 112 of file qgspallabeling.cpp.
Referenced by QgsPalLabeling::registerDiagramFeature().
| const char* QgsPalGeometry::strId | ( | ) | [inline] |
Definition at line 87 of file qgspallabeling.cpp.
Referenced by QgsPalLabeling::drawLabeling(), QgsPalLabeling::registerDiagramFeature(), and QgsPalLayerSettings::registerFeature().
| QString QgsPalGeometry::text | ( | void | ) | [inline] |
Definition at line 88 of file qgspallabeling.cpp.
QMap< QgsPalLayerSettings::DataDefinedProperties, QVariant > QgsPalGeometry::mDataDefinedValues [protected] |
Stores attribute values for data defined properties.
Definition at line 126 of file qgspallabeling.cpp.
QgsAttributeMap QgsPalGeometry::mDiagramAttributes [protected] |
Stores attribute values for diagram rendering.
Definition at line 129 of file qgspallabeling.cpp.
GEOSGeometry* QgsPalGeometry::mG [protected] |
Definition at line 119 of file qgspallabeling.cpp.
QgsFeatureId QgsPalGeometry::mId [protected] |
Definition at line 122 of file qgspallabeling.cpp.
LabelInfo* QgsPalGeometry::mInfo [protected] |
Definition at line 123 of file qgspallabeling.cpp.
bool QgsPalGeometry::mIsDiagram [protected] |
Definition at line 124 of file qgspallabeling.cpp.
QByteArray QgsPalGeometry::mStrId [protected] |
Definition at line 121 of file qgspallabeling.cpp.
QString QgsPalGeometry::mText [protected] |
Definition at line 120 of file qgspallabeling.cpp.
1.7.6.1