Quantum GIS API Documentation  1.7.5-Wroclaw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Protected Attributes
QgsSimpleFillSymbolLayerV2 Class Reference

#include <qgsfillsymbollayerv2.h>

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

List of all members.

Public Member Functions

 QgsSimpleFillSymbolLayerV2 (QColor color=DEFAULT_SIMPLEFILL_COLOR, Qt::BrushStyle style=DEFAULT_SIMPLEFILL_STYLE, QColor borderColor=DEFAULT_SIMPLEFILL_BORDERCOLOR, Qt::PenStyle borderStyle=DEFAULT_SIMPLEFILL_BORDERSTYLE, double borderWidth=DEFAULT_SIMPLEFILL_BORDERWIDTH)
QString layerType () const
void startRender (QgsSymbolV2RenderContext &context)
void stopRender (QgsSymbolV2RenderContext &context)
void renderPolygon (const QPolygonF &points, QList< QPolygonF > *rings, QgsSymbolV2RenderContext &context)
QgsStringMap properties () const
QgsSymbolLayerV2clone () const
Qt::BrushStyle brushStyle () const
void setBrushStyle (Qt::BrushStyle style)
QColor borderColor () const
void setBorderColor (QColor borderColor)
Qt::PenStyle borderStyle () const
void setBorderStyle (Qt::PenStyle borderStyle)
double borderWidth () const
void setBorderWidth (double borderWidth)
void setOffset (QPointF offset)
QPointF offset ()
- Public Member Functions inherited from QgsFillSymbolLayerV2
void drawPreviewIcon (QgsSymbolV2RenderContext &context, QSize size)
void setAngle (double angle)
double angle () const
- Public Member Functions inherited from QgsSymbolLayerV2
virtual void setColor (const QColor &color)
virtual QColor color () const
virtual ~QgsSymbolLayerV2 ()
virtual QgsSymbolV2subSymbol ()
virtual bool setSubSymbol (QgsSymbolV2 *symbol)
QgsSymbolV2::SymbolType type () const
void setLocked (bool locked)
bool isLocked () const
void setRenderingPass (int renderingPass)
int renderingPass () const

Static Public Member Functions

static QgsSymbolLayerV2create (const QgsStringMap &properties=QgsStringMap())

Protected Attributes

QBrush mBrush
QBrush mSelBrush
Qt::BrushStyle mBrushStyle
QColor mBorderColor
Qt::PenStyle mBorderStyle
double mBorderWidth
QPen mPen
QPointF mOffset
- Protected Attributes inherited from QgsFillSymbolLayerV2
double mAngle
- Protected Attributes inherited from QgsSymbolLayerV2
QgsSymbolV2::SymbolType mType
bool mLocked
QColor mColor
int mRenderingPass

Additional Inherited Members

- Protected Member Functions inherited from QgsFillSymbolLayerV2
 QgsFillSymbolLayerV2 (bool locked=false)
void _renderPolygon (QPainter *p, const QPolygonF &points, const QList< QPolygonF > *rings)
 Default method to render polygon.
- Protected Member Functions inherited from QgsSymbolLayerV2
 QgsSymbolLayerV2 (QgsSymbolV2::SymbolType type, bool locked=false)

Detailed Description

Definition at line 16 of file qgsfillsymbollayerv2.h.


Constructor & Destructor Documentation

QgsSimpleFillSymbolLayerV2::QgsSimpleFillSymbolLayerV2 ( QColor  color = DEFAULT_SIMPLEFILL_COLOR,
Qt::BrushStyle  style = DEFAULT_SIMPLEFILL_STYLE,
QColor  borderColor = DEFAULT_SIMPLEFILL_BORDERCOLOR,
Qt::PenStyle  borderStyle = DEFAULT_SIMPLEFILL_BORDERSTYLE,
double  borderWidth = DEFAULT_SIMPLEFILL_BORDERWIDTH 
)

Definition at line 12 of file qgsfillsymbollayerv2.cpp.

References QgsSymbolLayerV2::color(), and QgsSymbolLayerV2::mColor.

Referenced by clone(), and create().


Member Function Documentation

QColor QgsSimpleFillSymbolLayerV2::borderColor ( void  ) const
inline

Definition at line 46 of file qgsfillsymbollayerv2.h.

Referenced by create(), and QgsSymbologyV2Conversion::symbolV2toV1().

Qt::PenStyle QgsSimpleFillSymbolLayerV2::borderStyle ( void  ) const
inline

Definition at line 49 of file qgsfillsymbollayerv2.h.

Referenced by create(), and QgsSymbologyV2Conversion::symbolV2toV1().

double QgsSimpleFillSymbolLayerV2::borderWidth ( void  ) const
inline

Definition at line 52 of file qgsfillsymbollayerv2.h.

Referenced by create(), and QgsSymbologyV2Conversion::symbolV2toV1().

Qt::BrushStyle QgsSimpleFillSymbolLayerV2::brushStyle ( ) const
inline

Definition at line 43 of file qgsfillsymbollayerv2.h.

Referenced by QgsSymbologyV2Conversion::symbolV2toV1().

QgsSymbolLayerV2 * QgsSimpleFillSymbolLayerV2::clone ( ) const
virtual
QgsSymbolLayerV2 * QgsSimpleFillSymbolLayerV2::create ( const QgsStringMap properties = QgsStringMap())
static
QString QgsSimpleFillSymbolLayerV2::layerType ( ) const
virtual

Implements QgsSymbolLayerV2.

Definition at line 47 of file qgsfillsymbollayerv2.cpp.

QPointF QgsSimpleFillSymbolLayerV2::offset ( )
inline

Definition at line 56 of file qgsfillsymbollayerv2.h.

Referenced by create().

QgsStringMap QgsSimpleFillSymbolLayerV2::properties ( ) const
virtual
void QgsSimpleFillSymbolLayerV2::renderPolygon ( const QPolygonF &  points,
QList< QPolygonF > *  rings,
QgsSymbolV2RenderContext context 
)
virtual
void QgsSimpleFillSymbolLayerV2::setBorderColor ( QColor  borderColor)
inline

Definition at line 47 of file qgsfillsymbollayerv2.h.

void QgsSimpleFillSymbolLayerV2::setBorderStyle ( Qt::PenStyle  borderStyle)
inline

Definition at line 50 of file qgsfillsymbollayerv2.h.

void QgsSimpleFillSymbolLayerV2::setBorderWidth ( double  borderWidth)
inline

Definition at line 53 of file qgsfillsymbollayerv2.h.

void QgsSimpleFillSymbolLayerV2::setBrushStyle ( Qt::BrushStyle  style)
inline

Definition at line 44 of file qgsfillsymbollayerv2.h.

void QgsSimpleFillSymbolLayerV2::setOffset ( QPointF  offset)
inline

Definition at line 55 of file qgsfillsymbollayerv2.h.

Referenced by clone(), and create().

void QgsSimpleFillSymbolLayerV2::startRender ( QgsSymbolV2RenderContext context)
virtual
void QgsSimpleFillSymbolLayerV2::stopRender ( QgsSymbolV2RenderContext context)
virtual

Implements QgsSymbolLayerV2.

Definition at line 74 of file qgsfillsymbollayerv2.cpp.


Member Data Documentation

QColor QgsSimpleFillSymbolLayerV2::mBorderColor
protected

Definition at line 62 of file qgsfillsymbollayerv2.h.

Referenced by clone(), properties(), and startRender().

Qt::PenStyle QgsSimpleFillSymbolLayerV2::mBorderStyle
protected

Definition at line 63 of file qgsfillsymbollayerv2.h.

Referenced by clone(), properties(), and startRender().

double QgsSimpleFillSymbolLayerV2::mBorderWidth
protected

Definition at line 64 of file qgsfillsymbollayerv2.h.

Referenced by clone(), properties(), and startRender().

QBrush QgsSimpleFillSymbolLayerV2::mBrush
protected

Definition at line 59 of file qgsfillsymbollayerv2.h.

Referenced by renderPolygon(), and startRender().

Qt::BrushStyle QgsSimpleFillSymbolLayerV2::mBrushStyle
protected

Definition at line 61 of file qgsfillsymbollayerv2.h.

Referenced by clone(), properties(), and startRender().

QPointF QgsSimpleFillSymbolLayerV2::mOffset
protected

Definition at line 67 of file qgsfillsymbollayerv2.h.

Referenced by clone(), properties(), and renderPolygon().

QPen QgsSimpleFillSymbolLayerV2::mPen
protected

Definition at line 65 of file qgsfillsymbollayerv2.h.

Referenced by renderPolygon(), and startRender().

QBrush QgsSimpleFillSymbolLayerV2::mSelBrush
protected

Definition at line 60 of file qgsfillsymbollayerv2.h.

Referenced by renderPolygon(), and startRender().


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