Re: [Lazarus] Vector graphics

2012-04-10 Thread Felipe Monteiro de Carvalho
> (rawvectorialreadwrite.pas) from the package before I could compile it. I > don't remember > the error but it was on the line containing > lRawImage.Description.Init_BPP24_R8G8B8_BIO_TTB(RAW_IMAGE_WIDTH, > RAW_IMAGE_HEIGHT); This is a new routine from the LCL in 0.9.31+ > Then, unfortunately,

Re: [Lazarus] Vector graphics

2012-04-10 Thread Koenraad Lelong
On 06-04-12 15:11, Felipe Monteiro de Carvalho wrote: On Fri, Apr 6, 2012 at 3:02 PM, Koenraad Lelong wrote: So I would need some drawing routines, eventually with filled surfaces i.e. filled circles, rectangles but also rectangles with rounded corners, etc. What could I use ? I tried compilin

Re: [Lazarus] Vector graphics

2012-04-06 Thread Felipe Monteiro de Carvalho
On Fri, Apr 6, 2012 at 3:02 PM, Koenraad Lelong wrote: > So I would need some drawing routines, eventually with filled surfaces i.e. > filled circles, rectangles but also rectangles with rounded corners, etc. > What could I use ? I tried compiling fpvectorial on lazarus 0.9.30.4, but it > needs fc

[Lazarus] Vector graphics

2012-04-06 Thread Koenraad Lelong
Hi, I would like to try to make a CAD-file viewer. More specific to view the contents of a GenCAD-file. That's an ascii-file containing a description of a PCB. It's an hierarchy of graphical entities. So I would need some drawing routines, eventually with filled surfaces i.e. filled circles, r

Re: [Lazarus] Vector graphics on Lazarus.

2009-06-21 Thread Mattias Gaertner
On Sat, 20 Jun 2009 19:34:34 +0100 Geoff Bagley wrote: > Felipe Monteiro de Carvalho wrote: > > > > I am writing fpvectorial, a vectorial graphics library for Free > > Pascal, and planning to add it to Free Pascal subversion in some > > point in the future. > > > > At the moment it only has 2 i

Re: [Lazarus] Vector graphics on Lazarus.

2009-06-20 Thread Felipe Monteiro de Carvalho
My original plan was to read PostScript, but soon we found that it's a full programming language and you can't just parse it, you need to interpretate it, so we gave up and went to PDF instead. Having said that, I think that writing PostScript should be easier then reading, because you don't need

Re: [Lazarus] Vector graphics on Lazarus.

2009-06-20 Thread Geoff Bagley
Felipe Monteiro de Carvalho wrote: I am writing fpvectorial, a vectorial graphics library for Free Pascal, and planning to add it to Free Pascal subversion in some point in the future. At the moment it only has 2 inputs: PDF and my GCode and 2 output: my GCode and drawing to a TFPCustomCanvas o

Re: [Lazarus] Vector Graphics.

2009-06-20 Thread Geoff Bagley
Hello Felipe, Many thanks for your reply. When I said that !I look forward to the next instalment" I was trying to say that I am hoping to hear more about your work. I think that .PDF is based upon Postscript. I wondered whether there are other good ideas in Postscript which might be useful

Re: [Lazarus] Vector Graphics.

2009-06-20 Thread Felipe Monteiro de Carvalho
Hello, On Sat, Jun 20, 2009 at 1:49 PM, Geoff Bagley wrote: > I look forward to seeing the next instalment. I do not understand this phrase. > If so, I wonder whether any inspiration may be found in, for example, > Postscript,  from which (I believe ) PDF is derived ? What do you mean? -- Fel

Re: [Lazarus] Vector graphics on Lazarus.

2009-06-20 Thread Felipe Monteiro de Carvalho
On Sat, Jun 20, 2009 at 1:32 PM, Geoff Bagley wrote: > Does a Unit for Postscript, or similar (HPGL?) output exist in Lazarus? I am writing fpvectorial, a vectorial graphics library for Free Pascal, and planning to add it to Free Pascal subversion in some point in the future. At the moment it onl

[Lazarus] Vector Graphics.

2009-06-20 Thread Geoff Bagley
Hi Felipe, I have just discovered your interest in vector graphics for a CNC machine. I look forward to seeing the next instalment. Am I to understand that the input data is in .PDF format ? If so, I wonder whether any inspiration may be found in, for example, Postscript, from which (I belie

[Lazarus] Vector graphics on Lazarus.

2009-06-20 Thread Geoff Bagley
I guess that there are two fundamental types of graphics. 1) A bitmap like in BP7. 2) Vector graphics like in Postscript. Does a Unit for Postscript, or similar (HPGL?) output exist in Lazarus? Best regards to all. Geoff -- ___ Lazarus mailing li