OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [awt/] [BasicStroke.h] - Blame information for rev 758

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 758 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __java_awt_BasicStroke__
5
#define __java_awt_BasicStroke__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace gnu
15
  {
16
    namespace java
17
    {
18
      namespace awt
19
      {
20
        namespace java2d
21
        {
22
            class Segment;
23
        }
24
      }
25
    }
26
  }
27
  namespace java
28
  {
29
    namespace awt
30
    {
31
        class BasicStroke;
32
        class Shape;
33
      namespace geom
34
      {
35
          class GeneralPath;
36
          class PathIterator;
37
          class Point2D;
38
      }
39
    }
40
  }
41
}
42
 
43
class java::awt::BasicStroke : public ::java::lang::Object
44
{
45
 
46
public:
47
  BasicStroke(jfloat, jint, jint, jfloat, JArray< jfloat > *, jfloat);
48
  BasicStroke(jfloat, jint, jint, jfloat);
49
  BasicStroke(jfloat, jint, jint);
50
  BasicStroke(jfloat);
51
  BasicStroke();
52
  virtual ::java::awt::Shape * createStrokedShape(::java::awt::Shape *);
53
  virtual jfloat getLineWidth();
54
  virtual jint getEndCap();
55
  virtual jint getLineJoin();
56
  virtual jfloat getMiterLimit();
57
  virtual JArray< jfloat > * getDashArray();
58
  virtual jfloat getDashPhase();
59
  virtual jint hashCode();
60
  virtual jboolean equals(::java::lang::Object *);
61
private:
62
  ::java::awt::Shape * solidStroke(::java::awt::geom::PathIterator *);
63
  ::java::awt::Shape * dashedStroke(::java::awt::geom::PathIterator *);
64
  void capEnds();
65
  void convertPath(::java::awt::geom::GeneralPath *, ::gnu::java::awt::java2d::Segment *);
66
  void addSegments(JArray< ::gnu::java::awt::java2d::Segment * > *);
67
  void joinSegments(JArray< ::gnu::java::awt::java2d::Segment * > *);
68
  void capEnd(::gnu::java::awt::java2d::Segment *, ::gnu::java::awt::java2d::Segment *);
69
  ::java::awt::geom::Point2D * lineIntersection(jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jboolean);
70
  void joinOuterSegments(::gnu::java::awt::java2d::Segment *, ::gnu::java::awt::java2d::Segment *, ::java::awt::geom::Point2D *);
71
  void joinInnerSegments(::gnu::java::awt::java2d::Segment *, ::gnu::java::awt::java2d::Segment *, ::java::awt::geom::Point2D *);
72
public:
73
  static const jint JOIN_MITER = 0;
74
  static const jint JOIN_ROUND = 1;
75
  static const jint JOIN_BEVEL = 2;
76
  static const jint CAP_BUTT = 0;
77
  static const jint CAP_ROUND = 1;
78
  static const jint CAP_SQUARE = 2;
79
private:
80
  jfloat __attribute__((aligned(__alignof__( ::java::lang::Object)))) width;
81
  jint cap;
82
  jint join;
83
  jfloat limit;
84
  JArray< jfloat > * dash;
85
  jfloat phase;
86
  ::gnu::java::awt::java2d::Segment * start;
87
  ::gnu::java::awt::java2d::Segment * end;
88
public:
89
  static ::java::lang::Class class$;
90
};
91
 
92
#endif // __java_awt_BasicStroke__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.