Created
March 15, 2012 09:16
-
-
Save steipete/2043134 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//// Bezier Drawing | |
UIBezierPath* bezierPath = [UIBezierPath bezierPath]; | |
[bezierPath moveToPoint: CGPointMake(31, 30.5)]; | |
[bezierPath addLineToPoint: CGPointMake(41, 22.5)]; | |
[bezierPath addLineToPoint: CGPointMake(41, 36.5)]; | |
[bezierPath addLineToPoint: CGPointMake(31, 30.5)]; | |
[bezierPath closePath]; | |
[[UIColor blackColor] setFill]; | |
[bezierPath fill]; | |
//// Rectangle Drawing | |
UIBezierPath* rectanglePath = [UIBezierPath bezierPathWithRect: CGRectMake(48, 23, 3, 13)]; | |
[[UIColor blackColor] setFill]; | |
[rectanglePath fill]; | |
//// Rectangle 2 Drawing | |
UIBezierPath* rectangle2Path = [UIBezierPath bezierPathWithRect: CGRectMake(44, 28, 11, 4)]; | |
[[UIColor blackColor] setFill]; | |
[rectangle2Path fill]; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment