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

#include <qgssymbolv2.h>

Inheritance diagram for QgsMarkerSymbolV2:
Inheritance graph
Collaboration diagram for QgsMarkerSymbolV2:
Collaboration graph

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, 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 170 of file qgssymbolv2.h.

Constructor & Destructor Documentation

Definition at line 345 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.

added in v1.7

Definition at line 309 of file qgssymbolv2.cpp.

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

void QgsMarkerSymbolV2::renderPoint ( const QPointF &  point,
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