Revision 1 of 2, by Chronos on 10-4-2010. The page as it is now.
TMetafile / TMetafileCanvas
About
TMetafile / TMetafileCanvas is a implementation of the Windows EnhMetafile API. It is supposed to be Delphi Compatible.
This components implement TMetafile/TMetafileCanvas using Enhanced Metafiles (support for WMF was droped).
The download contains the component, an installation package and a demo application, that illustrates the features of the component.
Screenshot
Here is an exemple of TMetafile drawn on a Form (in windows).
<figure> <img src="TMetafile.jpg" title="TMetafile.jpg" /> <figcaption>TMetafile.jpg</figcaption> </figure>
Author
Luís Rodrigues
License
LGPL (please contact the author if the LGPL doesn't work with your project licensing)
Download
The latest stable release can be found on lazarus-ccr sf download site.
Change Log
- Version 1.1: 05-02-2007 - Bugfix
- Version 1.0: 31-01-2007 - Initial Release
Dependencies / System Requirements
- Lazarus 0.9.20+ and FPC 2.0.4+ (most probably older versions will work too)
Status: Beta
Issues:
- SaveTo* LoadFrom* not implemented
- only works on windows
Installation
- Download the package from sourceforge and unzip it anywhere you want.
- Install the package or copy mymetafile.pas to your program directory
The TMetafile Example Application
Installation
- Open Sample/Project1.lpi
- compile
- run
From the Free Pascal wiki, page "TMetafile / TMetafileCanvas", as it stood on 2010-10-04 after a change by Chronos, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.
