ID2D1DeviceContext::DrawGdiMetafile(ID2D1GdiMetafile*,D2D1_POINT_2F) method (d2d1_1.h)

Draw a metafile to the device context.

Syntax

void DrawGdiMetafile(
  [in]           ID2D1GdiMetafile *gdiMetafile,
  [in, optional] D2D1_POINT_2F    targetOffset
);

Parameters

[in] gdiMetafile

Type: ID2D1GdiMetafile*

The metafile to draw.

[in, optional] targetOffset

Type: const D2D1_POINT_2F*

The offset from the upper left corner of the render target.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header d2d1_1.h
DLL D2d1.dll

See also

ID2D1DeviceContext