Re: Method to fill with "Aqua"
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.