Skip to content
Browse files

Add missing doc

  • Loading branch information
nyalldawson committed Aug 17, 2016
1 parent af09478 commit 58ef3c75bb5c5011267ee32f177228c9c6d0c36a
Showing with 9 additions and 0 deletions.
  1. +9 −0 src/core/pal/feature.h
@@ -177,6 +177,15 @@ namespace pal
int createCandidatesAlongLineNearMidpoint( QList<LabelPosition *> &lPos, PointSet *mapShape, double initialCost = 0.0 );

/** Returns the label position for a curved label at a specific offset along a path.
* @param path_positions line path to place label on
* @param path_distances array of distances to each segment on path
* @param orientation can be 0 for automatic calculation of orientation, or -1/+1 for a specific label orientation
* @param index
* @param distance distance to offset label along curve by
* @param flip
* @returns calculated label position
LabelPosition* curvedPlacementAtOffset( PointSet* path_positions, double* path_distances,
int& orientation, int index, double distance, bool& flip );

0 comments on commit 58ef3c7

Please sign in to comment.
You can’t perform that action at this time.