Lines Matching defs:GlyphLayout
38 * GlyphLayout is used to process a run of text into a run of run of
64 * GlyphLayout, call layout on it, then call done(GlyphLayout) when
66 * but it assists in reuse of the GlyphLayout.
83 public final class GlyphLayout {
88 private static volatile GlyphLayout cache; // reusable
180 * Return a new instance of GlyphLayout, using the provided layout engine factory.
183 public static GlyphLayout get(LayoutEngineFactory lef) {
187 GlyphLayout result = null;
188 synchronized(GlyphLayout.class) {
195 result = new GlyphLayout();
202 * Return the old instance of GlyphLayout when you are done. This enables reuse
203 * of GlyphLayout objects.
205 public static void done(GlyphLayout gl) {
502 private GlyphLayout() {