Charles Capaday ha scritto: > Thanks draw.point(x,y) is in pixels, not coordinate values of ones coordinate > system, anyway Benoit answered the question there are no commands for > coordinate translation and one has to do it oneself, which is not hard, je > vous remercie! > Hmm,
simple linear transformation is possible by using draw.translate() and draw.scale(); draw.reset() will reset the transformation matrix. Draw.push() and draw.pop() exist to save and restore the matrix. I think this is enough to map simple world 2D coordinates; it is effective and scales everything but text. For more complicated things, they should be implemented in software. Regards, Doriano Blengino ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user