Searched refs:POINTS_PER_INCH (Results 1 – 2 of 2) sorted by relevance
42 private static final float POINTS_PER_INCH = 72; field in ImageToPdfTask93 scale = Math.max(extent.height() / POINTS_PER_INCH * mDpi / mBitmap.getHeight(), in writeBitmapToPage()94 extent.width() / POINTS_PER_INCH * mDpi / mBitmap.getWidth()); in writeBitmapToPage()98 scale = Math.min(extent.height() / POINTS_PER_INCH * mDpi / mBitmap.getWidth(), in writeBitmapToPage()99 extent.width() / POINTS_PER_INCH * mDpi / mBitmap.getHeight()); in writeBitmapToPage()142 float targetWidth = (extent.width() / POINTS_PER_INCH * mDpi); in drawOptimized()143 float targetHeight = (extent.height() / POINTS_PER_INCH * mDpi); in drawOptimized()
58 const float POINTS_PER_INCH = MUPDF_DEFAULT_RESOLUTION; in _mupdf_get_hdr() local59 zoom = (image_info->pdf_render_resolution) / POINTS_PER_INCH; in _mupdf_get_hdr()