]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/palmos/pen.cpp
better guarding when no printing architecture exists (patch from Joel Low)
[wxWidgets.git] / src / palmos / pen.cpp
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: src/palmos/pen.cpp
3// Purpose: wxPen
4// Author: William Osborne - minimal working wxPalmOS port
5// Modified by:
6// Created: 10/13/04
7// RCS-ID: $Id$
8// Copyright: (c) William Osborne
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12// For compilers that support precompilation, includes "wx.h".
13#include "wx/wxprec.h"
14
15#ifdef __BORLANDC__
16 #pragma hdrstop
17#endif
18
19#include "wx/pen.h"
20
21#ifndef WX_PRECOMP
22 #include <stdio.h>
23 #include "wx/list.h"
24 #include "wx/utils.h"
25 #include "wx/app.h"
26#endif
27
28static int wx2msPenStyle(int wx_style);
29
30IMPLEMENT_DYNAMIC_CLASS(wxPen, wxGDIObject)
31
32wxPenRefData::wxPenRefData()
33{
34}
35
36wxPenRefData::wxPenRefData(const wxPenRefData& data)
37{
38}
39
40wxPenRefData::~wxPenRefData()
41{
42}
43
44// Pens
45
46wxPen::wxPen()
47{
48}
49
50wxPen::~wxPen()
51{
52}
53
54// Should implement Create
55wxPen::wxPen(const wxColour& col, int Width, wxPenStyle Style)
56{
57}
58
59wxPen::wxPen(const wxBitmap& stipple, int Width)
60{
61}
62
63bool wxPen::RealizeResource()
64{
65 return false;
66}
67
68WXHANDLE wxPen::GetResourceHandle() const
69{
70 return 0;
71}
72
73bool wxPen::FreeResource(bool WXUNUSED(force))
74{
75 return false;
76}
77
78bool wxPen::IsFree() const
79{
80 return false;
81}
82
83void wxPen::SetColour(const wxColour& col)
84{
85}
86
87void wxPen::SetColour(unsigned char r, unsigned char g, unsigned char b)
88{
89}
90
91void wxPen::SetWidth(int Width)
92{
93}
94
95void wxPen::SetStyle(wxPenStyle Style)
96{
97}
98
99void wxPen::SetStipple(const wxBitmap& Stipple)
100{
101}
102
103void wxPen::SetDashes(int nb_dashes, const wxDash *Dash)
104{
105}
106
107void wxPen::SetJoin(wxPenJoin Join)
108{
109}
110
111void wxPen::SetCap(wxPenCap Cap)
112{
113}
114
115wxGDIRefData *wxPen::CreateGDIRefData() const
116{
117 return new wxPenRefData();
118}
119
120wxGDIRefData *wxPen::CloneGDIRefData(const wxGDIRefData *data) const
121{
122 return new wxPenRefData(*wx_static_cast(const wxPenRefData *, data));
123}
124