Re: Algorithm for drawing triangles in latest release of gtk+



All the drawing is done with cairo, so check its documentation. You will find examples!
You could also check gtkarrow sources  but I think that will be overcomplicated.

Greets

Juan Pablo

El 22/02/2012, a las 07:18, Debarshi Sanyal <debarshisanyal gmail com> escribió:

> Hi,
> 
> Could anyone please confirm whether in the latest release of gtk+
> (2.24.9, C/C++ binding), triangles are drawn as polygons or more
> optimized (in terms of speed) algorithms are used for drawing of
> triangles.
> 
> I guess earlier versions of gtk+ (<=2.4) used the same algorithms for
> general polygons and triangles.
> 
> Thanks for your time.
> 
> 
> Regards,
> Debarshi
> 
> 
> _______________________________________________
> gtk-devel-list mailing list
> gtk-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list


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