class DWFontStrike extends PrismFontStrike<DWFontFile>
Modifier and Type | Field and Description |
---|---|
(package private) DWRITE_MATRIX |
matrix |
(package private) static boolean |
SUBPIXEL_NATIVE |
(package private) static boolean |
SUBPIXEL_ON |
(package private) static boolean |
SUBPIXEL_Y |
drawShapes
Constructor and Description |
---|
DWFontStrike(DWFontFile fontResource,
float size,
BaseTransform tx,
int aaMode,
FontStrikeDesc desc) |
Modifier and Type | Method and Description |
---|---|
protected DisposerRecord |
createDisposer(FontStrikeDesc desc) |
protected Glyph |
createGlyph(int glyphCode) |
protected Path2D |
createGlyphOutline(int glyphCode) |
(package private) RectBounds |
getBBox(int glyphCode) |
(package private) IDWriteFontFace |
getFontFace() |
int |
getQuantizedPosition(Point2D point)
Modifies the point argument to the quantized position suitable for the
underlying glyph rasterizer.
|
(package private) int |
getUpem() |
clearDesc, drawAsShapes, equals, getAAMode, getCharAdvance, getFontResource, getGlyph, getGlyph, getMetrics, getOutline, getSize, getTransform, hashCode, toString
DWRITE_MATRIX matrix
static final boolean SUBPIXEL_ON
static final boolean SUBPIXEL_Y
static final boolean SUBPIXEL_NATIVE
DWFontStrike(DWFontFile fontResource, float size, BaseTransform tx, int aaMode, FontStrikeDesc desc)
protected DisposerRecord createDisposer(FontStrikeDesc desc)
createDisposer
in class PrismFontStrike<DWFontFile>
public int getQuantizedPosition(Point2D point)
FontStrike
Glyph.getPixelData(int)
in order to obtain the correct glyph mask
for the given point.getQuantizedPosition
in interface FontStrike
getQuantizedPosition
in class PrismFontStrike<DWFontFile>
IDWriteFontFace getFontFace()
RectBounds getBBox(int glyphCode)
int getUpem()
protected Path2D createGlyphOutline(int glyphCode)
createGlyphOutline
in class PrismFontStrike<DWFontFile>
protected Glyph createGlyph(int glyphCode)
createGlyph
in class PrismFontStrike<DWFontFile>