Package org.apache.fop.render.ps
Class PSTextPainter.PSTextRun
java.lang.Object
org.apache.fop.render.ps.PSTextPainter.PSTextRun
- Enclosing class:
PSTextPainter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringBufferprivate intprivate AffineTransformprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprivate voidaddRelativePosition(Point2D relPos) private voidapplyColor(Paint paint) private Stringformat(org.apache.xmlgraphics.ps.PSGenerator gen, double coord) intintprivate booleanisXShow()private booleanisYShow()voidnoteStartingTransformation(AffineTransform transform) voidpaint(org.apache.xmlgraphics.java2d.ps.PSGraphics2D g2d, PSTextPainter.TextUtil textUtil, org.apache.batik.gvt.text.TextPaintInfo tpi) private voidpaintStrokedGlyphs(org.apache.xmlgraphics.java2d.ps.PSGraphics2D g2d, PSTextPainter.TextUtil textUtil, Paint strokePaint, Stroke stroke) private voidpaintXYShow(org.apache.xmlgraphics.java2d.ps.PSGraphics2D g2d, PSTextPainter.TextUtil textUtil, Paint paint, boolean x, boolean y) voidreset()
-
Field Details
-
textTransform
-
relativePositions
-
currentGlyphs
-
horizChanges
private int horizChanges -
vertChanges
private int vertChanges
-
-
Constructor Details
-
PSTextRun
private PSTextRun()
-
-
Method Details
-
reset
public void reset() -
getHorizRunLength
public int getHorizRunLength() -
addGlyph
-
addRelativePosition
-
noteStartingTransformation
-
getRunLength
public int getRunLength() -
isXShow
private boolean isXShow() -
isYShow
private boolean isYShow() -
paint
public void paint(org.apache.xmlgraphics.java2d.ps.PSGraphics2D g2d, PSTextPainter.TextUtil textUtil, org.apache.batik.gvt.text.TextPaintInfo tpi) throws IOException - Throws:
IOException
-
paintXYShow
private void paintXYShow(org.apache.xmlgraphics.java2d.ps.PSGraphics2D g2d, PSTextPainter.TextUtil textUtil, Paint paint, boolean x, boolean y) throws IOException - Throws:
IOException
-
applyColor
- Throws:
IOException
-
format
-
paintStrokedGlyphs
private void paintStrokedGlyphs(org.apache.xmlgraphics.java2d.ps.PSGraphics2D g2d, PSTextPainter.TextUtil textUtil, Paint strokePaint, Stroke stroke) throws IOException - Throws:
IOException
-