From 554fd8c5195424bdbcabf5de30fdc183aba391bd Mon Sep 17 00:00:00 2001 From: upstream source tree Date: Sun, 15 Mar 2015 20:14:05 -0400 Subject: obtained gcc-4.6.4.tar.bz2 from upstream website; verified gcc-4.6.4.tar.bz2.sig; imported gcc-4.6.4 source tree from verified upstream tarball. downloading a git-generated archive based on the 'upstream' tag should provide you with a source tree that is binary identical to the one extracted from the above tarball. if you have obtained the source via the command 'git clone', however, do note that line-endings of files in your working directory might differ from line-endings of the respective files in the upstream repository. --- .../gnu/java/awt/font/opentype/truetype/Fixed.h | 58 ++++++++ .../java/awt/font/opentype/truetype/GlyphLoader.h | 92 +++++++++++++ .../font/opentype/truetype/GlyphLocator$FourByte.h | 54 ++++++++ .../font/opentype/truetype/GlyphLocator$TwoByte.h | 54 ++++++++ .../java/awt/font/opentype/truetype/GlyphLocator.h | 54 ++++++++ .../awt/font/opentype/truetype/GlyphMeasurer.h | 66 +++++++++ .../gnu/java/awt/font/opentype/truetype/Point.h | 99 +++++++++++++ .../awt/font/opentype/truetype/TrueTypeScaler.h | 76 ++++++++++ .../awt/font/opentype/truetype/VirtualMachine.h | 153 +++++++++++++++++++++ libjava/gnu/java/awt/font/opentype/truetype/Zone.h | 92 +++++++++++++ .../awt/font/opentype/truetype/ZonePathIterator.h | 68 +++++++++ 11 files changed, 866 insertions(+) create mode 100644 libjava/gnu/java/awt/font/opentype/truetype/Fixed.h create mode 100644 libjava/gnu/java/awt/font/opentype/truetype/GlyphLoader.h create mode 100644 libjava/gnu/java/awt/font/opentype/truetype/GlyphLocator$FourByte.h create mode 100644 libjava/gnu/java/awt/font/opentype/truetype/GlyphLocator$TwoByte.h create mode 100644 libjava/gnu/java/awt/font/opentype/truetype/GlyphLocator.h create mode 100644 libjava/gnu/java/awt/font/opentype/truetype/GlyphMeasurer.h create mode 100644 libjava/gnu/java/awt/font/opentype/truetype/Point.h create mode 100644 libjava/gnu/java/awt/font/opentype/truetype/TrueTypeScaler.h create mode 100644 libjava/gnu/java/awt/font/opentype/truetype/VirtualMachine.h create mode 100644 libjava/gnu/java/awt/font/opentype/truetype/Zone.h create mode 100644 libjava/gnu/java/awt/font/opentype/truetype/ZonePathIterator.h (limited to 'libjava/gnu/java/awt/font/opentype/truetype') diff --git a/libjava/gnu/java/awt/font/opentype/truetype/Fixed.h b/libjava/gnu/java/awt/font/opentype/truetype/Fixed.h new file mode 100644 index 000000000..9427f135a --- /dev/null +++ b/libjava/gnu/java/awt/font/opentype/truetype/Fixed.h @@ -0,0 +1,58 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_font_opentype_truetype_Fixed__ +#define __gnu_java_awt_font_opentype_truetype_Fixed__ + +#pragma interface + +#include +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace font + { + namespace opentype + { + namespace truetype + { + class Fixed; + } + } + } + } + } + } +} + +class gnu::java::awt::font::opentype::truetype::Fixed : public ::java::lang::Object +{ + + 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; + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_font_opentype_truetype_Fixed__ diff --git a/libjava/gnu/java/awt/font/opentype/truetype/GlyphLoader.h b/libjava/gnu/java/awt/font/opentype/truetype/GlyphLoader.h new file mode 100644 index 000000000..f0582d347 --- /dev/null +++ b/libjava/gnu/java/awt/font/opentype/truetype/GlyphLoader.h @@ -0,0 +1,92 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_font_opentype_truetype_GlyphLoader__ +#define __gnu_java_awt_font_opentype_truetype_GlyphLoader__ + +#pragma interface + +#include +#include + +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace font + { + namespace opentype + { + class Hinter; + namespace truetype + { + class GlyphLoader; + class GlyphLocator; + class GlyphMeasurer; + class VirtualMachine; + class Zone; + } + } + } + } + } + } + namespace java + { + namespace awt + { + namespace geom + { + class AffineTransform; + } + } + namespace nio + { + class ByteBuffer; + } + } +} + +class gnu::java::awt::font::opentype::truetype::GlyphLoader : public ::java::lang::Object +{ + +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 *, ::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, ::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 *); + void setPhantomPoints(jint, jint, ::gnu::java::awt::font::opentype::truetype::Zone *); + ::gnu::java::awt::font::opentype::truetype::GlyphLocator * __attribute__((aligned(__alignof__( ::java::lang::Object)))) glyphLocator; + ::gnu::java::awt::font::opentype::truetype::GlyphMeasurer * glyphMeasurer; + ::gnu::java::awt::font::opentype::truetype::VirtualMachine * vm; + jint unitsPerEm; + JArray< jint > * contourEndPoints; + JArray< jbyte > * pointFlags; + static const jshort ARGS_ARE_WORDS = 1; + static const jshort ARGS_ARE_XY_VALUES = 2; + static const jshort ROUND_XY_TO_GRID = 4; + static const jshort WE_HAVE_A_SCALE = 8; + static const jshort MORE_COMPONENTS = 32; + static const jshort WE_HAVE_AN_X_AND_Y_SCALE = 64; + static const jshort WE_HAVE_A_TWO_BY_TWO = 128; + static const jshort WE_HAVE_INSTRUCTIONS = 256; + static const jshort USE_MY_METRICS = 512; + static const jshort OVERLAP_COMPOUND = 1024; + static const jshort SCALED_COMPONENT_OFFSET = 2048; + static const jshort UNSCALED_COMPONENT_OFFSET = 4096; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_font_opentype_truetype_GlyphLoader__ diff --git a/libjava/gnu/java/awt/font/opentype/truetype/GlyphLocator$FourByte.h b/libjava/gnu/java/awt/font/opentype/truetype/GlyphLocator$FourByte.h new file mode 100644 index 000000000..1e06f6953 --- /dev/null +++ b/libjava/gnu/java/awt/font/opentype/truetype/GlyphLocator$FourByte.h @@ -0,0 +1,54 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_font_opentype_truetype_GlyphLocator$FourByte__ +#define __gnu_java_awt_font_opentype_truetype_GlyphLocator$FourByte__ + +#pragma interface + +#include +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace font + { + namespace opentype + { + namespace truetype + { + class GlyphLocator$FourByte; + } + } + } + } + } + } + namespace java + { + namespace nio + { + class ByteBuffer; + class IntBuffer; + } + } +} + +class gnu::java::awt::font::opentype::truetype::GlyphLocator$FourByte : public ::gnu::java::awt::font::opentype::truetype::GlyphLocator +{ + +public: // actually package-private + GlyphLocator$FourByte(::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *); +public: + ::java::nio::ByteBuffer * getGlyphData(jint); +public: // actually package-private + ::java::nio::IntBuffer * __attribute__((aligned(__alignof__( ::gnu::java::awt::font::opentype::truetype::GlyphLocator)))) indexToLoc; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_font_opentype_truetype_GlyphLocator$FourByte__ diff --git a/libjava/gnu/java/awt/font/opentype/truetype/GlyphLocator$TwoByte.h b/libjava/gnu/java/awt/font/opentype/truetype/GlyphLocator$TwoByte.h new file mode 100644 index 000000000..7489c5e4e --- /dev/null +++ b/libjava/gnu/java/awt/font/opentype/truetype/GlyphLocator$TwoByte.h @@ -0,0 +1,54 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_font_opentype_truetype_GlyphLocator$TwoByte__ +#define __gnu_java_awt_font_opentype_truetype_GlyphLocator$TwoByte__ + +#pragma interface + +#include +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace font + { + namespace opentype + { + namespace truetype + { + class GlyphLocator$TwoByte; + } + } + } + } + } + } + namespace java + { + namespace nio + { + class ByteBuffer; + class CharBuffer; + } + } +} + +class gnu::java::awt::font::opentype::truetype::GlyphLocator$TwoByte : public ::gnu::java::awt::font::opentype::truetype::GlyphLocator +{ + +public: // actually package-private + GlyphLocator$TwoByte(::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *); +public: + ::java::nio::ByteBuffer * getGlyphData(jint); +public: // actually package-private + ::java::nio::CharBuffer * __attribute__((aligned(__alignof__( ::gnu::java::awt::font::opentype::truetype::GlyphLocator)))) indexToLoc; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_font_opentype_truetype_GlyphLocator$TwoByte__ diff --git a/libjava/gnu/java/awt/font/opentype/truetype/GlyphLocator.h b/libjava/gnu/java/awt/font/opentype/truetype/GlyphLocator.h new file mode 100644 index 000000000..aa93b65be --- /dev/null +++ b/libjava/gnu/java/awt/font/opentype/truetype/GlyphLocator.h @@ -0,0 +1,54 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_font_opentype_truetype_GlyphLocator__ +#define __gnu_java_awt_font_opentype_truetype_GlyphLocator__ + +#pragma interface + +#include +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace font + { + namespace opentype + { + namespace truetype + { + class GlyphLocator; + } + } + } + } + } + } + namespace java + { + namespace nio + { + class ByteBuffer; + } + } +} + +class gnu::java::awt::font::opentype::truetype::GlyphLocator : public ::java::lang::Object +{ + +public: // actually package-private + GlyphLocator(); +public: + static ::gnu::java::awt::font::opentype::truetype::GlyphLocator * forTable(jint, ::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *); + virtual ::java::nio::ByteBuffer * getGlyphData(jint) = 0; +public: // actually protected + ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) glyfTable; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_font_opentype_truetype_GlyphLocator__ diff --git a/libjava/gnu/java/awt/font/opentype/truetype/GlyphMeasurer.h b/libjava/gnu/java/awt/font/opentype/truetype/GlyphMeasurer.h new file mode 100644 index 000000000..558584d4f --- /dev/null +++ b/libjava/gnu/java/awt/font/opentype/truetype/GlyphMeasurer.h @@ -0,0 +1,66 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_font_opentype_truetype_GlyphMeasurer__ +#define __gnu_java_awt_font_opentype_truetype_GlyphMeasurer__ + +#pragma interface + +#include +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace font + { + namespace opentype + { + namespace truetype + { + class GlyphMeasurer; + } + } + } + } + } + } + namespace java + { + namespace nio + { + class ByteBuffer; + class ShortBuffer; + } + } +} + +class gnu::java::awt::font::opentype::truetype::GlyphMeasurer : public ::java::lang::Object +{ + +public: // actually package-private + GlyphMeasurer(::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *); +public: + jint getAscent(jboolean); + jint getDescent(jboolean); + jint getLineGap(jboolean); + jint getAdvanceWidth(jint, jboolean); + jint getAdvanceHeight(jint, jboolean); +private: + ::java::nio::ShortBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) horizontalGlyphMetrics; + ::java::nio::ShortBuffer * verticalGlyphMetrics; + jint numLongHorizontalMetricsEntries; + jint numLongVerticalMetricsEntries; + jint horizontalAscent; + jint verticalAscent; + jint horizontalDescent; + jint verticalDescent; + jint horizontalLineGap; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_font_opentype_truetype_GlyphMeasurer__ diff --git a/libjava/gnu/java/awt/font/opentype/truetype/Point.h b/libjava/gnu/java/awt/font/opentype/truetype/Point.h new file mode 100644 index 000000000..a993ca023 --- /dev/null +++ b/libjava/gnu/java/awt/font/opentype/truetype/Point.h @@ -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 +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__ diff --git a/libjava/gnu/java/awt/font/opentype/truetype/TrueTypeScaler.h b/libjava/gnu/java/awt/font/opentype/truetype/TrueTypeScaler.h new file mode 100644 index 000000000..fadc996cc --- /dev/null +++ b/libjava/gnu/java/awt/font/opentype/truetype/TrueTypeScaler.h @@ -0,0 +1,76 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_font_opentype_truetype_TrueTypeScaler__ +#define __gnu_java_awt_font_opentype_truetype_TrueTypeScaler__ + +#pragma interface + +#include +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace font + { + namespace opentype + { + class Hinter; + namespace truetype + { + class GlyphLoader; + class GlyphMeasurer; + class TrueTypeScaler; + class Zone; + } + } + } + } + } + } + namespace java + { + namespace awt + { + namespace geom + { + class AffineTransform; + class GeneralPath; + class Point2D; + } + } + namespace nio + { + class ByteBuffer; + } + } +} + +class gnu::java::awt::font::opentype::truetype::TrueTypeScaler : public ::gnu::java::awt::font::opentype::Scaler +{ + +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, ::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: + jfloat scaleFromFUnits(jint, jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean); +public: + jfloat getAscent(jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean, jboolean); + jfloat getDescent(jfloat, ::java::awt::geom::AffineTransform *, jboolean, jboolean, jboolean); +private: + ::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::gnu::java::awt::font::opentype::Scaler)))) glyfTable; + ::gnu::java::awt::font::opentype::truetype::GlyphLoader * glyphLoader; + ::gnu::java::awt::font::opentype::truetype::GlyphMeasurer * glyphMeasurer; + ::gnu::java::awt::font::opentype::truetype::Zone * glyphZone; + jint unitsPerEm; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_font_opentype_truetype_TrueTypeScaler__ diff --git a/libjava/gnu/java/awt/font/opentype/truetype/VirtualMachine.h b/libjava/gnu/java/awt/font/opentype/truetype/VirtualMachine.h new file mode 100644 index 000000000..6193a6d4c --- /dev/null +++ b/libjava/gnu/java/awt/font/opentype/truetype/VirtualMachine.h @@ -0,0 +1,153 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_font_opentype_truetype_VirtualMachine__ +#define __gnu_java_awt_font_opentype_truetype_VirtualMachine__ + +#pragma interface + +#include +#include + +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace font + { + namespace opentype + { + namespace truetype + { + class VirtualMachine; + class Zone; + } + } + } + } + } + } + namespace java + { + namespace awt + { + namespace geom + { + class AffineTransform; + } + } + namespace nio + { + class ByteBuffer; + class ShortBuffer; + } + } +} + +class gnu::java::awt::font::opentype::truetype::VirtualMachine : public ::java::lang::Object +{ + +public: // actually package-private + VirtualMachine(jint, ::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *); +private: + void resetGraphicsState(); + void reloadControlValueTable(); + jint funitsToPixels(jint); +public: + virtual jboolean setup(jdouble, ::java::awt::geom::AffineTransform *, jboolean); +private: + void execute(::java::nio::ByteBuffer *, jint); + void dumpInstruction(::java::nio::ByteBuffer *); + static jchar getNibble(jint, jint); + static ::java::lang::String * getHex(jbyte); + static ::java::lang::String * getHex(jshort); + static void skipAfter(::java::nio::ByteBuffer *, jint, jint, jint, jint, jboolean); + static jint getInstructionLength(jint); + jboolean executeInstruction(::java::nio::ByteBuffer *); + void setRoundingMode(jint, jint); + void deltaC(JArray< jint > *, jint, jint, jint); + ::gnu::java::awt::font::opentype::truetype::Zone * getZone(jint); + jint getProjection(jint, jint); + jint getDualProjection(jint, jint); + jint getProjection(::gnu::java::awt::font::opentype::truetype::Zone *, jint); + jint getOriginalProjection(::gnu::java::awt::font::opentype::truetype::Zone *, jint); + void handleISECT(jint, jint, jint, jint, jint); + static jint muldiv(jint, jint, jint); + jint getFreeDotProj(); + void movePoint(::gnu::java::awt::font::opentype::truetype::Zone *, jint, jint); + void dumpVectors(); + void handleIP(); + void handleMDAP(jint, jboolean); + void handleMIAP(jint, jint, jboolean); + void handleMIRP(jint, jint, jint); + jint round(jint, jint); + static jint nround(jint, jint); + jboolean isRotated(); + jboolean isStretched(); + jint getPixelsPerEM(); + void setProjectionVector(jshort, jshort); + void setFreedomVector(jshort, jshort); + void setDualVector(jshort, jshort); + jint applyCTM_x(jint, jint); + jint applyCTM_y(jint, jint); + static const jboolean PATENTED_HINTING = 0; + static const jboolean TRACE_EXECUTION = 0; + static const jshort ONE_214 = 16384; + JArray< jint > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) storage; + JArray< jint > * stack; + jint maxStackElements; + jint sp; + JArray< ::java::nio::ByteBuffer * > * fdefBuffer; + JArray< jint > * fdefEntryPoint; + ::java::nio::ShortBuffer * controlValueTable; + JArray< jint > * cvt; + jint engineCompensation; + ::java::nio::ByteBuffer * fontProgram; + ::java::nio::ByteBuffer * preProgram; + jint numTwilightPoints; + jint pointSize; + ::java::awt::geom::AffineTransform * deviceTransform; + jint scaleX; + jint scaleY; + jint shearX; + jint shearY; + jboolean antialiased; + jint cvtCutIn; + jint deltaBase; + jint deltaShift; + jshort freeX; + jshort freeY; + jint loop; + jint minimumDistance; + jshort projX; + jshort projY; + jshort dualX; + jshort dualY; + jint rp0; + jint rp1; + jint rp2; + jboolean scanControl; + jint scanType; + jint singleWidthValue; + ::gnu::java::awt::font::opentype::truetype::Zone * zp0; + ::gnu::java::awt::font::opentype::truetype::Zone * zp1; + ::gnu::java::awt::font::opentype::truetype::Zone * zp2; + ::gnu::java::awt::font::opentype::truetype::Zone * twilightZone; + ::gnu::java::awt::font::opentype::truetype::Zone * glyphZone; + jboolean executeGlyphInstructions; + jboolean ignoreCVTProgram; + jint roundPeriod; + jint roundPhase; + jint roundThreshold; + jint cachedPixelsPerEM; + jint unitsPerEm; + static JArray< ::java::lang::String * > * INST_NAME; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_font_opentype_truetype_VirtualMachine__ diff --git a/libjava/gnu/java/awt/font/opentype/truetype/Zone.h b/libjava/gnu/java/awt/font/opentype/truetype/Zone.h new file mode 100644 index 000000000..e5647898e --- /dev/null +++ b/libjava/gnu/java/awt/font/opentype/truetype/Zone.h @@ -0,0 +1,92 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_font_opentype_truetype_Zone__ +#define __gnu_java_awt_font_opentype_truetype_Zone__ + +#pragma interface + +#include +#include + +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace font + { + namespace opentype + { + namespace truetype + { + class Point; + class Zone; + } + } + } + } + } + } + namespace java + { + namespace awt + { + namespace geom + { + class AffineTransform; + class GeneralPath; + class PathIterator; + } + } + } +} + +class gnu::java::awt::font::opentype::truetype::Zone : public ::java::lang::Object +{ + +public: + Zone(jint); + 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); + void setOriginalY(jint, jint); + void setNumPoints(jint); + jboolean isOnCurve(jint); + void setOnCurve(jint, jboolean); + jboolean isContourEnd(jint); + void setContourEnd(jint, jboolean); +public: // actually package-private + void transform(jdouble, ::java::awt::geom::AffineTransform *, jint, jint, jint); + void combineWithSubGlyph(::gnu::java::awt::font::opentype::truetype::Zone *, jint); +private: + void dump(); +public: + ::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< ::gnu::java::awt::font::opentype::truetype::Point * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) points; + jint numPoints; +public: + jdouble scaleX; + jdouble scaleY; + jdouble shearX; + jdouble shearY; + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_font_opentype_truetype_Zone__ diff --git a/libjava/gnu/java/awt/font/opentype/truetype/ZonePathIterator.h b/libjava/gnu/java/awt/font/opentype/truetype/ZonePathIterator.h new file mode 100644 index 000000000..5e64ba875 --- /dev/null +++ b/libjava/gnu/java/awt/font/opentype/truetype/ZonePathIterator.h @@ -0,0 +1,68 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_font_opentype_truetype_ZonePathIterator__ +#define __gnu_java_awt_font_opentype_truetype_ZonePathIterator__ + +#pragma interface + +#include +#include + +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace font + { + namespace opentype + { + namespace truetype + { + class Zone; + class ZonePathIterator; + } + } + } + } + } + } +} + +class gnu::java::awt::font::opentype::truetype::ZonePathIterator : public ::java::lang::Object +{ + +public: // actually package-private + ZonePathIterator(::gnu::java::awt::font::opentype::truetype::Zone *, jint); +public: + jint getWindingRule(); + jboolean isDone(); + void next(); +private: + jint getSuccessor(jint); +public: + jint currentSegment(JArray< jfloat > *); + jint currentSegment(JArray< jdouble > *); +private: + jint getSegment(jint, JArray< jfloat > *); + jint getStartSegment(jint, JArray< jfloat > *); + static const jint EMIT_SEGMENT = 0; + static const jint EMIT_CLOSE = 1; + static const jint EMIT_MOVETO = 2; + jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) state; + ::gnu::java::awt::font::opentype::truetype::Zone * zone; + jint numPoints; + jint curPoint; + jint contourStart; + jint type; +public: // actually package-private + JArray< jfloat > * floats; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_font_opentype_truetype_ZonePathIterator__ -- cgit v1.2.3