|Re: 3.2m4 standalone problem [message #466292 is a reply to message #466183]
||Thu, 05 January 2006 21:16
| Veronika Irvine
Registered: July 2009
Cairo is used for advanced graphics like anti-aliasing, paths, patterns, |
transformations. Once you are in advanced graphis mode, all the calls must
be made using the cairo library. If we are not in advanced graphics mode,
GC uses gdk calls.
You will notice in the GC code that the cairo calls are made after checking
if cairo != 0. The use of Cairo is initialized by calling
GC.setAdvanced(true) or by using advanced features such as
For example look at GC.drawLine() - with Cario it uses cairo_move_to(),
cairo_stroke() etc otherwise it calls gdk_draw_line().
"Charles Tuckey" <email@example.com> wrote in message
> Veronika Irvine wrote:
>> Eclipse 3.2 M4 does not make use of any advanced graphics features so it
>> does not need to load the cairo library.
> Hi Veronika,
> I don't understand this. Ok, I understand it but I can't believe it's
> true. Looking at the code for the GC class (linux-gtk) it makes cairo
> calls all over the place. What am I not getting?
Powered by FUDForum
. Page generated in 0.12937 seconds