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 StringBuffer
private int
private AffineTransform
private int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
private void
addRelativePosition
(Point2D relPos) private void
applyColor
(Paint paint) private String
format
(org.apache.xmlgraphics.ps.PSGenerator gen, double coord) int
int
private boolean
isXShow()
private boolean
isYShow()
void
noteStartingTransformation
(AffineTransform transform) void
paint
(org.apache.xmlgraphics.java2d.ps.PSGraphics2D g2d, PSTextPainter.TextUtil textUtil, org.apache.batik.gvt.text.TextPaintInfo tpi) private void
paintStrokedGlyphs
(org.apache.xmlgraphics.java2d.ps.PSGraphics2D g2d, PSTextPainter.TextUtil textUtil, Paint strokePaint, Stroke stroke) private void
paintXYShow
(org.apache.xmlgraphics.java2d.ps.PSGraphics2D g2d, PSTextPainter.TextUtil textUtil, Paint paint, boolean x, boolean y) void
reset()
-
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
-