Table of Contents

Namespace Egami.Metafiles

Classes

Metafile

A Windows metafile, WMF, EMF or EMF+ (and their gzip forms WMZ and EMZ), read and checked; its records stay internal (design question 3). The size facts come from the header: an EMF's frame, a placeable WMF's box and units per inch, or a plain WMF's window extent at 96 DPI. A metafile is immutable and safe to read from many threads.

MetafileDecodeOptions

How MetafileFormat draws a metafile for Raster.Load and sizes it for Raster.Probe.

MetafileFormat

WMF, EMF and EMF+ (and WMZ, EMZ) as an Egami format: registered with WithFormat(FormatInfo), Raster.Load draws a metafile at its own size at 96 DPI (or Dpi) onto a transparent Rgba8 raster, and Raster.Probe gives that size from the header without drawing. Text uses the installed fonts. For your own fonts, a target size, a background or the GDI part of a dual file, load a Metafile and call Rasterize<TPixel>(MetafileRenderOptions?).

MetafileLoadOptions

How Metafile reads a file: which limits and diagnostics apply.

MetafileRenderOptions

How Draw(Canvas, RectF?, MetafileRenderOptions?) and Rasterize<TPixel>(MetafileRenderOptions?) draw a metafile.

Enums

MetafileKind

What a Metafile holds.

MetafilePlayback

Which records of an EMF+ dual file play.