.\"
.\" $XConsortium: p049,v 5.3 94/04/17 20:54:49 hersh Exp $
.\"
.\" 
$XMCOPY
.\" Copyright (c) 1990, 1991 by Sun Microsystems, Inc. and the X Consortium.
.\" 
.\"                         All Rights Reserved
.\" 
.\" Permission to use, copy, modify, and distribute this software and its 
.\" documentation for any purpose and without fee is hereby granted, 
.\" provided that the above copyright notice appear in all copies and that
.\" both that copyright notice and this permission notice appear in 
.\" supporting documentation, and that the names of Sun Microsystems,
.\" and the X Consortium not be used in advertising or publicity 
.\" pertaining to distribution of the software without specific, written 
.\" prior permission.  
.\" 
.\" SUN MICROSYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 
.\" INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
.\" EVENT SHALL SUN MICROSYSTEMS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
.\" CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
.\" USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
.\" OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\" "@(#)escape_-6.3 1.15 90/02/24 Copyr 1988 Sun Micro"
.ds f \s-2ESCAPE -6\s+2
.ds e \s-2ESCAPE\s+2
.ds s Sun\s-2PHIGS\s+2
.TH "ESCAPE -6" 3P "29 February 1991"
.SH NAME
ESCAPE -6 \- redraw a list of a \s-2PHIGS\s+2 workstation window regions
.SH SYNOPSIS
.SS C Syntax
.ft B
.ta 1.25i 3i
.nf
void
pescape ( func_id, in, store, out )
Pint	func_id;	\fIescape function identifier\fP
Pescape_in_data	*in;	\fIinput data for the function\fP
Pstore	store;	\fInot used\fP
Pescape_out_data	**out;	\fIOUT not used\fP
.fi
.ft R
.SS Required PHIGS Operating States
(PHOP, *, WSOP *)
.SH DESCRIPTION
.SS Purpose
\*f redraws the specified list of regions of a \s-2PHIGS\s+2 workstation window
without updating the workstation state list.
This escape function is intended to provide a means for applications to
redraw the workstation window in response to X exposure events, without
updating the state of the workstation state list.
When this function is called the workstation redraws the specified
regions.
.SS C Input Parameters
.IP \fIfunc_id\fP
The function identifier for this escape is \s-2PUESC_REDRAW_REGIONS\s+2,
which is defined in phigs.h to be -6.
.IP \fIin\fP
A pointer to a Pescape_in_data union, which contains the escape_in_u6 member
used by this escape function.
This member is defined in phigs.h as:
.nf
.ta .5i +.75i +1i
.sp .4
struct {
.sp .2
	Pint	ws_id;		/* workstation id */
	Pint	num_regions;	/* number of regions */
	XRectangle	*regions;	/* the regions to redraw */
.sp .2
} escape_in_u6;	/* redraw regions */
.fi
.RS
.IP \fIws_id\fP
Indicates the workstation to redraw.
.IP \fInum_regions\fP
The number of regions specified.
.IP \fIregions\fP
The regions of the workstation window to redraw.
.RE
.IP \fIstore\fP
This parameter is not used in this escape function.
.SS C Output Parameters
.IP \fIout\fP
This parameter is not used by this escape.
.SH ERRORS
.IP 003
Ignoring function, function requires state (PHOP, WSOP, *, *)
.IP 054
Ignoring function, the specified workstation is not open
.SH SEE ALSO
.nf
.IP
.ta 0.5i
.SM "ESCAPE (3P)"
.fi

