Substrate implementation proposal

Boudewijn Rempt boud at valdyas.org
Tue Apr 4 14:12:19 CEST 2006


On Tue, 4 Apr 2006, Casper Boemann wrote:

> A pattern of a fixed size is a limitation we cannot live with
> 
> We can always reuse the tile manager without reusing the paint device.
> 
> so if KisSustrate has someting like
> 
> getPixel()
> {
>   switch(datatype)
>      case tiled
>         tilemanager->getpixel(x,y)
>      case pattern
>         pattern->getPixel(x%size, y%size)
>     case function
>        function->getPixel(x,y)
> }
> 
> 
> Possible in a more OO way but you get the idea.
> 
> And though we have talked about changing tilesize, that is only a question 
> of optimizing, not for pattern. imho

Hmm... That would be possible, and we could add a writePixel as well. 


More information about the kimageshop mailing list