]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/qt/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 wxString
&colourName
, int width
, int style
);
44 wxPen( const wxPen
& pen
);
45 wxPen( const wxPen
* pen
);
47 wxPen
& operator = ( const wxPen
& pen
);
48 bool operator == ( const wxPen
& pen
);
49 bool operator != ( const wxPen
& pen
);
51 void SetColour( const wxColour
&colour
);
52 void SetColour( const wxString
&colourName
);
53 void SetColour( int red
, int green
, int blue
);
54 void SetCap( int capStyle
);
55 void SetJoin( int joinStyle
);
56 void SetStyle( int style
);
57 void SetWidth( int width
);
58 wxColour
&GetColour(void) const;
59 int GetCap(void) const;
60 int GetJoin(void) const;
61 int GetStyle(void) const;
62 int GetWidth(void) const;