[Gambas-user] Coordinate system in Gambas Graphics

Charles Capaday Charles.Capaday at ...2023...
Sat Dec 6 19:37:08 CET 2008


Not a problem, it is quite sportly of you to acknowledge the error... 

                                                                        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: Fabien Bodard [mailto:gambas.fr at ...626...] 
> Sent: 6 décembre 2008 04:55
> To: mailing list for gambas users
> Subject: Re: [Gambas-user] Coordinate system in Gambas Graphics
> 
> 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.visitmi
> > x.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