Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Get A CGPathRef From An Image (PNG/JPEG)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get A CGPathRef From An Image (PNG/JPEG)



Nima Tiran wrote:

Does anybody know how we can get a CGPath from an image, the idea is
that I want to add a shape of an image into a CGContext for creating a
custom window shape.


All you need is to create an overlay window and draw an image with alpha into the window.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >Get A CGPathRef From An Image (PNG/JPEG) (From: Nima Tiran <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.