Package org.apache.fop.svg.font
Class FOPGVTGlyphVector
java.lang.Object
org.apache.fop.svg.font.FOPGVTGlyphVector
- All Implemented Interfaces:
org.apache.batik.gvt.font.GVTGlyphVector
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Listprotected Rectangle2D[]protected final FOPGVTFontprotected int[]protected AffineTransform[]protected boolean[]protected int[][]protected Rectangle2Dprotected GeneralPathprotected float[]protected final TextFragment -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(Graphics2D graphics2d, AttributedCharacterIterator aci) intgetCharacterCount(int startGlyphIndex, int endGlyphIndex) org.apache.batik.gvt.font.GVTFontgetFont()getGlyphCellBounds(int glyphIndex) intgetGlyphCode(int glyphIndex) int[]getGlyphCodes(int beginGlyphIndex, int numEntries, int[] codeReturn) getGlyphJustificationInfo(int glyphIndex) getGlyphLogicalBounds(int glyphIndex) org.apache.batik.gvt.font.GVTGlyphMetricsgetGlyphMetrics(int glyphIndex) getGlyphOutline(int glyphIndex) getGlyphPosition(int glyphIndex) int[][]float[]getGlyphPositions(int beginGlyphIndex, int numEntries, float[] positionReturn) getGlyphTransform(int glyphIndex) getGlyphVisualBounds(int glyphIndex) intgetOutline(float x, float y) booleanisGlyphVisible(int glyphIndex) booleanvoidmaybeReverse(boolean mirror) voidvoidsetGlyphCode(int glyphIndex, int glyphCode) voidsetGlyphPosition(int glyphIndex, Point2D newPos) voidsetGlyphTransform(int glyphIndex, AffineTransform newTX) voidsetGlyphVisible(int glyphIndex, boolean visible)
-
Field Details
-
text
-
font
-
glyphs
protected int[] glyphs -
associations
-
gposAdjustments
protected int[][] gposAdjustments -
positions
protected float[] positions -
boundingBoxes
-
outline
-
glyphTransforms
-
glyphVisibilities
protected boolean[] glyphVisibilities -
logicalBounds
-
-
Method Details
-
performDefaultLayout
public void performDefaultLayout()- Specified by:
performDefaultLayoutin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getFont
public org.apache.batik.gvt.font.GVTFont getFont()- Specified by:
getFontin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getFontRenderContext
- Specified by:
getFontRenderContextin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
setGlyphCode
public void setGlyphCode(int glyphIndex, int glyphCode) -
getGlyphCode
public int getGlyphCode(int glyphIndex) - Specified by:
getGlyphCodein interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getGlyphCodes
public int[] getGlyphCodes(int beginGlyphIndex, int numEntries, int[] codeReturn) - Specified by:
getGlyphCodesin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getGlyphJustificationInfo
- Specified by:
getGlyphJustificationInfoin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getGlyphLogicalBounds
- Specified by:
getGlyphLogicalBoundsin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getGlyphMetrics
public org.apache.batik.gvt.font.GVTGlyphMetrics getGlyphMetrics(int glyphIndex) - Specified by:
getGlyphMetricsin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getGlyphOutline
- Specified by:
getGlyphOutlinein interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getGlyphCellBounds
- Specified by:
getGlyphCellBoundsin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getGlyphPositionAdjustments
public int[][] getGlyphPositionAdjustments() -
getGlyphPosition
- Specified by:
getGlyphPositionin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getGlyphPositions
public float[] getGlyphPositions(int beginGlyphIndex, int numEntries, float[] positionReturn) - Specified by:
getGlyphPositionsin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getGlyphTransform
- Specified by:
getGlyphTransformin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getGlyphVisualBounds
- Specified by:
getGlyphVisualBoundsin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getLogicalBounds
- Specified by:
getLogicalBoundsin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getNumGlyphs
public int getNumGlyphs()- Specified by:
getNumGlyphsin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getOutline
- Specified by:
getOutlinein interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getOutline
- Specified by:
getOutlinein interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getGeometricBounds
- Specified by:
getGeometricBoundsin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getBounds2D
- Specified by:
getBounds2Din interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
setGlyphPosition
- Specified by:
setGlyphPositionin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
setGlyphTransform
- Specified by:
setGlyphTransformin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
setGlyphVisible
public void setGlyphVisible(int glyphIndex, boolean visible) - Specified by:
setGlyphVisiblein interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
isGlyphVisible
public boolean isGlyphVisible(int glyphIndex) - Specified by:
isGlyphVisiblein interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getCharacterCount
public int getCharacterCount(int startGlyphIndex, int endGlyphIndex) - Specified by:
getCharacterCountin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
isReversed
public boolean isReversed()- Specified by:
isReversedin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
maybeReverse
public void maybeReverse(boolean mirror) - Specified by:
maybeReversein interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
draw
- Specified by:
drawin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-