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

Fills area with specified brush and draw outline of area with specified pen. More...

#include <areadraw.h>

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

Public Member Functions

 FillAreaDraw (wxPen borderPen=*wxBLACK_PEN, wxBrush fillBrush=*wxWHITE_BRUSH)
 Constructs new fill area draw. More...
 
 FillAreaDraw (wxColour borderColour, wxColour fillColour)
 
virtual void Draw (wxDC &dc, wxRect rc)
 Draw area background. More...
 
const wxPen & GetBorderPen ()
 Returns border pen. More...
 
void SetBorderPen (wxPen borderPen)
 Sets border pen. More...
 
const wxBrush & GetFillBrush ()
 Returns fill brush. More...
 
void SetFillBrush (wxBrush fillBrush)
 Sets fill brush. More...
 

Detailed Description

Fills area with specified brush and draw outline of area with specified pen.

Definition at line 55 of file areadraw.h.

Constructor & Destructor Documentation

FillAreaDraw::FillAreaDraw ( wxPen  borderPen = *wxBLACK_PEN,
wxBrush  fillBrush = *wxWHITE_BRUSH 
)

Constructs new fill area draw.

Parameters
borderPenpen to draw area border
fillBrushbrush to fill area

Member Function Documentation

virtual void FillAreaDraw::Draw ( wxDC &  dc,
wxRect  rc 
)
virtual

Draw area background.

Parameters
dcdevice context
rcrectangle of area to draw

Implements AreaDraw.

const wxPen& FillAreaDraw::GetBorderPen ( )
inline

Returns border pen.

Returns
border pen

Definition at line 75 of file areadraw.h.

const wxBrush& FillAreaDraw::GetFillBrush ( )
inline

Returns fill brush.

Returns
fill brush

Definition at line 93 of file areadraw.h.

void FillAreaDraw::SetBorderPen ( wxPen  borderPen)
inline

Sets border pen.

Parameters
borderPenborder pen

Definition at line 84 of file areadraw.h.

void FillAreaDraw::SetFillBrush ( wxBrush  fillBrush)
inline

Sets fill brush.

Parameters
fillBrushfill brush

Definition at line 102 of file areadraw.h.


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