LBitmapRgn::SetRgnXForm

Summary

Sets the region transform to be used by the region functions.

Syntax

#include "ltwrappr.h"

L_INT LBitmapRgn::SetRgnXForm(pXform)

Parameters

pRGNXFORM pXform

The new region transform to be used by the region functions. Pass NULL to use the default region transformation.

Returns

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

Comments

Before calling this function, you must declare an RGNXFORM structure and set its values, which LEADTOOLS uses to translate between device context coordinates and bitmap coordinates. For details about how the structure works refer to the RGNXFORM structure description. For a description of common usage, refer to Translating Coordinates for a Bitmap Region.

The default settings for the region transform are:

the Scalar fields default to 1.

the Offset fields default to 0.

the View Perspective field defaults to the associated class objects bitmap view perspective.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to LBitmapRgn::SetRgnPolygon.

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.