Re : Confused about GDKPixBuf/Cairo interaction

2013-02-20 Thread Lucas Levrel
--- En date de : Lun 18.2.13, Rena hyperhac...@gmail.com 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

Re: Help Broadway Backend

2013-02-20 Thread Diego Felix (Bill)
I tried this but I can not install this requirement: configure: error: Package requirements (glib-2.0 = 2.35.3atk = 2.7.5 pango = 1.32.4cairo = 1.10.0cairo-gobject = 1.10.0 gdk-pixbuf-2.0 = 2.27.1) were not met: No package 'pango' found When I run configure:

Re: Help Broadway Backend

2013-02-20 Thread Diego Felix (Bill)
When I try to compile a older version of gtk+-3 (3.4.4), I have the same error: When I configure: bill@bill-laptop:~/Downloads/gtk+-3.4.4$ ./configure --prefix=/opt/gtk --enable-x11-backend --enable-broadway-backend checking for a BSD-compatible install... /usr/bin/install -c checking

Re: Help Broadway Backend

2013-02-20 Thread Jasper St. Pierre
You need to update your version of glib. On Sun, Feb 17, 2013 at 9:00 PM, Diego Felix (Bill) diegob...@gmail.comwrote: When I try to compile a older version of gtk+-3 (3.4.4), I have the same error: When I configure: bill@bill-laptop:~/Downloads/gtk+-3.4.4$ ./configure --prefix=/opt/gtk

Re: Help Broadway Backend

2013-02-20 Thread Diego Felix (Bill)
I installed a new version (2.35.7): bill@bill-laptop: pkg-config --modversion glib-2.0 2.35.7 But I can not remove old version 2.32.3, because of packages dependecies, like: ubuntu-desktop, ... How to update old version (2.32.3)? Em 18/02/2013 01:10, Jasper St. Pierre jstpie...@mecheye.net

Re: Confused about GDKPixBuf/Cairo interaction

2013-02-20 Thread Edscott Wilson
2013/2/18 Colomban Wendling lists@herbesfolles.org 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

Re: Confused about GDKPixBuf/Cairo interaction

2013-02-20 Thread Colomban Wendling
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