[fpc-pascal] Re: html link extractor

2007-07-02 Thread L
Andrew Haines wrote: Is there a unit somewhere that can extract links from html pages? I want to be able to recursively add pages to a chm archive. I created a program called GetLinks in a couple minutes: http://opensvn.csie.org/pspcgi/general-utilities/parser/html/demo/getlinks.pas Latest

[fpc-pascal] How to call a pascal function from c?

2007-07-02 Thread josepascual
Hi Everyone, I have code written in pascal and I'd like to call from C. Any doc or link or example to see how? thank you, best regards Jose Pascual ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

[fpc-pascal] fpcanvas and FloodFill()

2007-07-02 Thread Graeme Geldenhuys
Hi, Still trying to implement fpcanvas as the bases classed for fpGUI. What is the function of...? TFPCustomCanvas = class procedure FloodFill (x,y:integer); ... How is it supposed to differ from Canvas.Clear() and Canvas.Rectangle() which can both handle filling of a rectangle?

Re: [fpc-pascal] fpcanvas and FloodFill()

2007-07-02 Thread Michael Van Canneyt
On Mon, 2 Jul 2007, Graeme Geldenhuys wrote: Hi, Still trying to implement fpcanvas as the bases classed for fpGUI. What is the function of...? TFPCustomCanvas = class procedure FloodFill (x,y:integer); ... How is it supposed to differ from Canvas.Clear() and

Re: [fpc-pascal] fpcanvas and FloodFill()

2007-07-02 Thread Graeme Geldenhuys
On 02/07/07, Michael Van Canneyt [EMAIL PROTECTED] wrote: The FPImagecanvas has it implemented, you should be able to get some inspiration from that. Look also in the pixtools unit. Thanks Michael. The hard bit (without looking at any code) will be the rules when to paint. Am I understanding

Re: [fpc-pascal] fpcanvas and FloodFill()

2007-07-02 Thread Michael Van Canneyt
On Mon, 2 Jul 2007, Graeme Geldenhuys wrote: On 02/07/07, Michael Van Canneyt [EMAIL PROTECTED] wrote: The FPImagecanvas has it implemented, you should be able to get some inspiration from that. Look also in the pixtools unit. Thanks Michael. The hard bit (without looking at any

Re: [fpc-pascal] fpcanvas and FloodFill()

2007-07-02 Thread Graeme Geldenhuys
On 02/07/07, Michael Van Canneyt [EMAIL PROTECTED] wrote: It fills the canvas (in all directions) till it encounters a different color which differs from the starting color. You can use this to fill irregular shapes. Excellent idea. Now I only need to figure out how to implement that! ;-)

Re: [fpc-pascal] Re: html link extractor

2007-07-02 Thread Andrew Haines
L wrote: Andrew Haines wrote: Is there a unit somewhere that can extract links from html pages? I want to be able to recursively add pages to a chm archive. I created a program called GetLinks in a couple minutes: