From: | |
Date: | 01 Feb 2001 at 17:01:53 |
Subject: | Re: Clipping graphics output |
Hello Serge,
> Does anybody knows how to force the functions of graphic library to
> render only inside the RastPort? [...] if I create a RastPort and
> make InitRastPort() and render in it, result would not be so perfect,
> [...] and the output would not be clipped. What am I doing wrong?
The thing is that rastports without a layer structure won't enjoy
clipping.
There's no system friendly way to attach a layer to an offscreen
rastport. But in practise it's quite simple. But tt's not something I
do, as it is not really a documented feature of the OS.
Kind regards Allan
------------------------ Yahoo! Groups Sponsor ---------------------~-~>
eGroups is now Yahoo! Groups
Click here for more details
http://click.egroups.com/1/11231/0/_/451227/_/981043759/
---------------------------------------------------------------------_->