]>
git.saurik.com Git - wxWidgets.git/blob - src/palmos/pen.cpp
   1 ///////////////////////////////////////////////////////////////////////////// 
   2 // Name:        src/palmos/pen.cpp 
   4 // Author:      William Osborne - minimal working wxPalmOS port 
   8 // Copyright:   (c) William Osborne 
   9 // Licence:     wxWindows licence 
  10 ///////////////////////////////////////////////////////////////////////////// 
  12 // For compilers that support precompilation, includes "wx.h". 
  13 #include "wx/wxprec.h" 
  28 static int wx2msPenStyle(int wx_style
); 
  30 IMPLEMENT_DYNAMIC_CLASS(wxPen
, wxGDIObject
) 
  32 wxPenRefData::wxPenRefData() 
  36 wxPenRefData::wxPenRefData(const wxPenRefData
& data
) 
  40 wxPenRefData::~wxPenRefData() 
  54 // Should implement Create 
  55 wxPen::wxPen(const wxColour
& col
, int Width
, int Style
) 
  59 wxPen::wxPen(const wxBitmap
& stipple
, int Width
) 
  63 bool wxPen::RealizeResource() 
  68 WXHANDLE 
wxPen::GetResourceHandle() const 
  73 bool wxPen::FreeResource(bool WXUNUSED(force
)) 
  78 bool wxPen::IsFree() const 
  87 void wxPen::SetColour(const wxColour
& col
) 
  91 void wxPen::SetColour(unsigned char r
, unsigned char g
, unsigned char b
) 
  95 void wxPen::SetWidth(int Width
) 
  99 void wxPen::SetStyle(int Style
) 
 103 void wxPen::SetStipple(const wxBitmap
& Stipple
) 
 107 void wxPen::SetDashes(int nb_dashes
, const wxDash 
*Dash
) 
 111 void wxPen::SetJoin(int Join
) 
 115 void wxPen::SetCap(int Cap
)