ID2D1ImageBrush::GetSourceRectangle method

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
) const;

Parameters

sourceRectangle [out]

Type: D2D1_RECT_F*

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

Return value

This method does not return a value.

Remarks

Requirements

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]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2d1_1.h

DLL

D2d1.dll

See also

ID2D1ImageBrush

 

 

Community Additions

ADD
Show:
© 2014 Microsoft