/** * Returns the size of a px CSS unit in millimeters. * This will be removed after next release. * @see #getPixelUnitToMillimeter() */ public float getPixelToMM() { return getPixelUnitToMillimeter(); }
/** * Returns the size of a px CSS unit in millimeters. * This will be removed after next release. * @see #getPixelUnitToMillimeter() */ public float getPixelToMM() { return getPixelUnitToMillimeter(); }
/** * Returns the medium font size. */ public float getMediumFontSize() { // 9pt (72pt = 1in) return 9f * 25.4f / (72f * getPixelUnitToMillimeter()); }
/** * Returns the medium font size. */ public float getMediumFontSize() { // 9pt (72pt = 1in) return 9f * 25.4f / (72f * getPixelUnitToMillimeter()); }
/** * Returns the medium font size. */ public float getMediumFontSize() { // 9pt (72pt = 1in) return 9f * 25.4f / (72f * getPixelUnitToMillimeter()); }
/** * Returns the size of a px CSS unit in millimeters. * This will be removed after next release. * @see #getPixelUnitToMillimeter() */ public float getPixelToMM() { return getPixelUnitToMillimeter(); }
/** * Returns the pixel to millimeter conversion factor specified in the * <code>TranscodingHints</code> or 0.26458333 if not specified. */ public float getPixelUnitToMillimeter() { Object obj = SVGAbstractTranscoder.this.hints.get (KEY_PIXEL_UNIT_TO_MILLIMETER); if (obj != null) { return (Float) obj; } return super.getPixelUnitToMillimeter(); }
/** * Returns the pixel to millimeter conversion factor specified in the * <code>TranscodingHints</code> or 0.26458333 if not specified. */ public float getPixelUnitToMillimeter() { Object obj = SVGAbstractTranscoder.this.hints.get (KEY_PIXEL_UNIT_TO_MILLIMETER); if (obj != null) { return ((Float)obj).floatValue(); } return super.getPixelUnitToMillimeter(); }