ID2D1GdiMetafile1 interface (d2d1_3.h)
This interface performs all the same functions as the existing ID2D1GdiMetafile interface. It also enables accessing the metafile DPI and bounds.
Inheritance
The ID2D1GdiMetafile1 interface inherits from ID2D1GdiMetafile. ID2D1GdiMetafile1 also has these types of members:
Methods
The ID2D1GdiMetafile1 interface has these methods.
ID2D1GdiMetafile1::GetDpi Gets the DPI reported by the metafile. |
ID2D1GdiMetafile1::GetSourceBounds Gets the bounds of the metafile in source space in DIPs. This corresponds to the frame rect in an EMF/EMF+. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2016 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | d2d1_3.h |