nanogui@linuxhacker.org

nanogui@linuxhacker.org


Subject: Re: Clipping in nano-X ?
From: Greg Haerr
Date: Sun, 17 Sep 2000 19:51:20 -0600

: Could anybode give me a hint how to manage 'clipping'
: under nano-X ?
: I can not find an interface for such oprations.
: At the moment it seems to me as if I have to use the
: graphic engine's base layer to get access to this
: functionality.

Goto microwin/src/include/nano-X.h.  Check out the
many functions that start after GrNewRegion().  There's
a complete API and we support arbitrary regions, including
polygon-based based regions.  By calling GrSetGCRegion,
any region will be intersected with the visible region when
drawing.

Regards,

Greg



nanogui@linuxhacker.org