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 you are planning to use freetype 
support. There the font draws itself on a canvas. In all other cases
(windows, X etc), the canvas "knows" how to handle a font. (namely, 
the system does it)

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to