koffice/krita
Adrian Page
adrian at pagenet.plus.com
Fri Aug 27 11:36:55 CEST 2004
On Friday 27 August 2004 10:24 am, Boudewijn Rempt wrote:
> On Friday 27 August 2004 11:18, Adrian Page wrote:
> > I might be missing something, but I can't find anything in the code that
> > limits them to tile dimensions. The srcstride and dststride arguments
> > should allow any width and height to work. It's true that the only user
> > of these functions does so on individual tiles, but the functions
> > themselves don't appear to be limited to this. We should be able to
> > remove that limitation if it does exist.
>
> I think it's because the pointers given are only valid within the limit of
> a tile; a tiled image is not a contiguous area that can be spanned with a
> single pointer and pointer arithmetic.
True, but if you pass it pointers to data that isn't in tiles, there's no such
limitation. KisPainter only does a tile at a time, but the bitBlts could work
on larger areas if needed (not that they need to at the moment).
Adrian
More information about the kimageshop
mailing list