ID2D1ImageBrush::GetSourceRectangle method (d2d1_1.h)

Gets the rectangle that will be used as the bounds of the image when drawn as an image brush.

Syntax

void GetSourceRectangle(
  [out] D2D1_RECT_F *sourceRectangle
);

Parameters

[out] sourceRectangle

Type: D2D1_RECT_F*

When this method returns, contains the address of the output source rectangle.

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

ID2D1ImageBrush