ToolMap
Loading...
Searching...
No Matches
vrrealrect.h
1/***************************************************************************
2 vrrealrect.h
3 support intersection with negative width / height
4 -------------------
5 copyright : (C) 2010 CREALP Lucien Schreiber
6 ***************************************************************************/
7
8/***************************************************************************
9 * *
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
14 * *
15 ***************************************************************************/
16#ifndef _VRREALRECT_H
17#define _VRREALRECT_H
18
19#include <wx/wxprec.h>
20
21#ifndef WX_PRECOMP
22#include <wx/wx.h>
23#endif
24
25#include <wx/geometry.h>
26
27class vrRealRect : public wxRect2DDouble {
28 public:
29 vrRealRect();
30
31 vrRealRect(const vrRealRect& source);
32
33 vrRealRect(double left, double top, double width, double height);
34
35 virtual ~vrRealRect();
36
37 virtual vrRealRect Intersect(const vrRealRect& rect1);
38
39 bool IsOk();
40};
41
42#endif
Definition vrrealrect.h:27