|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Hi,
The drawing code uses 6 regular points and 8 control points which are
calculated to fit with cell height and width while creating my desired
shape.
// points and control points established
[bezierPath moveToPoint:p1];
[bezierPath curveToPoint:p2 controlPoint1:c1 controlPoint2:c2];
[bezierPath curveToPoint:p3 controlPoint1:c3 controlPoint2:c4];
[bezierPath lineToPoint:p4];
[bezierPath curveToPoint:p5 controlPoint1:c5 controlPoint2:c6];
[bezierPath curveToPoint:p6 controlPoint1:c7 controlPoint2:c8];
[bezierPath closePath];
| References: | |
| >Re: erasing, redrawing NSBezierPath into and NSImage problem (From: Wilhelm Phillips <email@hidden>) | |
| >Re: erasing, redrawing NSBezierPath into and NSImage problem (From: Yann Bizeul <email@hidden>) | |
| >Re: erasing, redrawing NSBezierPath into and NSImage problem (From: Wilhelm Phillips <email@hidden>) |
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.