[clutter] Rrounded edge with a mask

2009-12-08 Thread Vincent Lauria
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello everyone, I create a rounded edge with a mask. My problem is that the material world and distorted and I only distort the mask, here is my code: CoglHandle material = cogl_material_new (); cogl_material_set_layer (material,

[clutter] Cairo surface with quartz

2009-11-17 Thread Vincent Lauria
Hi everyone, Just a quick question, is it possible to recover a surface create with: surface = cairo_quartz_surface_create (CAIRO_FORMAT_ARGB32, width, height); cr = cairo_create (surface); ... Thank you for your help ;) Vincent Lauria -- To unsubscribe send a mail to clutter+unsubscr...@o

[clutter] kCGImageAlphaNone ?

2009-11-12 Thread Vincent Lauria
Hi everyone, I still have a problem I do not understand with clutter and quartz have the error: Error>: CGBitmapContextCreate: unsupported parameter combination: 8 integer bits/component; 24 bits/pixel; 3-component colorspace; kCGImageAlphaNone; 960 bytes/row. with code: ClutterActor *

Re: [clutter] Problem with async

2009-11-11 Thread Vincent Lauria
x += 15; y += 15; g_free (path); } } clutter_actor_show (stage); clutter_main(); return 0; } Le 11 nov. 09 à 16:16, Emmanuele Bassi a écrit : On Wed, 2009-11-11 at 14:56 +0100, Vincent Lauria wrote: void load_finis

[clutter] Problem with async

2009-11-11 Thread Vincent Lauria
Hello everyone, I have a little problem with the function clutter_texture_set_load_async. Nothing is displayed unless a timer is triggered or action keyboard or mouse is sent, here is my code: #include #include void load_finished ( ClutterActor *image, GParamSpec *args1,

Re: [clutter] cogl texture and cairo surface

2009-01-23 Thread Vincent Lauria
bye and tanks, Vincent Le vendredi 23 janvier 2009 à 10:33 +, Emmanuele Bassi a écrit : > On Fri, 2009-01-23 at 08:37 +0100, Vincent Lauria wrote: > > > First sorry for my bad English. I drow with Cairo un a texture Cogl, > > you should use clutter-cairo, then: it handles th

[clutter] cogl texture and cairo surface

2009-01-22 Thread Vincent Lauria
Hello everyone, First sorry for my bad English. I drow with Cairo un a texture Cogl, I test as well but it does not: #define WIDTH 300 #define HEIGHT 600 #define STRIDE (WIDTH * 4) /* cairo surface */ unsigned char image[STRIDE*HEIGHT]; cairo_surface_t *surface; cairo_t *cr; sur