Thxs that worked out !
Really thxs.
4. Re: Call cairo_destroy() function explicilty (Jonathan Ryan)
--
Message: 4
Date: Wed, 29 Sep 2010 17:47:23 -0400
From: Jonathan Ryan jj...@drexel.edu
To: vala-list@gnome.org
Subject: Re: [Vala] Call cairo_destroy
Hi:
I was experimenting with cairo and i need to call cairo_destroy
function explicitly. cairo_destroy its tagged with unref_function in
cairo.vapi but i dunno how to call it explicitly.
The reason is: when using Clutter.CairoTexture you need to call
cairo_destroy on the cairo_context to
On Wed, 2010-09-29 at 16:58 -0400, Erick Pérez wrote:
Hi:
Hi,
I was experimenting with cairo and i need to call cairo_destroy
function explicitly. cairo_destroy its tagged with unref_function in
cairo.vapi but i dunno how to call it explicitly.
The reason is: when using
I use Clutter.CairoTexture without explicit destruction and it works fine.
Should be something like this:
public void draw()
{
var ctx = cairo_texture.create();
// draw
}
ctx then goes out of scope and is destroyed, and Clutter updates the
CairoTexture.
Unless you wanted to