APIdia Launch Partner
Top Fields Constructors Methods
sun.font

pack-priv Class NativeStrike

extends PhysicalStrike
Class Inheritance
Known Direct Subclasses
sun.font.DelegateStrike
Imports
java.awt.geom.AffineTransform, .GeneralPath, .Point2D, .Rectangle2D, .NoninvertibleTransformException, java.awt.Rectangle

Field Summary

Modifier and TypeField and Description
pack-priv AffineTransform
pack-priv AffineTransform
pack-priv NativeFont
pack-priv int
Inherited from sun.font.PhysicalStrike:
complexTXgetImageWithAdvanceglyphPointMapCacheintGlyphImagesINTMASKlongAddresseslongGlyphImagesmapperpScalerContext

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv
NativeStrike(NativeFont nativeFont, FontStrikeDesc desc, boolean nocache)

Method Summary

Modifier and TypeMethod and Description
private native long
private native long
createScalerContext(byte[] nameBytes, int ptSize, double scale)

pack-priv StrikeMetrics
pack-priv float
getGlyphAdvance(int glyphCode)

Implements abstract sun.font.FontStrike.getGlyphAdvance.

pack-priv void
pack-priv long
getGlyphImagePtr(int glyphCode)

Implements abstract sun.font.FontStrike.getGlyphImagePtr.

pack-priv long
getGlyphImagePtrNoCache(int glyphCode)

pack-priv void
getGlyphImagePtrs(int[] glyphCodes, long[] images, int len)

Implements abstract sun.font.FontStrike.getGlyphImagePtrs.

pack-priv Point2D.Float
getGlyphMetrics(int glyphCode)

Implements abstract sun.font.FontStrike.getGlyphMetrics.

pack-priv GeneralPath
getGlyphOutline(int glyphCode, float x, float y)

Implements abstract sun.font.FontStrike.getGlyphOutline.

pack-priv Rectangle2D.Float
private long[]
private native int
getMaxGlyph(long pScalerContext)

private int
private boolean
Inherited from sun.font.PhysicalStrike:
adjustPointgetCharMetricsgetCodePointAdvancegetGlyphPointgetNumGlyphsgetSlot0GlyphImagePtrs

Field Detail

fontTxback to summary
pack-priv AffineTransform fontTx
invertDevTxback to summary
pack-priv AffineTransform invertDevTx
nativeFontback to summary
pack-priv NativeFont nativeFont
numGlyphsback to summary
pack-priv int numGlyphs

Constructor Detail

NativeStrikeback to summary
pack-priv NativeStrike(NativeFont nativeFont, FontStrikeDesc desc)
NativeStrikeback to summary
pack-priv NativeStrike(NativeFont nativeFont, FontStrikeDesc desc, boolean nocache)

Method Detail

createNullScalerContextback to summary
private native long createNullScalerContext()
createScalerContextback to summary
private native long createScalerContext(byte[] nameBytes, int ptSize, double scale)
getFontMetricsback to summary
pack-priv StrikeMetrics getFontMetrics()

Overrides sun.font.PhysicalStrike.getFontMetrics.

Annotations
@Override
getGlyphAdvanceback to summary
pack-priv float getGlyphAdvance(int glyphCode)

Implements abstract sun.font.FontStrike.getGlyphAdvance.

Annotations
@Override
getGlyphImageBoundsback to summary
pack-priv void getGlyphImageBounds(int glyphcode, Point2D.Float pt, Rectangle result)

Implements abstract sun.font.FontStrike.getGlyphImageBounds.

Annotations
@Override
getGlyphImagePtrback to summary
pack-priv long getGlyphImagePtr(int glyphCode)

Implements abstract sun.font.FontStrike.getGlyphImagePtr.

Annotations
@Override
getGlyphImagePtrNoCacheback to summary
pack-priv long getGlyphImagePtrNoCache(int glyphCode)
getGlyphImagePtrsback to summary
pack-priv void getGlyphImagePtrs(int[] glyphCodes, long[] images, int len)

Implements abstract sun.font.FontStrike.getGlyphImagePtrs.

Annotations
@Override
getGlyphMetricsback to summary
pack-priv Point2D.Float getGlyphMetrics(int glyphCode)

Implements abstract sun.font.FontStrike.getGlyphMetrics.

Annotations
@Override
getGlyphOutlineback to summary
pack-priv GeneralPath getGlyphOutline(int glyphCode, float x, float y)

Implements abstract sun.font.FontStrike.getGlyphOutline.

Annotations
@Override
getGlyphOutlineBoundsback to summary
pack-priv Rectangle2D.Float getGlyphOutlineBounds(int glyphCode)

Implements abstract sun.font.FontStrike.getGlyphOutlineBounds.

Annotations
@Override
getLongGlyphImagesback to summary
private long[] getLongGlyphImages()
getMaxGlyphback to summary
private native int getMaxGlyph(long pScalerContext)
getNativePointSizeback to summary
private int getNativePointSize()
usingIntGlyphImagesback to summary
private boolean usingIntGlyphImages()