IPictureMixer2::AddRoundRect
From MediaLooks Knowledge Base
The AddRoundRect method of the IPictureMixer2 interface is used to add a rounded rectangle to the overlay.
Contents |
Syntax
HRESULT AddRoundRect( [in,out] SIZE* _pSize, [in] SIZE* _pEllipseSize, [in] OVERLAY_PROPS* _pOvlProps, [out] int* _pnCookie );
Parameters
| Name | Description | |
| _pSize | [in] Size of the rectangle. | |
| _pEllipseSize | [in] Size of the rectangle fillets. | |
| _pOvlProps | [in] Properties of the item to overlay. For details see description the OVERLAY_PROPS structure. | |
| _pnCookie | [out] Cookie of the item. |
Return Values
| Return code | Description |
| S_OK | Success. |
| E_OUTOFMEMORY | Insufficient memory. |
| E_POINTER | Null pointer argument. |
Remarks
None.