• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How invert a PICT
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • RE: How invert a PICT
      • From: "Christopher Hickman" <email@hidden>
  • Prev by Date: Re: Reading data from the pipe in AuthorizationExecuteWithPrivileges() ??
  • Next by Date: Re: QTMovieView and HTTP Redirects
  • Previous by thread: Re: strange malloc error with NSWindow makeKeyAndOrderFront:
  • Next by thread: RE: How invert a PICT
  • Index(es):
    • Date
    • Thread