APIdia Launch Partner
Top Fields Constructors Methods
com.sun.javafx.font.directwrite

pack-priv Class DWFontStrike

extends PrismFontStrike<DWFontFile>
Class Inheritance
Imports
com.sun.javafx.font.DisposerRecord, .FontResource, .FontStrikeDesc, .Glyph, .PrismFontFactory, .PrismFontStrike, com.sun.javafx.geom.Path2D, .Point2D, .RectBounds, com.sun.javafx.geom.transform.BaseTransform

Field Summary

Modifier and TypeField and Description
pack-priv DWRITE_MATRIX
pack-priv static final boolean
pack-priv static final boolean
pack-priv static final boolean
Inherited from com.sun.javafx.font.PrismFontStrike:
drawShapes

Constructor Summary

AccessConstructor and Description
pack-priv
DWFontStrike(DWFontFile fontResource, float size, BaseTransform tx, int aaMode, FontStrikeDesc desc)

Method Summary

Modifier and TypeMethod and Description
protected DisposerRecord
protected Glyph
protected Path2D
pack-priv RectBounds
getBBox(int glyphCode)

pack-priv IDWriteFontFace
public int
getQuantizedPosition(Point2D point)

Overrides com.sun.javafx.font.PrismFontStrike.getQuantizedPosition.

Implements com.sun.javafx.font.FontStrike.getQuantizedPosition.

Modifies the point argument to the quantized position suitable for the underlying glyph rasterizer.

pack-priv int
Inherited from com.sun.javafx.font.PrismFontStrike:
clearDescdrawAsShapesequalsgetAAModegetCharAdvancegetFontResourcegetGlyphgetGlyphgetMetricsgetOutlinegetSizegetTransformhashCodetoString

Field Detail

matrixback to summary
pack-priv DWRITE_MATRIX matrix
SUBPIXEL_NATIVEback to summary
pack-priv static final boolean SUBPIXEL_NATIVE
SUBPIXEL_ONback to summary
pack-priv static final boolean SUBPIXEL_ON
SUBPIXEL_Yback to summary
pack-priv static final boolean SUBPIXEL_Y

Constructor Detail

DWFontStrikeback to summary
pack-priv DWFontStrike(DWFontFile fontResource, float size, BaseTransform tx, int aaMode, FontStrikeDesc desc)

Method Detail

createDisposerback to summary
protected DisposerRecord createDisposer(FontStrikeDesc desc)

Implements abstract com.sun.javafx.font.PrismFontStrike.createDisposer.

Annotations
@Override
createGlyphback to summary
protected Glyph createGlyph(int glyphCode)

Implements abstract com.sun.javafx.font.PrismFontStrike.createGlyph.

Annotations
@Override
createGlyphOutlineback to summary
protected Path2D createGlyphOutline(int glyphCode)

Implements abstract com.sun.javafx.font.PrismFontStrike.createGlyphOutline.

Annotations
@Override
getBBoxback to summary
pack-priv RectBounds getBBox(int glyphCode)
getFontFaceback to summary
pack-priv IDWriteFontFace getFontFace()
getQuantizedPositionback to summary
public int getQuantizedPosition(Point2D point)

Overrides com.sun.javafx.font.PrismFontStrike.getQuantizedPosition.

Implements com.sun.javafx.font.FontStrike.getQuantizedPosition.

Doc from com.sun.javafx.font.FontStrike.getQuantizedPosition.

Modifies the point argument to the quantized position suitable for the underlying glyph rasterizer. The return value is the sub pixel index which should be passed to Glyph#getPixelData(int) in order to obtain the correct glyph mask for the given point.

Annotations
@Override
getUpemback to summary
pack-priv int getUpem()