Re: drawing rects at runtime
Re: drawing rects at runtime
- Subject: Re: drawing rects at runtime
- From: Shawn Erickson <email@hidden>
- Date: Mon, 19 Dec 2005 13:18:44 -0800
On 12/19/05, Uli Kusterer <email@hidden> wrote:
>
>
Am 19.12.2005 um 13:19 schrieb Harmanpreet Bachal:
>
> i have a window on which i can add any view. My problem is that
>
> at runtime i get to know of a number and depending on this number
>
> (say 5) i have to draw as many rectangles (one beside the other) in
>
> the window so as to form a pictoral representation.
>
> Any help anybody.
>
>
Check out the docs for NSBezierPath. That's what you use in Cocoa to
>
draw rectangles.
Or use the NSRectFill and NSFrameRect family of functions if all you
need are simple rectangles framed or filled.
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden