blob: 13df819d129a6de55f4ac272949655d7d615a9f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
/*-----------------------------------------------------------------
LOG
GEM - Graphics Environment for Multimedia
an abstract rectangle representation
Copyright (c) 1997-1999 Mark Danks. mark@danks.org
Copyright (c) Günther Geiger. geiger@epy.co.at
Copyright (c) 2001-2011 IOhannes m zmölnig. forum::für::umläute. IEM. zmoelnig@iem.at
For information on usage and redistribution, and for a DISCLAIMER OF ALL
WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution.
-----------------------------------------------------------------*/
#ifndef _INCLUDE__GEM_GEM_RECTANGLE_H_
#define _INCLUDE__GEM_GEM_RECTANGLE_H_
#include "Gem/ExportDef.h"
/*-----------------------------------------------------------------
-------------------------------------------------------------------
CLASS
Rectangle
abstract rectangle class (to be used e.g. as ROI)
DESCRIPTION
-----------------------------------------------------------------*/
namespace gem
{
class GEM_EXTERN Rectangle
{
public:
//////////
// Constructor
Rectangle(void);
float x1, y1, x2, y2;
static Rectangle createNormalized(float x1, float y1, float x2, float y2);
};
};
#endif // for header file
|