[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNUStep Alternative to CGImage

From: Quentin Mathé
Subject: Re: GNUStep Alternative to CGImage
Date: Tue, 26 Feb 2008 21:16:06 +0100

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

On Mon, Feb 25, 2008 at 9:57 PM, Justin Kendrick
<address@hidden> 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: <>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]