| Modifier and Type | Class and Description |
|---|---|
| private class | GlyphLayout.
Utility class to keep track of script runs, which may have to be reordered rtl when we're finished. |
| public static class | GlyphLayout.
Storage for layout to build glyph vector data, then generate a real GlyphVector |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private ArrayList | |
| private FontRunIterator | |
| private GlyphLayout. | |
| private float[] | |
| private int | |
| private Point2D. | |
| private ScriptRun | |
| private FontStrikeDesc | |
| private TextRecord | |
| private int | |
| private static volatile GlyphLayout |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static GlyphLayout | |
| private void | |
| public StandardGlyphVector | Returns: the laid out glyphvector, if result was passed in, it is returnedthe font to use font, FontRenderContext the font render context frc, char[] the text, including optional context before start and after start + count text, int the start of the text to lay out offset, int the length of the text to lay out count, int bidi and context flags flags, StandardGlyphVector java.a StandardGlyphVector to modify, can be null result)Create a glyph vector. |
| private void |
| _ercount | back to summary |
|---|---|
| private int _ercount | |
| _erecords | back to summary |
|---|---|
| private ArrayList<GlyphLayout. | |
| _fontRuns | back to summary |
|---|---|
| private FontRunIterator _fontRuns | |
| _gvdata | back to summary |
|---|---|
| private GlyphLayout. | |
| _mat | back to summary |
|---|---|
| private float[] _mat | |
| _offset | back to summary |
|---|---|
| private int _offset | |
| _pt | back to summary |
|---|---|
| private Point2D. | |
| _scriptRuns | back to summary |
|---|---|
| private ScriptRun _scriptRuns | |
| _sd | back to summary |
|---|---|
| private FontStrikeDesc _sd | |
| _textRecord | back to summary |
|---|---|
| private TextRecord _textRecord | |
| _typo_flags | back to summary |
|---|---|
| private int _typo_flags | |
| cache | back to summary |
|---|---|
| private static volatile GlyphLayout cache | |
| GlyphLayout | back to summary |
|---|---|
| private GlyphLayout() | |
| done | back to summary |
|---|---|
| public static void done(GlyphLayout gl) Return the old instance of GlyphLayout when you are done. This enables reuse of GlyphLayout objects. | |
| get | back to summary |
|---|---|
| public static GlyphLayout get() Return a possibly recycled instance of GlyphLayout | |
| init | back to summary |
|---|---|
| private void init(int capacity) | |
| layout | back to summary |
|---|---|
| public StandardGlyphVector layout(Font font, FontRenderContext frc, char[] text, int offset, int count, int flags, StandardGlyphVector result) Create a glyph vector.
| |
| nextEngineRecord | back to summary |
|---|---|
| private void nextEngineRecord(int start, int limit, int script, Font2D font, int gmask) | |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private Font2D | |
| private int | |
| private int | |
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv void |
| eflags | back to summary |
|---|---|
| private int eflags | |
| font | back to summary |
|---|---|
| private Font2D font | |
| gmask | back to summary |
|---|---|
| private int gmask | |
| limit | back to summary |
|---|---|
| private int limit | |
| script | back to summary |
|---|---|
| private int script | |
| start | back to summary |
|---|---|
| private int start | |
| EngineRecord | back to summary |
|---|---|
| pack-priv EngineRecord() | |
| init | back to summary |
|---|---|
| pack-priv void init(int start, int limit, Font2D font, int script, int gmask) | |
| layout | back to summary |
|---|---|
| pack-priv void layout() | |
| Modifier and Type | Field and Description |
|---|---|
| public int | |
| public int | |
| public int[] | |
| public int[] | |
| public float[] | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public StandardGlyphVector | |
| public void | |
| public void | |
| public void |
| _count | back to summary |
|---|---|
| public int _count | |
| _flags | back to summary |
|---|---|
| public int _flags | |
| _glyphs | back to summary |
|---|---|
| public int[] _glyphs | |
| _indices | back to summary |
|---|---|
| public int[] _indices | |
| _positions | back to summary |
|---|---|
| public float[] _positions | |
| UNINITIALIZED_FLAGS | back to summary |
|---|---|
| private static final int UNINITIALIZED_FLAGS | |
| GVData | back to summary |
|---|---|
| public GVData() | |
| createGlyphVector | back to summary |
|---|---|
| public StandardGlyphVector createGlyphVector(Font font, FontRenderContext frc, StandardGlyphVector result) | |
| grow | back to summary |
|---|---|
| public void grow() | |
| grow | back to summary |
|---|---|
| public void grow(int delta) | |
| init | back to summary |
|---|---|
| public void init(int size) | |
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static SoftReference | |
| private final AffineTransform | |
| private final FontStrikeDesc |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static GlyphLayout. |
| cacheRef | back to summary |
|---|---|
| private static SoftReference<WeakHashMap<GlyphLayout. | |
| ftx | back to summary |
|---|---|
| private final AffineTransform ftx | |
| sd | back to summary |
|---|---|
| private final FontStrikeDesc sd | |
| SDCache | back to summary |
|---|---|
| private SDCache(Font font, FontRenderContext frc) | |
| get | back to summary |
|---|---|
| public static GlyphLayout. | |
| Modifier and Type | Field and Description |
|---|---|
| private final Font | |
| private final FontRenderContext | |
| private final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object o)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public int |
| font | back to summary |
|---|---|
| private final Font font | |
| frc | back to summary |
|---|---|
| private final FontRenderContext frc | |
| hash | back to summary |
|---|---|
| private final int hash | |
| SDKey | back to summary |
|---|---|
| pack-priv SDKey(Font font, FontRenderContext frc) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |