• 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: Method to fill with "Aqua"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Method to fill with "Aqua"


  • Subject: Re: Method to fill with "Aqua"
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Fri, 16 May 2003 16:06:37 +0200

No need to write a methode. You can do color (or patern) with an image.
You creat a color [NSColor paternWithImage:] and use this color patern to
fill a rect. But this color already exist. So just fill a rect with:
[NSColor windowBackgroundColor];
Cocoa is not more difficult than that.

For more information read The Cocoa Documentation. All responses are in the
NSColor page.
> Message: 13
> Date: Fri, 16 May 2003 00:03:06 -0700
> Subject: Method to fill with "Aqua"
> From: Steve Gehrman <email@hidden>
> To: email@hidden
>
> Just wondering if anyone has written a method to fill a rect with
> "Aqua". It doesn't seem like it would be too hard to do, the hardest
> part is matching the colors.
>
> Please email me code if anyone has done this. It's really amazing
> that Apple didn't provide something for this.
>
> -steve
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: [Newbie] reference count
  • Next by Date: Re: Future Objective-C changes
  • Previous by thread: Method to fill with "Aqua"
  • Next by thread: PPPoE network configuration
  • Index(es):
    • Date
    • Thread