LBitmapRgn::IsPtInRgn

#include "ltwrappr.h"

virtual L_BOOL LBitmapRgn::IsPtInRgn(nRow, nCol)

virtual L_BOOL LBitmapRgn::IsPtInRgn(pPoint)

L_INT nRow;

row number of the pixel

L_INT nCol;

column number of the pixel

LPPOINT pPoint;

pointer to a structure of type POINT

Determines whether the specified pixel is in the associated class object's bitmap region.

Parameter

Description

nRow

The row number of the pixel.

nCol

The column number of the pixel.

pPoint

Pointer to a structure of type POINT to be tested.

Returns

TRUE

The specified pixel is in the region.

FALSE

The specified pixel is outside the region.

Comments

This function uses bitmap coordinates to specify the pixel. Therefore, you must account for the view perspective of the bitmap. For more information, refer to Accounting for View Perspective.

Required DLLs and Libraries

LTDIS

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64.

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

LEADTOOLS Raster Imaging C++ Class Library Help