Top Fields Constructors Methods
com.sun.javafx.font.coretext

pack-priv Class CTFontStrike

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

Field Summary

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

Constructor Summary

AccessConstructor and Description
pack-priv
CTFontStrike(CTFontFile fontResource, float size, BaseTransform graphicsTransform, int aaMode, FontStrikeDesc desc)

Method Summary

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

pack-priv long
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 float
pack-priv boolean
Inherited from com.sun.javafx.font.PrismFontStrike:
clearDescdrawAsShapesequalsgetAAModegetCharAdvancegetFontResourcegetGlyphgetGlyphgetMetricsgetOutlinegetSizegetTransformhashCodetoString

Field Detail

fontRefback to summary
private long fontRef
matrixback to summary
pack-priv CGAffineTransform matrix
SUBPIXELback to summary
private static final boolean SUBPIXEL
SUBPIXEL2_SIZEback to summary
pack-priv static final float SUBPIXEL2_SIZE
SUBPIXEL3_SIZEback to summary
pack-priv static final float SUBPIXEL3_SIZE
SUBPIXEL4_SIZEback to summary
pack-priv static final float SUBPIXEL4_SIZE

Constructor Detail

CTFontStrikeback to summary
pack-priv CTFontStrike(CTFontFile fontResource, float size, BaseTransform graphicsTransform, 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 CGRect getBBox(int glyphCode)
getFontRefback to summary
pack-priv long getFontRef()
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
getSubPixelPositionback to summary
pack-priv float getSubPixelPosition(int index)
isSubPixelGlyphback to summary
pack-priv boolean isSubPixelGlyph()