wxArt2D
|
#include <stylebase.h>
Public Member Functions | |
a2dFill (void) | |
constructor | |
a2dFill (const a2dFill &fill) | |
a2dFill (const wxBrush &brush) | |
a2dFill (const wxColour &col, a2dFillStyle style=a2dFILL_SOLID) | |
a2dFill (const wxColour &col, const wxColour &col2, a2dFillStyle style) | |
a2dFill (const wxBitmap &stipple, a2dFillStyle style=a2dFILL_STIPPLE) | |
a2dFill (const wxBitmap &stipple, const wxColour &col, const wxColour &col2, a2dFillStyle style=a2dFILL_STIPPLE) | |
a2dFill (const wxFileName &filename, a2dFillStyle style=a2dFILL_STIPPLE) | |
a2dFill (const wxFileName &filename, const wxColour &col, const wxColour &col2, a2dFillStyle style=a2dFILL_STIPPLE) | |
a2dFill (const wxColour &col, const wxColour &col2, double x1, double y1, double x2, double y2) | |
a2dFill (const wxColour &col, const wxColour &col2, double xfc, double yfc, double xe, double ye, double radius) | |
bool | operator== (const a2dFill &a) |
bool | operator!= (const a2dFill &a) |
a2dFill & | UnShare () |
wxObjectRefData * | CreateRefData () const |
wxObjectRefData * | CloneRefData (const wxObjectRefData *data) const |
virtual | ~a2dFill (void) |
destructor | |
a2dFillType | GetType (void) const |
a2dFillStyle | GetStyle () const |
void | SetStyle (a2dFillStyle style) |
a2dFillType | GetTypeForStyle (a2dFillStyle style) const |
void | SetStipple (const wxBitmap &stipple) |
const wxBitmap & | GetStipple () const |
wxColour | GetColour () const |
return colour | |
wxColour | GetColour2 () const |
return colour 2 | |
void | SetColour (const wxColour &col) |
set colour used for gradient and wxSTIPPLE_MASK_OPAQUE filling. | |
void | SetColour2 (const wxColour &col) |
set colour 2 used for gradient and wxSTIPPLE_MASK_OPAQUE filling. | |
void | SetAlpha (wxUint8 val) |
wxUint8 | GetAlpha () const |
a2dPoint2D | GetStart () const |
Get start for gradient fill colour change. | |
a2dPoint2D | GetStop () const |
Get stop for gradient fill colour change. | |
wxUint32 | GetStamp () const |
time stamp gradient fill | |
a2dPoint2D | GetCenter () const |
Get start for gradient fill colour change. | |
a2dPoint2D | GetFocal () const |
Get start for gradient fill colour change. | |
double | GetRadius () const |
Get stop for gradient fill colour change. | |
bool | IsNoFill () const |
a2dFill * | SetNoFill () |
from now one this object defines as if no stroke is defined of the object having this stroke. | |
void | SetFilling (bool OnOff) |
bool | GetFilling () const |
if true, filling is on else filling is transparent. | |
virtual void | Load (wxObject *parent, a2dIOHandlerXmlSerIn &parser) |
virtual void | Save (wxObject *parent, a2dIOHandlerXmlSerOut &out, a2dObjectList *towrite) |
Friends | |
bool | operator== (const a2dFill &a, const a2dFill &b) |
bool | operator!= (const a2dFill &a, const a2dFill &b) |
To set fill on a2dDrawer2D and a2dCanvasObject classes.
When style is set a2dFILL_TRANSPARENT, the rest of the fill data is preserved until style is changed.
Definition at line 143 of file stylebase.h.
|
inline |
used to define fills that are not yielding (either need to be deleted, or indicate that there is no fill defined for an object. This is can be used on any fill. This method, is handy since one can still clone such fills.
Definition at line 273 of file stylebase.h.
void a2dFill::SetFilling | ( | bool | OnOff | ) |
is set true, filling is on else filling is transparent. This is to quickly switch to filling or not, without changing style.
Definition at line 5060 of file stylebase.cpp.