public class TXTState
extends java.lang.Object
Constructor and Description |
---|
TXTState()
Constructs a newly allocated
TXTState object. |
Modifier and Type | Method and Description |
---|---|
CTM |
getResultCTM() |
void |
pop()
Pop the coordinate transformation matrix from the stack and reevaluate
resultCTM . |
void |
push(CTM ctm)
Push the current coordinate transformation matrix onto the stack and
reevaluate
resultCTM . |
CTM |
refineCTM(CTM ctm)
Modifies coordinate transformation matrix in such a way, so
x-shift and y-shift will be transformed in text positions.
|
java.awt.Point |
transformPoint(int x,
int y)
Transforms point (x, y) using
resultCTM . |
java.awt.Point |
transformPoint(java.awt.Point p,
CTM ctm)
Transforms
point using ctm . |
public void push(CTM ctm)
resultCTM
.ctm
- instance of CTMpublic void pop()
resultCTM
.public CTM refineCTM(CTM ctm)
ctm
- CTM to modifypublic java.awt.Point transformPoint(java.awt.Point p, CTM ctm)
point
using ctm
.p
- Pointctm
- CTMpublic java.awt.Point transformPoint(int x, int y)
resultCTM
.x
- x-coordinatey
- y-coordinatepublic CTM getResultCTM()
Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.