60       LabelInfo( 
int num, 
double height, 
double maxinangle = 20.0, 
double maxoutangle = -20.0 )
    62         max_char_angle_inside = maxinangle;
    64         max_char_angle_outside = maxoutangle > 0 ? -maxoutangle : maxoutangle;
    65         label_height = height;
   128       int createCandidates( 
QList<LabelPosition *> &lPos, 
double bboxMin[2], 
double bboxMax[2], 
PointSet *mapShape, RTree<LabelPosition*, double, 2, double>* candidates );
   155       int createCandidatesAtOrderedPositionsOverPoint( 
double x, 
double y, 
QList<LabelPosition *> &lPos, 
double angle );
   193                                               int& orientation, 
int index, 
double distance, 
bool& reversed, 
bool& flip );
   214       bool hasSameLabelFeatureAs( 
FeaturePart* part ) 
const;
   270       double calculatePriority() 
const;
   273       bool showUprightLabels() 
const;
   276       bool nextCharPosition( 
double charWidth, 
double segment_length, 
PointSet* path_positions, 
int& index, 
double& distance,
   277                              double& start_x, 
double& start_y, 
double& end_x, 
double& end_y ) 
const;
   285       void extractCoords( 
const GEOSGeometry* geom );
 
double obstacleFactor() const
Returns the feature's obstacle factor, which represents the penalty incurred for a label to overlap t...
 
double fixedAngle() const
Returns the fixed angle for the feature's label. 
 
QList< FeaturePart * > mHoles
 
double max_char_angle_outside
 
QgsLabelFeature * feature()
Returns the parent feature. 
 
bool hasFixedRotation() const
Returns true if the feature's label has a fixed rotation. 
 
A set of features which influence the labelling process. 
 
bool alwaysShow() const
Returns true if the feature's label should always been shown, even when it collides with other labels...
 
int getNumSelfObstacles() const
Get number of holes (inner rings) - they are considered as obstacles. 
 
LabelInfo(int num, double height, double maxinangle=20.0, double maxoutangle=-20.0)
 
double getLabelDistance() const
 
CharacterInfo * char_info
 
double repeatDistance() const
Returns the distance between repeating labels for this feature. 
 
bool isObstacle() const
Returns true if the feature should act as an obstacle to labels. 
 
Optional additional info about label (for curved labels) 
 
double getLabelHeight() const
 
Main class to handle feature. 
 
double ANALYSIS_EXPORT angle(Point3D *p1, Point3D *p2, Point3D *p3, Point3D *p4)
Calculates the angle between two segments (in 2 dimension, z-values are ignored) 
 
bool hasFixedPosition() const
Returns true if the feature's label has a fixed position. 
 
The QgsLabelFeature class describes a feature that should be used within the labeling engine...
 
double max_char_angle_inside
 
FeaturePart * getSelfObstacle(int i)
Get hole (inner ring) - considered as obstacle. 
 
double getLabelWidth() const
 
LabelPosition is a candidate feature label position. 
 
Quadrant
Position of label candidate relative to feature.