Awesome... thank you SO much!
- bun
David Duncan wrote ..
> If your targeting the 10.4 SDK:
>
> const float * c = [myColor components];
>
> If your targeting the 10.5 SDK:
>
> const CGFLoat * c = [myColor components];
>
> Deployment target doesn't matter here. Just which SDK your targeting.
On Mar 18, 2008, at 5:58 PM, bensyverson wrote:
Okay -- but how do I get CIColor components in 10.4?
Both float* and double* throw a warning ("assignment from
incompatible pointer type," and "assignment discards qualifiers from
pointer target type," respectively)
If your targeting the 10.
Okay -- but how do I get CIColor components in 10.4?
Both float* and double* throw a warning ("assignment from incompatible pointer
type," and "assignment discards qualifiers from pointer target type,"
respectively)
Thanks!
- ben
David Duncan wrote ..
>
> The Mac OS X 10.4 SDK doesn't have
On Mar 18, 2008, at 5:11 PM, bensyverson wrote:
I have a few CIColor's that I need to query for their color
components, but I'm running into errors. Here's what I'm trying to do:
CGFloat *color;
color = [ciColor components];
Xcode complains, saying CGFloat is undeclared. I think I'm includin
Hey all,
I have a few CIColor's that I need to query for their color components, but I'm
running into errors. Here's what I'm trying to do:
CGFloat *color;
color = [ciColor components];
Xcode complains, saying CGFloat is undeclared. I think I'm including all the
appropriate headers... What giv