32 lines
734 B
Java
32 lines
734 B
Java
package org.apache.batik.dom.svg;
|
|
|
|
import java.awt.geom.AffineTransform;
|
|
import java.awt.geom.Rectangle2D;
|
|
|
|
public interface SVGContext {
|
|
public static final int PERCENTAGE_FONT_SIZE = 0;
|
|
public static final int PERCENTAGE_VIEWPORT_HEIGHT = 2;
|
|
public static final int PERCENTAGE_VIEWPORT_SIZE = 3;
|
|
public static final int PERCENTAGE_VIEWPORT_WIDTH = 1;
|
|
|
|
Rectangle2D getBBox();
|
|
|
|
AffineTransform getCTM();
|
|
|
|
float getFontSize();
|
|
|
|
AffineTransform getGlobalTransform();
|
|
|
|
float getPixelToMM();
|
|
|
|
float getPixelUnitToMillimeter();
|
|
|
|
AffineTransform getScreenTransform();
|
|
|
|
float getViewportHeight();
|
|
|
|
float getViewportWidth();
|
|
|
|
void setScreenTransform(AffineTransform affineTransform);
|
|
}
|