BitBlts
BitBlts
- Subject: BitBlts
- From: Jim Crafton <email@hidden>
- Date: Sun, 6 Jul 2003 10:20:53 -0400
Is it possible to render/draw the contents of one NSGraphicsContext
onto another?
I have a function called GraphicsContext::copyArea which takes a rect
and a pointer to one of my GraphicsContext classes. In the Win32
implementation I just use the Win32 BitBlt to copy the area of one DC
to another. I am not sure how to accomplish this with Cocoa.
I don't see (or perhaps I haven't looked hard enough yet :) ) any
obvious way to do this. I had thought perhaps you use an NSImage to
grab the contents of the current GC and then use the image and draw it
on the other GC
Thanks
Jim
_______________________________________________
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.