< prev index next >
modules/javafx.graphics/src/main/java/com/sun/marlin/DRendererContext.java
Print this page
@@ -77,10 +77,12 @@
public boolean doClip = false;
// flag indicating if the path is closed or not (in advance) to handle properly caps
boolean closedPath = false;
// clip rectangle (ymin, ymax, xmin, xmax):
public final double[] clipRect = new double[4];
+ // clip inverse scale (mean) to adjust length checks
+ public double clipInvScale = 0.0d;
// CurveBasicMonotonizer instance
public final CurveBasicMonotonizer monotonizer;
// CurveClipSplitter instance
final CurveClipSplitter curveClipSplitter;
@@ -157,10 +159,11 @@
stats.totalOffHeap = 0L;
}
stroking = 0;
doClip = false;
closedPath = false;
+ clipInvScale = 0.0d;
// if context is maked as DIRTY:
if (dirty) {
// may happen if an exception if thrown in the pipeline processing:
// force cleanup of all possible pipelined blocks (except Renderer):
< prev index next >