Class ComplexGlyphVector
java.lang.Object
org.apache.fop.svg.font.FOPGVTGlyphVector
org.apache.fop.svg.font.ComplexGlyphVector
- All Implemented Interfaces:
org.apache.batik.gvt.font.GVTGlyphVector
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate booleanstatic final AttributedCharacterIterator.Attributestatic final IntegerFields inherited from class FOPGVTGlyphVector
associations, boundingBoxes, font, glyphs, glyphTransforms, glyphVisibilities, gposAdjustments, logicalBounds, outline, positions, text -
Constructor Summary
ConstructorsConstructorDescriptionComplexGlyphVector(FOPGVTFont font, CharacterIterator iter, FontRenderContext frc) -
Method Summary
Modifier and TypeMethodDescriptionbooleanprivate booleanvoidmaybeReverse(boolean mirror) voidprivate static voidreverse(boolean[] ba) private static voidreverse(float[] fa) private static voidreverse(int[] ia) private static voidreverse(int[][] iaa) private static voidreverse(AffineTransform[] ta) private static voidreverse(Rectangle2D[] ra) private booleansubstituteMirroredGlyph(int index, char mirror) Methods inherited from class FOPGVTGlyphVector
draw, getAssociations, getBounds2D, getCharacterCount, getFont, getFontRenderContext, getGeometricBounds, getGlyphCellBounds, getGlyphCode, getGlyphCodes, getGlyphJustificationInfo, getGlyphLogicalBounds, getGlyphMetrics, getGlyphOutline, getGlyphPosition, getGlyphPositionAdjustments, getGlyphPositions, getGlyphTransform, getGlyphVisualBounds, getLogicalBounds, getNumGlyphs, getOutline, getOutline, isGlyphVisible, setGlyphCode, setGlyphPosition, setGlyphTransform, setGlyphVisible
-
Field Details
-
WRITING_MODE
-
WRITING_MODE_RTL
-
reversed
private boolean reversed -
mirrored
private boolean mirrored
-
-
Constructor Details
-
ComplexGlyphVector
ComplexGlyphVector(FOPGVTFont font, CharacterIterator iter, FontRenderContext frc)
-
-
Method Details
-
performDefaultLayout
public void performDefaultLayout()- Specified by:
performDefaultLayoutin interfaceorg.apache.batik.gvt.font.GVTGlyphVector- Overrides:
performDefaultLayoutin classFOPGVTGlyphVector
-
isReversed
public boolean isReversed()- Specified by:
isReversedin interfaceorg.apache.batik.gvt.font.GVTGlyphVector- Overrides:
isReversedin classFOPGVTGlyphVector
-
maybeReverse
public void maybeReverse(boolean mirror) - Specified by:
maybeReversein interfaceorg.apache.batik.gvt.font.GVTGlyphVector- Overrides:
maybeReversein classFOPGVTGlyphVector
-
maybeMirror
private boolean maybeMirror() -
substituteMirroredGlyph
private boolean substituteMirroredGlyph(int index, char mirror) -
reverse
private static void reverse(boolean[] ba) -
reverse
private static void reverse(int[] ia) -
reverse
private static void reverse(int[][] iaa) -
reverse
private static void reverse(float[] fa) -
reverse
-
reverse
-