Skip to content

Commit

Permalink
fixed white spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
bourgesl committed Nov 2, 2017
1 parent 56db18c commit 25501b7
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ abstract PathIterator getNormalizingPathIterator(DRendererContext rdrCtx,
static final boolean DO_TRACE_PATH = false;

static final boolean DO_CLIP_RUNTIME_ENABLE = MarlinProperties.isDoClipRuntimeFlag();

static final boolean DO_CLIP_TEST = false;

/**
Expand Down
4 changes: 3 additions & 1 deletion src/main/java/org/marlin/pisces/DStroker.java
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ DStroker init(final DPathConsumer2D pc2d,
this.clipRect = _clipRect;
} else {
this.clipRect = null;
this.cOutCode = 0;
this.sOutCode = 0;
}
return this; // fluent API
}
Expand Down Expand Up @@ -586,7 +588,7 @@ public void closePath() {
lineTo(sx0, sy0, true);
}

drawJoin(cdx, cdy, cx0, cy0, sdx, sdy, cmx, cmy, smx, smy, cOutCode);
drawJoin(cdx, cdy, cx0, cy0, sdx, sdy, cmx, cmy, smx, smy, sOutCode);

emitLineTo(sx0 + smx, sy0 + smy);

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/marlin/pisces/MarlinProperties.java
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,11 @@ public static boolean isDoClip() {
public static boolean isDoClipRuntimeFlag() {
return getBoolean("sun.java2d.renderer.clip.runtime.enable", "false");
}

public static boolean isDoClipAtRuntime() {
return getBoolean("sun.java2d.renderer.clip.runtime", "true");
}

// debugging parameters

public static boolean isDoStats() {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/marlin/pisces/MarlinRenderingEngine.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ abstract PathIterator getNormalizingPathIterator(RendererContext rdrCtx,
static final boolean DO_TRACE_PATH = false;

static final boolean DO_CLIP_RUNTIME_ENABLE = MarlinProperties.isDoClipRuntimeFlag();

static final boolean DO_CLIP_TEST = false;

/**
Expand Down
4 changes: 3 additions & 1 deletion src/main/java/org/marlin/pisces/Stroker.java
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,8 @@ Stroker init(final PathConsumer2D pc2d,
this.clipRect = _clipRect;
} else {
this.clipRect = null;
this.cOutCode = 0;
this.sOutCode = 0;
}
return this; // fluent API
}
Expand Down Expand Up @@ -588,7 +590,7 @@ public void closePath() {
lineTo(sx0, sy0, true);
}

drawJoin(cdx, cdy, cx0, cy0, sdx, sdy, cmx, cmy, smx, smy, cOutCode);
drawJoin(cdx, cdy, cx0, cy0, sdx, sdy, cmx, cmy, smx, smy, sOutCode);

emitLineTo(sx0 + smx, sy0 + smy);

Expand Down

0 comments on commit 25501b7

Please sign in to comment.