FillAreaDraw Class Reference
#include <areadraw.h>
List of all members.
|
Public Member Functions |
| FillAreaDraw (wxPen borderPen=(wxPen)*wxBLACK_PEN, wxBrush fillBrush=(wxBrush)*wxWHITE_BRUSH) |
| FillAreaDraw (wxColour borderColour, wxColour fillColour) |
virtual void | Draw (wxDC &dc, wxRect rc) |
const wxPen & | GetBorderPen () |
void | SetBorderPen (wxPen borderPen) |
const wxBrush & | GetFillBrush () |
void | SetFillBrush (wxBrush fillBrush) |
Detailed Description
Fills area with specified brush and draw outline of area with specified pen.
Constructor & Destructor Documentation
FillAreaDraw::FillAreaDraw |
( |
wxPen |
borderPen = (wxPen)*wxBLACK_PEN , |
|
|
wxBrush |
fillBrush = (wxBrush)*wxWHITE_BRUSH | |
|
) |
| | |
Constructs new fill area draw.
- Parameters:
-
| borderPen | pen to draw area border |
| fillBrush | brush to fill area |
Member Function Documentation
virtual void FillAreaDraw::Draw |
( |
wxDC & |
dc, |
|
|
wxRect |
rc | |
|
) |
| | [virtual] |
Draw area background.
- Parameters:
-
| dc | device context |
| rc | rectangle of area to draw |
Implements AreaDraw.
const wxPen& FillAreaDraw::GetBorderPen |
( |
|
) |
[inline] |
Returns border pen.
- Returns:
- border pen
const wxBrush& FillAreaDraw::GetFillBrush |
( |
|
) |
[inline] |
Returns fill brush.
- Returns:
- fill brush
void FillAreaDraw::SetBorderPen |
( |
wxPen |
borderPen |
) |
[inline] |
Sets border pen.
- Parameters:
-
void FillAreaDraw::SetFillBrush |
( |
wxBrush |
fillBrush |
) |
[inline] |
Sets fill brush.
- Parameters:
-
The documentation for this class was generated from the following file: