Class PSTextPainter.PSTextRun

java.lang.Object
org.apache.fop.render.ps.PSTextPainter.PSTextRun
Enclosing class:
PSTextPainter

private class PSTextPainter.PSTextRun extends Object
  • Field Details

    • textTransform

      private AffineTransform textTransform
    • relativePositions

      private List<Point2D> relativePositions
    • currentGlyphs

      private StringBuffer 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

      public void addGlyph(char glyph, Point2D relPos)
    • addRelativePosition

      private void addRelativePosition(Point2D relPos)
    • noteStartingTransformation

      public void noteStartingTransformation(AffineTransform transform)
    • 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

      private void applyColor(Paint paint) throws IOException
      Throws:
      IOException
    • format

      private String format(org.apache.xmlgraphics.ps.PSGenerator gen, double coord)
    • paintStrokedGlyphs

      private void paintStrokedGlyphs(org.apache.xmlgraphics.java2d.ps.PSGraphics2D g2d, PSTextPainter.TextUtil textUtil, Paint strokePaint, Stroke stroke) throws IOException
      Throws:
      IOException