IUIX_RenderContext::DrawPolygon Method
From PDF XChange PDF SDK
The method of interface of PDF-XChange Editor SDK.
Syntax
HRESULT DrawPolygon([in] IUIX_PolygonSrc* pPP, [in] IUIX_Brush* pBrush, [in] IUIX_Pen* pPen, [in] RECT* stClipRect, [in, defaultvalue(0.0)] double nRoundRadius, [in, defaultvalue(1.0)] double nOpacity, [in, defaultvalue(-1)] VARIANT_BOOL bClosed);
Parameters
- pPP
- [in] Pointer to IUIX_PolygonSrc.
- pBrush
- [in] Pointer to IUIX_Brush.
- pPen
- [in] Pointer to IUIX_Pen.
- stClipRect
- [in] Pointer to RECT.
- nRoundRadius
- [in, defaultvalue(0.0)] Value of double.
- nOpacity
- [in, defaultvalue(1.0)] Value of double.
- bClosed
- [in, defaultvalue(-1)] Value of VARIANT_BOOL.
Return Value
Returns S_OK if operation was successful or error code in other cases.