]> git.saurik.com Git - wxWidgets.git/blame - src/cocoa/region.cpp
Applied patch [ 818941 ] Initialize vars and clear wxImageList
[wxWidgets.git] / src / cocoa / region.cpp
CommitLineData
a24aff65
DE
1/////////////////////////////////////////////////////////////////////////////
2// File: region.cpp
3// Purpose: Region class
4// Author: Markus Holzem, Julian Smart, Robert Roebling
5// Created: Fri Oct 24 10:46:34 MET 1997
6// RCS-ID: $Id$
7// Copyright: (c) 1997 Markus Holzem, Julian Smart, Robert Roebling
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
11#ifdef __GNUG__
12#pragma implementation "region.h"
13#endif
14
15#include "wx/region.h"
16#include "wx/gdicmn.h"
17#include "wx/log.h"
18
19// ----------------------------------------------------------------------------
20// macros
21// ----------------------------------------------------------------------------
22
23IMPLEMENT_DYNAMIC_CLASS(wxRegion, wxGDIObject);
24IMPLEMENT_DYNAMIC_CLASS(wxRegionIterator,wxObject);
25
26// ----------------------------------------------------------------------------
27// wxRegion construction
28// ----------------------------------------------------------------------------
29
30wxRegion::~wxRegion()
31{
32 // m_refData unrefed in ~wxObject
33}
34
35// ----------------------------------------------------------------------------
36// wxRegion comparison
37// ----------------------------------------------------------------------------
38
39// ----------------------------------------------------------------------------
40// wxRegion operations
41// ----------------------------------------------------------------------------
42
43void wxRegion::Clear()
44{
45 UnRef();
46}
47
cf774b67
DE
48bool wxRegion::Offset(wxCoord x, wxCoord y)
49{
50 return false;
51}
52
a24aff65
DE
53bool wxRegion::Combine(long x, long y, long width, long height, wxRegionOp op)
54{
55 return false;
56}
57bool wxRegion::Combine(const wxRegion& region, wxRegionOp op)
58{
59 return false;
60}
61bool wxRegion::Combine(const wxRect& rect, wxRegionOp op)
62{
63 return false;
64}
65
66
67// Does the region contain the point (x,y)?
68wxRegionContain wxRegion::Contains(long x, long y) const
69{
70return wxOutRegion;
71}
72
73// Does the region contain the point pt?
74wxRegionContain wxRegion::Contains(const wxPoint& pt) const
75{
76return wxOutRegion;
77}
78
79// Does the region contain the rectangle (x, y, w, h)?
80wxRegionContain wxRegion::Contains(long x, long y, long w, long h) const
81{
82return wxOutRegion;
83}
84
85// Does the region contain the rectangle rect?
86wxRegionContain wxRegion::Contains(const wxRect& rect) const
87{
88return wxOutRegion;
89}
90
91void wxRegion::GetBox(wxCoord& x, wxCoord& y, wxCoord&w, wxCoord &h) const
92{
93}
94
95wxRect wxRegion::GetBox() const
96{
97 return wxRect();
98}
99
100wxRegion::wxRegion()
101{
102}
103
d318df4b
DE
104wxRegion::wxRegion(wxCoord x, wxCoord y, wxCoord w, wxCoord h)
105{
106}
107
cf6e135c
DE
108wxRegion::wxRegion(const wxRect& rect)
109{
110}
111
d318df4b
DE
112wxRegion::wxRegion(const wxPoint& topLeft, const wxPoint& bottomRight)
113{
114}
115
a24aff65
DE
116wxRegionIterator::wxRegionIterator()
117{
118}
119
120wxRegionIterator::~wxRegionIterator()
121{
122}
123
124// vi:sts=4:sw=4:et