]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk1/pen.h
1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
7 // Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
20 #include "wx/object.h"
21 #include "wx/string.h"
22 #include "wx/gdiobj.h"
23 #include "wx/gdicmn.h"
25 //-----------------------------------------------------------------------------
27 //-----------------------------------------------------------------------------
31 //-----------------------------------------------------------------------------
33 //-----------------------------------------------------------------------------
35 class wxPen
: public wxGDIObject
37 DECLARE_DYNAMIC_CLASS(wxPen
)
42 wxPen( const wxColour
&colour
, int width
, int style
);
43 wxPen( const wxPen
& pen
);
44 wxPen( const wxPen
* pen
);
46 wxPen
& operator = ( const wxPen
& pen
);
47 bool operator == ( const wxPen
& pen
);
48 bool operator != ( const wxPen
& pen
);
50 void SetColour( const wxColour
&colour
);
51 void SetColour( int red
, int green
, int blue
);
52 void SetCap( int capStyle
);
53 void SetJoin( int joinStyle
);
54 void SetStyle( int style
);
55 void SetWidth( int width
);
56 wxColour
&GetColour(void) const;
57 int GetCap(void) const;
58 int GetJoin(void) const;
59 int GetStyle(void) const;
60 int GetWidth(void) const;