Re: Canvas shortcomings
- From: James Henstridge <james daa com au>
- To: Lauris Kaplinski <lauris ximian com>
- Cc: Federico Mena Quintero <federico ximian com>, <bratsche gnome org>, <gnome-devel-list gnome org>, <rconover bangtail net>
- Subject: Re: Canvas shortcomings
- Date: Fri, 22 Jun 2001 23:30:16 +0800 (WST)
On 22 Jun 2001, Lauris Kaplinski wrote:
> One concern still - item->window transformation (albeit only translation
> factor) changes with scrolling. So methods have to take that into
> account, and NOT update items for mere translation changes...
Since GDK in gtk 2.0 gives you a 32-bit coordinate space for GdkWindows,
you could probably just create the canvas as one big GdkWindow. For
scrolling, just pack it inside a viewport. This would allow the canvas to
not worry about scrolling. If it hasn't already been done, the exposure
compression code in canvas should probably be removed, as that is handled
at the GDK level as well now.
James.
--
Email: james daa com au
WWW: http://www.daa.com.au/~james/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]