Created
June 25, 2010 03:36
-
-
Save madebyjeffrey/452358 to your computer and use it in GitHub Desktop.
This file contains 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
// The Controller: | |
// The controller is created: | |
viewDidLoad: | |
CGRect starsize = CGRectMake(0, 0, 2048, 2048); | |
self.starmap.scrollView.bounds = starsize; | |
self.starmap.frame = starsize; | |
[self.starmap setNeedsDisplay]; | |
// Part of the view | |
- (void)drawRect:(CGRect)rect { | |
UIBezierPath *p = [UIBezierPath bezierPathWithRect: CGRectMake(100, 100, 1500, 1500)]; | |
[[UIColor whiteColor] set]; | |
p.lineWidth = 5; | |
[p stroke]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment