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

public Class DWGlyph

extends Object
implements Glyph
Class Inheritance
All Implemented Interfaces
com.sun.javafx.font.Glyph
Imports
com.sun.javafx.font.FontResource, .Glyph, .PrismFontFactory, com.sun.javafx.geom.Point2D, .RectBounds, .Shape

Field Summary

Modifier and TypeField and Description
private static final int
private static final int
private static final int
private static D2D1_COLOR_F
private static final boolean
private static IWICBitmap
private static ID2D1RenderTarget
private static D2D1_MATRIX_3X2_F
private boolean
private DWRITE_GLYPH_METRICS
private byte[][]
private float
private float
private RECT
private RECT[]
private DWRITE_GLYPH_RUN
public static final int
private DWFontStrike
private static D2D1_COLOR_F

Constructor Summary

AccessConstructor and Description
pack-priv
DWGlyph(DWFontStrike strike, int glyphCode, boolean drawShapes)

Method Summary

Modifier and TypeMethod and Description
pack-priv void
pack-priv void
pack-priv IDWriteGlyphRunAnalysis
createAnalysis(float x, float y)

pack-priv IWICBitmap
createBitmap(int width, int height)

pack-priv ID2D1RenderTarget
public float
public RectBounds
pack-priv IWICBitmap
pack-priv ID2D1RenderTarget
pack-priv byte[]
getD2DMask(float subPixelX, float subPixelY, boolean lcd)

public int
public int
pack-priv byte[]
getLCDMask(float subPixelX, float subPixelY)

public int
public int
public byte[]
public byte[]
getPixelData(int subPixel)

Implements com.sun.javafx.font.Glyph.getPixelData.

Returns the glyph mask at the subpixel position specified by subPixel.

public float
public float
public Shape
public int
public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

BITMAP_HEIGHTback to summary
private static final int BITMAP_HEIGHT
BITMAP_PIXEL_FORMATback to summary
private static final int BITMAP_PIXEL_FORMAT
BITMAP_WIDTHback to summary
private static final int BITMAP_WIDTH
BLACKback to summary
private static D2D1_COLOR_F BLACK
CACHE_TARGETback to summary
private static final boolean CACHE_TARGET
cachedBitmapback to summary
private static IWICBitmap cachedBitmap
cachedTargetback to summary
private static ID2D1RenderTarget cachedTarget
D2D2_MATRIX_IDENTITYback to summary
private static D2D1_MATRIX_3X2_F D2D2_MATRIX_IDENTITY
drawShapesback to summary
private boolean drawShapes
metricsback to summary
private DWRITE_GLYPH_METRICS metrics
pixelDataback to summary
private byte[][] pixelData
pixelXAdvanceback to summary
private float pixelXAdvance
pixelYAdvanceback to summary
private float pixelYAdvance
rectback to summary
private RECT rect
rectsback to summary
private RECT[] rects
runback to summary
private DWRITE_GLYPH_RUN run
SHORTMASKback to summary
public static final int SHORTMASK
strikeback to summary
private DWFontStrike strike
WHITEback to summary
private static D2D1_COLOR_F WHITE

Constructor Detail

DWGlyphback to summary
pack-priv DWGlyph(DWFontStrike strike, int glyphCode, boolean drawShapes)

Method Detail

checkBoundsback to summary
pack-priv void checkBounds()
checkMetricsback to summary
pack-priv void checkMetrics()
createAnalysisback to summary
pack-priv IDWriteGlyphRunAnalysis createAnalysis(float x, float y)
createBitmapback to summary
pack-priv IWICBitmap createBitmap(int width, int height)
createRenderingTargetback to summary
pack-priv ID2D1RenderTarget createRenderingTarget(IWICBitmap bitmap)
getAdvanceback to summary
public float getAdvance()

Implements com.sun.javafx.font.Glyph.getAdvance.

Annotations
@Override
getBBoxback to summary
public RectBounds getBBox()

Implements com.sun.javafx.font.Glyph.getBBox.

Annotations
@Override
getCachedBitmapback to summary
pack-priv IWICBitmap getCachedBitmap()
getCachedRenderingTargetback to summary
pack-priv ID2D1RenderTarget getCachedRenderingTarget()
getD2DMaskback to summary
pack-priv byte[] getD2DMask(float subPixelX, float subPixelY, boolean lcd)
getGlyphCodeback to summary
public int getGlyphCode()

Implements com.sun.javafx.font.Glyph.getGlyphCode.

Annotations
@Override
getHeightback to summary
public int getHeight()

Implements com.sun.javafx.font.Glyph.getHeight.

Annotations
@Override
getLCDMaskback to summary
pack-priv byte[] getLCDMask(float subPixelX, float subPixelY)
getOriginXback to summary
public int getOriginX()

Implements com.sun.javafx.font.Glyph.getOriginX.

Annotations
@Override
getOriginYback to summary
public int getOriginY()

Implements com.sun.javafx.font.Glyph.getOriginY.

Annotations
@Override
getPixelDataback to summary
public byte[] getPixelData()

Implements com.sun.javafx.font.Glyph.getPixelData.

Annotations
@Override
getPixelDataback to summary
public byte[] getPixelData(int subPixel)

Implements com.sun.javafx.font.Glyph.getPixelData.

Doc from com.sun.javafx.font.Glyph.getPixelData.

Returns the glyph mask at the subpixel position specified by subPixel.

Annotations
@Override
getPixelXAdvanceback to summary
public float getPixelXAdvance()

Implements com.sun.javafx.font.Glyph.getPixelXAdvance.

Annotations
@Override
getPixelYAdvanceback to summary
public float getPixelYAdvance()

Implements com.sun.javafx.font.Glyph.getPixelYAdvance.

Annotations
@Override
getShapeback to summary
public Shape getShape()

Implements com.sun.javafx.font.Glyph.getShape.

Annotations
@Override
getWidthback to summary
public int getWidth()

Implements com.sun.javafx.font.Glyph.getWidth.

Annotations
@Override
isLCDGlyphback to summary
public boolean isLCDGlyph()

Implements com.sun.javafx.font.Glyph.isLCDGlyph.

Annotations
@Override