mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
worcarounds to make sip generation work on android
This commit is contained in:
parent
10fc68119c
commit
2cc684793c
@ -106,7 +106,9 @@ class QgsComposerScaleBar: QgsComposerItem
|
||||
|
||||
/**Returns the x - positions of the segment borders (in item coordinates) and the width
|
||||
of the segment*/
|
||||
%If (!ANDROID)
|
||||
void segmentPositions( QList<QPair<double, double> >& posWidthList ) const;
|
||||
%End
|
||||
|
||||
/**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).
|
||||
|
||||
%If (!ANDROID)
|
||||
static void trimFeature( QVector<double>& x,
|
||||
QVector<double>& y,
|
||||
bool shapeOpen );
|
||||
|
||||
%End
|
||||
static void trimPolygon( QPolygonF& pts, const QgsRectangle& clipRect );
|
||||
|
||||
/**Reads a polyline from WKB and clips it to clipExtent
|
||||
|
Loading…
x
Reference in New Issue
Block a user