Package eu.europa.esig.dss.pdf.visible
Class CommonDrawerUtils
java.lang.Object
eu.europa.esig.dss.pdf.visible.CommonDrawerUtils
public class CommonDrawerUtils extends Object
-
Field Summary
Fields Modifier and Type Field Description protected static int
PDF_DEFAULT_DPI
-
Method Summary
Modifier and Type Method Description static float
computeProperSize(float x, float dpi)
static int
getDpi(Integer dpi)
static float
getPageScaleFactor(Integer dpi)
static float
getRation(Integer dpi)
static int
getTextDpi()
static float
getTextScaleFactor(Integer dpi)
static void
initRendering(Graphics2D g)
static float
toDpiAxisPoint(float x, float dpi)
-
Field Details
-
PDF_DEFAULT_DPI
protected static final int PDF_DEFAULT_DPI- See Also:
- Constant Field Values
-
-
Method Details
-
getTextDpi
public static int getTextDpi() -
getDpi
-
toDpiAxisPoint
public static float toDpiAxisPoint(float x, float dpi) -
computeProperSize
public static float computeProperSize(float x, float dpi) -
getRation
-
getPageScaleFactor
-
getTextScaleFactor
-
initRendering
-