Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
#include "ltwrappr.h"
virtual L_INT LPaint::PaintRgnDC(uROP3=SRCCOPY)
L_UINT32 uROP3; |
/* windows ROP code for display */ |
Paints the class object's associated bitmap region to a device context. This function works the same as LPaint::PaintDC, except that only the bitmap region is painted.
Parameter |
Description |
uROP3 |
The Windows ROP code that determines how the destination rectangle is updated. This parameter takes the same codes as the Windows BitBlt() function. For ordinary painting, use SRCCOPY. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
The mapping mode of this object's device context must be MM_TEXT.
Required DLLs and Libraries
LTDIS For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Win32, x64.
See Also
Functions: |
Class Members, LBitmapBase::RectToBitmap, LBitmapBase::RectFromBitmap |
Topics: |
|
|
|
|
|
|
|
|
Example
For an example, refer to LPaint::FrameRgn.