Anonymous | Login | 03-02-2021 01:26 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
0003736 | [Squeak] Graphics | minor | always | 05-30-06 09:25 | 07-10-06 02:22 | |||||||
Reporter | wiz | View Status | public | |||||||||
Assigned To | andreas | |||||||||||
Priority | normal | Resolution | open | |||||||||
Status | feedback | Product Version | 3.9 | |||||||||
Summary | 0003736: In 7032 (and 6665) Borders are drawn incorrectly when width is larger than Morph | |||||||||||
Description |
For this one Get a Rectangle from supplies. give it a wide red border. shrink it to minimum width with large height or vice versa. Observe. The border will cause a trapazoid to be drawn to the left or top (in the vice versa case) This trapezoid will go in and out of existance as various things clip and redraw. Now give the rectangle a gradient fill and another glitch related to the fill will appear also. see also mantis 0000564 for another example of these glitches with SelectorMorph. |
|||||||||||
Additional Information |
So there is probably more than one source of bug here. One root issue is in Rectangle methods. A Proper rectange has an origin strictly aboveLeft or equal to the corner. Rectangle methods like insetBy: and expeandBy: or even fromUser assume it is alright to return improper rectangles. They were being optimized for speed I imagine. Other rectangle methods like intersect: assume that their inputs are proper. Again an optimization for speed probably the reason. The result is something of a horror to deal with. Fixing just insetBy: to return a proper rectangle creates a different glitch. The fact that gradient fill causes a glitch also leads me to suspect that the ballon engines assumption about getting proper rectangles need to be put to the test also. A 3 pipe puzzle to be sure. Any hints Andreas? I've uploaded LargeBorderSmallRectange.gif Which is a collection of snapshots of the same rectangle morph as it is rotated 0 to 90 by 15 I think the border was 35 unit wide and the morph 1 unit thin. |
|||||||||||
Attached Files |
![]() |
|||||||||||
|
Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
42 total queries executed. 32 unique queries executed. |