Le 19/02/2013 01:45, Rena a écrit :
> On Mon, Feb 18, 2013 at 9:24 AM, Colomban Wendling
> [...]
>
> Well, my emulator gets the pixel data from gdk_pixbuf_get_pixels() and
> writes into that buffer directly; that way it doesn't have to know
> anything about GDK and can draw pixels by just writing
2013/2/18 Colomban Wendling
>
> Or maybe I got you wrong and you'd like to *draw* on your GdkPixbuf?
> I'm afraid this just isn't possible directly. If you really want to do
> that, you'll probably have to manually do some pixel conversion. You
> can create a Cairo surface of the pixbuf's size,
--- En date de : Lun 18.2.13, Rena a écrit :
> Recently I've been developing a Game Boy emulator
> that uses GtkDrawingArea and GdkPixbuf to display the game
> screen.
>
> In addition to the game output I want to also be able to draw text and
> shapes on the display window, and Cairo seems to be
Le 18/02/2013 14:50, Rena a écrit :
> On Mon, Feb 18, 2013 at 8:35 AM, Colomban Wendling
> wrote:
>> Hi,
>>
>> Le 18/02/2013 11:10, Rena a écrit :
>>> Hi, just joined the mailing list, been using GTK and related projects
>>> for a while now. Recently I've been developing a Game Boy emulator
>>> th
Hi,
Le 18/02/2013 11:10, Rena a écrit :
> Hi, just joined the mailing list, been using GTK and related projects
> for a while now. Recently I've been developing a Game Boy emulator
> that uses GtkDrawingArea and GdkPixbuf to display the game screen.
>
> In addition to the game output I want to al