libjava/classpath/ChangeLog.gcj:
2007-05-31 Matthias Klose <doko@ubuntu.com> * javax/management/NotificationBroadcasterSupport.java (getNotificationInfo): Add cast. * native/jni/qt-peer/Makefile.am (AM_CXXFLAGS): Add libstdc++ include directories. * native/jni/qt-peer/Makefile.in: Regenerate. libjava/ChangeLog: 2007-06-03 Matthias Klose <doko@ubuntu.com> * java/io/natFileWin32.cc (setFilePermissions): New (stub only). _access: Handle EXEC query, stub only. 2007-06-03 Matthias Klose <doko@ubuntu.com> Merged from classpath: * gnu/java/nio/SelectorProviderImpl.java: Whitespace merge. * java/lang/System.java(inheritedChannel): New. * java/lang/Character.java: Remove stray`;'. * java/net/MulticastSocket.java: Merged. * java/text/DateFormatSymbols.java(getInstance): New, comment updates. * java/text/Collator.java(getInstance): Merged. * java/util/Calendar.java: New attributes ALL_STYLES, SHORT, LONG. getDisplayName, getDisplayNames: New. * java/util/logging/Logger.java: Merged. * Regenerate .class and .h files. 2007-06-03 Matthias Klose <doko@ubuntu.com> * java/io/File.java: Merge with classpath-0.95, new method setFilePermissions, new attribute EXEC. * java/io/natFilePosix.cc (setFilePermissions): New. _access: Handle EXEC query. * classpath/lib/java/io/File.class, java/io/File.h: Regenerate. 2007-06-03 Matthias Klose <doko@ubuntu.com> Imported GNU Classpath 0.95. * classpath/Makefile.in, classpath/native/jni/midi-dssi/Makefile.in, classpath/native/jni/classpath/Makefile.in, classpath/native/jni/Makefile.in, classpath/native/jni/gconf-peer/Makefile.in, classpath/native/jni/java-io/Makefile.in, classpath/native/jni/native-lib/Makefile.in, classpath/native/jni/java-util/Makefile.in, classpath/native/jni/midi-alsa/Makefile.in, classpath/native/jni/java-lang/Makefile.in, classpath/native/jni/java-nio/Makefile.in, classpath/native/jni/java-net/Makefile.in, classpath/native/jni/xmlj/Makefile.in, classpath/native/jni/qt-peer/Makefile.in, classpath/native/jni/gtk-peer/Makefile.in, classpath/native/Makefile.in, classpath/native/jawt/Makefile.in, classpath/native/fdlibm/Makefile.in, classpath/native/plugin/Makefile.in, classpath/resource/Makefile.in, classpath/scripts/Makefile.in, classpath/tools/Makefile.in, classpath/doc/Makefile.in, classpath/doc/api/Makefile.in, classpath/lib/Makefile.in, classpath/external/Makefile.in, classpath/external/jsr166/Makefile.in, classpath/external/sax/Makefile.in, classpath/external/w3c_dom/Makefile.in, classpath/external/relaxngDatatype/Makefile.in, classpath/include/Makefile.in, classpath/examples/Makefile.in: Regenerate. * classpath/config.guess, classpath/config.sub, classpath/ltmain.sh : Update. * classpath/configure, classpath/depcomp, classpath/missing, classpath/aclocal.m4, classpath/install-sh: Regenerate. * gnu/classpath/Configuration.java (CLASSPATH_VERSION): Now 0.95. * sources.am: Regenerate. * Makefile.in: Regenerate. * Update the .class files and generated CNI header files, add new .class and generated CNI header files. * Remove generated files for removed java source files: classpath/gnu/java/net/BASE64.java, classpath/gnu/java/security/util/Base64.java, classpath/gnu/java/awt/peer/gtk/GThreadMutex.java, classpath/gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java, classpath/gnu/java/awt/font/autofit/Scaler.java, classpath/gnu/classpath/jdwp/util/Value.java, classpath/gnu/javax/net/ssl/Base64.java. * Remove empty directories. * Makefile.am(nat_source_files): Add natVMOperatingSystemMXBeanImpl.cc. * java/lang/Class.java(setAccessible): Merge from classpath. * java/util/Locale.java: Remove. * gnu/java/lang/management/VMOperatingSystemMXBeanImpl.java, gnu/java/lang/management/natVMOperatingSystemMXBeanImpl.cc: New. * gcj/javaprims.h: Update class declarations. * scripts/classes.pl: Update usage. * HACKING: Mention to build all peers. From-SVN: r125302
This commit is contained in:
parent
af333b9a7f
commit
e1bea0c068
2951 changed files with 80982 additions and 68583 deletions
|
@ -62,6 +62,7 @@ public:
|
|||
static void invokeLater(::java::lang::Runnable *);
|
||||
static void invokeAndWait(::java::lang::Runnable *);
|
||||
static jboolean isEventDispatchThread();
|
||||
static jboolean isValidKey(jint);
|
||||
public: // actually package-private
|
||||
static ::java::util::WeakHashMap * visibleChildrenCache;
|
||||
public:
|
||||
|
|
45
libjava/gnu/java/awt/ClasspathGraphicsEnvironment.h
Normal file
45
libjava/gnu/java/awt/ClasspathGraphicsEnvironment.h
Normal file
|
@ -0,0 +1,45 @@
|
|||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_awt_ClasspathGraphicsEnvironment__
|
||||
#define __gnu_java_awt_ClasspathGraphicsEnvironment__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/awt/GraphicsEnvironment.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace awt
|
||||
{
|
||||
class ClasspathGraphicsEnvironment;
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace awt
|
||||
{
|
||||
namespace image
|
||||
{
|
||||
class ColorModel;
|
||||
class SampleModel;
|
||||
class WritableRaster;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::awt::ClasspathGraphicsEnvironment : public ::java::awt::GraphicsEnvironment
|
||||
{
|
||||
|
||||
public:
|
||||
ClasspathGraphicsEnvironment();
|
||||
virtual ::java::awt::image::WritableRaster * createRaster(::java::awt::image::ColorModel *, ::java::awt::image::SampleModel *);
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_awt_ClasspathGraphicsEnvironment__
|
|
@ -29,11 +29,13 @@ extern "Java"
|
|||
{
|
||||
namespace awt
|
||||
{
|
||||
class Desktop;
|
||||
class Font;
|
||||
class GraphicsDevice;
|
||||
class GraphicsEnvironment;
|
||||
namespace peer
|
||||
{
|
||||
class DesktopPeer;
|
||||
class RobotPeer;
|
||||
}
|
||||
}
|
||||
|
@ -63,6 +65,9 @@ public:
|
|||
virtual ::gnu::java::awt::peer::EmbeddedWindowPeer * createEmbeddedWindow(::gnu::java::awt::EmbeddedWindow *) = 0;
|
||||
virtual void registerImageIOSpis(::javax::imageio::spi::IIORegistry *);
|
||||
virtual jint getMouseNumberOfButtons();
|
||||
public: // actually protected
|
||||
virtual ::java::awt::peer::DesktopPeer * createDesktopPeer(::java::awt::Desktop *);
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
|
|
|
@ -58,10 +58,16 @@ public:
|
|||
virtual jint getMissingGlyphCode() = 0;
|
||||
virtual ::java::awt::font::GlyphVector * createGlyphVector(::java::awt::Font *, ::java::awt::font::FontRenderContext *, ::java::text::CharacterIterator *) = 0;
|
||||
virtual void getAdvance(jint, jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean, jboolean, ::java::awt::geom::Point2D *) = 0;
|
||||
virtual ::java::awt::geom::GeneralPath * getGlyphOutline(jint, jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean) = 0;
|
||||
virtual ::java::awt::geom::GeneralPath * getGlyphOutline(jint, jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean, jint) = 0;
|
||||
virtual ::java::lang::String * getGlyphName(jint) = 0;
|
||||
virtual jfloat getAscent(jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean, jboolean) = 0;
|
||||
virtual jfloat getDescent(jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean, jboolean) = 0;
|
||||
static const jint FLAG_FITTED = 1;
|
||||
static const jint FLAG_NO_HINT_HORIZONTAL = 2;
|
||||
static const jint FLAG_NO_HINT_VERTICAL = 4;
|
||||
static const jint FLAG_NO_HINT_EDGE_POINTS = 8;
|
||||
static const jint FLAG_NO_HINT_STRONG_POINTS = 16;
|
||||
static const jint FLAG_NO_HINT_WEAK_POINTS = 32;
|
||||
static ::java::lang::Class class$;
|
||||
} __attribute__ ((java_interface));
|
||||
|
||||
|
|
|
@ -63,7 +63,9 @@ public:
|
|||
virtual ::java::awt::geom::Rectangle2D * getVisualBounds();
|
||||
virtual ::java::awt::Shape * getOutline();
|
||||
virtual ::java::awt::Shape * getOutline(jfloat, jfloat);
|
||||
virtual ::java::awt::Shape * getOutline(jfloat, jfloat, jint);
|
||||
virtual ::java::awt::Shape * getGlyphOutline(jint);
|
||||
virtual ::java::awt::Shape * getGlyphOutline(jint, jint);
|
||||
virtual ::java::awt::geom::Point2D * getGlyphPosition(jint);
|
||||
virtual void setGlyphPosition(jint, ::java::awt::geom::Point2D *);
|
||||
virtual ::java::awt::geom::AffineTransform * getGlyphTransform(jint);
|
||||
|
|
59
libjava/gnu/java/awt/font/autofit/AutoHinter.h
Normal file
59
libjava/gnu/java/awt/font/autofit/AutoHinter.h
Normal file
|
@ -0,0 +1,59 @@
|
|||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_awt_font_autofit_AutoHinter__
|
||||
#define __gnu_java_awt_font_autofit_AutoHinter__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace awt
|
||||
{
|
||||
namespace font
|
||||
{
|
||||
namespace autofit
|
||||
{
|
||||
class AutoHinter;
|
||||
class GlyphHints;
|
||||
class HintScaler;
|
||||
class Latin;
|
||||
class LatinMetrics;
|
||||
}
|
||||
namespace opentype
|
||||
{
|
||||
class OpenTypeFont;
|
||||
namespace truetype
|
||||
{
|
||||
class Zone;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::awt::font::autofit::AutoHinter : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
AutoHinter();
|
||||
virtual void init(::gnu::java::awt::font::opentype::OpenTypeFont *);
|
||||
virtual void applyHints(::gnu::java::awt::font::opentype::truetype::Zone *);
|
||||
virtual void setFlags(jint);
|
||||
public: // actually package-private
|
||||
::gnu::java::awt::font::autofit::Latin * __attribute__((aligned(__alignof__( ::java::lang::Object)))) latinScript;
|
||||
::gnu::java::awt::font::autofit::LatinMetrics * metrics;
|
||||
::gnu::java::awt::font::autofit::GlyphHints * hints;
|
||||
::gnu::java::awt::font::autofit::HintScaler * scaler;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_awt_font_autofit_AutoHinter__
|
|
@ -22,6 +22,7 @@ extern "Java"
|
|||
namespace autofit
|
||||
{
|
||||
class AxisHints;
|
||||
class Edge;
|
||||
class Segment;
|
||||
}
|
||||
}
|
||||
|
@ -35,7 +36,16 @@ class gnu::java::awt::font::autofit::AxisHints : public ::java::lang::Object
|
|||
|
||||
public: // actually package-private
|
||||
AxisHints();
|
||||
virtual ::gnu::java::awt::font::autofit::Segment * newSegment();
|
||||
public:
|
||||
virtual ::gnu::java::awt::font::autofit::Edge * newEdge(jint);
|
||||
public: // actually package-private
|
||||
virtual jint getEdgeIndex(::gnu::java::awt::font::autofit::Edge *);
|
||||
JArray< ::gnu::java::awt::font::autofit::Segment * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) segments;
|
||||
jint majorDir;
|
||||
jint numSegments;
|
||||
jint numEdges;
|
||||
JArray< ::gnu::java::awt::font::autofit::Edge * > * edges;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
|
|
@ -34,6 +34,11 @@ public:
|
|||
static const jint DIMENSION_HORZ = 0;
|
||||
static const jint DIMENSION_VERT = 1;
|
||||
static const jint DIMENSION_MAX = 2;
|
||||
static const jint DIR_NONE = 0;
|
||||
static const jint DIR_RIGHT = 1;
|
||||
static const jint DIR_LEFT = -1;
|
||||
static const jint DIR_UP = 2;
|
||||
static const jint DIR_DOWN = -2;
|
||||
static ::java::lang::Class class$;
|
||||
} __attribute__ ((java_interface));
|
||||
|
||||
|
|
55
libjava/gnu/java/awt/font/autofit/Edge.h
Normal file
55
libjava/gnu/java/awt/font/autofit/Edge.h
Normal file
|
@ -0,0 +1,55 @@
|
|||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_awt_font_autofit_Edge__
|
||||
#define __gnu_java_awt_font_autofit_Edge__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace awt
|
||||
{
|
||||
namespace font
|
||||
{
|
||||
namespace autofit
|
||||
{
|
||||
class Edge;
|
||||
class Segment;
|
||||
class Width;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::awt::font::autofit::Edge : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
Edge();
|
||||
public:
|
||||
virtual ::java::lang::String * toString();
|
||||
public: // actually package-private
|
||||
jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) fpos;
|
||||
::gnu::java::awt::font::autofit::Segment * first;
|
||||
::gnu::java::awt::font::autofit::Segment * last;
|
||||
jint opos;
|
||||
::gnu::java::awt::font::autofit::Edge * link;
|
||||
::gnu::java::awt::font::autofit::Edge * serif;
|
||||
jint flags;
|
||||
jint dir;
|
||||
::gnu::java::awt::font::autofit::Width * blueEdge;
|
||||
jint pos;
|
||||
jint scale;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_awt_font_autofit_Edge__
|
|
@ -29,6 +29,7 @@ extern "Java"
|
|||
{
|
||||
namespace truetype
|
||||
{
|
||||
class Point;
|
||||
class Zone;
|
||||
}
|
||||
}
|
||||
|
@ -45,13 +46,42 @@ public: // actually package-private
|
|||
GlyphHints();
|
||||
virtual void rescale(::gnu::java::awt::font::autofit::ScriptMetrics *);
|
||||
virtual void reload(::gnu::java::awt::font::opentype::truetype::Zone *);
|
||||
virtual void computeSegments(jint);
|
||||
virtual void linkSegments(jint);
|
||||
private:
|
||||
void setWeakPoint(::gnu::java::awt::font::opentype::truetype::Point *);
|
||||
void computeInflectionPoints();
|
||||
public: // actually package-private
|
||||
virtual jboolean doHorizontal();
|
||||
virtual jboolean doVertical();
|
||||
virtual void alignWeakPoints(jint);
|
||||
private:
|
||||
void iupShift(jint, jint, jint);
|
||||
void iupInterp(jint, jint, jint, jint);
|
||||
public: // actually package-private
|
||||
virtual void alignStrongPoints(jint);
|
||||
private:
|
||||
void storePoint(::gnu::java::awt::font::opentype::truetype::Point *, jint, jint, jshort);
|
||||
public: // actually package-private
|
||||
virtual void alignEdgePoints(jint);
|
||||
private:
|
||||
jint getPointIndex(::gnu::java::awt::font::opentype::truetype::Point *);
|
||||
public:
|
||||
virtual jboolean doAlignEdgePoints();
|
||||
virtual jboolean doAlignStrongPoints();
|
||||
virtual jboolean doAlignWeakPoints();
|
||||
public: // actually package-private
|
||||
jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) xScale;
|
||||
jint xDelta;
|
||||
jint yScale;
|
||||
jint yDelta;
|
||||
JArray< ::gnu::java::awt::font::autofit::AxisHints * > * axis;
|
||||
JArray< ::gnu::java::awt::font::opentype::truetype::Point * > * points;
|
||||
jint numPoints;
|
||||
jint maxPoints;
|
||||
JArray< ::gnu::java::awt::font::opentype::truetype::Point * > * contours;
|
||||
jint numContours;
|
||||
jint maxContours;
|
||||
::gnu::java::awt::font::autofit::ScriptMetrics * metrics;
|
||||
jint flags;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_awt_font_autofit_Scaler__
|
||||
#define __gnu_java_awt_font_autofit_Scaler__
|
||||
#ifndef __gnu_java_awt_font_autofit_HintScaler__
|
||||
#define __gnu_java_awt_font_autofit_HintScaler__
|
||||
|
||||
#pragma interface
|
||||
|
||||
|
@ -19,7 +19,7 @@ extern "Java"
|
|||
{
|
||||
namespace autofit
|
||||
{
|
||||
class Scaler;
|
||||
class HintScaler;
|
||||
}
|
||||
namespace opentype
|
||||
{
|
||||
|
@ -31,18 +31,19 @@ extern "Java"
|
|||
}
|
||||
}
|
||||
|
||||
class gnu::java::awt::font::autofit::Scaler : public ::java::lang::Object
|
||||
class gnu::java::awt::font::autofit::HintScaler : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
Scaler();
|
||||
HintScaler();
|
||||
jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) xScale;
|
||||
jint xDelta;
|
||||
jint yScale;
|
||||
jint yDelta;
|
||||
::gnu::java::awt::font::opentype::OpenTypeFont * face;
|
||||
jint renderMode;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_awt_font_autofit_Scaler__
|
||||
#endif // __gnu_java_awt_font_autofit_HintScaler__
|
|
@ -7,6 +7,8 @@
|
|||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
|
@ -19,19 +21,36 @@ extern "Java"
|
|||
{
|
||||
namespace autofit
|
||||
{
|
||||
class Edge;
|
||||
class GlyphHints;
|
||||
class HintScaler;
|
||||
class Latin;
|
||||
class LatinMetrics;
|
||||
class ScriptMetrics;
|
||||
class Width;
|
||||
}
|
||||
namespace opentype
|
||||
{
|
||||
class OpenTypeFont;
|
||||
namespace truetype
|
||||
{
|
||||
class Zone;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace awt
|
||||
{
|
||||
namespace geom
|
||||
{
|
||||
class AffineTransform;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::awt::font::autofit::Latin : public ::java::lang::Object
|
||||
|
@ -40,16 +59,51 @@ class gnu::java::awt::font::autofit::Latin : public ::java::lang::Object
|
|||
public: // actually package-private
|
||||
Latin();
|
||||
public:
|
||||
virtual void applyHints(::gnu::java::awt::font::autofit::GlyphHints *, ::gnu::java::awt::font::autofit::ScriptMetrics *);
|
||||
virtual void applyHints(::gnu::java::awt::font::autofit::GlyphHints *, ::gnu::java::awt::font::opentype::truetype::Zone *, ::gnu::java::awt::font::autofit::ScriptMetrics *);
|
||||
private:
|
||||
void hintEdges(::gnu::java::awt::font::autofit::GlyphHints *, jint);
|
||||
void alignSerifEdge(::gnu::java::awt::font::autofit::GlyphHints *, ::gnu::java::awt::font::autofit::Edge *, ::gnu::java::awt::font::autofit::Edge *);
|
||||
jint computeStemWidth(::gnu::java::awt::font::autofit::GlyphHints *, jint, jint, jint, jint);
|
||||
jboolean doMono(::gnu::java::awt::font::autofit::GlyphHints *);
|
||||
jint snapWidth(JArray< ::gnu::java::awt::font::autofit::Width * > *, jint, jint);
|
||||
jint doneWidth(jint, jint);
|
||||
jboolean doVertSnap(::gnu::java::awt::font::autofit::GlyphHints *);
|
||||
jboolean doHorzSnap(::gnu::java::awt::font::autofit::GlyphHints *);
|
||||
jboolean doStemAdjust(::gnu::java::awt::font::autofit::GlyphHints *);
|
||||
void alignLinkedEdge(::gnu::java::awt::font::autofit::GlyphHints *, jint, ::gnu::java::awt::font::autofit::Edge *, ::gnu::java::awt::font::autofit::Edge *);
|
||||
public:
|
||||
virtual void doneMetrics(::gnu::java::awt::font::autofit::ScriptMetrics *);
|
||||
virtual void initHints(::gnu::java::awt::font::autofit::GlyphHints *, ::gnu::java::awt::font::autofit::ScriptMetrics *);
|
||||
virtual void initMetrics(::gnu::java::awt::font::autofit::ScriptMetrics *, ::gnu::java::awt::font::opentype::OpenTypeFont *);
|
||||
virtual void scaleMetrics(::gnu::java::awt::font::autofit::ScriptMetrics *);
|
||||
virtual void scaleMetrics(::gnu::java::awt::font::autofit::ScriptMetrics *, ::gnu::java::awt::font::autofit::HintScaler *);
|
||||
private:
|
||||
void scaleMetricsDim(::gnu::java::awt::font::autofit::LatinMetrics *, ::gnu::java::awt::font::autofit::HintScaler *, jint);
|
||||
void initWidths(::gnu::java::awt::font::autofit::LatinMetrics *, ::gnu::java::awt::font::opentype::OpenTypeFont *, jchar);
|
||||
public: // actually package-private
|
||||
virtual void linkSegments(::gnu::java::awt::font::autofit::GlyphHints *, jint);
|
||||
private:
|
||||
void initBlues(::gnu::java::awt::font::autofit::LatinMetrics *, ::gnu::java::awt::font::opentype::OpenTypeFont *);
|
||||
jint constant(::gnu::java::awt::font::autofit::LatinMetrics *, jint);
|
||||
void computeSegments(::gnu::java::awt::font::autofit::GlyphHints *, jint);
|
||||
jboolean isTopBlue(jint);
|
||||
void detectFeatures(::gnu::java::awt::font::autofit::GlyphHints *, jint);
|
||||
void computeEdges(::gnu::java::awt::font::autofit::GlyphHints *, jint);
|
||||
void computeBlueEdges(::gnu::java::awt::font::autofit::GlyphHints *, ::gnu::java::awt::font::autofit::LatinMetrics *);
|
||||
public: // actually package-private
|
||||
static const jint MAX_WIDTHS = 16;
|
||||
private:
|
||||
static const jint MAX_TEST_CHARS = 12;
|
||||
static const jint CAPITAL_TOP = 0;
|
||||
static const jint CAPITAL_BOTTOM = 1;
|
||||
static const jint SMALL_F_TOP = 2;
|
||||
static const jint SMALL_TOP = 3;
|
||||
static const jint SMALL_BOTTOM = 4;
|
||||
static const jint SMALL_MINOR = 5;
|
||||
public: // actually package-private
|
||||
static const jint BLUE_MAX = 6;
|
||||
private:
|
||||
static JArray< ::java::lang::String * > * TEST_CHARS;
|
||||
static ::java::awt::geom::AffineTransform * IDENTITY;
|
||||
public: // actually package-private
|
||||
static jboolean $assertionsDisabled;
|
||||
public:
|
||||
|
|
|
@ -22,6 +22,7 @@ extern "Java"
|
|||
namespace autofit
|
||||
{
|
||||
class LatinAxis;
|
||||
class LatinBlue;
|
||||
class Width;
|
||||
}
|
||||
}
|
||||
|
@ -39,7 +40,11 @@ public: // actually package-private
|
|||
jint delta;
|
||||
jint widthCount;
|
||||
JArray< ::gnu::java::awt::font::autofit::Width * > * widths;
|
||||
jfloat edgeDistanceTreshold;
|
||||
jint edgeDistanceTreshold;
|
||||
JArray< ::gnu::java::awt::font::autofit::LatinBlue * > * blues;
|
||||
jint blueCount;
|
||||
jint orgDelta;
|
||||
jint orgScale;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
|
48
libjava/gnu/java/awt/font/autofit/LatinBlue.h
Normal file
48
libjava/gnu/java/awt/font/autofit/LatinBlue.h
Normal file
|
@ -0,0 +1,48 @@
|
|||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_awt_font_autofit_LatinBlue__
|
||||
#define __gnu_java_awt_font_autofit_LatinBlue__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace awt
|
||||
{
|
||||
namespace font
|
||||
{
|
||||
namespace autofit
|
||||
{
|
||||
class LatinBlue;
|
||||
class Width;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::awt::font::autofit::LatinBlue : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
LatinBlue();
|
||||
virtual ::java::lang::String * toString();
|
||||
public: // actually package-private
|
||||
static const jint FLAG_BLUE_ACTIVE = 1;
|
||||
static const jint FLAG_TOP = 2;
|
||||
static const jint FLAG_ADJUSTMENT = 4;
|
||||
::gnu::java::awt::font::autofit::Width * __attribute__((aligned(__alignof__( ::java::lang::Object)))) ref;
|
||||
::gnu::java::awt::font::autofit::Width * shoot;
|
||||
jint flags;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_awt_font_autofit_LatinBlue__
|
|
@ -24,6 +24,10 @@ extern "Java"
|
|||
class LatinAxis;
|
||||
class LatinMetrics;
|
||||
}
|
||||
namespace opentype
|
||||
{
|
||||
class OpenTypeFont;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -35,6 +39,7 @@ class gnu::java::awt::font::autofit::LatinMetrics : public ::gnu::java::awt::fon
|
|||
|
||||
public: // actually package-private
|
||||
LatinMetrics();
|
||||
LatinMetrics(::gnu::java::awt::font::opentype::OpenTypeFont *);
|
||||
JArray< ::gnu::java::awt::font::autofit::LatinAxis * > * __attribute__((aligned(__alignof__( ::gnu::java::awt::font::autofit::ScriptMetrics)))) axis;
|
||||
jint unitsPerEm;
|
||||
public:
|
||||
|
|
|
@ -20,12 +20,17 @@ extern "Java"
|
|||
namespace autofit
|
||||
{
|
||||
class GlyphHints;
|
||||
class HintScaler;
|
||||
class Script;
|
||||
class ScriptMetrics;
|
||||
}
|
||||
namespace opentype
|
||||
{
|
||||
class OpenTypeFont;
|
||||
namespace truetype
|
||||
{
|
||||
class Zone;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -38,10 +43,10 @@ class gnu::java::awt::font::autofit::Script : public ::java::lang::Object
|
|||
|
||||
public:
|
||||
virtual void initMetrics(::gnu::java::awt::font::autofit::ScriptMetrics *, ::gnu::java::awt::font::opentype::OpenTypeFont *) = 0;
|
||||
virtual void scaleMetrics(::gnu::java::awt::font::autofit::ScriptMetrics *) = 0;
|
||||
virtual void scaleMetrics(::gnu::java::awt::font::autofit::ScriptMetrics *, ::gnu::java::awt::font::autofit::HintScaler *) = 0;
|
||||
virtual void doneMetrics(::gnu::java::awt::font::autofit::ScriptMetrics *) = 0;
|
||||
virtual void initHints(::gnu::java::awt::font::autofit::GlyphHints *, ::gnu::java::awt::font::autofit::ScriptMetrics *) = 0;
|
||||
virtual void applyHints(::gnu::java::awt::font::autofit::GlyphHints *, ::gnu::java::awt::font::autofit::ScriptMetrics *) = 0;
|
||||
virtual void applyHints(::gnu::java::awt::font::autofit::GlyphHints *, ::gnu::java::awt::font::opentype::truetype::Zone *, ::gnu::java::awt::font::autofit::ScriptMetrics *) = 0;
|
||||
static ::java::lang::Class class$;
|
||||
} __attribute__ ((java_interface));
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ extern "Java"
|
|||
{
|
||||
namespace autofit
|
||||
{
|
||||
class Scaler;
|
||||
class HintScaler;
|
||||
class Script;
|
||||
class ScriptMetrics;
|
||||
}
|
||||
|
@ -35,7 +35,7 @@ class gnu::java::awt::font::autofit::ScriptMetrics : public ::java::lang::Object
|
|||
public: // actually package-private
|
||||
ScriptMetrics();
|
||||
::gnu::java::awt::font::autofit::Script * __attribute__((aligned(__alignof__( ::java::lang::Object)))) script;
|
||||
::gnu::java::awt::font::autofit::Scaler * scaler;
|
||||
::gnu::java::awt::font::autofit::HintScaler * scaler;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
|
|
@ -19,8 +19,16 @@ extern "Java"
|
|||
{
|
||||
namespace autofit
|
||||
{
|
||||
class Edge;
|
||||
class Segment;
|
||||
}
|
||||
namespace opentype
|
||||
{
|
||||
namespace truetype
|
||||
{
|
||||
class Point;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -32,9 +40,28 @@ class gnu::java::awt::font::autofit::Segment : public ::java::lang::Object
|
|||
|
||||
public: // actually package-private
|
||||
Segment();
|
||||
::gnu::java::awt::font::autofit::Segment * __attribute__((aligned(__alignof__( ::java::lang::Object)))) link;
|
||||
jint index;
|
||||
public:
|
||||
virtual ::java::lang::String * toString();
|
||||
public: // actually package-private
|
||||
static const jint FLAG_EDGE_NORMAL = 0;
|
||||
static const jint FLAG_EDGE_ROUND = 1;
|
||||
static const jint FLAG_EDGE_SERIF = 2;
|
||||
static const jint FLAG_EDGE_DONE = 4;
|
||||
jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) dir;
|
||||
jint flags;
|
||||
::gnu::java::awt::font::autofit::Segment * link;
|
||||
::gnu::java::awt::font::autofit::Segment * serif;
|
||||
jint numLinked;
|
||||
jint pos;
|
||||
::gnu::java::awt::font::opentype::truetype::Point * first;
|
||||
::gnu::java::awt::font::opentype::truetype::Point * last;
|
||||
::gnu::java::awt::font::opentype::truetype::Point * contour;
|
||||
jint minPos;
|
||||
jint maxPos;
|
||||
jint score;
|
||||
jint len;
|
||||
::gnu::java::awt::font::autofit::Segment * edgeNext;
|
||||
::gnu::java::awt::font::autofit::Edge * edge;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
|
60
libjava/gnu/java/awt/font/autofit/Utils.h
Normal file
60
libjava/gnu/java/awt/font/autofit/Utils.h
Normal file
|
@ -0,0 +1,60 @@
|
|||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_awt_font_autofit_Utils__
|
||||
#define __gnu_java_awt_font_autofit_Utils__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace awt
|
||||
{
|
||||
namespace font
|
||||
{
|
||||
namespace autofit
|
||||
{
|
||||
class Utils;
|
||||
class Width;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::awt::font::autofit::Utils : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
Utils();
|
||||
static jint computeDirection(jint, jint);
|
||||
public:
|
||||
static jint atan(jint, jint);
|
||||
static jint angleDiff(jint, jint);
|
||||
public: // actually package-private
|
||||
static void sort(jint, JArray< jint > *);
|
||||
static void sort(jint, JArray< ::gnu::java::awt::font::autofit::Width * > *);
|
||||
static jint pixRound(jint);
|
||||
static jint pixFloor(jint);
|
||||
public:
|
||||
static jint mulDiv(jint, jint, jint);
|
||||
private:
|
||||
static const jint ATAN_BITS = 8;
|
||||
static JArray< jbyte > * ATAN;
|
||||
static const jint ANGLE_PI = 256;
|
||||
static const jint ANGLE_PI2 = 128;
|
||||
static const jint ANGLE_PI4 = 64;
|
||||
static const jint ANGLE_2PI = 512;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_awt_font_autofit_Utils__
|
|
@ -30,8 +30,10 @@ extern "Java"
|
|||
class gnu::java::awt::font::autofit::Width : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
Width(jint);
|
||||
public:
|
||||
Width();
|
||||
virtual ::java::lang::String * toString();
|
||||
public: // actually package-private
|
||||
jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) org;
|
||||
jint cur;
|
||||
|
|
45
libjava/gnu/java/awt/font/opentype/Hinter.h
Normal file
45
libjava/gnu/java/awt/font/opentype/Hinter.h
Normal file
|
@ -0,0 +1,45 @@
|
|||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_awt_font_opentype_Hinter__
|
||||
#define __gnu_java_awt_font_opentype_Hinter__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace awt
|
||||
{
|
||||
namespace font
|
||||
{
|
||||
namespace opentype
|
||||
{
|
||||
class Hinter;
|
||||
class OpenTypeFont;
|
||||
namespace truetype
|
||||
{
|
||||
class Zone;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::awt::font::opentype::Hinter : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
virtual void init(::gnu::java::awt::font::opentype::OpenTypeFont *) = 0;
|
||||
virtual void applyHints(::gnu::java::awt::font::opentype::truetype::Zone *) = 0;
|
||||
virtual void setFlags(jint) = 0;
|
||||
static ::java::lang::Class class$;
|
||||
} __attribute__ ((java_interface));
|
||||
|
||||
#endif // __gnu_java_awt_font_opentype_Hinter__
|
|
@ -23,6 +23,7 @@ extern "Java"
|
|||
{
|
||||
class CharGlyphMap;
|
||||
class GlyphNamer;
|
||||
class Hinter;
|
||||
class OpenTypeFont;
|
||||
class Scaler;
|
||||
namespace truetype
|
||||
|
@ -88,13 +89,16 @@ public:
|
|||
jint getGlyph(jint);
|
||||
::java::awt::font::GlyphVector * createGlyphVector(::java::awt::Font *, ::java::awt::font::FontRenderContext *, ::java::text::CharacterIterator *);
|
||||
void getAdvance(jint, jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean, jboolean, ::java::awt::geom::Point2D *);
|
||||
::java::awt::geom::GeneralPath * getGlyphOutline(jint, jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean);
|
||||
::java::awt::geom::GeneralPath * getGlyphOutline(jint, jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean, jint);
|
||||
::gnu::java::awt::font::opentype::truetype::Zone * getRawGlyphOutline(jint, ::java::awt::geom::AffineTransform *);
|
||||
::java::lang::String * getGlyphName(jint);
|
||||
jfloat getAscent(jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean, jboolean);
|
||||
jfloat getDescent(jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean, jboolean);
|
||||
public: // actually package-private
|
||||
static ::java::lang::String * tagToString(jint);
|
||||
private:
|
||||
void checkHinter(jint);
|
||||
public: // actually package-private
|
||||
static const jint TAG_OTTO = 1330926671;
|
||||
static const jint TAG_SFNT = 1936092788;
|
||||
static const jint TAG_TRUE = 1953658213;
|
||||
|
@ -114,6 +118,7 @@ private:
|
|||
::gnu::java::awt::font::opentype::Scaler * scaler;
|
||||
::gnu::java::awt::font::opentype::CharGlyphMap * cmap;
|
||||
::gnu::java::awt::font::opentype::GlyphNamer * glyphNamer;
|
||||
::gnu::java::awt::font::opentype::Hinter * hinter;
|
||||
::java::nio::ByteBuffer * nameTable;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
|
|
|
@ -19,6 +19,7 @@ extern "Java"
|
|||
{
|
||||
namespace opentype
|
||||
{
|
||||
class Hinter;
|
||||
class Scaler;
|
||||
namespace truetype
|
||||
{
|
||||
|
@ -48,7 +49,7 @@ class gnu::java::awt::font::opentype::Scaler : public ::java::lang::Object
|
|||
|
||||
public:
|
||||
Scaler();
|
||||
virtual ::java::awt::geom::GeneralPath * getOutline(jint, jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean) = 0;
|
||||
virtual ::java::awt::geom::GeneralPath * getOutline(jint, jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean, ::gnu::java::awt::font::opentype::Hinter *, jint) = 0;
|
||||
virtual void getAdvance(jint, jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean, jboolean, ::java::awt::geom::Point2D *) = 0;
|
||||
virtual jfloat getAscent(jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean, jboolean) = 0;
|
||||
virtual jfloat getDescent(jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean, jboolean) = 0;
|
||||
|
|
|
@ -36,15 +36,19 @@ class gnu::java::awt::font::opentype::truetype::Fixed : public ::java::lang::Obj
|
|||
Fixed();
|
||||
public:
|
||||
static jint mul(jint, jint);
|
||||
static jint mul16(jint, jint);
|
||||
static jint div(jint, jint);
|
||||
static jint div16(jint, jint);
|
||||
static jint ceil(jint);
|
||||
static jint floor(jint);
|
||||
static jint vectorLength(jint, jint);
|
||||
static jint intValue(jint);
|
||||
static jfloat floatValue(jint);
|
||||
static jfloat floatValue16(jint);
|
||||
static jdouble doubleValue(jint);
|
||||
static jint valueOf(jfloat);
|
||||
static jint valueOf(jdouble);
|
||||
static jint valueOf16(jdouble);
|
||||
static ::java::lang::String * toString(jint);
|
||||
static ::java::lang::String * toString(jint, jint);
|
||||
static const jint ONE = 64;
|
||||
|
|
|
@ -21,6 +21,7 @@ extern "Java"
|
|||
{
|
||||
namespace opentype
|
||||
{
|
||||
class Hinter;
|
||||
namespace truetype
|
||||
{
|
||||
class GlyphLoader;
|
||||
|
@ -56,12 +57,12 @@ class gnu::java::awt::font::opentype::truetype::GlyphLoader : public ::java::lan
|
|||
public: // actually package-private
|
||||
GlyphLoader(::gnu::java::awt::font::opentype::truetype::GlyphLocator *, ::gnu::java::awt::font::opentype::truetype::VirtualMachine *, jint, jint, jint, ::gnu::java::awt::font::opentype::truetype::GlyphMeasurer *);
|
||||
public:
|
||||
void loadGlyph(jint, jdouble, ::java::awt::geom::AffineTransform *, jboolean, ::gnu::java::awt::font::opentype::truetype::Zone *);
|
||||
void loadGlyph(jint, ::java::awt::geom::AffineTransform *, ::gnu::java::awt::font::opentype::truetype::Zone *);
|
||||
void loadGlyph(jint, jdouble, ::java::awt::geom::AffineTransform *, jboolean, ::gnu::java::awt::font::opentype::truetype::Zone *, ::gnu::java::awt::font::opentype::Hinter *);
|
||||
void loadGlyph(jint, ::java::awt::geom::AffineTransform *, ::gnu::java::awt::font::opentype::truetype::Zone *, ::gnu::java::awt::font::opentype::Hinter *);
|
||||
private:
|
||||
void loadSubGlyph(jint, jdouble, ::java::awt::geom::AffineTransform *, jboolean, ::gnu::java::awt::font::opentype::truetype::Zone *, jint, jint);
|
||||
void loadSimpleGlyph(jint, jdouble, ::java::awt::geom::AffineTransform *, jboolean, jint, ::java::nio::ByteBuffer *, ::gnu::java::awt::font::opentype::truetype::Zone *, jint, jint);
|
||||
void loadCompoundGlyph(jint, jdouble, ::java::awt::geom::AffineTransform *, jboolean, ::java::nio::ByteBuffer *, ::gnu::java::awt::font::opentype::truetype::Zone *, jint, jint);
|
||||
void loadSubGlyph(jint, jdouble, ::java::awt::geom::AffineTransform *, jboolean, ::gnu::java::awt::font::opentype::truetype::Zone *, jint, jint, ::gnu::java::awt::font::opentype::Hinter *);
|
||||
void loadSimpleGlyph(jint, jdouble, ::java::awt::geom::AffineTransform *, jboolean, jint, ::java::nio::ByteBuffer *, ::gnu::java::awt::font::opentype::truetype::Zone *, jint, jint, ::gnu::java::awt::font::opentype::Hinter *);
|
||||
void loadCompoundGlyph(jint, jdouble, ::java::awt::geom::AffineTransform *, jboolean, ::java::nio::ByteBuffer *, ::gnu::java::awt::font::opentype::truetype::Zone *, jint, jint, ::gnu::java::awt::font::opentype::Hinter *);
|
||||
jdouble getDouble214(::java::nio::ByteBuffer *);
|
||||
void loadFlags(jint, ::java::nio::ByteBuffer *);
|
||||
void loadCoordinates(jint, ::java::nio::ByteBuffer *, ::gnu::java::awt::font::opentype::truetype::Zone *);
|
||||
|
|
99
libjava/gnu/java/awt/font/opentype/truetype/Point.h
Normal file
99
libjava/gnu/java/awt/font/opentype/truetype/Point.h
Normal file
|
@ -0,0 +1,99 @@
|
|||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_awt_font_opentype_truetype_Point__
|
||||
#define __gnu_java_awt_font_opentype_truetype_Point__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace awt
|
||||
{
|
||||
namespace font
|
||||
{
|
||||
namespace opentype
|
||||
{
|
||||
namespace truetype
|
||||
{
|
||||
class Point;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::awt::font::opentype::truetype::Point : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
Point();
|
||||
virtual ::gnu::java::awt::font::opentype::truetype::Point * getNext();
|
||||
virtual void setNext(::gnu::java::awt::font::opentype::truetype::Point *);
|
||||
virtual ::gnu::java::awt::font::opentype::truetype::Point * getPrev();
|
||||
virtual void setPrev(::gnu::java::awt::font::opentype::truetype::Point *);
|
||||
virtual jint getOrigX();
|
||||
virtual void setOrigX(jint);
|
||||
virtual jint getOrigY();
|
||||
virtual void setOrigY(jint);
|
||||
virtual jint getInDir();
|
||||
virtual void setInDir(jint);
|
||||
virtual jint getOutDir();
|
||||
virtual void setOutDir(jint);
|
||||
virtual jshort getFlags();
|
||||
virtual void setFlags(jshort);
|
||||
virtual void addFlags(jshort);
|
||||
virtual jboolean isControlPoint();
|
||||
virtual jint getU();
|
||||
virtual void setU(jint);
|
||||
virtual jint getV();
|
||||
virtual void setV(jint);
|
||||
virtual ::java::lang::String * toString();
|
||||
virtual jint getX();
|
||||
virtual void setX(jint);
|
||||
virtual jint getY();
|
||||
virtual void setY(jint);
|
||||
virtual jint getScaledX();
|
||||
virtual void setScaledX(jint);
|
||||
virtual jint getScaledY();
|
||||
virtual void setScaledY(jint);
|
||||
static const jshort FLAG_TOUCHED_X = 1;
|
||||
static const jshort FLAG_TOUCHED_Y = 2;
|
||||
static const jshort FLAG_ON_CURVE = 4;
|
||||
static const jshort FLAG_CONTOUR_END = 8;
|
||||
static const jshort FLAG_WEAK_INTERPOLATION = 16;
|
||||
static const jshort FLAG_INFLECTION = 32;
|
||||
static const jshort FLAG_DONE_X = 64;
|
||||
static const jshort FLAG_DONE_Y = 128;
|
||||
static const jint DIR_RIGHT = 1;
|
||||
static const jint DIR_LEFT = -1;
|
||||
static const jint DIR_UP = 2;
|
||||
static const jint DIR_DOWN = -2;
|
||||
public: // actually package-private
|
||||
jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) origX;
|
||||
jint origY;
|
||||
jint scaledX;
|
||||
jint scaledY;
|
||||
jint x;
|
||||
jint y;
|
||||
jint u;
|
||||
jint v;
|
||||
jshort flags;
|
||||
private:
|
||||
::gnu::java::awt::font::opentype::truetype::Point * prev;
|
||||
::gnu::java::awt::font::opentype::truetype::Point * next;
|
||||
public: // actually package-private
|
||||
jint inDir;
|
||||
jint outDir;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_awt_font_opentype_truetype_Point__
|
|
@ -19,6 +19,7 @@ extern "Java"
|
|||
{
|
||||
namespace opentype
|
||||
{
|
||||
class Hinter;
|
||||
namespace truetype
|
||||
{
|
||||
class GlyphLoader;
|
||||
|
@ -54,7 +55,7 @@ class gnu::java::awt::font::opentype::truetype::TrueTypeScaler : public ::gnu::j
|
|||
|
||||
public:
|
||||
TrueTypeScaler(jint, ::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *, jint, ::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *);
|
||||
::java::awt::geom::GeneralPath * getOutline(jint, jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean);
|
||||
::java::awt::geom::GeneralPath * getOutline(jint, jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean, ::gnu::java::awt::font::opentype::Hinter *, jint);
|
||||
::gnu::java::awt::font::opentype::truetype::Zone * getRawOutline(jint, ::java::awt::geom::AffineTransform *);
|
||||
void getAdvance(jint, jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean, jboolean, ::java::awt::geom::Point2D *);
|
||||
private:
|
||||
|
|
|
@ -23,6 +23,7 @@ extern "Java"
|
|||
{
|
||||
namespace truetype
|
||||
{
|
||||
class Point;
|
||||
class Zone;
|
||||
}
|
||||
}
|
||||
|
@ -52,9 +53,11 @@ public:
|
|||
jint getCapacity();
|
||||
jint getSize();
|
||||
jint getX(jint);
|
||||
jint getX(jint, jint);
|
||||
void setX(jint, jint, jboolean);
|
||||
void setY(jint, jint, jboolean);
|
||||
jint getY(jint);
|
||||
jint getY(jint, jint);
|
||||
jint getOriginalX(jint);
|
||||
jint getOriginalY(jint);
|
||||
void setOriginalX(jint, jint);
|
||||
|
@ -70,18 +73,19 @@ public: // actually package-private
|
|||
private:
|
||||
void dump();
|
||||
public:
|
||||
::java::awt::geom::PathIterator * getPathIterator();
|
||||
::java::awt::geom::GeneralPath * getPath();
|
||||
::java::awt::geom::PathIterator * getPathIterator(jint);
|
||||
::java::awt::geom::GeneralPath * getPath(jint);
|
||||
jint getNumContours();
|
||||
jint getContourEnd(jint);
|
||||
JArray< ::gnu::java::awt::font::opentype::truetype::Point * > * getPoints();
|
||||
private:
|
||||
JArray< jint > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) pos;
|
||||
JArray< jint > * origPos;
|
||||
JArray< jbyte > * flags;
|
||||
JArray< ::gnu::java::awt::font::opentype::truetype::Point * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) points;
|
||||
jint numPoints;
|
||||
static const jint FLAG_TOUCHED_X = 1;
|
||||
static const jint FLAG_TOUCHED_Y = 2;
|
||||
static const jint FLAG_ON_CURVE = 4;
|
||||
static const jint FLAG_CONTOUR_END = 8;
|
||||
public:
|
||||
jdouble scaleX;
|
||||
jdouble scaleY;
|
||||
jdouble shearX;
|
||||
jdouble shearY;
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ class gnu::java::awt::font::opentype::truetype::ZonePathIterator : public ::java
|
|||
{
|
||||
|
||||
public: // actually package-private
|
||||
ZonePathIterator(::gnu::java::awt::font::opentype::truetype::Zone *);
|
||||
ZonePathIterator(::gnu::java::awt::font::opentype::truetype::Zone *, jint);
|
||||
public:
|
||||
jint getWindingRule();
|
||||
jboolean isDone();
|
||||
|
@ -58,6 +58,7 @@ private:
|
|||
jint numPoints;
|
||||
jint curPoint;
|
||||
jint contourStart;
|
||||
jint type;
|
||||
public: // actually package-private
|
||||
JArray< jfloat > * floats;
|
||||
public:
|
||||
|
|
|
@ -20,6 +20,7 @@ extern "Java"
|
|||
namespace java2d
|
||||
{
|
||||
class AbstractGraphics2D;
|
||||
class ScanlineConverter;
|
||||
class ShapeCache;
|
||||
}
|
||||
}
|
||||
|
@ -29,6 +30,7 @@ extern "Java"
|
|||
{
|
||||
namespace awt
|
||||
{
|
||||
class BasicStroke;
|
||||
class Color;
|
||||
class Composite;
|
||||
class Font;
|
||||
|
@ -50,7 +52,6 @@ extern "Java"
|
|||
namespace geom
|
||||
{
|
||||
class AffineTransform;
|
||||
class Rectangle2D;
|
||||
}
|
||||
namespace image
|
||||
{
|
||||
|
@ -175,11 +176,9 @@ public: // actually protected
|
|||
virtual void rawCopyArea(jint, jint, jint, jint, jint, jint);
|
||||
private:
|
||||
void copyAreaImpl(jint, jint, jint, jint, jint, jint);
|
||||
void fillShapeImpl(::java::util::ArrayList *, ::java::awt::geom::Rectangle2D *, ::java::awt::geom::Rectangle2D *, ::java::awt::geom::Rectangle2D *);
|
||||
public: // actually protected
|
||||
virtual void fillScanline(::java::awt::PaintContext *, jint, jint, jint);
|
||||
virtual void fillScanline(jint, jint, jint);
|
||||
private:
|
||||
void fillShapeAntialias(::java::util::ArrayList *, ::java::awt::geom::Rectangle2D *, ::java::awt::geom::Rectangle2D *, ::java::awt::geom::Rectangle2D *);
|
||||
void fillScanlineAA(JArray< jint > *, jint, jint, jint, ::java::awt::PaintContext *, jint);
|
||||
public: // actually protected
|
||||
virtual void init();
|
||||
|
@ -189,14 +188,17 @@ private:
|
|||
void updateOptimization();
|
||||
static ::java::awt::Rectangle * computeIntersection(jint, jint, jint, jint, ::java::awt::Rectangle *);
|
||||
void updateClip(::java::awt::geom::AffineTransform *);
|
||||
::java::util::ArrayList * getSegments(::java::awt::Shape *, ::java::awt::geom::AffineTransform *, ::java::awt::geom::Rectangle2D *, jboolean);
|
||||
::gnu::java::awt::java2d::ShapeCache * getShapeCache();
|
||||
::gnu::java::awt::java2d::ScanlineConverter * getScanlineConverter();
|
||||
static ::java::awt::Font * FONT;
|
||||
static const jint AA_SAMPLING = 8;
|
||||
static ::java::lang::ThreadLocal * shapeCache;
|
||||
static ::java::lang::ThreadLocal * scanlineConverters;
|
||||
public: // actually protected
|
||||
::java::awt::geom::AffineTransform * __attribute__((aligned(__alignof__( ::java::awt::Graphics2D)))) transform__;
|
||||
private:
|
||||
::java::awt::Paint * paint;
|
||||
::java::awt::PaintContext * paintContext;
|
||||
::java::awt::Color * background;
|
||||
::java::awt::Font * font;
|
||||
::java::awt::Composite * composite;
|
||||
|
@ -207,6 +209,8 @@ private:
|
|||
JArray< jint > * alpha;
|
||||
JArray< ::java::util::ArrayList * > * edgeTable;
|
||||
jboolean isOptimized;
|
||||
static ::java::awt::BasicStroke * STANDARD_STROKE;
|
||||
static ::java::util::HashMap * STANDARD_HINTS;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
|
52
libjava/gnu/java/awt/java2d/ActiveEdges.h
Normal file
52
libjava/gnu/java/awt/java2d/ActiveEdges.h
Normal file
|
@ -0,0 +1,52 @@
|
|||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_awt_java2d_ActiveEdges__
|
||||
#define __gnu_java_awt_java2d_ActiveEdges__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace awt
|
||||
{
|
||||
namespace java2d
|
||||
{
|
||||
class ActiveEdges;
|
||||
class PolyEdge;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::awt::java2d::ActiveEdges : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
ActiveEdges();
|
||||
void clear();
|
||||
void add(::gnu::java::awt::java2d::PolyEdge *);
|
||||
void intersectSortAndPack(jint, jint);
|
||||
jint getNumActiveEdges();
|
||||
::gnu::java::awt::java2d::PolyEdge * getActiveEdge(jint);
|
||||
void remove(jint);
|
||||
public:
|
||||
::java::lang::String * toString();
|
||||
private:
|
||||
JArray< ::gnu::java::awt::java2d::PolyEdge * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) activeEdges;
|
||||
jint numActiveEdges;
|
||||
public: // actually package-private
|
||||
static jboolean $assertionsDisabled;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_awt_java2d_ActiveEdges__
|
|
@ -28,18 +28,26 @@ class gnu::java::awt::java2d::PolyEdge : public ::java::lang::Object
|
|||
{
|
||||
|
||||
public: // actually package-private
|
||||
PolyEdge(jdouble, jdouble, jdouble, jdouble, jboolean);
|
||||
PolyEdge();
|
||||
PolyEdge(jint, jint, jint, jint, jint, jboolean);
|
||||
void init(jint, jint, jint, jint, jint, jboolean);
|
||||
public:
|
||||
virtual jint compareTo(::java::lang::Object *);
|
||||
virtual ::java::lang::String * toString();
|
||||
jdouble __attribute__((aligned(__alignof__( ::java::lang::Object)))) x0;
|
||||
jdouble y0;
|
||||
jdouble x1;
|
||||
jdouble y1;
|
||||
jint compareTo(::java::lang::Object *);
|
||||
public: // actually package-private
|
||||
jdouble slope;
|
||||
jdouble xIntersection;
|
||||
void intersect(jint, jint);
|
||||
public:
|
||||
::java::lang::String * toString();
|
||||
jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) x0;
|
||||
jint y0;
|
||||
jint x1;
|
||||
jint y1;
|
||||
private:
|
||||
jint slope;
|
||||
public: // actually package-private
|
||||
jint xIntersection;
|
||||
jboolean isClip;
|
||||
::gnu::java::awt::java2d::PolyEdge * poolNext;
|
||||
::gnu::java::awt::java2d::PolyEdge * scanlineNext;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
|
42
libjava/gnu/java/awt/java2d/Scanline.h
Normal file
42
libjava/gnu/java/awt/java2d/Scanline.h
Normal file
|
@ -0,0 +1,42 @@
|
|||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_awt_java2d_Scanline__
|
||||
#define __gnu_java_awt_java2d_Scanline__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace awt
|
||||
{
|
||||
namespace java2d
|
||||
{
|
||||
class PolyEdge;
|
||||
class Scanline;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::awt::java2d::Scanline : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
virtual void clear();
|
||||
Scanline();
|
||||
virtual void addEdge(::gnu::java::awt::java2d::PolyEdge *);
|
||||
virtual ::gnu::java::awt::java2d::PolyEdge * getEdges();
|
||||
private:
|
||||
::gnu::java::awt::java2d::PolyEdge * __attribute__((aligned(__alignof__( ::java::lang::Object)))) edges;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_awt_java2d_Scanline__
|
80
libjava/gnu/java/awt/java2d/ScanlineConverter.h
Normal file
80
libjava/gnu/java/awt/java2d/ScanlineConverter.h
Normal file
|
@ -0,0 +1,80 @@
|
|||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_awt_java2d_ScanlineConverter__
|
||||
#define __gnu_java_awt_java2d_ScanlineConverter__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace awt
|
||||
{
|
||||
namespace java2d
|
||||
{
|
||||
class AbstractGraphics2D;
|
||||
class ActiveEdges;
|
||||
class PolyEdge;
|
||||
class Scanline;
|
||||
class ScanlineConverter;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace awt
|
||||
{
|
||||
class Shape;
|
||||
namespace geom
|
||||
{
|
||||
class AffineTransform;
|
||||
class PathIterator;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::awt::java2d::ScanlineConverter : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
ScanlineConverter();
|
||||
void renderShape(::gnu::java::awt::java2d::AbstractGraphics2D *, ::java::awt::Shape *, ::java::awt::Shape *, ::java::awt::geom::AffineTransform *, jint);
|
||||
private:
|
||||
void clear();
|
||||
void doScanline(::gnu::java::awt::java2d::AbstractGraphics2D *, jint, jboolean, jboolean);
|
||||
void setResolution(jint);
|
||||
void setUpperBounds(jint);
|
||||
void addShape(::java::awt::geom::PathIterator *, jboolean);
|
||||
void addEdge(::gnu::java::awt::java2d::PolyEdge *);
|
||||
jint fit(jint);
|
||||
jint scanlineIndex(jint);
|
||||
void edgePoolAdd(jint, jint, jint, jint, jboolean);
|
||||
static jint FIXED_DIGITS;
|
||||
static jint ONE;
|
||||
jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) numScanlines;
|
||||
JArray< ::gnu::java::awt::java2d::Scanline * > * scanlines;
|
||||
jint upperBounds;
|
||||
jint resolution;
|
||||
jint halfStep;
|
||||
JArray< jfloat > * coords;
|
||||
::gnu::java::awt::java2d::ActiveEdges * activeEdges;
|
||||
::gnu::java::awt::java2d::PolyEdge * edgePool;
|
||||
::gnu::java::awt::java2d::PolyEdge * edgePoolLast;
|
||||
jint minY;
|
||||
jint maxY;
|
||||
public: // actually package-private
|
||||
static jboolean $assertionsDisabled;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_awt_java2d_ScanlineConverter__
|
86
libjava/gnu/java/awt/peer/ClasspathDesktopPeer.h
Normal file
86
libjava/gnu/java/awt/peer/ClasspathDesktopPeer.h
Normal file
|
@ -0,0 +1,86 @@
|
|||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_awt_peer_ClasspathDesktopPeer__
|
||||
#define __gnu_java_awt_peer_ClasspathDesktopPeer__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace awt
|
||||
{
|
||||
namespace peer
|
||||
{
|
||||
class ClasspathDesktopPeer;
|
||||
class GnomeDesktopPeer;
|
||||
class KDEDesktopPeer;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace awt
|
||||
{
|
||||
class Desktop$Action;
|
||||
namespace peer
|
||||
{
|
||||
class DesktopPeer;
|
||||
}
|
||||
}
|
||||
namespace net
|
||||
{
|
||||
class URI;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::awt::peer::ClasspathDesktopPeer : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public: // actually protected
|
||||
ClasspathDesktopPeer();
|
||||
public:
|
||||
virtual jboolean isSupported(::java::awt::Desktop$Action *);
|
||||
virtual void browse(::java::net::URI *);
|
||||
virtual void edit(::java::io::File *);
|
||||
virtual void mail(::java::net::URI *);
|
||||
virtual void mail();
|
||||
virtual void open(::java::io::File *);
|
||||
virtual void print(::java::io::File *);
|
||||
public: // actually protected
|
||||
virtual ::java::lang::String * getCommand(::java::lang::String *);
|
||||
virtual void checkPermissions();
|
||||
virtual void checkPermissions(::java::io::File *, jboolean);
|
||||
virtual void checkPrintPermissions(::java::io::File *);
|
||||
virtual jboolean supportCommand(::java::lang::String *);
|
||||
public:
|
||||
static ::java::awt::peer::DesktopPeer * getDesktop();
|
||||
public: // actually package-private
|
||||
static JArray< jint > * $SWITCH_TABLE$java$awt$Desktop$Action();
|
||||
public: // actually protected
|
||||
static ::java::lang::String * _DEFAULT_BROWSER;
|
||||
static ::java::lang::String * _BROWSE;
|
||||
static ::java::lang::String * _MAIL;
|
||||
static ::java::lang::String * _EDIT;
|
||||
static ::java::lang::String * _PRINT;
|
||||
static ::java::lang::String * _OPEN;
|
||||
static ::gnu::java::awt::peer::KDEDesktopPeer * kde;
|
||||
static ::gnu::java::awt::peer::GnomeDesktopPeer * gnome;
|
||||
static ::gnu::java::awt::peer::ClasspathDesktopPeer * classpath;
|
||||
::java::util::prefs::Preferences * __attribute__((aligned(__alignof__( ::java::lang::Object)))) prefs;
|
||||
private:
|
||||
static JArray< jint > * $SWITCH_TABLE$java$awt$Desktop$Action__;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_awt_peer_ClasspathDesktopPeer__
|
40
libjava/gnu/java/awt/peer/ClasspathFontPeer$LRUCache.h
Normal file
40
libjava/gnu/java/awt/peer/ClasspathFontPeer$LRUCache.h
Normal file
|
@ -0,0 +1,40 @@
|
|||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_awt_peer_ClasspathFontPeer$LRUCache__
|
||||
#define __gnu_java_awt_peer_ClasspathFontPeer$LRUCache__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/util/LinkedHashMap.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace awt
|
||||
{
|
||||
namespace peer
|
||||
{
|
||||
class ClasspathFontPeer$LRUCache;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::awt::peer::ClasspathFontPeer$LRUCache : public ::java::util::LinkedHashMap
|
||||
{
|
||||
|
||||
public:
|
||||
ClasspathFontPeer$LRUCache(jint);
|
||||
public: // actually protected
|
||||
virtual jboolean removeEldestEntry(::java::util::Map$Entry *);
|
||||
public: // actually package-private
|
||||
jint __attribute__((aligned(__alignof__( ::java::util::LinkedHashMap)))) max_entries;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_awt_peer_ClasspathFontPeer$LRUCache__
|
|
@ -21,6 +21,7 @@ extern "Java"
|
|||
namespace peer
|
||||
{
|
||||
class ClasspathFontPeer;
|
||||
class ClasspathFontPeer$LRUCache;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -116,6 +117,8 @@ public: // actually protected
|
|||
jint style;
|
||||
jfloat size;
|
||||
::java::awt::geom::AffineTransform * transform;
|
||||
private:
|
||||
static ::gnu::java::awt::peer::ClasspathFontPeer$LRUCache * transCache;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
|
55
libjava/gnu/java/awt/peer/GnomeDesktopPeer.h
Normal file
55
libjava/gnu/java/awt/peer/GnomeDesktopPeer.h
Normal file
|
@ -0,0 +1,55 @@
|
|||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_awt_peer_GnomeDesktopPeer__
|
||||
#define __gnu_java_awt_peer_GnomeDesktopPeer__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/awt/peer/ClasspathDesktopPeer.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace awt
|
||||
{
|
||||
namespace peer
|
||||
{
|
||||
class GnomeDesktopPeer;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace net
|
||||
{
|
||||
class URI;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::awt::peer::GnomeDesktopPeer : public ::gnu::java::awt::peer::ClasspathDesktopPeer
|
||||
{
|
||||
|
||||
public:
|
||||
GnomeDesktopPeer();
|
||||
public: // actually protected
|
||||
virtual ::java::lang::String * getCommand(::java::lang::String *);
|
||||
public:
|
||||
virtual void browse(::java::net::URI *);
|
||||
public: // actually protected
|
||||
virtual jboolean supportCommand(::java::lang::String *);
|
||||
public:
|
||||
virtual void mail();
|
||||
public: // actually protected
|
||||
virtual ::java::lang::String * execQuery(::java::lang::String *);
|
||||
private:
|
||||
static ::java::lang::String * BROWSER_QUERY_GNOME;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_awt_peer_GnomeDesktopPeer__
|
45
libjava/gnu/java/awt/peer/KDEDesktopPeer.h
Normal file
45
libjava/gnu/java/awt/peer/KDEDesktopPeer.h
Normal file
|
@ -0,0 +1,45 @@
|
|||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_awt_peer_KDEDesktopPeer__
|
||||
#define __gnu_java_awt_peer_KDEDesktopPeer__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <gnu/java/awt/peer/ClasspathDesktopPeer.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace awt
|
||||
{
|
||||
namespace peer
|
||||
{
|
||||
class KDEDesktopPeer;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::awt::peer::KDEDesktopPeer : public ::gnu::java::awt::peer::ClasspathDesktopPeer
|
||||
{
|
||||
|
||||
public:
|
||||
KDEDesktopPeer();
|
||||
public: // actually protected
|
||||
virtual ::java::lang::String * getCommand(::java::lang::String *);
|
||||
virtual jboolean supportCommand(::java::lang::String *);
|
||||
public:
|
||||
virtual void mail();
|
||||
public: // actually protected
|
||||
virtual ::java::lang::String * execQuery(::java::lang::String *);
|
||||
private:
|
||||
static ::java::lang::String * BROWSER_QUERY_GNOME;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_awt_peer_KDEDesktopPeer__
|
|
@ -87,7 +87,6 @@ public: // actually protected
|
|||
private:
|
||||
::java::awt::image::BufferedImage * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::gtk::CairoGraphics2D)))) image;
|
||||
::java::awt::image::BufferedImage * buffer;
|
||||
jboolean locked;
|
||||
jint imageWidth;
|
||||
jint imageHeight;
|
||||
public: // actually package-private
|
||||
|
|
|
@ -22,6 +22,7 @@ extern "Java"
|
|||
namespace gtk
|
||||
{
|
||||
class CairoGraphics2D;
|
||||
class CairoSurface;
|
||||
class GdkFontPeer;
|
||||
}
|
||||
}
|
||||
|
@ -109,9 +110,7 @@ public: // actually protected
|
|||
virtual void cairoSetFillRule(jlong, jint);
|
||||
virtual void cairoSetLine(jlong, jdouble, jint, jint, jdouble);
|
||||
virtual void cairoSetDash(jlong, JArray< jdouble > *, jint, jdouble);
|
||||
public: // actually package-private
|
||||
virtual void cairoDrawGlyphVector(jlong, ::gnu::java::awt::peer::gtk::GdkFontPeer *, jfloat, jfloat, jint, JArray< jint > *, JArray< jfloat > *);
|
||||
public: // actually protected
|
||||
virtual void cairoDrawGlyphVector(jlong, ::gnu::java::awt::peer::gtk::GdkFontPeer *, jfloat, jfloat, jint, JArray< jint > *, JArray< jfloat > *, JArray< jlong > *);
|
||||
virtual void cairoSetFont(jlong, ::gnu::java::awt::peer::gtk::GdkFontPeer *);
|
||||
virtual void cairoRectangle(jlong, jdouble, jdouble, jdouble, jdouble);
|
||||
virtual void cairoArc(jlong, jdouble, jdouble, jdouble, jdouble, jdouble);
|
||||
|
@ -126,6 +125,7 @@ public: // actually protected
|
|||
virtual void cairoFill(jlong, jdouble);
|
||||
virtual void cairoClip(jlong);
|
||||
virtual void cairoResetClip(jlong);
|
||||
virtual void cairoSetAntialias(jlong, jboolean);
|
||||
public:
|
||||
virtual void setTransform(::java::awt::geom::AffineTransform *);
|
||||
private:
|
||||
|
@ -200,6 +200,7 @@ public:
|
|||
virtual ::java::awt::RenderingHints * getRenderingHints();
|
||||
private:
|
||||
jint getInterpolation();
|
||||
void setAntialias(jboolean);
|
||||
public: // actually protected
|
||||
virtual jboolean drawImage(::java::awt::Image *, ::java::awt::geom::AffineTransform *, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
|
||||
public:
|
||||
|
@ -213,6 +214,9 @@ public:
|
|||
virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, ::java::awt::image::ImageObserver *);
|
||||
virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, jint, jint, jint, jint, ::java::awt::Color *, ::java::awt::image::ImageObserver *);
|
||||
virtual jboolean drawImage(::java::awt::Image *, jint, jint, jint, jint, jint, jint, jint, jint, ::java::awt::image::ImageObserver *);
|
||||
public: // actually protected
|
||||
virtual void drawCairoSurface(::gnu::java::awt::peer::gtk::CairoSurface *, ::java::awt::geom::AffineTransform *, jdouble, jint);
|
||||
public:
|
||||
virtual void drawString(::java::lang::String *, jfloat, jfloat);
|
||||
virtual void drawString(::java::lang::String *, jint, jint);
|
||||
virtual void drawString(::java::text::AttributedCharacterIterator *, jint, jint);
|
||||
|
@ -237,6 +241,7 @@ private:
|
|||
void updateClip(::java::awt::geom::AffineTransform *);
|
||||
static ::java::awt::Rectangle * computeIntersection(jint, jint, jint, jint, ::java::awt::Rectangle *);
|
||||
public: // actually package-private
|
||||
static ::java::awt::geom::Rectangle2D * getTransformedBounds(::java::awt::geom::Rectangle2D *, ::java::awt::geom::AffineTransform *);
|
||||
jlong __attribute__((aligned(__alignof__( ::java::awt::Graphics2D)))) nativePointer;
|
||||
::java::awt::Paint * paint;
|
||||
jboolean customPaint;
|
||||
|
@ -250,6 +255,8 @@ public: // actually package-private
|
|||
::java::awt::CompositeContext * compCtx;
|
||||
private:
|
||||
::java::awt::RenderingHints * hints;
|
||||
jboolean antialias;
|
||||
jboolean ignoreAA;
|
||||
public: // actually protected
|
||||
jboolean shiftDrawCalls;
|
||||
private:
|
||||
|
|
|
@ -1,44 +0,0 @@
|
|||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_awt_peer_gtk_CairoSurface$CairoDataBuffer__
|
||||
#define __gnu_java_awt_peer_gtk_CairoSurface$CairoDataBuffer__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/awt/image/DataBuffer.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace awt
|
||||
{
|
||||
namespace peer
|
||||
{
|
||||
namespace gtk
|
||||
{
|
||||
class CairoSurface;
|
||||
class CairoSurface$CairoDataBuffer;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::awt::peer::gtk::CairoSurface$CairoDataBuffer : public ::java::awt::image::DataBuffer
|
||||
{
|
||||
|
||||
public:
|
||||
CairoSurface$CairoDataBuffer(::gnu::java::awt::peer::gtk::CairoSurface *);
|
||||
virtual jint getElem(jint, jint);
|
||||
virtual void setElem(jint, jint, jint);
|
||||
public: // actually package-private
|
||||
::gnu::java::awt::peer::gtk::CairoSurface * __attribute__((aligned(__alignof__( ::java::awt::image::DataBuffer)))) this$0;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_awt_peer_gtk_CairoSurface$CairoDataBuffer__
|
|
@ -33,11 +33,15 @@ extern "Java"
|
|||
namespace awt
|
||||
{
|
||||
class Graphics2D;
|
||||
class Point;
|
||||
class Rectangle;
|
||||
namespace image
|
||||
{
|
||||
class BufferedImage;
|
||||
class ColorModel;
|
||||
class Raster;
|
||||
class SampleModel;
|
||||
class WritableRaster;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -46,25 +50,18 @@ extern "Java"
|
|||
class gnu::java::awt::peer::gtk::CairoSurface : public ::java::awt::image::WritableRaster
|
||||
{
|
||||
|
||||
void create(jint, jint, jint);
|
||||
void destroy(jlong, jlong);
|
||||
jint nativeGetElem(jlong, jint);
|
||||
void nativeSetElem(jlong, jint, jint);
|
||||
void create(jint, jint, jint, JArray< jint > *);
|
||||
void destroy(jlong, JArray< jint > *);
|
||||
public:
|
||||
virtual void nativeDrawSurface(jlong, jlong, JArray< jdouble > *, jdouble, jint);
|
||||
virtual void drawSurface(jlong, JArray< jdouble > *, jdouble, jint);
|
||||
public: // actually package-private
|
||||
virtual JArray< jint > * nativeGetPixels(jlong, jint);
|
||||
public:
|
||||
virtual JArray< jint > * getPixels(jint);
|
||||
public: // actually package-private
|
||||
virtual void nativeSetPixels(jlong, JArray< jint > *);
|
||||
public:
|
||||
virtual void setPixels(JArray< jint > *);
|
||||
public: // actually package-private
|
||||
virtual jlong getFlippedBuffer(jlong, jint);
|
||||
virtual void syncNativeToJava(jlong, JArray< jint > *);
|
||||
virtual void syncJavaToNative(jlong, JArray< jint > *);
|
||||
virtual jlong getFlippedBuffer(jlong);
|
||||
public:
|
||||
CairoSurface(jint, jint);
|
||||
CairoSurface(jint, jint, jint, jint);
|
||||
CairoSurface(::java::awt::image::SampleModel *, ::gnu::java::awt::peer::gtk::CairoSurface *, ::java::awt::Rectangle *, ::java::awt::Point *);
|
||||
public: // actually package-private
|
||||
CairoSurface(::gnu::java::awt::peer::gtk::GtkImage *);
|
||||
public:
|
||||
|
@ -73,6 +70,7 @@ public: // actually protected
|
|||
virtual void finalize();
|
||||
public:
|
||||
virtual ::gnu::java::awt::peer::gtk::GtkImage * getGtkImage();
|
||||
virtual JArray< jint > * getData();
|
||||
static ::java::awt::image::BufferedImage * getBufferedImage(jint, jint);
|
||||
static ::java::awt::image::BufferedImage * getBufferedImage(::gnu::java::awt::peer::gtk::GtkImage *);
|
||||
static ::java::awt::image::BufferedImage * getBufferedImage(::gnu::java::awt::peer::gtk::CairoSurface *);
|
||||
|
@ -81,19 +79,25 @@ public: // actually package-private
|
|||
virtual jlong nativeNewCairoContext(jlong);
|
||||
public:
|
||||
virtual jlong newCairoContext();
|
||||
virtual void copyAreaNative(jint, jint, jint, jint, jint, jint, jint);
|
||||
public: // actually package-private
|
||||
virtual void copyAreaNative2(jlong, jint, jint, jint, jint, jint, jint, jint);
|
||||
public:
|
||||
virtual void copyAreaNative(jint, jint, jint, jint, jint, jint, jint);
|
||||
public: // actually protected
|
||||
static ::java::awt::image::SampleModel * createCairoSampleModel(jint, jint);
|
||||
public:
|
||||
static jboolean isCompatibleColorModel(::java::awt::image::ColorModel *);
|
||||
static jboolean isCompatibleSampleModel(::java::awt::image::SampleModel *);
|
||||
virtual ::java::awt::image::Raster * createChild(jint, jint, jint, jint, jint, jint, JArray< jint > *);
|
||||
virtual ::java::awt::image::WritableRaster * createCompatibleWritableRaster();
|
||||
virtual ::java::awt::image::WritableRaster * createCompatibleWritableRaster(jint, jint, jint, jint);
|
||||
virtual ::java::awt::image::Raster * createTranslatedChild(jint, jint);
|
||||
virtual ::java::awt::image::WritableRaster * createWritableChild(jint, jint, jint, jint, jint, jint, JArray< jint > *);
|
||||
virtual ::java::awt::image::WritableRaster * createWritableTranslatedChild(jint, jint);
|
||||
public: // actually package-private
|
||||
static jint access$0(::gnu::java::awt::peer::gtk::CairoSurface *, jlong, jint);
|
||||
static void access$1(::gnu::java::awt::peer::gtk::CairoSurface *, jlong, jint, jint);
|
||||
jint __attribute__((aligned(__alignof__( ::java::awt::image::WritableRaster)))) width;
|
||||
jint height;
|
||||
jlong surfacePointer;
|
||||
jlong bufferPointer;
|
||||
jboolean sharedBuffer;
|
||||
static ::java::awt::image::ColorModel * cairoColorModel;
|
||||
static ::java::awt::image::ColorModel * cairoCM_pre;
|
||||
static ::java::awt::image::ColorModel * cairoCM_opaque;
|
||||
|
|
|
@ -25,6 +25,7 @@ extern "Java"
|
|||
{
|
||||
namespace gtk
|
||||
{
|
||||
class CairoSurface;
|
||||
class ComponentGraphics;
|
||||
class GtkComponentPeer;
|
||||
class GtkImage;
|
||||
|
@ -132,6 +133,8 @@ public: // actually protected
|
|||
virtual void cairoFill(jlong, jdouble);
|
||||
virtual void cairoClip(jlong);
|
||||
virtual void cairoResetClip(jlong);
|
||||
virtual void cairoSetAntialias(jlong, jboolean);
|
||||
virtual void drawCairoSurface(::gnu::java::awt::peer::gtk::CairoSurface *, ::java::awt::geom::AffineTransform *, jdouble, jint);
|
||||
private:
|
||||
static jboolean hasXRenderExtension;
|
||||
::gnu::java::awt::peer::gtk::GtkComponentPeer * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::gtk::CairoGraphics2D)))) component;
|
||||
|
|
|
@ -55,19 +55,24 @@ extern "Java"
|
|||
class gnu::java::awt::peer::gtk::FreetypeGlyphVector : public ::java::awt::font::GlyphVector
|
||||
{
|
||||
|
||||
void dispose(JArray< jlong > *);
|
||||
jlong getNativeFontPointer(jint);
|
||||
public:
|
||||
FreetypeGlyphVector(::java::awt::Font *, ::java::lang::String *, ::java::awt::font::FontRenderContext *);
|
||||
FreetypeGlyphVector(::java::awt::Font *, JArray< jchar > *, jint, jint, ::java::awt::font::FontRenderContext *, jint);
|
||||
FreetypeGlyphVector(::java::awt::Font *, JArray< jint > *, ::java::awt::font::FontRenderContext *);
|
||||
private:
|
||||
FreetypeGlyphVector(::gnu::java::awt::peer::gtk::FreetypeGlyphVector *);
|
||||
public:
|
||||
virtual void finalize();
|
||||
private:
|
||||
void getGlyphs();
|
||||
public:
|
||||
virtual JArray< jint > * getGlyphs(JArray< jint > *);
|
||||
virtual void getGlyphs(JArray< jint > *, JArray< jint > *, JArray< jlong > *);
|
||||
private:
|
||||
::java::awt::geom::Point2D * getKerning(jint, jint);
|
||||
JArray< jdouble > * getMetricsNative(jint);
|
||||
::java::awt::geom::GeneralPath * getGlyphOutlineNative(jint);
|
||||
::java::awt::geom::Point2D * getKerning(jint, jint, jlong);
|
||||
JArray< jdouble > * getMetricsNative(jint, jlong);
|
||||
::java::awt::geom::GeneralPath * getGlyphOutlineNative(jint, jlong);
|
||||
public:
|
||||
virtual ::java::lang::Object * clone();
|
||||
virtual jboolean equals(::java::awt::font::GlyphVector *);
|
||||
|
@ -76,6 +81,9 @@ public:
|
|||
virtual void performDefaultLayout();
|
||||
virtual jint getGlyphCode(jint);
|
||||
virtual JArray< jint > * getGlyphCodes(jint, jint, JArray< jint > *);
|
||||
public: // actually protected
|
||||
virtual JArray< jlong > * getGlyphFonts(jint, jint, JArray< jlong > *);
|
||||
public:
|
||||
virtual ::java::awt::Shape * getGlyphLogicalBounds(jint);
|
||||
virtual void setupGlyphMetrics();
|
||||
virtual ::java::awt::font::GlyphMetrics * getGlyphMetrics(jint);
|
||||
|
@ -101,6 +109,7 @@ private:
|
|||
::java::awt::font::FontRenderContext * frc;
|
||||
jint nGlyphs;
|
||||
JArray< jint > * glyphCodes;
|
||||
JArray< jlong > * fontSet;
|
||||
JArray< ::java::awt::geom::AffineTransform * > * glyphTransforms;
|
||||
JArray< ::java::awt::font::GlyphMetrics * > * metricsCache;
|
||||
public:
|
||||
|
|
|
@ -1,41 +0,0 @@
|
|||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_awt_peer_gtk_GThreadMutex__
|
||||
#define __gnu_java_awt_peer_gtk_GThreadMutex__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace awt
|
||||
{
|
||||
namespace peer
|
||||
{
|
||||
namespace gtk
|
||||
{
|
||||
class GThreadMutex;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::awt::peer::gtk::GThreadMutex : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
GThreadMutex();
|
||||
jint volatile __attribute__((aligned(__alignof__( ::java::lang::Object)))) potentialLockers;
|
||||
::java::lang::Object * lockForPotentialLockers;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_awt_peer_gtk_GThreadMutex__
|
|
@ -1,58 +0,0 @@
|
|||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_awt_peer_gtk_GThreadNativeMethodRunner__
|
||||
#define __gnu_java_awt_peer_gtk_GThreadNativeMethodRunner__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Thread.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace awt
|
||||
{
|
||||
namespace peer
|
||||
{
|
||||
namespace gtk
|
||||
{
|
||||
class GThreadNativeMethodRunner;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::awt::peer::gtk::GThreadNativeMethodRunner : public ::java::lang::Thread
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
GThreadNativeMethodRunner(jlong, jlong, jboolean);
|
||||
public:
|
||||
virtual void run();
|
||||
private:
|
||||
void nativeRun(jlong, jlong);
|
||||
static jint registerThread(::java::lang::Thread *);
|
||||
public: // actually package-private
|
||||
static jint threadToThreadID(::java::lang::Thread *);
|
||||
static ::java::lang::Thread * threadIDToThread(jint);
|
||||
private:
|
||||
void registerSelfJoinable();
|
||||
public: // actually package-private
|
||||
static void deRegisterJoinable(::java::lang::Thread *);
|
||||
private:
|
||||
jlong __attribute__((aligned(__alignof__( ::java::lang::Thread)))) funcPtr;
|
||||
jlong funcArg;
|
||||
static JArray< ::java::lang::ref::WeakReference * > * threads;
|
||||
static ::java::util::Set * joinable;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_awt_peer_gtk_GThreadNativeMethodRunner__
|
|
@ -1,74 +0,0 @@
|
|||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_awt_peer_gtk_GdkFontMetrics__
|
||||
#define __gnu_java_awt_peer_gtk_GdkFontMetrics__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/awt/FontMetrics.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace awt
|
||||
{
|
||||
namespace peer
|
||||
{
|
||||
namespace gtk
|
||||
{
|
||||
class GdkFontMetrics;
|
||||
class GdkFontPeer;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace awt
|
||||
{
|
||||
class Font;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::awt::peer::gtk::GdkFontMetrics : public ::java::awt::FontMetrics
|
||||
{
|
||||
|
||||
static ::java::awt::Font * initFont(::java::awt::Font *);
|
||||
public:
|
||||
GdkFontMetrics(::java::awt::Font *);
|
||||
virtual jint stringWidth(::java::lang::String *);
|
||||
virtual jint charWidth(jchar);
|
||||
virtual jint charsWidth(JArray< jchar > *, jint, jint);
|
||||
virtual jint getLeading();
|
||||
virtual jint getAscent();
|
||||
virtual jint getMaxAscent();
|
||||
virtual jint getDescent();
|
||||
virtual jint getMaxDescent();
|
||||
virtual jint getMaxAdvance();
|
||||
private:
|
||||
JArray< jint > * __attribute__((aligned(__alignof__( ::java::awt::FontMetrics)))) font_metrics;
|
||||
public: // actually package-private
|
||||
::gnu::java::awt::peer::gtk::GdkFontPeer * peer;
|
||||
static const jint FONT_METRICS_ASCENT = 0;
|
||||
static const jint FONT_METRICS_MAX_ASCENT = 1;
|
||||
static const jint FONT_METRICS_DESCENT = 2;
|
||||
static const jint FONT_METRICS_MAX_DESCENT = 3;
|
||||
static const jint FONT_METRICS_MAX_ADVANCE = 4;
|
||||
static const jint TEXT_METRICS_X_BEARING = 0;
|
||||
static const jint TEXT_METRICS_Y_BEARING = 1;
|
||||
static const jint TEXT_METRICS_WIDTH = 2;
|
||||
static const jint TEXT_METRICS_HEIGHT = 3;
|
||||
static const jint TEXT_METRICS_X_ADVANCE = 4;
|
||||
static const jint TEXT_METRICS_Y_ADVANCE = 5;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_awt_peer_gtk_GdkFontMetrics__
|
|
@ -109,7 +109,7 @@ public:
|
|||
virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
|
||||
public: // actually package-private
|
||||
virtual ::java::awt::font::GlyphMetrics * getGlyphMetrics(jint);
|
||||
virtual void putGlyphMetrics(jint, ::java::lang::Object *);
|
||||
virtual void putGlyphMetrics(jint, ::java::awt::font::GlyphMetrics *);
|
||||
static ::java::awt::font::FontRenderContext * DEFAULT_CTX;
|
||||
::java::util::HashMap * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::ClasspathFontPeer)))) textLayoutCache;
|
||||
private:
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#pragma interface
|
||||
|
||||
#include <java/awt/GraphicsEnvironment.h>
|
||||
#include <gnu/java/awt/ClasspathGraphicsEnvironment.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
|
@ -38,12 +38,15 @@ extern "Java"
|
|||
namespace image
|
||||
{
|
||||
class BufferedImage;
|
||||
class ColorModel;
|
||||
class SampleModel;
|
||||
class WritableRaster;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::awt::peer::gtk::GdkGraphicsEnvironment : public ::java::awt::GraphicsEnvironment
|
||||
class gnu::java::awt::peer::gtk::GdkGraphicsEnvironment : public ::gnu::java::awt::ClasspathGraphicsEnvironment
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
|
@ -71,8 +74,10 @@ public:
|
|||
virtual JArray< ::java::lang::String * > * getAvailableFontFamilyNames(::java::util::Locale *);
|
||||
public: // actually package-private
|
||||
virtual JArray< jint > * getMouseCoordinates();
|
||||
public:
|
||||
virtual ::java::awt::image::WritableRaster * createRaster(::java::awt::image::ColorModel *, ::java::awt::image::SampleModel *);
|
||||
private:
|
||||
jint __attribute__((aligned(__alignof__( ::java::awt::GraphicsEnvironment)))) native_state;
|
||||
jint __attribute__((aligned(__alignof__( ::gnu::java::awt::ClasspathGraphicsEnvironment)))) native_state;
|
||||
::gnu::java::awt::peer::gtk::GdkScreenGraphicsDevice * defaultDevice;
|
||||
JArray< ::gnu::java::awt::peer::gtk::GdkScreenGraphicsDevice * > * devices;
|
||||
public:
|
||||
|
|
|
@ -1,40 +0,0 @@
|
|||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_awt_peer_gtk_GtkToolkit$1__
|
||||
#define __gnu_java_awt_peer_gtk_GtkToolkit$1__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Thread.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace awt
|
||||
{
|
||||
namespace peer
|
||||
{
|
||||
namespace gtk
|
||||
{
|
||||
class GtkToolkit$1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::awt::peer::gtk::GtkToolkit$1 : public ::java::lang::Thread
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
GtkToolkit$1(::java::lang::String *);
|
||||
public:
|
||||
void run();
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_awt_peer_gtk_GtkToolkit$1__
|
|
@ -141,7 +141,7 @@ class gnu::java::awt::peer::gtk::GtkToolkit : public ::gnu::java::awt::Classpath
|
|||
{
|
||||
|
||||
public: // actually package-private
|
||||
static void gtkInit(jint);
|
||||
static void gtkInit(jint, ::java::lang::Object *);
|
||||
static void gtkMain();
|
||||
static void gtkQuit();
|
||||
public:
|
||||
|
@ -215,6 +215,10 @@ public:
|
|||
virtual ::java::awt::GraphicsEnvironment * getLocalGraphicsEnvironment();
|
||||
virtual ::java::awt::Font * createFont(jint, ::java::io::InputStream *);
|
||||
virtual ::java::awt::peer::RobotPeer * createRobot(::java::awt::GraphicsDevice *);
|
||||
virtual jboolean getLockingKeyState(jint);
|
||||
public: // actually protected
|
||||
virtual jint getLockState(jint);
|
||||
public:
|
||||
virtual void registerImageIOSpis(::javax::imageio::spi::IIORegistry *);
|
||||
public: // actually protected
|
||||
virtual ::java::awt::peer::MouseInfoPeer * getMouseInfoPeer();
|
||||
|
@ -224,6 +228,8 @@ private:
|
|||
void checkHeadless();
|
||||
public:
|
||||
virtual jint getMouseNumberOfButtons();
|
||||
public: // actually package-private
|
||||
static ::java::lang::Object * GTK_LOCK;
|
||||
private:
|
||||
static ::java::awt::EventQueue * q;
|
||||
::gnu::java::awt::peer::gtk::GtkToolkit$LRUCache * __attribute__((aligned(__alignof__( ::gnu::java::awt::ClasspathToolkit)))) fontCache;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue