106 Q_DECL_DEPRECATED
void renderLabel( QPainter* painter,
const QgsRectangle& viewExtent,
110 double sizeScale = 1.,
double rasterScaleFactor = 1.0 )
119 renderLabel( r, feature, selected, classAttributes );
134 void readXML(
const QDomNode& node );
137 void writeXML( QDomNode & label_node, QDomDocument & document )
const;
160 void setLabelField(
int attr,
int fieldIndex );
163 bool setLabelFieldName(
int attr, QString name );
166 QString labelField(
int attr )
const;
173 QString fieldValue(
int attr,
QgsFeature& feature );
176 void setMinScale(
float theMinScale );
177 float minScale()
const;
180 void setMaxScale(
float theMaxScale );
181 float maxScale()
const;
184 void setScaleBasedVisibility(
bool theVisibilityFlag );
185 bool scaleBasedVisibility()
const;
192 QString text, QFont font, QPen pen,
194 double xoffset,
double yoffset,
196 int width,
int height,
int alignment );
198 bool readLabelField( QDomElement &el,
int attr, QString prefix );
201 void labelPoint( std::vector<labelpoint>&,
QgsFeature &feature );
204 unsigned char* labelPoint( labelpoint& point,
unsigned char* wkb,
size_t wkblen );