BZoomStep

#include "BIDISP.H"

 

VOID CALLBACK BZoomStep(HWND                          hWnd,
LPRECT                        lprScale,
ZOOMFLAG                zoomflg,
LPZOOMSTRUCT       zm
LPDISPLAYSTRUCT cb)

Description

This function recalculates scaling factor (zm->rScaleOut) for the function using the next or previous scaling value. 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

lpMouse

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.