/[thuban]
ViewVC logotype

Revision 125


Jump to revision: Previous Next
Author: bh
Date: Thu May 2 18:55:33 2002 UTC (22 years, 10 months ago)
Changed paths: 1
Log Message:
	* Thuban/UI/view.py: Keep the temporary bitmap used during drawing
	around to speed up most redraws:
	(MapCanvas.__init__): New instance variable bitmap which holds the
	bitmap
	(MapCanvas.do_redraw): Redraw self.bitmap if necessary. Use
	self.bitmap to draw.
	(MapCanvas.full_redraw): New method to force a full redraw
	including the bitmap
	(MapCanvas.SetMap): Subscribe full_redraw instead of redraw to
	make sure the bitmap is redrawn.
	(MapCanvas.projection_changed, MapCanvas.set_view_transform,
	MapCanvas.shape_selected): Call full_redraw instead of readraw to
	make sure the bitmap is redrawn.
	(MapCanvas.OnSize): New method to handle size events so that the
	bitmap can be redrawn.


Changed paths

Path Details
Directorytrunk/thuban/Thuban/UI/view.py modified , text changed

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26