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

pack-priv Class CTGlyph

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

Field Summary

Modifier and TypeField and Description
private static final int
private static final int
private CGRect
private static boolean
private static long
private boolean
private int
private static final long
private static boolean
private static final int
private static final long
private CTFontStrike
private double
private double

Constructor Summary

AccessConstructor and Description
pack-priv
CTGlyph(CTFontStrike strike, int glyphCode, boolean drawShapes)

Method Summary

Modifier and TypeMethod and Description
private void
private long
createContext(boolean lcd, int width, int height)

public float
public RectBounds
private long
getCachedContext(boolean lcd)

private synchronized byte[]
getColorImage(double x, double y, int w, int h)

public int
public int
private synchronized byte[]
getImage(double x, double y, int w, int h, int subPixel)

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
public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

BITMAP_HEIGHTback to summary
private static final int BITMAP_HEIGHT
BITMAP_WIDTHback to summary
private static final int BITMAP_WIDTH
boundsback to summary
private CGRect bounds
CACHE_CONTEXTback to summary
private static boolean CACHE_CONTEXT
cachedContextRefback to summary
private static long cachedContextRef
drawShapesback to summary
private boolean drawShapes
glyphCodeback to summary
private int glyphCode
GRAY_COLORSPACEback to summary
private static final long GRAY_COLORSPACE
LCD_CONTEXTback to summary
private static boolean LCD_CONTEXT
MAX_SIZEback to summary
private static final int MAX_SIZE
RGB_COLORSPACEback to summary
private static final long RGB_COLORSPACE
strikeback to summary
private CTFontStrike strike
xAdvanceback to summary
private double xAdvance
yAdvanceback to summary
private double yAdvance

Constructor Detail

CTGlyphback to summary
pack-priv CTGlyph(CTFontStrike strike, int glyphCode, boolean drawShapes)

Method Detail

checkBoundsback to summary
private void checkBounds()
createContextback to summary
private long createContext(boolean lcd, int width, int height)
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
getCachedContextback to summary
private long getCachedContext(boolean lcd)
getColorImageback to summary
private synchronized byte[] getColorImage(double x, double y, int w, int h)
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
getImageback to summary
private synchronized byte[] getImage(double x, double y, int w, int h, int subPixel)
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
isColorGlyphback to summary
public boolean isColorGlyph()
isLCDGlyphback to summary
public boolean isLCDGlyph()

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

Annotations
@Override