Generated by
JDiff

Class com.itextpdf.kernel.pdf.canvas.parser.clipper.ClipperBridge

Documentation changed from old to new.

Added Constructors
ClipperBridge( Path[]) Creates new ClipperBridge instance with adjusted float multiplier value.
ClipperBridge( Point[][]) Creates new ClipperBridge instance with adjusted float multiplier value.
ClipperBridge() Creates new ClipperBridge instance with default float multiplier value which is 10^14.
 

Added Methods
double  getFloatMultiplier() Gets multiplier coefficient for converting our floating point numbers into fixed point numbers.
 

Changed Methods
boolean  addPolygonToClipper( IClipper, Point[] , PolyType ) Change from static to non-static.
Adds polygon path based on array of com.itextpdf.kernel.geom.Point (internally converting them by .convertToLongPoints) and adds this path to IClipper instance, treating the path as a closed polygon.
boolean  addPolylineSubjectToClipper( IClipper, Point[] ) Change from static to non-static.
Adds polyline path based on array of com.itextpdf.kernel.geom.Point (internally converting them by .convertToLongPoints) and adds this path to IClipper instance, treating the path as a polyline (an open path in terms of clipper library).
List  convertToFloatPoints( List) Change from static to non-static.
Converts list of Point.LongPoint objects into list of com.itextpdf.kernel.geom.Point objects.
List  convertToLongPoints( List) Change from static to non-static.
Converts list of com.itextpdf.kernel.geom.Point objects into list of Point.LongPoint objects.
Path  convertToPath( PolyTree) Change from static to non-static.
Converts Clipper library PolyTree abstraction into iText com.itextpdf.kernel.geom.Path object.
float  longRectCalculateHeight( LongRect) Change from static to non-static.
Calculates the height of the rectangle represented by the LongRect object.
float  longRectCalculateWidth( LongRect) Change from static to non-static.
Calculates the width of the rectangle represented by the LongRect object.
List  addPath( ClipperOffset, Path , JoinType , EndType ) Change from static to non-static.
Adds all iText Subpaths of the iText com.itextpdf.kernel.geom.Path to the ClipperOffset object with one note: it doesn't add degenerate subpaths.
void  addPath( IClipper, Path , PolyType ) Change from static to non-static.
Adds iText com.itextpdf.kernel.geom.Path to the given IClipper object.
 

Changed Fields
Double  floatMultiplier Change in type from double to Double.
Documentation changed from old to new.
Since the clipper library uses integer coordinates, we should convert our floating point numbers into fixed point numbers by multiplying by this coefficient.