|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.afp.AFPUnitConverter
public class AFPUnitConverter
AFP Unit converter
Constructor Summary | |
---|---|
AFPUnitConverter(AFPPaintingState paintingState)
Unit converter |
Method Summary | |
---|---|
float |
mpt2units(float mpt)
Converts millipoint to unit |
int[] |
mpts2units(float[] srcPts)
Converts millipoints to units |
int[] |
mpts2units(float[] srcPts,
float[] dstPts)
Converts millipoints to units |
float |
pt2units(float pt)
Converts point to unit |
int[] |
pts2units(float[] srcPts)
Converts points to units |
int[] |
pts2units(float[] srcPts,
float[] dstPts)
Converts points to units |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AFPUnitConverter(AFPPaintingState paintingState)
paintingState
- the AFP painting stateMethod Detail |
---|
public int[] mpts2units(float[] srcPts, float[] dstPts)
srcPts
- source pointsdstPts
- destination points
public int[] pts2units(float[] srcPts, float[] dstPts)
srcPts
- source pointsdstPts
- destination points
public int[] mpts2units(float[] srcPts)
srcPts
- source points
public int[] pts2units(float[] srcPts)
srcPts
- source points
public float pt2units(float pt)
pt
- point
public float mpt2units(float mpt)
mpt
- millipoint
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |