Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- child view 1 (0,0,600,900)
- child view 2 (601,0,600,900)
- child view 3 (0,901,600,900)
- child view 4 (601,901,600,900)
- - (void) drawRect: (NSRect) dirtyRect {
- //Just for testing using hardcoded values
- [[NSGraphicsContext currentContext] saveGraphicsState];
- NSAffineTransform *transform = [[NSAffineTransform alloc] init];
- [transform translateXBy:100 yBy:100];
- [transform scaleBy:-2.0];
- [transform set];
- [[NSGraphicsContext currentContext] restoreGraphicsState];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement