Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ControlDraw event



>I have a custom HIView that im having some problems with the
>kEventControlDraw event. When in that event, i get the CGContextRef,
>then just draw a CGImageRef to it. The thing is, the image always
>appears upside down. What can i do to fix this? I draw the same
>CGImageRef into a drag from that view in the kEventControlTrack and it
>appears correctly in the drag image, and im not doing anything
>different from one event to the other.
>
>Any help is appreciated. thanks.

See HIViewDrawCGImage in HIView.h...it's just what you need.

Cheers,

--Dave
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.