How invert a PICT
How invert a PICT
- Subject: How invert a PICT
- From: JuanC <email@hidden>
- Date: Wed, 5 Oct 2005 07:22:21 +0200
Hi to everybody!!!
I'm JuanC a at home developer here in Spain (Europe). From many year
I have been programming the QuickDraw and now I wish port my programs
on Cocoa.
Well, the troube: I have a window with 6 images, in PFS format and
wish when the user clicks on it the image change to video inverso
(invert de image). With QuickDraw the procedure is using -CopyBits_,
like this:
LockPixels( pixMapSrc );
CopyBits((BitMap*) *pixMapSrc,(BitMap*) *pixMapDes,
&(*pixMapSrc)->bounds,&(*pixMapDes)-
>bounds,notSrcCopy,nil);
UnlockPixels( pixMapSrc);
How can do it using Cocoa image classes?
Thank you very much in advance.
Best regards from Spain.
Un cordial saludo desde EspaƱa.
JuanC++ _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden