Skip to content
Permalink
Browse files

Make _getPoint, _getLineString, _getPolygon visible for subclasses of…

… feature renderer

git-svn-id: http://svn.osgeo.org/qgis/trunk@13137 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Mar 21, 2010
1 parent c1ca74c commit 6d4152288f75259e608d5a40739c0c18e38fe098
Showing with 7 additions and 3 deletions.
  1. +3 −3 src/core/symbology-ng/qgsrendererv2.cpp
  2. +4 −0 src/core/symbology-ng/qgsrendererv2.h
@@ -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 );
@@ -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 );
@@ -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 );
@@ -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;

0 comments on commit 6d41522

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