Zooming In on a Selection: Step 2

Modify the EZFUNC.H file to add global variables for tracking coordinates. The variable declarations should appear as follows:

L_BOOL FirstDraw; /* The state for the first WM_MOUSEMOVE event when cropping */   
int StartGDIX; /* Starting X position in screen pixels */   
int StartGDIY; /* Starting Y position in screen pixels */   
int EndGDIX; /* Ending X position in screen pixels */   
int EndGDIY;  /* Ending Y position in screen pixels */   
int StartPixelX; /* Starting X position in bitmap pixels */   
int StartPixelY; /* Starting Y position in bitmap pixels */   
int EndPixelX; /* Ending X position in bitmap pixels */   
int EndPixelY; /* Ending Y position in bitmap pixels */   
L_INT DisplayLeft, DisplayTop; /* Origin of the displayed image */ 

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

LEADTOOLS Raster Imaging C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.