Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Can CGColorSpaceCreateWithName fail?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can CGColorSpaceCreateWithName fail?



Can CGColorSpaceCreateWithName or any of the CGColorSpaceCreate family
fail?  Is it safe to assume these functions will always return a valid
color space or should I be prepared for them to fail and return NULL?.

Likewise, should I assume any CG create function can fail and return
NULL?  I would expect this to be the case given these are create
functions but the documentation is far from clear.  Some create
functions are documented as being able to fail and return NULL while
others are not.  Which is it?

Matthew.
--
<http://www.stairways.com/>
 _______________________________________________
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



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.