Skip to content

Commit

Permalink
Make _getPoint, _getLineString, _getPolygon visible for subclasses of…
Browse files Browse the repository at this point in the history
… feature renderer

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13137 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Mar 21, 2010
1 parent ddd41b9 commit 3836cac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/symbology-ng/qgsrendererv2.cpp
Expand Up @@ -19,7 +19,7 @@



static unsigned char* _getPoint( QPointF& pt, QgsRenderContext& context, unsigned char* wkb )
unsigned char* QgsFeatureRendererV2::_getPoint( QPointF& pt, QgsRenderContext& context, unsigned char* wkb )
{
wkb++; // jump over endian info
unsigned int wkbType = *(( int* ) wkb );
Expand All @@ -43,7 +43,7 @@ static unsigned char* _getPoint( QPointF& pt, QgsRenderContext& context, unsigne
return wkb;
}

static unsigned char* _getLineString( QPolygonF& pts, QgsRenderContext& context, unsigned char* wkb )
unsigned char* QgsFeatureRendererV2::_getLineString( QPolygonF& pts, QgsRenderContext& context, unsigned char* wkb )
{
wkb++; // jump over endian info
unsigned int wkbType = *(( int* ) wkb );
Expand Down Expand Up @@ -82,7 +82,7 @@ static unsigned char* _getLineString( QPolygonF& pts, QgsRenderContext& context,
return wkb;
}

static unsigned char* _getPolygon( QPolygonF& pts, QList<QPolygonF>& holes, QgsRenderContext& context, unsigned char* wkb )
unsigned char* QgsFeatureRendererV2::_getPolygon( QPolygonF& pts, QList<QPolygonF>& holes, QgsRenderContext& context, unsigned char* wkb )
{
wkb++; // jump over endian info
unsigned int wkbType = *(( int* ) wkb );
Expand Down
4 changes: 4 additions & 0 deletions src/core/symbology-ng/qgsrendererv2.h
Expand Up @@ -110,6 +110,10 @@ class CORE_EXPORT QgsFeatureRendererV2
//! render editing vertex marker for a polygon
void renderVertexMarkerPolygon( QPolygonF& pts, QList<QPolygonF>* rings, QgsRenderContext& context );

static unsigned char* _getPoint( QPointF& pt, QgsRenderContext& context, unsigned char* wkb );
static unsigned char* _getLineString( QPolygonF& pts, QgsRenderContext& context, unsigned char* wkb );
static unsigned char* _getPolygon( QPolygonF& pts, QList<QPolygonF>& holes, QgsRenderContext& context, unsigned char* wkb );

QString mType;

bool mUsingSymbolLevels;
Expand Down

0 comments on commit 3836cac

Please sign in to comment.