LPaintEffect::Draw3dShape

Summary

Draws a 3D shape to the class object's associated device context.

Syntax

#include "ltwrappr.h"

virtual L_INT LPaintEffect::Draw3dShape(pRect, hRgn)

virtual L_INT LPaintEffect::Draw3dShape(pRect, uShape)

Parameters

LPRECT pRect

The bounding rectangle.

HRGN hRgn

Handle to a Windows region that defines the shape.

L_UINT uShape

The shape type. For possible values, refer to Effect Shapes.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

Use the background bitmap to place an image from another device context into the background of the shape.

Use LPaintEffect::SetShapeParameters to control the properties of the 3d shape.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to LPaintEffect::SetFillBitmap.

Help Version 22.0.2023.2.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 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.