[Gambas-user] Coordinate system in Gambas Graphics
Fabien Bodard
gambas.fr at ...626...
Sat Dec 6 10:55:26 CET 2008
i apologize, it seem i was really tired the night I've read your mail ...
2008/12/5 Charles Capaday <Charles.Capaday at ...2023...>:
> Grazie, this is the best answer I got, most others seemed to say there was no such thing, which frankly surprised me.
>
> Cheers,
>
>
> Dr. Charles Capaday
> Professor & Director
> Brain and Movement Lab.
> Dept. of Anatomy & Physiology
> Faculty of Medicine, Laval University
> http://www.brainandmovementlab.org/
>
> Mailing address:
> CRULRG F-6500
> Hopital Robert-Giffard
> 2601 de la Canardiere, Beauport, QC
> G1J 2G3 Canada
>
> Tel: +418-663-5747 (Sec.)
> +418-663-5000 ext. 6736 (Off.)
> +418-663-5000 ext. 6877 (Lab.)
> Fax: +418-663-8756
>
>
>> -----Original Message-----
>> From: Doriano Blengino [mailto:doriano.blengino at ...1909...]
>> Sent: 5 décembre 2008 11:24
>> To: mailing list for gambas users
>> Subject: Re: [Gambas-user] Coordinate system in Gambas Graphics
>>
>> 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 at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>
> ------------------------------------------------------------------------------
> 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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
More information about the User
mailing list