LPaint::PaintRgnDC

Summary

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.

Syntax

#include "ltwrappr.h"

virtual L_INT LPaint::PaintRgnDC(uROP3=SRCCOPY)

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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.