nanogui: Clipping in nano-X ?
Subject:
Re: Clipping in nano-X ?
From:
"Greg Haerr" ####@####.####
Date:
18 Sep 2000 01:49:49 -0000
Message-Id: <10e901c02112$f36feb20$15320cd0@gregh>
: 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