wxArt2D
|
One Colour Fill. More...
Public Member Functions | |
virtual a2dStrokeType | GetType (void) const |
![]() | |
a2dStrokeRefData () | |
constructor | |
a2dStrokeRefData (const a2dStrokeRefData &other) | |
Protected Member Functions | |
a2dOneColourStrokeData (void) | |
constructor | |
a2dOneColourStrokeData (const a2dOneColourStrokeData &fill) | |
a2dOneColourStrokeData (const wxColour &col, a2dStrokeStyle style=a2dSTROKE_SOLID) | |
constructor | |
a2dOneColourStrokeData (const wxPen &stroke) | |
~a2dOneColourStrokeData (void) | |
destructor | |
void | SetColour (const wxColour &col) |
wxColour | GetColour () const |
return colour | |
void | SetJoin (wxPenJoin join_style) |
void | SetCap (wxPenCap cap_style) |
wxPenCap | GetCap () |
wxPenJoin | GetJoin () |
void | SetWidth (float width) |
Set width of stroke in world coordinates. | |
virtual float | GetWidth () const |
virtual float | GetExtend () const |
void | SetPixelStroke (bool pixelstroke) |
set pixelstoke flag, stroke width is defined in pixels else in worldcoordinates | |
bool | GetPixelStroke () const |
if the width is pixels or not. | |
a2dStrokeStyle | GetStyle (void) const |
void | SetStyle (a2dStrokeStyle style) |
virtual void | DoLoad (wxObject *parent, a2dIOHandlerXmlSerIn &parser, a2dXmlSer_flag xmlparts) |
Load settings. | |
virtual void | DoSave (wxObject *parent, a2dIOHandlerXmlSerOut &out, a2dXmlSer_flag xmlparts, a2dObjectList *towrite) |
Save settings. | |
Static Protected Member Functions | |
static a2dOneColourStrokeData * | Create (const wxColour &col, a2dStrokeStyle style=a2dSTROKE_SOLID) |
Protected Attributes | |
wxColour | m_colour1 |
float | m_width |
width of stroke in world coordinates | |
bool | m_pixelstroke |
set if stroke is in pixels | |
wxPenJoin | m_join |
Sets the pen join style, which may be one of wxJOIN_BEVEL, wxJOIN_ROUND (default) and wxJOIN_MITER. | |
wxPenCap | m_cap |
Sets the pen cap style, which may be one of wxCAP_ROUND (default), wxCAP_PROJECTING and wxCAP_BUTT. | |
a2dDash * | m_dash |
a2dStrokeStyle | m_style |
Friends | |
class | a2dStroke |
One Colour Fill.
A second colour is not saved, but when asked for it return wxBLACK
Definition at line 5326 of file stylebase.cpp.
|
inlineprotectedvirtual |
Get width of stroke in world or device coordinates. (depending on pixel or non pixel stroke).
Definition at line 5372 of file stylebase.cpp.