IUIX_RenderContext::DrawOval 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 DrawOval([in]                                      RECT*            Rect,
+
<pre class="brush:cpp;gutter:false">HRESULT DrawOval([in]                                      RECT*            stRect,
                 [in]                                      IUIX_Brush*      Brush,
+
                 [in]                                      IUIX_Brush*      pBrush,
                 [in]                                      IUIX_Pen*        Pen,
+
                 [in]                                      IUIX_Pen*        pPen,
                 [in]                                      RECT*            ClipRect,
+
                 [in]                                      RECT*            stClipRect,
                 [in, defaultvalue(UIX_DrawOval_Ellipse)]  UIX_DrawOvalMode  Mode,
+
                 [in, defaultvalue(UIX_DrawOval_Ellipse)]  UIX_DrawOvalMode  nMode,
                 [in, defaultvalue(0.0)]                  double            StartAndle,
+
                 [in, defaultvalue(0.0)]                  double            nStartAndle,
                 [in, defaultvalue(360.0)]                double            StopAndle,
+
                 [in, defaultvalue(360.0)]                double            nStopAndle,
                 [in, defaultvalue(1.0)]                  double            Opacity);</pre>
+
                 [in, defaultvalue(1.0)]                  double            nOpacity);</pre>
  
 
== Parameters ==
 
== Parameters ==
;Rect
+
;stRect
 
:[in]  Pointer to RECT.
 
:[in]  Pointer to RECT.
;Brush
+
;pBrush
 
:[in]  Pointer to [[PXV:IUIX_Brush|IUIX_Brush]].
 
:[in]  Pointer to [[PXV:IUIX_Brush|IUIX_Brush]].
;Pen
+
;pPen
 
:[in]  Pointer to [[PXV:IUIX_Pen|IUIX_Pen]].
 
:[in]  Pointer to [[PXV:IUIX_Pen|IUIX_Pen]].
;ClipRect
+
;stClipRect
 
:[in]  Pointer to RECT.
 
:[in]  Pointer to RECT.
;Mode
+
;nMode
 
:[in, defaultvalue(UIX_DrawOval_Ellipse)]  Value of [[PXV:UIX_DrawOvalMode|UIX_DrawOvalMode]].
 
:[in, defaultvalue(UIX_DrawOval_Ellipse)]  Value of [[PXV:UIX_DrawOvalMode|UIX_DrawOvalMode]].
;StartAndle
+
;nStartAndle
 
:[in, defaultvalue(0.0)]  Value of double.
 
:[in, defaultvalue(0.0)]  Value of double.
;StopAndle
+
;nStopAndle
 
:[in, defaultvalue(360.0)]  Value of double.
 
:[in, defaultvalue(360.0)]  Value of double.
;Opacity
+
;nOpacity
 
:[in, defaultvalue(1.0)]  Value of double.
 
:[in, defaultvalue(1.0)]  Value of double.
  

Latest revision as of 03:37, 15 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT DrawOval([in]                                      RECT*             stRect,
                 [in]                                      IUIX_Brush*       pBrush,
                 [in]                                      IUIX_Pen*         pPen,
                 [in]                                      RECT*             stClipRect,
                 [in, defaultvalue(UIX_DrawOval_Ellipse)]  UIX_DrawOvalMode  nMode,
                 [in, defaultvalue(0.0)]                   double            nStartAndle,
                 [in, defaultvalue(360.0)]                 double            nStopAndle,
                 [in, defaultvalue(1.0)]                   double            nOpacity);

Parameters

stRect
[in] Pointer to RECT.
pBrush
[in] Pointer to IUIX_Brush.
pPen
[in] Pointer to IUIX_Pen.
stClipRect
[in] Pointer to RECT.
nMode
[in, defaultvalue(UIX_DrawOval_Ellipse)] Value of UIX_DrawOvalMode.
nStartAndle
[in, defaultvalue(0.0)] Value of double.
nStopAndle
[in, defaultvalue(360.0)] Value of double.
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