wxFreeChart
Public Member Functions | List of all members
MaskedSymbol Class Reference

Symbol class, that uses bitmap mask to draw. More...

#include <symbol.h>

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

Public Member Functions

 MaskedSymbol (const char **maskData, wxCoord size=9)
 
virtual void Draw (wxDC &dc, wxCoord x, wxCoord y, wxColour color)
 Performs symbol drawing. More...
 
virtual wxSize GetExtent ()
 Called to calculate size required for symbol. More...
 

Detailed Description

Symbol class, that uses bitmap mask to draw.

Masked area will be filled with specified color.

Definition at line 44 of file symbol.h.

Member Function Documentation

virtual 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.

virtual wxSize MaskedSymbol::GetExtent ( )
virtual

Called to calculate size required for symbol.

Returns
size required for symbol

Implements Symbol.


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