]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/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 //-----------------------------------------------------------------------------
30 //-----------------------------------------------------------------------------
32 //-----------------------------------------------------------------------------
34 class wxPen
: public wxGDIObject
36 DECLARE_DYNAMIC_CLASS(wxPen
)
41 wxPen( const wxColour
&colour
, int width
, int style
);
42 wxPen( const wxPen
& pen
);
43 wxPen( const wxPen
* pen
);
45 wxPen
& operator = ( const wxPen
& pen
);
46 bool operator == ( const wxPen
& pen
);
47 bool operator != ( const wxPen
& pen
);
49 void SetColour( const wxColour
&colour
);
50 void SetColour( int red
, int green
, int blue
);
51 void SetCap( int capStyle
);
52 void SetJoin( int joinStyle
);
53 void SetStyle( int style
);
54 void SetWidth( int width
);
55 wxColour
&GetColour(void) const;
56 int GetCap(void) const;
57 int GetJoin(void) const;
58 int GetStyle(void) const;
59 int GetWidth(void) const;