| Sign In/My Account | View Cart |
| Article: |
Introduction to Cocoa Graphics | |
| Subject: | Coordinates | |
| Date: | 2006-06-29 10:11:16 | |
| From: | hmalissa | |
| I've been working through this article and I think I can figure it out quite well. But I don't understand this coordinate system, for example the numbers given as arguments in the NSMakeRect command. How do I know how large my CustomView is? If I want my rectangle to scale with window size, how do I do this? Is there a way to determine the width and height of the "drawing area" in the CustomView? | ||