Package eu.europa.esig.dss.pdf.visible
Class DPIUtils
java.lang.Object
eu.europa.esig.dss.pdf.visible.DPIUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic floatcomputeProperSize(float x, float dpi) Converts to full quality with the given DPI respectively to a page DPIstatic intGets the given or default of none is providedstatic floatConverts the value to be displayed on a pagestatic intReturns text DPI (300)
-
Method Details
-
getTextDpi
public static int getTextDpi()Returns text DPI (300)- Returns:
- text dpi (300)
-
getDpi
-
computeProperSize
public static float computeProperSize(float x, float dpi) Converts to full quality with the given DPI respectively to a page DPI- Parameters:
x- the value to convertdpi- the dpi to use- Returns:
- converted value
-
getPageScaleFactor
-