SKShapeNode with filled ellipses as path is drawn with blurry edges

Originator:kasper.muncken
Number:rdar://14742526 Date Originated:08/18/2013
Status:Open Resolved:
Product:iOS Product Version:7.0 Build 5
Classification:UI/Usability Reproducible:Always
 
Summary:
An SKShapeNode presented in an SKScene with its path property set to a CGPathRef created with CGPathCreateWithEllipseInRect is drawn with blurry edges compared to the exact same path drawn in a UIView's drawRect: method.

Steps to Reproduce:
Provided a SpriteKit project with the template code, create an SKShapeNode and modify it as such:

SKShapeNode *node = [[SKShapeNode alloc] init];
node.path = CGPathCreateWithEllipseInRect(rect, NULL);
SKColor *color = [SKColor redColor];
node.fillColor = color;

Then position it and add it as a child of the SKScene provided by the template.

Expected Results:
An ellipses drawn within the CGRect and drawn with an anti aliased edge that fulfill the capabilities of CoreGraphics.

Actual Results:
An ellipses drawn within the CGRect, but with ugly, blurry edge.

Regression:
This is the case for both antiAliased = YES and antiAliased = NO.

Notes:
See sample project.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!