IUIX_RenderContext::DrawPixels Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_RenderContext::DrawPixels Method}}
 
{{#customTitle:IUIX_RenderContext::DrawPixels Method}}
 +
{{#parentPage:PXV:IUIX_RenderContext#Methods|DrawPixels|method}}
 +
{{ToWrite}}
 +
{{ToReview}}
  
 
The method of interface of PDF-XChange Editor SDK.
 
The method of interface of PDF-XChange Editor SDK.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT DrawPixels([in] void* pSrcBGRA, [in] LONG nSrcWidth, [in] LONG nSrcHeight, [in] LONG nSrcStride, [in] RECT* pDstRect, [in] RECT* pSrcRect, [in] RECT* pClipRect, [in, defaultvalue(0)] LONG nScaleH, [in, defaultvalue(0)] LONG nScaleV, [in, defaultvalue(1)] LONG nStretchMethod, [in, defaultvalue(0)] LONG nFlags, [in, defaultvalue(1.0)] double nOpacity);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT DrawPixels([in]                     void*   pSrcBGRA,
 +
                  [in]                     LONG   nSrcWidth,
 +
                  [in]                     LONG   nSrcHeight,
 +
                  [in]                     LONG   nSrcStride,
 +
                  [in]                     RECT*   pDstRect,
 +
                  [in]                     RECT*   pSrcRect,
 +
                  [in]                     RECT*   pClipRect,
 +
                  [in, defaultvalue(0)]   LONG   nScaleH,
 +
                  [in, defaultvalue(0)]   LONG   nScaleV,
 +
                  [in, defaultvalue(1)]   LONG   nStretchMethod,
 +
                  [in, defaultvalue(0)]   LONG   nFlags,
 +
                  [in, defaultvalue(1.0)] double nOpacity);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pSrcBGRA''
+
;pSrcBGRA
 
:[in]  Pointer to void.
 
:[in]  Pointer to void.
;''nSrcWidth''
+
;nSrcWidth
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
;''nSrcHeight''
+
;nSrcHeight
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
;''nSrcStride''
+
;nSrcStride
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
;''pDstRect''
+
;pDstRect
 
:[in]  Pointer to RECT.
 
:[in]  Pointer to RECT.
;''pSrcRect''
+
;pSrcRect
 
:[in]  Pointer to RECT.
 
:[in]  Pointer to RECT.
;''pClipRect''
+
;pClipRect
 
:[in]  Pointer to RECT.
 
:[in]  Pointer to RECT.
;''nScaleH''
+
;nScaleH
 
:[in, defaultvalue(0)]  Value of LONG.
 
:[in, defaultvalue(0)]  Value of LONG.
;''nScaleV''
+
;nScaleV
 
:[in, defaultvalue(0)]  Value of LONG.
 
:[in, defaultvalue(0)]  Value of LONG.
;''nStretchMethod''
+
;nStretchMethod
 
:[in, defaultvalue(1)]  Value of LONG.
 
:[in, defaultvalue(1)]  Value of LONG.
;''nFlags''
+
;nFlags
 
:[in, defaultvalue(0)]  Value of LONG.
 
:[in, defaultvalue(0)]  Value of LONG.
;''nOpacity''
+
;nOpacity
 
:[in, defaultvalue(1.0)]  Value of double.
 
:[in, defaultvalue(1.0)]  Value of double.
  
Line 37: Line 52:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IUIX_RenderContext|IUIX_RenderContext]].
+
[[PXV:IUIX_RenderContext|IUIX_RenderContext]]

Latest revision as of 10:21, 23 May 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT DrawPixels([in]                     void*   pSrcBGRA,
                   [in]                     LONG    nSrcWidth,
                   [in]                     LONG    nSrcHeight,
                   [in]                     LONG    nSrcStride,
                   [in]                     RECT*   pDstRect,
                   [in]                     RECT*   pSrcRect,
                   [in]                     RECT*   pClipRect,
                   [in, defaultvalue(0)]    LONG    nScaleH,
                   [in, defaultvalue(0)]    LONG    nScaleV,
                   [in, defaultvalue(1)]    LONG    nStretchMethod,
                   [in, defaultvalue(0)]    LONG    nFlags,
                   [in, defaultvalue(1.0)]  double  nOpacity);

Parameters

pSrcBGRA
[in] Pointer to void.
nSrcWidth
[in] Value of LONG.
nSrcHeight
[in] Value of LONG.
nSrcStride
[in] Value of LONG.
pDstRect
[in] Pointer to RECT.
pSrcRect
[in] Pointer to RECT.
pClipRect
[in] Pointer to RECT.
nScaleH
[in, defaultvalue(0)] Value of LONG.
nScaleV
[in, defaultvalue(0)] Value of LONG.
nStretchMethod
[in, defaultvalue(1)] Value of LONG.
nFlags
[in, defaultvalue(0)] Value of LONG.
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