[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kimageshop
Subject: Re: Choice of readPixelData in the colour strategies
From: Patrick Julien <freak () codepimps ! org>
Date: 2004-02-16 22:06:49
Message-ID: 200402161706.50205.freak () codepimps ! org
[Download RAW message or body]
On February 16, 2004 03:57 pm, Boudewijn Rempt wrote:
> Stupid question maybe -- but in the colour strategies we laboriously create
> a KisPixelData object only to feed it to KisTileMgr which fills it's data
> with data; why don't we use void KisTileMgr::readPixelData(Q_INT32 x1,
> Q_INT32 y1, Q_INT32 x2, Q_INT32 y2, QUANTUM *buffer, Q_UINT32 stride) which
> could work directly on the m_buf QUANTUM buffer? I don't quite see where we
> need the other KisPixelData fields -- but I cannot imagine there isn't a
> reason for doing all that work...
That readPixelData is now private... but the real reason is that I simply
forgot about it when using I initially wrote it.
_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://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