• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: drawing rects at runtime
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: drawing rects at runtime


  • Subject: Re: drawing rects at runtime
  • From: Uli Kusterer <email@hidden>
  • Date: Mon, 19 Dec 2005 21:11:56 +0100


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.

Cheers,
-- M. Uli Kusterer
http://www.zathras.de


_______________________________________________
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
  • Follow-Ups:
    • Re: drawing rects at runtime
      • From: Shawn Erickson <email@hidden>
References: 
 >drawing rects at runtime (From: Harmanpreet Bachal <email@hidden>)

  • Prev by Date: Re: creating a nsview without IB
  • Next by Date: Re: connecting a NSButtonCell in an outline view
  • Previous by thread: drawing rects at runtime
  • Next by thread: Re: drawing rects at runtime
  • Index(es):
    • Date
    • Thread