TMetafile / TMetafileCanvas

From Free Pascal wiki
Jump to: navigation, search

English (en) | français (fr)

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).

TMetafile.jpg

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