Winston does (as any plotting tool) a coordinate transformation to get from one coordinate system to another. Your gtk request returns screen (or window) coordinates and you need to reverse this based on the data-to-screen transformation to get data coordinates. Although i patched something into winston, i'm missing the full picture how winston does the coordinate transformation. I did something similar in another project and mathematically it's (as long as it's affine) straight forward.
- [julia-users] Hit test in Winston using Gtk Roger Herikstad
- [julia-users] Re: Hit test in Winston using Gtk Andreas Lobinger
- [julia-users] Re: Hit test in Winston using Gtk Roger Herikstad
- Re: [julia-users] Re: Hit test in Winston us... Tim Holy
- Re: [julia-users] Re: Hit test in Winsto... Andreas Lobinger
