On Wed, Apr 13, 2011 at 6:29 PM, Hans-Peter Diettrich <[email protected]> wrote: > My remarks were about importing and interpreting WMF files. If you don't > intend to support that format, you are free to handle everything as you > like.
? Maybe we are not understanding each other. Basically you are saying that to support WMF you need to use some Windows APIs which deal with it, correct? Then my answer is that this is neither necessary, nor desirable. You can read the specification of the WMF file format (or reverse engineer it) and implement importing it with our own code. And you can render it to the screen using fpvtocanvas. For which task exactly would a Windows Metafile API be necessary? Windows also has APIs for handling .ICO files, but Lazarus doesn't use them, because they are not desired. Nevertheless Lazarus still manages to have an excellent support for .ICO icons. The same applies to Metafiles, just the kind of object changed (raster to vectorial image). -- Felipe Monteiro de Carvalho -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
