Class Resizer.Mapping

java.lang.Object
org.apache.pdfbox.jbig2.image.Resizer.Mapping
Enclosing class:
Resizer

static final class Resizer.Mapping extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final double
     
    private final double
     
    (package private) final double
    x and y offset used by MAP, private fields
    (package private) final double
    x and y scales
  • Constructor Summary

    Constructors
    Constructor
    Description
    Mapping(double scaleX)
     
    Mapping(double a0, double aw, double b0, double bw)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) double
    dstToSrc(double b)
     
    (package private) double
     
    (package private) double
    srcToDst(double a)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • scale

      final double scale
      x and y scales
    • offset

      final double offset
      x and y offset used by MAP, private fields
      See Also:
    • a0

      private final double a0
    • b0

      private final double b0
  • Constructor Details

    • Mapping

      Mapping(double a0, double aw, double b0, double bw)
    • Mapping

      Mapping(double scaleX)
  • Method Details

    • mapPixelCenter

      double mapPixelCenter(int b)
    • dstToSrc

      double dstToSrc(double b)
    • srcToDst

      double srcToDst(double a)