Re: canvas notes [zoom dependent container]



On Thu, 2005-09-08 at 14:35 -0400, Havoc Pennington wrote:
> Piccolo does have this feature, so it might be interesting to look at
> that. Also one of their demos has a "lens" item, where some items are
> only visible if they are intersecting the "lens" ; not sure how that
> demo works, but it seems like it may be interesting to find out.

It works by having three layers and two cameras. One layer is shared and
contains the things the visible always, one layer contains the lens
itself which is basically the camera plus some space where you can drag
the camera item. The camera item then views the shared layer plus
another layer where the "hidden" items appear.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a lonely playboy farmboy with a robot buddy named Sparky. She's a 
warm-hearted goth magician's assistant with an evil twin sister. They fight 
crime! 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]