[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kimageshop
Subject:
From: Boudewijn Rempt <boud () valdyas ! org>
Date: 2003-10-08 18:17:46
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Wednesday 08 October 2003 14:09, Patrick Julien wrote:
> It's available, it's KisTileMgr::pixelData(), it's used mainly for
>
> 1) Implementing the algorithms using a simpler rectangular area, i.e. then
> ported to use tiles directly.
> 2) It's used for importing images, i.e. see the ImageMagick import/export
> code.
>
So I'm right in supposing that in the KisTileMgr functions
KisPixelDataSP pixelData(Q_INT32 x1, Q_INT32 y1, Q_INT32 x2, Q_INT32
y2, Q_INT32 mode);
void releasePixelData(KisPixelDataSP pd);
void readPixelData(Q_INT32 x1, Q_INT32 y1, Q_INT32 x2, Q_INT32 y2,
QUANTUM *buffer, Q_UINT32 stride);
void readPixelData(KisPixelDataSP pd);
void writePixelData(Q_INT32 x1, Q_INT32 y1, Q_INT32 x2, Q_INT32 y2,
QUANTUM
*buffer, Q_UINT32 stride);
void writePixelData(KisPixelDataSP pd);
The coordinates are those for the whole image? That would make life a lot
easier. Having tile-aware methods in KisPainter can come later, when the
speed is needed.
--
Boudewijn Rempt | http://www.valdyas.org/index2.html
[Attachment #5 (application/pgp-signature)]
_______________________________________________
kimageshop mailing list
kimageshop@mail.kde.org
http://mail.kde.org/mailman/listinfo/kimageshop
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic