Re: Is there way to do cairo-specific operations, not provided by goocanvas?



On 8 May 2011 19:02, Nikita Zlobin <nick87720z gmail com> wrote:
> В Sun, 8 May 2011 17:14:42 +0100
> Damon Chaplin <damonachaplin gmail com> пишет:
>
>> I don't think there is any way to change the subpixel antialiasing at
>> present. I think it just uses the default desktop setting.
>>
> Yeah, i noticed, it doesn't differ from gray mode :|
>> I don't think the cairo GL backend is finished, and I'm not sure how
>> it could be incorporated into GTK apps, so I don't think that will be
>> available anytime soon.
>>
>> Damon
>
> There could be additional constructor, taking existing cairo surface as
> argument. And probably, some more arguments - they could be specified
> in the same way as optional arguments, specifying properties of newly
> created object. Though.. this needs, probably, two variable arguments
> parts, each of them ending by NULL arg.

We do have goo_canvas_render() that will render to any cairo context,
which is mainly used to render to a pdf context for printing.

But to use OpenGL in a GooCanvas widget and handle input events etc.
would be difficult, I think, unless it was supported by GTK+.
If you really want to use OpenGL then Clutter is probably a better option.

Damon


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