[Drawkit] two views, different layers?

Graham Cox graham.cox at bigpond.com
Mon Jul 28 07:27:03 PDT 2008


On 29 Jul 2008, at 12:14 am, James Maxwell wrote:

> hmm... This is all sounding much more complex than just going ahead  
> with my original idea of two separate drawings. I think I'd better  
> stick with that, for now, and see what sorts of obstacles I come up  
> against.


Hiding layers is directly supported, so there's nothing wrong with  
using that to selectively show or hide layers. But your mention of an  
alpha channel made me wonder if you had some fancy fade effect in  
mind, which isn't supported.

Going with two drawings - hard to say whether that's a good idea or  
not for your situation. On the face of it there seems more work to  
synch up two drawings since they have no properties in common, whereas  
two layers of the same drawing share many properties in common by  
design. Synching two otherwise identical data structures is usually a  
bad idea (data duplication) though sometimes unavoidable.

You might also consider using a special view that pulls some tricks  
like drawing just one specific layer and ignoring the others. There  
are a variety of ways to solve this problem.

cheers, Graham




More information about the Drawkit mailing list