ncl_ginq_clip - Man Page

retrieves the current value of the clipping indicator as well as the current clipping rectangle.

Synopsis

#include <ncarg/gks.h>

void ginq_clip(Gint *err_ind, Gclip *clip_ind_rect);

Description

err_ind

(Output) - If the inquired values cannot be returned correctly, a non-zero error indicator is returned in err_ind, otherwise a zero is returned. Consult "User's Guide for NCAR GKS-0A Graphics" for a description of the meaning of the error indicators.

clip_ind_rect.clip_ind

(Output) - Returns the current value of the clipping  indicator as set by default or by a call to gset_clip_ind.

GIND_NO_CLIP

Clipping is off, or deactivated.

GIND_CLIP

Clipping is on. Data outside of the world coordinate window will  not be plotted.

clip_ind_rect.clip_rect

(Glimit, Output) - Four normalized device coordinates providing the  corner points of the current clipping rectangle.

Access

To use the GKS C-binding routines, load the ncarg_gks and ncarg_c libraries.

See Also

Online: set(3NCARG), gset_clip_ind(3NCARG), gset_win(3NCARG), gsel_norm_tran(3NCARG), gks(3NCARG), ncarg_gks_cbind(3NCARG)

Hardcopy:  User's Guide for NCAR GKS-0A Graphics; NCAR Graphics Fundamentals, UNIX Version

Info

March 1993 UNIX NCAR GRAPHICS