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. 

Reply via email to