[Lazarus] Max number of chars for a width

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Wed Nov 2 12:13:32 CET 2011


2011/11/2 zeljko <zeljko at holobit.net>:
> Not exactly like that but you can use LCLIntf.GetTextExtentExPoint

Thanks, I introduced a new method: TCanvas.TextFitInfo to simplify
obtaining this information from TCanvas. The implementation is a one
liner which calls GetTextExtentExPoint

And I also implemented LCLIntf.GetTextExtentExPoint for Win32, it was
wrong before.

-- 
Felipe Monteiro de Carvalho




More information about the Lazarus mailing list