shoes / shoes3

a tiny graphical app kit for ruby
http://walkabout.mvmanila.com
Other
181 stars 19 forks source link

Plot captions are not drawn properly #315

Closed IanTrudel closed 7 years ago

IanTrudel commented 7 years ago

Run Plot samples in the manual using Run this button. Captions are misplaced. The captions are correctly placed *after change focus and come back to the plot window.

image

ccoupe commented 7 years ago

Some progress on this. Because plots calculates the pixel position of everything and attempts to store those positions in a shared struct for other functions to use, it is sensitive to the order of those function calls and the speed of the system and the os graphics redraw signals . However, samples/good/good-plots.rb fails to display the boundary box (line and scatter) on Linux and Windows - probably osx too.

Caption bug was different. Only Windows showed it. Sigh.

ccoupe commented 7 years ago

Shoes 3.3.3 (beta) fixes this.