Re: Canvas redraw priority / speed



On Sat, 2002-08-24 at 09:11, ERDI Gergo wrote:

> Is this common parent class also the cause for #91399?

Most likely, yes.

Initially, both the line and polygon items were copied from the Tk
canvas code.  Polygons were always "solid", so clicking inside them
would result in a hit.  The line item was always hollow, and it would
only result in a hit if you clicked on the outline itself.

GnomeCanvasShape is a very good idea in that it abstracts all the common
stuff out of simple geometrical shapes.  However, it really needs some
love in the being-fast-and-working-right department.  It may also be
good to special-case things -- the rectangle item could use use
gdk_draw_rectangle() if its transformation does not have rotational
components, for example.

  Federico
_______________________________________________
gnome-hackers mailing list
gnome-hackers gnome org
http://mail.gnome.org/mailman/listinfo/gnome-hackers



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