BZoomScreenStep

#include "BIDISP.H"

 

VOID CALLBACK BZoomScreenStep( HWND                    hWnd,
LPRECT                  lprScale,
ZOOMFLAG          zoomflg,
LPZOOMSTRUCT zm,
LPZOOMSCREEN zc)

Description

This function recalculates scaling factor (zm->rScaleOut) for the function using the next or previous scaling value for decompress to screen function. zoomflg (see BZoomStart function) defines the direction of the zooming. The new scaling factor is returned in the zm->rScaleOut structure. The origo of the image remains unchanged.

Parameters

HWND

hWnd

Window handle to display image.

LPPOINT

lprScale

Coordinates of the mouse pointer.

ZOOMFLAG

zoomflg

Determines the operation of zoom.

LPZOOMSTRUCT

zm

Zoom structure created by BzoomStart function

LPZOOMSCREEN

zc

Display information structure of decompress to screen function.

Return values

None.

Requirements

Header :     Declared in BIDisp.h; include BIDisp.h.

Library :    Use BIDisp.lib.

DLLs :       BIDisp.dll.