LPaint::PaintRgnDC

#include "ltwrappr.h"

virtual L_INT LPaint::PaintRgnDC(uROP3=SRCCOPY)

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.

Parameters

L_UINT32 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

Value Meaning
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

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to LPaint::FrameRgn.

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help