Package com.openhtmltopdf.mathmlsupport
Class MathMLImage
- java.lang.Object
-
- com.openhtmltopdf.mathmlsupport.MathMLImage
-
- All Implemented Interfaces:
com.openhtmltopdf.extend.SVGDrawer.SVGImage
public class MathMLImage extends Object implements com.openhtmltopdf.extend.SVGDrawer.SVGImage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMathMLImage.MathLayoutContext
-
Constructor Summary
Constructors Constructor Description MathMLImage(Element mathMlElement, com.openhtmltopdf.render.Box box, double cssWidth, double cssHeight, double cssMaxWidth, double cssMaxHeight, double dotsPerPixel, List<String> fonts)
-
Method Summary
Modifier and Type Method Description voiddrawSVG(com.openhtmltopdf.extend.OutputDevice outputDevice, com.openhtmltopdf.render.RenderingContext ctx, double x, double y)intgetIntrinsicHeight()intgetIntrinsicWidth()
-
-
-
Method Detail
-
getIntrinsicWidth
public int getIntrinsicWidth()
- Specified by:
getIntrinsicWidthin interfacecom.openhtmltopdf.extend.SVGDrawer.SVGImage
-
getIntrinsicHeight
public int getIntrinsicHeight()
- Specified by:
getIntrinsicHeightin interfacecom.openhtmltopdf.extend.SVGDrawer.SVGImage
-
drawSVG
public void drawSVG(com.openhtmltopdf.extend.OutputDevice outputDevice, com.openhtmltopdf.render.RenderingContext ctx, double x, double y)- Specified by:
drawSVGin interfacecom.openhtmltopdf.extend.SVGDrawer.SVGImage
-
-