[lazarus] TCanvas handle

Marc Weustink Marc.Weustink at cuperus.nl
Wed Nov 17 04:55:18 EST 1999


+ From: Shane Miller [mailto:SMiller1 at stvgb.org]
+
+ I assume the GC will be gooten from the function call GETDC
+ (which will call getgc for gtk).
+ FHandle in TCanvas points to a HFont which is a longword (or
+ something like that).
+ I assume we'll simply type-cast it as a GC and it'll work in
+ gtkinterface.

I yust noticed the use of HFONT as GC.
Is far I understand the docs, you use gdk_gc_set_font to 'select' a font in
a GC. You can't use a font as GC.

Marc






More information about the Lazarus mailing list