2026-03-17 13:31:18 -07:00

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);
}