Zoomscreen

typedef struct tagZOOMSCREEN

{

    UINT             wScreenFormat;

    double           X_DCPerBitmap;

    double           Y_DCPerBitmap;

    POINT           pSizeBitmap;

    POINT           pDPIDC;

    POINT           pDPIBitmap;

    POINT           pOrigoDC;

    POINT           pOrigoBMP;

    POINT           pScrollPos;

    POINT           pScrollRange;

    BOOL           bScrollExist;

} ZOOMSCREEN;

 

typedef ZOOMSCREEN FAR *LPZOOMSCREEN;

Description

This structure is used only for screen zoom.

Members of the structure

UINT

wScreenFormat

 

 

wScreenFormat :

 

BIS_ROTATE90

- Decompress the image by rotating it 90 degrees clockwise.

 

BIS_ROTATE180

- Decompress the image by rotating it180 degrees clockwise.

 

BIS_ROTATE270

- Decompress the image by rotating it 270 degrees clockwise.

 

BIS_SCALENORMAL

- Display the image proportionally. Same as DISP_NORMAL.

 

BIS_FITTOSCREEN

- Display the image proportionally and it forces the image to fit into the client area. Same as DISP_PREVIEW.

 

BIS_DRAFT

- Display the image pixel to pixel without scaling.

 

BIS_INVERT

- Display the image by inverting it's palette.
The Device Independent Bitmap flags.

 

DISP_NORMAL

- Display the image proportionally.

 

DISP_PREVIEW

- Display the image proportionally and it forces the image to fit into the client area. Same as BIS_FITTOSCREEN.

 

DISP_INVERT

- Display the image by inverting it's palette. Same as BIS_INVERT.

double

X_DCPerBitmap

Equal to DISPLAYSTRUCT->X_DCPerBitmap

double

Y_DCPerBitmap

Equal to DISPLAYSTRUCT->Y_DCPerBitmap

POINT

pSizeBitmap

Equal to DISPLAYSTRUCT->pSizeBitmap

POINT

pDPIDC

Equal to DISPLAYSTRUCT->X_pDPIDC

POINT

pDPIBitmap

Equal to DISPLAYSTRUCT->X_pDPIBitmap

POINT

pOrigoDC

Internal use only - stores the window origin point in logical units

POINT

pOrigoBMP

Internal use only - stores the window origin point in pixels

POINT

pScrollPos

Scroll pos output

POINT

pScrollRange

Scroll range

BOOL 

bScrollExist

1:HORZ,  2:VERT  3:BOTH   (output)

Requirements

Header :     Declared in BiDisp.h.