Quantum GIS API Documentation  1.8
Public Member Functions | Static Public Member Functions
QgsMarkerSymbolV2 Class Reference

#include <qgssymbolv2.h>

Inheritance diagram for QgsMarkerSymbolV2:
Inheritance graph
[legend]
Collaboration diagram for QgsMarkerSymbolV2:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 QgsMarkerSymbolV2 (QgsSymbolLayerV2List layers=QgsSymbolLayerV2List())
void setAngle (double angle)
double angle ()
void setSize (double size)
double size ()
void renderPoint (const QPointF &point, const QgsFeature *f, QgsRenderContext &context, int layer=-1, bool selected=false)
virtual QgsSymbolV2clone () const

Static Public Member Functions

static QgsMarkerSymbolV2createSimple (const QgsStringMap &properties)
 Create a marker symbol with one symbol layer: SimpleMarker with specified properties.

Detailed Description

Definition at line 205 of file qgssymbolv2.h.


Constructor & Destructor Documentation

Definition at line 387 of file qgssymbolv2.cpp.

References QgsSymbolV2::mLayers.

Referenced by clone(), and createSimple().


Member Function Documentation

double QgsMarkerSymbolV2::angle ( void  )
QgsSymbolV2 * QgsMarkerSymbolV2::clone ( ) const [virtual]

Create a marker symbol with one symbol layer: SimpleMarker with specified properties.

This is a convenience method for easier creation of marker symbols.

Note:
added in v1.7

Definition at line 351 of file qgssymbolv2.cpp.

References QgsSimpleMarkerSymbolLayerV2::create(), and QgsMarkerSymbolV2().

void QgsMarkerSymbolV2::renderPoint ( const QPointF &  point,
const QgsFeature f,
QgsRenderContext context,
int  layer = -1,
bool  selected = false 
)
void QgsMarkerSymbolV2::setAngle ( double  angle)
void QgsMarkerSymbolV2::setSize ( double  size)
double QgsMarkerSymbolV2::size ( void  )

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines