[Lazarus] Metafile support
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Wed Apr 13 15:52:53 CEST 2011
Felipe Monteiro de Carvalho schrieb:
> Alexander Klenin <klenin at gmail.com> wrote:
>> Meanwhile, font support is also needed.
>
> TvText = class
> public
> X, Y, Z: Double; // Z is ignored in 2D formats
> Value: utf8string;
-----------------------------
> FontColor: TvColor;
> FontSize: integer;
> FontName: utf8string;
> end;
>
> What else do you need in the font support?
Is this a mix of both a font declaration and usage?
IMO metafiles contain different instructions for these.
Did you also notice that metafile fonts are managed by the metafile,
i.e. the (GDI) objects must never be destroyed in explicit code?
DoDi
More information about the Lazarus
mailing list