IUIX_RenderContext::DrawPixels Method
From PDF XChange PDF SDK
(Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 5: | Line 5: | ||
== 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, | + | <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 == | ||
Line 23: | Line 23: | ||
:[in] Pointer to RECT. | :[in] Pointer to RECT. | ||
;''nScaleH'' | ;''nScaleH'' | ||
− | :[in, | + | :[in, defaultvalue(0)] Value of LONG. |
;''nScaleV'' | ;''nScaleV'' | ||
− | :[in, | + | :[in, defaultvalue(0)] Value of LONG. |
;''nStretchMethod'' | ;''nStretchMethod'' | ||
− | :[in, | + | :[in, defaultvalue(1)] Value of LONG. |
;''nFlags'' | ;''nFlags'' | ||
− | :[in, | + | :[in, defaultvalue(0)] Value of LONG. |
;''nOpacity'' | ;''nOpacity'' | ||
− | :[in, | + | :[in, defaultvalue(1.0)] Value of double. |
== Return Value == | == Return Value == |
Revision as of 01:36, 17 April 2015
The method of interface of PDF-XChange Editor SDK.
Contents
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
See also IUIX_RenderContext.