Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ IvwSetZoomR(3X) — HP-UX ANSI C A.10.11

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

IvwCreateDisplay(3X)

IvwErrorCallback(5)

IvwGetRegion(3X)

IvwSetZoomRegion(3X)

NAME

IvwSetZoomRegion() − cause the display widget to zoom into a particular region.

SYNOPSIS

Void
IvwSetZoomRegion (

Widget w,

Position *x,

Position *y,

int *width,

int *height );

DESCRIPTION

IvwSetZoomRegion() causes the display widget to zoom into a particular region. Note that the region is relative to the current, visibly displayed area. 

w is the widget that requires the region. 

*x points to the X coordinate of the upper left corner. 

*y points to the Y coordinate of the upper left corner. 

*width points to the width (in pixels) of the region. 

*height points to the height (in pixels) of the region. 

ERRORS

If an error occurs, any callbacks that are registered with the widget via the IvwNerrorCallback resource are executed.  The error is communicated to the callback routine via the error data structure IvwErrorCallbackStruct.  See IvwErrorCallbackStruct(5). 

AUTHOR

IvwSetZoomRegion() was developed by HP. 

SEE ALSO

IvwCreateDisplay(3X), IvwErrorCallback(5), IvwGetRegion(3X)

Using the Image Developer’s Kit.
 

Hewlett-Packard Company  —  Image Library: February, 1995

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026