[Lazarus] Metafile support

Alexander Klenin klenin at gmail.com
Thu Apr 7 12:33:34 CEST 2011


A TAChart user requested export to WMF/EMF:
http://forum.lazarus.freepascal.org/index.php/topic,12693.0.html

It turns out that Lazarus CCR has Metafile package,
but it is incomplete and apparently abandoned.

My options are:
1) Import the source into TAChart (it is only 350 lines of code),
and fix/complete it there.
2) Somehow fix/complete the package in CCR,
and then create a TAChartMetafile package depending on Metafile.
3) Import the source into LCL (since Delphi contains TMetafileCanvas
http://docs.embarcadero.com/products/rad_studio/delphiAndcpp2009/HelpUpdate2/EN/html/delphivclwin32/Graphics_TMetafileCanvas.html
it can be argued as compatibility measure)

I personally prefer the first option.
What do others think?

-- 
Alexander S. Klenin




More information about the Lazarus mailing list