[Gambas-user] Coordinate system in Gambas Graphics

Charles Capaday Charles.Capaday at ...2023...
Fri Dec 5 16:00:03 CET 2008


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!

                                                                        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: 5 décembre 2008 09:22
> To: mailing list for gambas users
> Subject: Re: [Gambas-user] Coordinate system in Gambas Graphics
> 
> http://gambasdoc.org/help/comp/gb.qt/draw
> 
> 
> Draw.begin(drawingarea1)
> 
>   draw.point(x,y)
> 
> 
> draw.end
> 
> 
> 
> is it that ???
> 
> 
> 
> 
> 
> 
> 2008/12/4 Charles Capaday <Charles.Capaday at ...2023...>:
> > Thanks, this would be a nice feature indeed, however I was 
> not looking for a component as such. Simply I asked whether 
> the language has commands for mapping pixel values to x-y 
> coordinate values, these where part of DOS Basic Compiler 7 
> for example and in VB as well I am pretty sure...
> >
> >                                                             
>            
> > 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: 4 décembre 2008 15:10
> >> To: richard terry; mailing list for gambas users
> >> Subject: Re: [Gambas-user] Coordinate system in Gambas Graphics
> >>
> >> i'm currently working on it, and made richard's wich true
> >>
> >>
> >> 2008/12/3 richard terry <rterry at ...1946...>:
> >> > On Thu, 4 Dec 2008 05:05:22 am Charles Capaday wrote:
> >> > Fabians chart component may or may not help.
> >> >
> >> > I'll mail you some piccies of what it can do off list.
> >> >
> >> > Regards
> >> >
> >> > Richard
> >> >
> >> >> I'm interested in developing a graph object in Gambas to
> >> plot points,
> >> >> curves etc. Are there language statements for coordinate 
> >> >> transformations such as to make, for example, the pixel
> >> locations of
> >> >> a rectangle into x,y coordinate values?
> >> >>
> >> >>
> >> >> 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
> >> >>
> >> >>
> >> 
> ---------------------------------------------------------------------
> >> >> ---- This SF.Net email is sponsored by the Moblin Your Move 
> >> >> Developer's challenge Build the coolest Linux based
> >> applications with
> >> >> Moblin SDK & win great prizes Grand prize is a trip for 
> two to an 
> >> >> Open Source event anywhere in the world 
> >> >> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >> >> _______________________________________________
> >> >> Gambas-user mailing list
> >> >> Gambas-user at lists.sourceforge.net
> >> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >> >
> >> >
> >> >
> >> >
> >> 
> ---------------------------------------------------------------------
> >> -
> >> > --- This SF.Net email is sponsored by the Moblin Your Move
> >> Developer's
> >> > challenge Build the coolest Linux based applications with
> >> Moblin SDK &
> >> > win great prizes Grand prize is a trip for two to an Open
> >> Source event
> >> > anywhere in the world
> >> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >> > _______________________________________________
> >> > 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
> >>
> >
> > 
> ----------------------------------------------------------------------
> > -------- 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