Re: [Gambas-user] Coordinate system in Gambas Graphics

2008-12-15 Thread Jesus Guardon
Are you sure meridians go from -90 to 90? Ore are they parallels? So, correct me if I am wrong, Parallels go from south to north, and Meridians from east to west (or vice-versa). Oooops, yes, of course it was my mistake!. May be English isn't my native language... LOL Now I think I've got it.

Re: [Gambas-user] Coordinate system in Gambas Graphics

2008-12-15 Thread Jesus Guardon
Or are you starting with those distorted maps where Greenland is the size of the United States on a flat map? -Lee Yes, I'm using UTM Maps, because they are regularly spaced. I am not an expert in Map Projections, but it works for me. Cheers Jesus Guardon -- View this message in context:

Re: [Gambas-user] Coordinate system in Gambas Graphics

2008-12-15 Thread Lee McPherson
Forgive me for not following the whole thread, but are you trying to convert a spherical lat and long to a planar x,y coordinate system? Or are you starting with those distorted maps where Greenland is the size of the United States on a flat map? Because if you want to use real world maps and

Re: [Gambas-user] Coordinate system in Gambas Graphics

2008-12-15 Thread Doriano Blengino
Jesus Guardon ha scritto: > Hi Doriano and list > > First of all, many thanks for your input. > > Yes, you are right about geographic coordinates; in real world the > intersection between Ecuatorial line and Greenwich meridian is the > coordinate 0;0. Meridians above increase up to 90 degrees to

Re: [Gambas-user] Coordinate system in Gambas Graphics

2008-12-15 Thread Jesus Guardon
Hi Doriano and list First of all, many thanks for your input. Yes, you are right about geographic coordinates; in real world the intersection between Ecuatorial line and Greenwich meridian is the coordinate 0;0. Meridians above increase up to 90 degrees to North and below to -90 South. By the

Re: [Gambas-user] Coordinate system in Gambas Graphics

2008-12-15 Thread Doriano Blengino
Jesus Guardon ha scritto: Doriano Blengino wrote: 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. Hi all Well, I'm totally lost w

Re: [Gambas-user] Coordinate system in Gambas Graphics

2008-12-14 Thread Jesus Guardon
Doriano Blengino wrote: > > 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 coordinat

Re: [Gambas-user] Coordinate system in Gambas Graphics

2008-12-06 Thread Charles Capaday
> From: Fabien Bodard [mailto:[EMAIL PROTECTED] > 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 ... &g

Re: [Gambas-user] Coordinate system in Gambas Graphics

2008-12-06 Thread Fabien Bodard
-- >> From: Doriano Blengino [mailto:[EMAIL PROTECTED] >> 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

Re: [Gambas-user] Coordinate system in Gambas Graphics

2008-12-05 Thread Charles Capaday
ax: +418-663-8756 > -Original Message- > From: Doriano Blengino [mailto:[EMAIL PROTECTED] > 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: > > Thank

Re: [Gambas-user] Coordinate system in Gambas Graphics

2008-12-05 Thread Doriano Blengino
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 line

Re: [Gambas-user] Coordinate system in Gambas Graphics

2008-12-05 Thread Tchekov.Net
:[EMAIL PROTECTED] Gesendet: Freitag, 5. Dezember 2008 16:00 An: mailing list for gambas users Betreff: Re: [Gambas-user] Coordinate system in Gambas Graphics Thanks draw.point(x,y) is in pixels, not coordinate values of ones coordinate system, anyway Benoit answered the question there are no

Re: [Gambas-user] Coordinate system in Gambas Graphics

2008-12-05 Thread Charles Capaday
t; 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 ??? > > > > > > > 2

Re: [Gambas-user] Coordinate system in Gambas Graphics

2008-12-05 Thread Benoit Minisini
On mercredi 3 décembre 2008, Charles Capaday wrote: > 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? > >

Re: [Gambas-user] Coordinate system in Gambas Graphics

2008-12-05 Thread Fabien Bodard
eauport, 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:[EMAIL PROTECTED] >> Sent: 4 décembre

Re: [Gambas-user] Coordinate system in Gambas Graphics

2008-12-04 Thread Charles Capaday
e 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 <[EMAIL PROTECTED]>: > > On Thu, 4 D

Re: [Gambas-user] Coordinate system in Gambas Graphics

2008-12-04 Thread Fabien Bodard
i'm currently working on it, and made richard's wich true 2008/12/3 richard terry <[EMAIL PROTECTED]>: > 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

Re: [Gambas-user] Coordinate system in Gambas Graphics

2008-12-03 Thread richard terry
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 coord

[Gambas-user] Coordinate system in Gambas Graphics

2008-12-03 Thread Charles Capaday
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