LPaintEffect::Draw3dShape

#include "ltwrappr.h"

virtual L_INT LPaintEffect::Draw3dShape(pRect, hRgn)

virtual L_INT LPaintEffect::Draw3dShape(pRect, uShape)

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

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

LEADTOOLS Raster Imaging C++ Class Library Help