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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Raster Imaging C++ Class Library Help