[fpc-pascal] How does TFPImageCanvas draw TextOut?
David Emerson
dle3ab at angelbase.com
Mon Mar 2 06:03:50 CET 2009
Thanks! I haven't gotten lazarus running yet, but I took another look
and figured it out.
TFPCustomCanvas.TextOut checks if Font is TFPCustomDrawFont then
TFPCustomDrawFont(Font).DrawText(x,y, text)
...and it turns out that it is; I didn't look at the fontdraw program
closely enough. I've got to get lazarus working, though, that sounds
very handy -- I have spent a long time poking around and I could just
press a key and get an answer to my question.
Cheers,
David.
On Sun 1 Mar 2009 7:43 pm, leledumbo wrote:
>
> Try holding ctrl and click TextOut on that line using Lazarus, it will
bring
> you to the correct place where (in which class) the method is
implemented /
> overridden (in interface section). Then, use Ctrl+Shfit+Down to go to
the
> implementation.
> --
> View this message in context:
http://www.nabble.com/How-does-TFPImageCanvas-draw-TextOut--tp22268842p22281629.html
> Sent from the Free Pascal - General mailing list archive at
Nabble.com.
>
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
More information about the fpc-pascal
mailing list