Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ PEXUtDBResize(3G) — HP-UX ANSI C A.10.11

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PEXUtDBResize(3G)

Name

PEXUtDBResize − resize window buffers

Syntax

Drawable PEXUtDBResize(Display *dpy, Window win)

Parameters

dpyA pointer to a display structure returned by a successful XOpenDisplay call. 

winThe resource identifier of the window for which the buffers are resized. 

Returns

The function returns a value of if it is unsuccessful; otherwise, the drawable identifier to be used for subsequent rendering calls is returned. See also the description of the drw_id_return argument for

Description

The function will resize buffers associated with a window that is configured for double-buffering. If the window is not configured for double-buffering, the function will simply return the specified window identifier. 

The application must handle window events and call this utility function at the appropriate time to handle window resize. 

The content of the buffers is not guaranteed to be preserved after the resize.  The best practice for interoperability is to redraw the image after a window resize. 

If was called with front == prior to the returned drawable identifier is the identifier of the front buffer.  Otherwise, the returned drawable identifier is the identifier of the back buffer. 

Restrictions

If it is necessary to ensure that all actions have completed before proceeding, the application should call after calling

This function should not be called with a window into which PEX is rendering.  should be called prior to

See Also

(c) Hewlett-Packard Company  —  HP PEXlib Release 5.1: January 1993

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