public class T1GlyphFactory extends Object implements GlyphFactory
| Modifier and Type | Field and Description |
|---|---|
protected static int |
C |
protected static int |
H |
protected static int |
L |
protected static int |
M
flags for commands used
|
| Constructor and Description |
|---|
T1GlyphFactory(boolean useFX) |
| Modifier and Type | Method and Description |
|---|---|
void |
closePath()
end a shape, storing info for later
|
void |
curveTo(float x,
float y,
float x2,
float y2,
float x3,
float y3)
add a curve to the shape
|
PdfGlyph |
getGlyph() |
PdfGlyph |
getGlyph(Glyf currentGlyf,
FontFile2 fontTable,
Hmtx currentHmtx,
int idx,
float unitsPerEm,
TTVM vm,
String baseFontName) |
int |
getLSB() |
void |
lineTo(float x,
float y)
add a line to the shape
|
void |
moveTo(float x,
float y)
start a shape by creating a shape object
|
void |
setYMin(float ymin)
set ymin - ie vertical kern
|
boolean |
useFX() |
protected static final int H
protected static final int L
protected static final int M
protected static final int C
public PdfGlyph getGlyph()
getGlyph in interface GlyphFactorypublic final void closePath()
closePath in interface GlyphFactorypublic final void curveTo(float x,
float y,
float x2,
float y2,
float x3,
float y3)
curveTo in interface GlyphFactorypublic final void lineTo(float x,
float y)
lineTo in interface GlyphFactorypublic final void moveTo(float x,
float y)
moveTo in interface GlyphFactorypublic void setYMin(float ymin)
setYMin in interface GlyphFactorypublic int getLSB()
getLSB in interface GlyphFactorypublic boolean useFX()
useFX in interface GlyphFactoryCopyright © 2017. All rights reserved.