1:
37:
38:
39: package ;
40:
41: import ;
42: import ;
43: import ;
44: import ;
45: import ;
46: import ;
47:
48:
51: public abstract class GlyphVector implements Cloneable
52: {
53: public static final int FLAG_COMPLEX_GLYPHS = 8;
54: public static final int FLAG_HAS_POSITION_ADJUSTMENTS = 2;
55: public static final int FLAG_HAS_TRANSFORMS = 1;
56: public static final int FLAG_MASK = 15;
57: public static final int FLAG_RUN_RTL = 4;
58:
59:
62: public GlyphVector ()
63: {
64: }
65:
66: public abstract boolean equals (GlyphVector set);
67:
68: public abstract Font getFont ();
69:
70: public abstract FontRenderContext getFontRenderContext ();
71:
72: public int getGlyphCharIndex (int glyphIndex)
73: {
74: throw new Error ("not implemented");
75: }
76:
77: public int[] getGlyphCharIndices (int beginGlyphIndex, int numEntries,
78: int[] codeReturn)
79: {
80: throw new Error ("not implemented");
81: }
82:
83: public abstract int getGlyphCode (int glyphIndex);
84:
85: public abstract int[] getGlyphCodes (int beginGlyphIndex, int numEntries,
86: int[] codeReturn);
87:
88: public abstract GlyphJustificationInfo getGlyphJustificationInfo
89: (int glyphIndex);
90:
91: public abstract Shape getGlyphLogicalBounds (int glyphIndex);
92:
93: public abstract GlyphMetrics getGlyphMetrics (int glyphIndex);
94:
95: public abstract Shape getGlyphOutline (int glyphIndex);
96:
97: public Shape getGlyphOutline (int glyphIndex, float x, float y)
98: {
99: throw new Error ("not implemented");
100: }
101:
102: public Rectangle getGlyphPixelBounds (int index, FontRenderContext renderFRC,
103: float x, float y)
104: {
105: throw new Error ("not implemented");
106: }
107:
108: public abstract Point2D getGlyphPosition (int glyphIndex);
109:
110: public abstract float[] getGlyphPositions (int beginGlyphIndex,
111: int numEntries,
112: float[] positionReturn);
113:
114: public abstract AffineTransform getGlyphTransform (int glyphIndex);
115:
116: public abstract Shape getGlyphVisualBounds (int glyphIndex);
117:
118: public int getLayoutFlags ()
119: {
120: throw new Error ("not implemented");
121: }
122:
123: public abstract Rectangle2D getLogicalBounds ();
124:
125: public abstract int getNumGlyphs ();
126:
127: public abstract Shape getOutline ();
128:
129: public abstract Shape getOutline (float x, float y);
130:
131: public Rectangle getPixelBounds (FontRenderContext renderFRC,
132: float x, float y)
133: {
134: throw new Error ("not implemented");
135: }
136:
137: public abstract Rectangle2D getVisualBounds ();
138:
139: public abstract void performDefaultLayout ();
140:
141: public abstract void setGlyphPosition (int glyphIndex, Point2D newPos);
142:
143: public abstract void setGlyphTransform (int glyphIndex,
144: AffineTransform newTX);
145: }