Version: 0.6.0
MaskedSymbol Class Reference

#include <symbol.h>

Inheritance diagram for MaskedSymbol:
Collaboration diagram for MaskedSymbol:

Public Member Functions

 MaskedSymbol (const char **maskData, wxCoord size=9)
 
virtual void Draw (wxDC &dc, wxCoord x, wxCoord y, wxColour color)
 
virtual wxSize GetExtent ()
 

Detailed Description

Symbol class, that uses bitmap mask to draw. Masked area will be filled with specified color.

Member Function Documentation

void MaskedSymbol::Draw ( wxDC &  dc,
wxCoord  x,
wxCoord  y,
wxColour  color 
)
virtual

Performs symbol drawing.

Parameters
dcdevice context
xx coordinate
yy coordinate
colorcolor to draw symbol

Implements Symbol.

Here is the call graph for this function:

wxSize MaskedSymbol::GetExtent ( )
virtual

Called to calculate size required for symbol.

Returns
size required for symbol

Implements Symbol.

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
  • /home/bishop/work/projects/nextgismanager/include/freechart/wx/symbol.h
  • /home/bishop/work/projects/nextgismanager/src/freechart/symbol.cpp