wxFreeChart
Public Member Functions | List of all members
Symbol Class Referenceabstract

Symbols base class. More...

#include <symbol.h>

Inheritance diagram for Symbol:
Inheritance graph
[legend]

Public Member Functions

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

Detailed Description

Symbols base class.

Definition at line 18 of file symbol.h.

Member Function Documentation

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

Performs symbol drawing.

Parameters
dcdevice context
xx coordinate
yy coordinate
colorcolor to draw symbol

Implemented in TriangleSymbol, CrossSymbol, SquareSymbol, CircleSymbol, and MaskedSymbol.

virtual wxSize Symbol::GetExtent ( )
pure virtual

Called to calculate size required for symbol.

Returns
size required for symbol

Implemented in ShapeSymbol, and MaskedSymbol.


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