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