Re: [fpc-pascal] What is TFPCustomDrawFont used for

2007-06-29 Thread Graeme Geldenhuys
On 29/06/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: A TFPCustomDrawFont descendent "knows" how to draw itself on a canvas: Normally you should not use it, unless you are planning to use freetype support. There the font draws itself on a canvas. In all other cases (windows, X etc), the ca

Re: [fpc-pascal] What is TFPCustomDrawFont used for

2007-06-29 Thread Michael Van Canneyt
On Fri, 29 Jun 2007, Graeme Geldenhuys wrote: > Hi, > > As the title says... Also what should I descend my fpGUI font class > from? TFPCustomDrawFont or TFPCustomFont? It depends. A TFPCustomDrawFont descendent "knows" how to draw itself on a canvas: Normally you should not use it, unless y