Re: [fpc-devel] TFPCustomCanvas drawing routines

2011-01-31 Thread Luiz Americo Pereira Camara
On 31/1/2011 09:00, Felipe Monteiro de Carvalho wrote: Hello, I decided to put the patch here since it is so small. It is rather trivial, just adds a bunch of virtual markers and some methods with empty implementations, as to make them optional. I think the behavior looks ok for me, if the sub-

Re: [fpc-devel] TFPCustomCanvas drawing routines

2011-01-31 Thread Felipe Monteiro de Carvalho
Hello, I decided to put the patch here since it is so small. It is rather trivial, just adds a bunch of virtual markers and some methods with empty implementations, as to make them optional. I think the behavior looks ok for me, if the sub-class doesn't implement the method, no operation is perfo

Re: [fpc-devel] TFPCustomCanvas drawing routines

2011-01-26 Thread michael . vancanneyt
On Wed, 26 Jan 2011, Felipe Monteiro de Carvalho wrote: Ok, good =) One thing, however, should't the drawing routines in TFPCustomCanvas be virtual? The LCL seams to simply hide them at the moment. Overriding is more usual, isn't it? Send me a proposal in private if you want. Michael. ___

Re: [fpc-devel] TFPCustomCanvas drawing routines

2011-01-26 Thread Felipe Monteiro de Carvalho
Ok, good =) One thing, however, should't the drawing routines in TFPCustomCanvas be virtual? The LCL seams to simply hide them at the moment. Overriding is more usual, isn't it? -- Felipe Monteiro de Carvalho ___ fpc-devel maillist - fpc-devel@lists

Re: [fpc-devel] TFPCustomCanvas drawing routines

2011-01-26 Thread michael . vancanneyt
On Wed, 26 Jan 2011, Mattias Gaertner wrote:     Felipe Monteiro de Carvalho hat am 26. Januar 2011 um 16:45 geschrieben: Hello, I am extending the converter of FPVectorial to Canvas, but I got stuck at the lack of drawing methods in TFPCustomCanvas. It lacks Arc, Chord, PolyBezier, etc.

Re: [fpc-devel] TFPCustomCanvas drawing routines

2011-01-26 Thread michael . vancanneyt
On Wed, 26 Jan 2011, Felipe Monteiro de Carvalho wrote: Hello, I am extending the converter of FPVectorial to Canvas, but I got stuck at the lack of drawing methods in TFPCustomCanvas. It lacks Arc, Chord, PolyBezier, etc. The end point being that it gets really hard to use TFPCustomCanvas,

Re: [fpc-devel] TFPCustomCanvas drawing routines

2011-01-26 Thread Mattias Gaertner
    Felipe Monteiro de Carvalho hat am 26. Januar 2011 um 16:45 geschrieben: > Hello, > > I am extending the converter of FPVectorial to Canvas, but I got stuck > at the lack of drawing methods in TFPCustomCanvas. It lacks Arc, > Chord, PolyBezier, etc. > > The end point being that it gets reall