public int getDotsPerPixel() { return _sharedContext.getDotsPerPixel(); }
public int getDotsPerPixel() { return sharedContext.getDotsPerPixel(); }
public int getDotsPerPixel() { return _sharedContext.getDotsPerPixel(); }
public int getDotsPerPixel() { return sharedContext.getDotsPerPixel(); }
private void scaleToOutputResolution(Image image) { float factor = _sharedContext.getDotsPerPixel(); if (factor != 1.0f) { image.scaleAbsolute(image.getPlainWidth() * factor, image.getPlainHeight() * factor); } }
private void scaleToOutputResolution(Image image) { float factor = _sharedContext.getDotsPerPixel(); if (factor != 1.0f) { image.scaleAbsolute(image.getPlainWidth() * factor, image.getPlainHeight() * factor); } }
private void scaleToOutputResolution(Image image) { float factor = _sharedContext.getDotsPerPixel(); if (factor != 1.0f) { image.scaleAbsolute(image.getPlainWidth() * factor, image.getPlainHeight() * factor); } }
/** * Scales the image to output resolution.<p> * * @param image the image to scale */ private void scaleToOutputResolution(Image image) { float factor = m_sharedContext.getDotsPerPixel(); if (factor != 1.0f) { image.scaleAbsolute(image.getPlainWidth() * factor, image.getPlainHeight() * factor); } }
private void scaleToOutputResolution(Image image) { float factor = this.sharedContext.getDotsPerPixel(); image.scaleAbsolute(image.getPlainWidth() * factor, image.getPlainHeight() * factor); }
private void scaleToOutputResolution(Image image) { float factor = _sharedContext.getDotsPerPixel(); image.scaleAbsolute(image.getPlainWidth() * factor, image.getPlainHeight() * factor); }
private void scaleToOutputResolution(Image image) { float factor = _sharedContext.getDotsPerPixel(); image.scaleAbsolute(image.getPlainWidth() * factor, image.getPlainHeight() * factor); }
private void scaleToOutputResolution(Image image) { float factor = getSharedContext().getDotsPerPixel(); image.scaleAbsolute(image.getPlainWidth() * factor, image.getPlainHeight() * factor); }
protected void scaleToOutputResolution(Image image) { float factor = getSharedContext().getDotsPerPixel(); image.scaleAbsolute(image.getPlainWidth() * factor, image.getPlainHeight() * factor); }
public ImageResource getImageResource(final String uri) { try { return new ImageResource(uri, new LightITextFSImage(() -> resolveAndOpenStream(uri), getSharedContext().getDotsPerPixel(), baseUrl, uri)); } catch (Exception e) { LOG.warn("Could not retrieve image resource " + uri + " during Confluence export"); } // failure while reading resource return new ImageResource(null, null); }
public ImageResource getImageResource(final String uri) { try { return new ImageResource(uri, new LightITextFSImage(() -> resolveAndOpenStream(uri), getSharedContext().getDotsPerPixel(), baseUrl, uri)); } catch (Exception e) { sandboxTaskContext.log(Level.SEVERE, "Can't get image resource for uri" + uri + ", error: " + e.getMessage()); } // failure while reading resource return new ImageResource(null, null); }
float dpi = shctx.getDotsPerPixel(); if (dpi != 1.0f) img.scaleAbsolute(img.getPlainWidth() * dpi,