sk.upjs.fontmapper
Class GlyphDataWriter.GlyphData

java.lang.Object
  extended by sk.upjs.fontmapper.GlyphDataWriter.GlyphData
Enclosing class:
GlyphDataWriter

protected class GlyphDataWriter.GlyphData
extends java.lang.Object

Stores output data for single glyph.


Field Summary
 int advance
          Pixels to move the pen after drawing the glyph.
 java.awt.Point offset
          Offset from the pen to the bottom-left corner of the glyph.
 java.awt.Dimension size
          Size of the glyph in pixels.
 java.awt.geom.Point2D.Float texcoordMax
          Bottom-right texture coordinate of the glyph.
 java.awt.geom.Point2D.Float texcoordMin
          Top-left texture coordinate of the glyph.
 
Constructor Summary
GlyphDataWriter.GlyphData()
          Constructor.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

offset

public java.awt.Point offset
Offset from the pen to the bottom-left corner of the glyph.


advance

public int advance
Pixels to move the pen after drawing the glyph.


size

public java.awt.Dimension size
Size of the glyph in pixels.


texcoordMin

public java.awt.geom.Point2D.Float texcoordMin
Top-left texture coordinate of the glyph.


texcoordMax

public java.awt.geom.Point2D.Float texcoordMax
Bottom-right texture coordinate of the glyph.

Constructor Detail

GlyphDataWriter.GlyphData

public GlyphDataWriter.GlyphData()
Constructor. Initializes non-primitive members.