]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk1/pen.h
1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
19 #include "wx/object.h"
20 #include "wx/string.h"
21 #include "wx/gdiobj.h"
22 #include "wx/gdicmn.h"
24 //-----------------------------------------------------------------------------
26 //-----------------------------------------------------------------------------
32 //-----------------------------------------------------------------------------
34 //-----------------------------------------------------------------------------
36 class wxPen
: public wxGDIObject
40 wxPen( const wxColour
&colour
, int width
, int style
);
41 wxPen( const wxPen
& pen
);
43 wxPen
& operator = ( const wxPen
& pen
);
44 bool operator == ( const wxPen
& pen
);
45 bool operator != ( const wxPen
& pen
);
47 void SetColour( const wxColour
&colour
);
48 void SetColour( int red
, int green
, int blue
);
49 void SetCap( int capStyle
);
50 void SetJoin( int joinStyle
);
51 void SetStyle( int style
);
52 void SetWidth( int width
);
53 void SetDashes( int number_of_dashes
, const wxDash
*dash
);
55 wxColour
&GetColour() const;
60 int GetDashes(wxDash
**ptr
) const;
61 int GetDashCount() const;
62 wxDash
* GetDash() const;
69 DECLARE_DYNAMIC_CLASS(wxPen
)