Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000112 [Squeak 5.2] tweak always 09-02-04 13:04 12-12-04 04:41
Reporter laza View Status public  
Assigned To ned
Priority normal Resolution open  
Status assigned  
Summary 0000112: CurveMorph clipped after rotation
Description Rotate a CurveMorph (Pointing Hand 2) with the Rotation Halo. The morph gets clipped by the old bounding box.
Additional Information 3.8.5976
267
Attached Files  bb.png [^] (6,717 bytes) 09-02-04 13:04

- Relationships

- Notes
(0000648 - 190 - 196 - 196 - 196 - 196 - 196)
wiz
11-09-04 23:55

This sounds like self changed is called before but not after the rotation.
I've run into this elsewhere when working with polygons. Both the beginning and ending bounds have to be redrawn.
 
(0000911 - 584 - 668 - 668 - 668 - 668 - 668)
wiz
12-12-04 04:41

I ran into this bug again while mucking with star morphs. The fix
was to do
a
self changed.
...<your changes here>...
self computeBounds.
self changed.

sandwich. The first change notes the old boundries. The second the new.
That way you erase and redraw all that is necessary.

Stars and CurveMorphs are both polygons and this is a general issue with polygons because the do their own transformations (bless their hearts).

As long as your changes don't invoke a computeBounds you can probably do them and then the sandwich but in the general case that would be risky.
 

- Issue History
Date Modified Username Field Change
09-02-04 13:04 laza New Issue
09-02-04 13:04 laza File Added: bb.png
09-02-04 20:22 ned Status new => assigned
09-02-04 20:22 ned Assigned To  => ned
11-09-04 23:55 wiz Note Added: 0000648
12-12-04 04:41 wiz Note Added: 0000911


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
41 total queries executed.
32 unique queries executed.
Powered by Mantis Bugtracker