Re: Quartz call to generate shadows?
Re: Quartz call to generate shadows?
- Subject: Re: Quartz call to generate shadows?
- From: Brant Vasilieff <email@hidden>
- Date: Wed, 8 Jan 2003 20:17:42 -0800
Does anybody remember which framework you linked against. All I get is
undefined symbols for the following four items.
>
// private SPI function definitions into the CoreGraphics framework
>
>
extern void *CGSReadObjectFromCString(char*);
>
extern char *CGSUniqueCString(char*);
>
extern void *CGSSetGStateAttribute(void*,char*,void*);
>
extern void *CGSReleaseGenericObj(void*);
I've included ApplicationServices.framework which includes
CoreGraphics, however I still get the link errors. I know it's not
nice to depend on private items.
I'm actually surprised this hasn't been remedied yet. It sure would be
nice to have a common method to apply shadows to graphical items. That
way, the shadows can be consistent, optimized for the hardware, and
visually consistent.
Not wanting to wait any longer, I figured I'd finally try this out.
Unfortunately the sample project isn't downloadable anymore, and I
can't get class-dump working on CoreGraphics.framework.
Did these items disappear as previously warned, or is there another
framework I'm supposed to link against?
Or is there a better, yet still undocumented method for adding shadows?
Cheers,
Brant
_______________________________________________
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.