Le 26 févr. 08 à 19:25, Nicolas Roard a écrit :

On Mon, Feb 25, 2008 at 9:57 PM, Justin Kendrick
<[EMAIL PROTECTED]> wrote:
I'm trying to write an open-source clone of Core Animation to use with
GNUStep.  Of course, CA's interface is fairly highly coupled with
Quartz/CoreGraphics, mainly in its use of CGImage to pass image data
in and out.  NSImage seems heavier-weight, with its representation
system, but I don't know if NSImageRep is really suitable for that.
Does anyone on the list have more perspective on this?

You can create a NSBitmapImageRep from a pointer to a byte array --
hard to think of anything leaner.
On the other hand for CoreAnimation, you may be more interested by
using Cairo directly ?


Well if you decide to build it on top of Cairo, then it may be a good idea to use Opal. Opal is a CoreGraphics implementation on top of Cairo (including CGImage) but currently unfinished. You can find it in Étoilé repository here: <http://svn.gna.org/viewcvs/etoile/branches/Opal/>

Cheers,
Quentin.

_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to