IUIX_RenderContext::DrawRoundRect Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 9: Line 9:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT DrawRoundRect([in]                    RECT*        pRect,
+
<pre class="brush:cpp;gutter:false">HRESULT DrawRoundRect([in]                    RECT*        stRect,
 
                       [in]                    IUIX_Brush*  pBrush,
 
                       [in]                    IUIX_Brush*  pBrush,
 
                       [in]                    IUIX_Pen*    pPen,
 
                       [in]                    IUIX_Pen*    pPen,
                       [in]                    double      r0,
+
                       [in]                    double      nR0,
                       [in]                    double      r1,
+
                       [in]                    double      nR1,
                       [in]                    double      r2,
+
                       [in]                    double      nR2,
                       [in]                    double      r3,
+
                       [in]                    double      nR3,
                       [in]                    RECT*        pClipRect,
+
                       [in]                    RECT*        pClistRect,
 
                       [in, defaultvalue(1.0)]  double      nOpacity);</pre>
 
                       [in, defaultvalue(1.0)]  double      nOpacity);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pRect
+
;stRect
 
:[in]  Pointer to RECT.
 
:[in]  Pointer to RECT.
 
;pBrush
 
;pBrush
Line 26: Line 26:
 
;pPen
 
;pPen
 
:[in]  Pointer to [[PXV:IUIX_Pen|IUIX_Pen]].
 
:[in]  Pointer to [[PXV:IUIX_Pen|IUIX_Pen]].
;r0
+
;nR0
 
:[in]  Value of double.
 
:[in]  Value of double.
;r1
+
;nR1
 
:[in]  Value of double.
 
:[in]  Value of double.
;r2
+
;nR2
 
:[in]  Value of double.
 
:[in]  Value of double.
;r3
+
;nR3
 
:[in]  Value of double.
 
:[in]  Value of double.
;pClipRect
+
;stClipRect
 
:[in]  Pointer to RECT.
 
:[in]  Pointer to RECT.
 
;nOpacity
 
;nOpacity

Revision as of 03:08, 4 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT DrawRoundRect([in]                     RECT*        stRect,
                      [in]                     IUIX_Brush*  pBrush,
                      [in]                     IUIX_Pen*    pPen,
                      [in]                     double       nR0,
                      [in]                     double       nR1,
                      [in]                     double       nR2,
                      [in]                     double       nR3,
                      [in]                     RECT*        pClistRect,
                      [in, defaultvalue(1.0)]  double       nOpacity);

Parameters

stRect
[in] Pointer to RECT.
pBrush
[in] Pointer to IUIX_Brush.
pPen
[in] Pointer to IUIX_Pen.
nR0
[in] Value of double.
nR1
[in] Value of double.
nR2
[in] Value of double.
nR3
[in] Value of double.
stClipRect
[in] Pointer to RECT.
nOpacity
[in, defaultvalue(1.0)] Value of double.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IUIX_RenderContext