Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Cosmetics

  • Loading branch information...
commit da3f26e93d3dda2da1d21fca49d8ffa95ce5b145 1 parent 4f1910a
@phoboslab authored
Showing with 1 addition and 4 deletions.
  1. +1 −4 Classes/Ejecta/EJCanvas/EJPath.mm
View
5 Classes/Ejecta/EJCanvas/EJPath.mm
@@ -477,7 +477,6 @@ - (void)drawLinesToContext:(EJCanvasContext *)context {
BOOL addCaps = (projectedLineWidth > 2 && (state->lineCap == kEJLineCapRound || state->lineCap == kEJLineCapSquare));
// The miter limit is the maximum allowed ratio of the miter length to half the line width.
- // For thin lines we skip computing the miter completely.
BOOL addMiter = (state->lineJoin == kEJLineJoinMiter);
float miterLimit = (state->miterLimit * width2);
@@ -544,9 +543,7 @@ - (void)drawLinesToContext:(EJCanvasContext *)context {
current = next;
next = EJVector2ApplyTransform( *transNext, inverseTransform );
- if( !transCurrent ) {
- continue;
- }
+ if( !transCurrent ) { continue; }
currentEdge = nextEdge;
currentExt = nextExt;
Please sign in to comment.
Something went wrong with that request. Please try again.