Lisp HUG Maillist Archive

Best practice to do clippling within a pinboard object

Hi

I have a pinboard object which I redraw myself.  I would like to do all 
the drawing within it to be clipped to its size and position.
Is there an automatic way to achieve this effect or do I need to do 
clipping myself?

Thanks

marco



--
Marco Antoniotti					http://bioinformatics.nyu.edu
NYU Courant Bioinformatics Group		tel. +1 - 212 - 998 3488
715 Broadway 10th FL				fax. +1 - 212 - 998 3484
New York, NY, 10003, U.S.A.


Re: Best practice to do clippling within a pinboard object

Quoting Marco Antoniotti <marcoxa@cs.nyu.edu>:

> Hi
> 
> I have a pinboard object which I redraw myself.  I would like to do all 
> the drawing within it to be clipped to its size and position.
> Is there an automatic way to achieve this effect or do I need to do 
> clipping myself?

You're probably looking for GP:WITH-GRAPHICS-MASK.  If you need to use
it alot though then you want to do clipping yourself because it's too
slow.



Updated at: 2020-12-10 08:55 UTC