|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface that allows geometric transformation between layout and graphic space. Typically implemented by the layout engine, which manages the layout dimensions and directions used by this transform. Typically used by layout views as part of validateLayoutDisplay(). For efficiency, the transformation state is typically pre-computed and remains constant throughout the layout process. As such, it typically requires some form of initialization before each layout.
Method Summary | |
Point3 |
fromGraphicPosition(Point3 point,
Point3 retVal)
Transforms a position from graphic to layout space. |
Size3 |
fromGraphicSize(Size3 size,
Size3 retVal)
Transforms a size from graphic to layout space. |
Point3 |
toGraphicPosition(Point3 point,
Point3 retVal)
Transforms a position from layout to graphic space. |
Size3 |
toGraphicSize(Size3 size,
Size3 retVal)
Transforms a size from layout to graphic space. |
Method Detail |
public Point3 toGraphicPosition(Point3 point, Point3 retVal)
point
- Position in layout space. Never null.retVal
- Return value object. Position in graphic space.
Never null.
public Point3 fromGraphicPosition(Point3 point, Point3 retVal)
point
- Position in graphic space. Never null.retVal
- Return value object. Position in layout space.
Never null.
public Size3 toGraphicSize(Size3 size, Size3 retVal)
size
- Size in layout space. Never null.retVal
- Return value object. Size in graphic space.
Never null.
public Size3 fromGraphicSize(Size3 size, Size3 retVal)
size
- Size in graphic space. Never null.retVal
- Return value object. Size in layout space.
Never null.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |