|
|||||||||
| Home >> All >> org >> apache >> batik >> dom >> [ svg overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.batik.dom.svg
Interface SVGContext

- All Known Subinterfaces:
- SVGPathContext, SVGSVGContext
- public interface SVGContext
This interface is the placeholder for SVG application informations.
- Version:
- $Id: SVGContext.java,v 1.15 2004/10/08 16:12:01 deweese Exp $
| Method Summary | |
java.awt.geom.Rectangle2D |
getBBox()
Returns the tight bounding box in current user space (i.e., after application of the transform attribute, if any) on the geometry of all contained graphics elements, exclusive of stroke-width and filter effects). |
java.awt.geom.AffineTransform |
getCTM()
Returns the transformation matrix from current user units (i.e., after application of the transform attribute, if any) to the viewport coordinate system for the nearestViewportElement. |
float |
getFontSize()
Returns the font-size on the associated element. |
java.awt.geom.AffineTransform |
getGlobalTransform()
Returns the global transformation matrix from the current element to the root. |
float |
getPixelToMM()
Returns the size of a px CSS unit in millimeters. |
float |
getPixelUnitToMillimeter()
Returns the size of a px CSS unit in millimeters. |
java.awt.geom.AffineTransform |
getScreenTransform()
Returns the transform from the global transform space to pixels. |
float |
getViewportHeight()
Returns the height of the viewport which directly contains the associated element. |
float |
getViewportWidth()
Returns the width of the viewport which directly contains the associated element. |
void |
setScreenTransform(java.awt.geom.AffineTransform at)
Sets the transform to be used from the global transform space to pixels. |
| Method Detail |
getPixelUnitToMillimeter
public float getPixelUnitToMillimeter()
- Returns the size of a px CSS unit in millimeters.
getPixelToMM
public float getPixelToMM()
- Returns the size of a px CSS unit in millimeters.
This will be removed after next release.
getBBox
public java.awt.geom.Rectangle2D getBBox()
- Returns the tight bounding box in current user space (i.e.,
after application of the transform attribute, if any) on the
geometry of all contained graphics elements, exclusive of
stroke-width and filter effects).
getScreenTransform
public java.awt.geom.AffineTransform getScreenTransform()
- Returns the transform from the global transform space to pixels.
setScreenTransform
public void setScreenTransform(java.awt.geom.AffineTransform at)
- Sets the transform to be used from the global transform space to pixels.
getCTM
public java.awt.geom.AffineTransform getCTM()
- Returns the transformation matrix from current user units
(i.e., after application of the transform attribute, if any) to
the viewport coordinate system for the nearestViewportElement.
getGlobalTransform
public java.awt.geom.AffineTransform getGlobalTransform()
- Returns the global transformation matrix from the current
element to the root.
getViewportWidth
public float getViewportWidth()
- Returns the width of the viewport which directly contains the
associated element.
getViewportHeight
public float getViewportHeight()
- Returns the height of the viewport which directly contains the
associated element.
getFontSize
public float getFontSize()
- Returns the font-size on the associated element.
|
|||||||||
| Home >> All >> org >> apache >> batik >> dom >> [ svg overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC