ID2D1Ink::GetBounds method
Retrieve the bounds of the geometry, with an optional applied transform.
Syntax
HRESULT GetBounds( [in, optional] ID2D1InkStyle *inkStyle, [in, optional] const D2D1_MATRIX_3X2_F *worldTransform, [out] D2D1_RECT_F *bounds );
Parameters
- inkStyle [in, optional]
-
Type: ID2D1InkStyle*
The ink style to be used in determining the bounds of this ink object.
- worldTransform [in, optional]
-
Type: const D2D1_MATRIX_3X2_F*
The world transform to be used in determining the bounds of this ink object.
- bounds [out]
-
Type: D2D1_RECT_F*
When this method returns, contains the bounds of this ink object.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
|
Header |
|
|---|---|
|
Library |
|
|
DLL |
|
See also
Show: