1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_awt_geom_Rectangle2D__
|
5 |
|
|
#define __java_awt_geom_Rectangle2D__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/awt/geom/RectangularShape.h>
|
10 |
|
|
extern "Java"
|
11 |
|
|
{
|
12 |
|
|
namespace java
|
13 |
|
|
{
|
14 |
|
|
namespace awt
|
15 |
|
|
{
|
16 |
|
|
namespace geom
|
17 |
|
|
{
|
18 |
|
|
class AffineTransform;
|
19 |
|
|
class Line2D;
|
20 |
|
|
class PathIterator;
|
21 |
|
|
class Point2D;
|
22 |
|
|
class Rectangle2D;
|
23 |
|
|
}
|
24 |
|
|
}
|
25 |
|
|
}
|
26 |
|
|
}
|
27 |
|
|
|
28 |
|
|
class java::awt::geom::Rectangle2D : public ::java::awt::geom::RectangularShape
|
29 |
|
|
{
|
30 |
|
|
|
31 |
|
|
public: // actually protected
|
32 |
|
|
Rectangle2D();
|
33 |
|
|
public:
|
34 |
|
|
virtual void setRect(jdouble, jdouble, jdouble, jdouble) = 0;
|
35 |
|
|
virtual void setRect(::java::awt::geom::Rectangle2D *);
|
36 |
|
|
virtual jboolean intersectsLine(jdouble, jdouble, jdouble, jdouble);
|
37 |
|
|
virtual jboolean intersectsLine(::java::awt::geom::Line2D *);
|
38 |
|
|
virtual jint outcode(jdouble, jdouble) = 0;
|
39 |
|
|
virtual jint outcode(::java::awt::geom::Point2D *);
|
40 |
|
|
virtual void setFrame(jdouble, jdouble, jdouble, jdouble);
|
41 |
|
|
virtual ::java::awt::geom::Rectangle2D * getBounds2D();
|
42 |
|
|
virtual jboolean contains(jdouble, jdouble);
|
43 |
|
|
virtual jboolean intersects(jdouble, jdouble, jdouble, jdouble);
|
44 |
|
|
virtual jboolean contains(jdouble, jdouble, jdouble, jdouble);
|
45 |
|
|
virtual ::java::awt::geom::Rectangle2D * createIntersection(::java::awt::geom::Rectangle2D *) = 0;
|
46 |
|
|
static void intersect(::java::awt::geom::Rectangle2D *, ::java::awt::geom::Rectangle2D *, ::java::awt::geom::Rectangle2D *);
|
47 |
|
|
virtual ::java::awt::geom::Rectangle2D * createUnion(::java::awt::geom::Rectangle2D *) = 0;
|
48 |
|
|
static void union$(::java::awt::geom::Rectangle2D *, ::java::awt::geom::Rectangle2D *, ::java::awt::geom::Rectangle2D *);
|
49 |
|
|
virtual void add(jdouble, jdouble);
|
50 |
|
|
virtual void add(::java::awt::geom::Point2D *);
|
51 |
|
|
virtual void add(::java::awt::geom::Rectangle2D *);
|
52 |
|
|
virtual ::java::awt::geom::PathIterator * getPathIterator(::java::awt::geom::AffineTransform *);
|
53 |
|
|
virtual ::java::awt::geom::PathIterator * getPathIterator(::java::awt::geom::AffineTransform *, jdouble);
|
54 |
|
|
virtual jint hashCode();
|
55 |
|
|
virtual jboolean equals(::java::lang::Object *);
|
56 |
|
|
static const jint OUT_LEFT = 1;
|
57 |
|
|
static const jint OUT_TOP = 2;
|
58 |
|
|
static const jint OUT_RIGHT = 4;
|
59 |
|
|
static const jint OUT_BOTTOM = 8;
|
60 |
|
|
static ::java::lang::Class class$;
|
61 |
|
|
};
|
62 |
|
|
|
63 |
|
|
#endif // __java_awt_geom_Rectangle2D__
|