wxArt2D
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Friends | List of all members

One Colour Fill. More...

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

Public Member Functions

virtual a2dStrokeType GetType (void) const
 
- Public Member Functions inherited from a2dStrokeRefData
 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 a2dOneColourStrokeDataCreate (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
 

Detailed Description

One Colour Fill.

A second colour is not saved, but when asked for it return wxBLACK

Definition at line 5326 of file stylebase.cpp.

Member Function Documentation

virtual float a2dOneColourStrokeData::GetWidth ( ) const
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.


The documentation for this class was generated from the following file:
a2dOneColourStrokeData Class Reference -- Sun Oct 12 2014 17:04:44 -- Sun Oct 12 2014 -- 1.8.5 -- wxArt2D -- . -- Main Page Reference Documentation