C (5/257)

From:
Date:01 Feb 2001 at 11:53:16
Subject:Clipping graphics output

Hello All.

Does anybody knows how to force the functions of graphic library to render
only inside the RastPort? The simple example of what I mean
is the following: if I open the window, and render outside its bounds, the
result would be perfect, the rendering will be clipped on the
bounds. But if I create a RastPort and make InitRastPort() and render
in it, result would not be so perfect, if I go out the bounds, the innocent
memory would be trashed, and the output would not be clipped.
What am I doing wrong?

Regards

------------------------ Yahoo! Groups Sponsor ---------------------~-~>
eGroups is now Yahoo! Groups
Click here for more details
http://click.egroups.com/1/11231/0/_/451227/_/981026742/
---------------------------------------------------------------------_->