Skip to content
Browse files
worcarounds to make sip generation work on android
  • Loading branch information
mbernasocchi authored and dakcarto committed Sep 9, 2013
1 parent 10fc681 commit 2cc684793ceb29d8600d71564fb38f92c998f588
Showing with 5 additions and 1 deletion.
  1. +2 −0 python/core/composer/qgscomposerscalebar.sip
  2. +3 −1 python/core/qgsclipper.sip
@@ -106,7 +106,9 @@ class QgsComposerScaleBar: QgsComposerItem

/**Returns the x - positions of the segment borders (in item coordinates) and the width
of the segment*/
void segmentPositions( QList<QPair<double, double> >& posWidthList ) const;

/**Sets box size suitable to content*/
void adjustBoxSize();
@@ -38,10 +38,12 @@ class QgsClipper
// feature in x and y. The shapeOpen parameter determines whether
// the function treats the points as a closed shape (polygon), or as
// an open shape (linestring).

static void trimFeature( QVector<double>& x,
QVector<double>& y,
bool shapeOpen );

static void trimPolygon( QPolygonF& pts, const QgsRectangle& clipRect );

/**Reads a polyline from WKB and clips it to clipExtent

0 comments on commit 2cc6847

Please sign in to comment.