Giving an Image a Reflective Surface
Giving an Image a Reflective Surface
- Subject: Giving an Image a Reflective Surface
- From: Steve Sheets <email@hidden>
- Date: Wed, 28 Feb 2007 13:05:16 -0500
Anyone have source examples or suggestions for this one?
Using 10.4 APIs, I want to draw on using a given image while giving
it a reflective surface appearance When I saw a reflective surface, I
mean a inverse, rotated & faded secondary image at the bottom of the
first image. Thus the image would look similar to images displayed
using latest iTunes or Front Row applications.
I could use either a technique to convert the image into a new image
that contains the original image and the reflection, or code that
would draw the image and reflection directly to the graphic context.
Either way would be fine with me. What is the best method?
The original source image is an NSImage (it has to be since I am
importing faces from the Address Book API), but I can convert that to
a CGImage if needed. I would prefer code that draws to graphic context.
Any ideas, hints or examples out there?
Thank you,
Steve Sheets
Midnight Mage Software
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden