QgsSymbolV2RenderContext Class Reference

#include <qgssymbolv2.h>

Collaboration diagram for QgsSymbolV2RenderContext:

Collaboration graph

List of all members.

Public Member Functions

 QgsSymbolV2RenderContext (QgsRenderContext &c, QgsSymbolV2::OutputUnit u, qreal alpha=1.0, bool selected=false, int renderHints=0)
 ~QgsSymbolV2RenderContext ()
QgsRenderContextrenderContext ()
QgsSymbolV2::OutputUnit outputUnit () const
void setOutputUnit (QgsSymbolV2::OutputUnit u)
qreal alpha () const
void setAlpha (qreal alpha)
bool selected () const
void setSelected (bool selected)
int renderHints () const
void setRenderHints (int hints)
double outputLineWidth (double width) const
double outputPixelSize (double size) const
QgsSymbolV2RenderContextoperator= (const QgsSymbolV2RenderContext &)

Static Public Member Functions

static QColor selectionColor ()

Private Attributes

QgsSymbolV2::OutputUnit mOutputUnit
qreal mAlpha
bool mSelected
int mRenderHints

Detailed Description

Definition at line 117 of file qgssymbolv2.h.

Constructor & Destructor Documentation

QgsSymbolV2RenderContext::QgsSymbolV2RenderContext ( QgsRenderContext c,
QgsSymbolV2::OutputUnit  u,
qreal  alpha = 1.0,
bool  selected = false,
int  renderHints = 0 

Definition at line 248 of file qgssymbolv2.cpp.

QgsSymbolV2RenderContext::~QgsSymbolV2RenderContext (  ) 

Definition at line 254 of file qgssymbolv2.cpp.

Member Function Documentation

QgsRenderContext& QgsSymbolV2RenderContext::renderContext (  )  [inline]

QgsSymbolV2::OutputUnit QgsSymbolV2RenderContext::outputUnit (  )  const [inline]

Definition at line 126 of file qgssymbolv2.h.

Referenced by QgsMarkerLineSymbolLayerV2::startRender().

void QgsSymbolV2RenderContext::setOutputUnit ( QgsSymbolV2::OutputUnit  u  )  [inline]

Definition at line 127 of file qgssymbolv2.h.

qreal QgsSymbolV2RenderContext::alpha (  )  const [inline]

void QgsSymbolV2RenderContext::setAlpha ( qreal  alpha  )  [inline]

Definition at line 130 of file qgssymbolv2.h.

bool QgsSymbolV2RenderContext::selected ( void   )  const [inline]

void QgsSymbolV2RenderContext::setSelected ( bool  selected  )  [inline]

Definition at line 133 of file qgssymbolv2.h.

int QgsSymbolV2RenderContext::renderHints (  )  const [inline]

void QgsSymbolV2RenderContext::setRenderHints ( int  hints  )  [inline]

added in 1.5

Definition at line 138 of file qgssymbolv2.h.

QColor QgsSymbolV2RenderContext::selectionColor (  )  [static]

double QgsSymbolV2RenderContext::outputLineWidth ( double  width  )  const

double QgsSymbolV2RenderContext::outputPixelSize ( double  size  )  const

QgsSymbolV2RenderContext & QgsSymbolV2RenderContext::operator= ( const QgsSymbolV2RenderContext  ) 

Definition at line 275 of file qgssymbolv2.cpp.

Member Data Documentation

Definition at line 150 of file qgssymbolv2.h.

Referenced by outputLineWidth(), and outputPixelSize().

Definition at line 151 of file qgssymbolv2.h.

Referenced by outputLineWidth(), and outputPixelSize().

Definition at line 152 of file qgssymbolv2.h.

Definition at line 153 of file qgssymbolv2.h.

Definition at line 154 of file qgssymbolv2.h.

The documentation for this class was generated from the following files:

Generated on Sat Feb 4 19:17:55 2012 for Quantum GIS API Documentation by  doxygen 1.5.6