Gets the local bounds of an image.
- image [in]
The image whose bounds will be calculated.
- localBounds [out]
When this method returns, contains a pointer to the bounds of the image in device independent pixels (DIPs) and in local space.
This method does not return a value.
The image bounds don't include multiplication by the world transform. They do reflect the current DPI, unit mode, and interpolation mode of the context. To get the bounds that include the world trasnfrom, use ID2D1DeviceContext::GetImageWorldBounds.
The returned bounds reflect which pixels would be impacted by calling DrawImage with a target offset of (0,0) and an identity world transform matrix.
Minimum supported client
|Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps]|
Minimum supported server
|Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps]|
Build date: 11/16/2013