< prev index next >

modules/javafx.graphics/src/main/java/com/sun/marlin/RendererContext.java

Print this page

        

*** 77,86 **** --- 77,88 ---- 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 float[] clipRect = new float[4]; + // clip inverse scale (mean) to adjust length checks + public float clipInvScale = 0.0f; // CurveBasicMonotonizer instance public final CurveBasicMonotonizer monotonizer; // CurveClipSplitter instance final CurveClipSplitter curveClipSplitter;
*** 157,166 **** --- 159,169 ---- stats.totalOffHeap = 0L; } stroking = 0; doClip = false; closedPath = false; + clipInvScale = 0.0f; // 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 >