Unified Typesetting API M1-20040817

de.inghuimische.uta.test
Class SimpleGlyphFactory

java.lang.Object
  extended byde.inghuimische.uta.test.SimpleGlyphFactory
All Implemented Interfaces:
GlyphFactory

public class SimpleGlyphFactory
extends Object
implements GlyphFactory

A simple implementation of the GlyphFactory interface primarily meant for testing purposes.

Author:
Christian Ziesemer

Constructor Summary
SimpleGlyphFactory()
           
 
Method Summary
 Glyph getGlyph(int c, Map attributes)
          Generats a new glyph for every call -- not very efficient.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleGlyphFactory

public SimpleGlyphFactory()
Method Detail

getGlyph

public Glyph getGlyph(int c,
                      Map attributes)
Generats a new glyph for every call -- not very efficient.

Specified by:
getGlyph in interface GlyphFactory
Parameters:
c - The character a glyph is searched for.
attributes - The attributes of the character.
Returns:
A glyph with the character and attributes set.

Unified Typesetting API M1-20040817


An inghuimische.de project.
Copyright (C) 2004 Christian Ziesemer; See the Mozilla Public License for more details.