|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.font.format.xtf.tables.XtfGlyph
public class XtfGlyph
An individual glyph. (see Chap01)
| Nested Class Summary | |
|---|---|
class |
XtfGlyph.Point
Points. |
| Constructor Summary | |
|---|---|
XtfGlyph(TtfTableGLYF.Descript gd,
short lsb,
int advance)
Create a new object |
|
| Method Summary | |
|---|---|
int |
getAdvanceWidth()
Returns the advance width. |
short |
getLeftSideBearing()
Returns the left side bearing. |
XtfGlyph.Point |
getPoint(int i)
Returns the point. |
int |
getPointCount()
Returns the count of points. |
void |
reset()
Resets the glyph to the TrueType table settings |
void |
scale(int factor)
Scale |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XtfGlyph(TtfTableGLYF.Descript gd,
short lsb,
int advance)
gd - glyph descriptionlsb - lsbadvance - advance| Method Detail |
|---|
public int getAdvanceWidth()
public short getLeftSideBearing()
public XtfGlyph.Point getPoint(int i)
i - the index
public int getPointCount()
public void reset()
public void scale(int factor)
factor - a 16.16 fixed value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||