[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    Re: Regression in 1.4.1
From:       Boudewijn Rempt <boud () valdyas ! org>
Date:       2005-07-31 14:52:09
Message-ID: 200507311652.09526.boud () valdyas ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Sunday 31 July 2005 16:46, Boudewijn Rempt wrote:

> Doesn't look like it... And Krita doesn't take more and more memory either,
> so it must hang in some really tight loop. I guess I'll have to give up
> resistance and start using a real debugger here!

The plot is getting thicker... It's somewhere inside 


KisTiledHLineIterator::KisTiledHLineIterator( KisTiledDataManager *ndevice,  
Q_INT32 x, Q_INT32 y, Q_INT32 w, bool writable) :
	KisTiledIterator(ndevice),
	m_right(x+w-1), m_left(x)
{
	kdDebug() << "Creating hline iterator\n";
	Q_ASSERT(ndevice != 0);

	m_writable = writable;
	m_x = x;
	m_y = y;

	// Find tile row,col matching x,y
	m_row = yToRow(m_y);
	m_leftCol = xToCol(m_x);
	m_rightCol = xToCol(m_right);
	m_col = m_leftCol;

	// calc limits within the tile
	m_yInTile = m_y - m_row * KisTile::HEIGHT;
	m_leftInTile = m_x - m_leftCol * KisTile::WIDTH;

	if(m_col == m_rightCol)
		m_rightInTile = m_right - m_rightCol * KisTile::WIDTH;
	else
		m_rightInTile = KisTile::WIDTH - 1;

	m_xInTile = m_leftInTile;

	fetchTileData(m_col, m_row);
	m_offset = m_pixelSize * (m_yInTile * KisTile::WIDTH + m_xInTile);

	kdDebug() << "Creating hline iterator\n";
}


-- 
Boudewijn Rempt 
http://www.valdyas.org/fading/index.cgi

[Attachment #5 (application/pgp-signature)]

_______________________________________________
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