]> git.saurik.com Git - wxWidgets.git/blame - src/cocoa/region.cpp
Regenerated by tmake: added all the cocoa source files
[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
48bool wxRegion::Combine(long x, long y, long width, long height, wxRegionOp op)
49{
50 return false;
51}
52bool wxRegion::Combine(const wxRegion& region, wxRegionOp op)
53{
54 return false;
55}
56bool wxRegion::Combine(const wxRect& rect, wxRegionOp op)
57{
58 return false;
59}
60
61
62// Does the region contain the point (x,y)?
63wxRegionContain wxRegion::Contains(long x, long y) const
64{
65return wxOutRegion;
66}
67
68// Does the region contain the point pt?
69wxRegionContain wxRegion::Contains(const wxPoint& pt) const
70{
71return wxOutRegion;
72}
73
74// Does the region contain the rectangle (x, y, w, h)?
75wxRegionContain wxRegion::Contains(long x, long y, long w, long h) const
76{
77return wxOutRegion;
78}
79
80// Does the region contain the rectangle rect?
81wxRegionContain wxRegion::Contains(const wxRect& rect) const
82{
83return wxOutRegion;
84}
85
86void wxRegion::GetBox(wxCoord& x, wxCoord& y, wxCoord&w, wxCoord &h) const
87{
88}
89
90wxRect wxRegion::GetBox() const
91{
92 return wxRect();
93}
94
95wxRegion::wxRegion()
96{
97}
98
99wxRegionIterator::wxRegionIterator()
100{
101}
102
103wxRegionIterator::~wxRegionIterator()
104{
105}
106
107// vi:sts=4:sw=4:et