congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
SVGConverter.setPixelUnitToMillimeter
Code IndexAdd Tabnine to your IDE (free)

How to use
setPixelUnitToMillimeter
method
in
org.apache.batik.apps.rasterizer.SVGConverter

Best Java code snippets using org.apache.batik.apps.rasterizer.SVGConverter.setPixelUnitToMillimeter (Showing top 3 results out of 315)

origin: fr.avianey.apache-xmlgraphics/batik

public void handleOption(float optionValue,
             SVGConverter c){
  if (optionValue <= 0){
    throw new IllegalArgumentException();
  }
  c.setPixelUnitToMillimeter
    ((2.54f/optionValue)*10);
}
origin: apache/batik

public void handleOption(float optionValue,
             SVGConverter c){
  if (optionValue <= 0){
    throw new IllegalArgumentException();
  }
  c.setPixelUnitToMillimeter
    ((2.54f/optionValue)*10);
}
origin: org.apache.xmlgraphics/batik-svgrasterizer

public void handleOption(float optionValue,
             SVGConverter c){
  if (optionValue <= 0){
    throw new IllegalArgumentException();
  }
  c.setPixelUnitToMillimeter
    ((2.54f/optionValue)*10);
}
org.apache.batik.apps.rasterizerSVGConvertersetPixelUnitToMillimeter

Javadoc

Sets the millimeters per pixel constant. A negative value will cause the default value (see org.apache.batik.bridge.UserAgent#getPixelUnitToMillimeter) to be used.

Popular methods of SVGConverter

  • <init>
  • execute
    Starts the conversion process.
  • setDestinationType
    Sets the destinationType attribute value. Should not be null.
  • setDst
    When converting a single source, dst can be a file. Othewise, it should be a directory.
  • setHeight
    In less than or equal to zero, the height is not constrained on the output image. The height is in u
  • setSources
    Sets the list of individual SVG sources. The strings can be either URLs or file names. Note that inv
  • setWidth
    In less than or equal to zero, the width is not constrained on the output image. The width is in use
  • computeDstFiles
    Populates a vector with destination files names computed from the names of the files in the sources
  • computeSources
    Populates a vector with the set of SVG files from the srcDir if it is not null and with the sources
  • computeTranscodingHints
    Computes the set of transcoding hints to use for the operation
  • createOutputDir
    Creates directories for output files if needed.
  • getDestinationFile
    Get the name of the result image file.This method modifies the result filename, it changes the exist
  • createOutputDir,
  • getDestinationFile,
  • getFileNRef,
  • getSecurityOff,
  • isFile,
  • isWriteable,
  • setAllowedScriptTypes,
  • setAlternateStylesheet,
  • setArea,
  • setBackgroundColor

Popular in Java

  • Making http requests using okhttp
  • getApplicationContext (Context)
  • compareTo (BigDecimal)
  • onRequestPermissionsResult (Fragment)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now