Autolayer merge done
    Casper Boemann 
    cbr at boemann.dk
       
    Sun Jan 16 16:44:16 CET 2005
    
    
  
> > True, but then you need to access the destination and that requires a
tile
> > switch per access if the destination is a paintdevice. but if you just
dump
> > it into a buffer then it's just a *and a + and an indexed storage.
> One switch per access? I don't understand what you mean, can you point out
> where to find that in the code or give an example?
It a thought example:
while(! iterator.done())
{
   value = iterator;
   x= iterator.x(); // not much overhead here
    y=iterator.y();
    destPaintDev.setPixel(x, y, value); // this call calculates the tile ie
essentally a switch
   iterator++:
}
    
    
More information about the kimageshop
mailing list