[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: trunk/koffice/krita/core
From: Adrian Page <adrian () pagenet ! plus ! com>
Date: 2005-05-04 21:53:44
Message-ID: 1115243624.504104.13295.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 409493 by page:
Take layer offsets into account for read/WriteBytes().
M +2 -2 trunk/koffice/krita/core/kis_paint_device.h
--- trunk/koffice/krita/core/kis_paint_device.h #409492:409493
@@ -450,12 +450,12 @@
inline void KisPaintDevice::readBytes(Q_UINT8 * data, Q_INT32 x, Q_INT32 y, Q_INT32 w, Q_INT32 h)
{
- m_datamanager -> readBytes(data, x, y, w, h);
+ m_datamanager -> readBytes(data, x - m_x, y - m_y, w, h);
}
inline void KisPaintDevice::writeBytes(const Q_UINT8 * data, Q_INT32 x, Q_INT32 y, Q_INT32 w, Q_INT32 h)
{
- m_datamanager -> writeBytes( data, x, y, w, h);
+ m_datamanager -> writeBytes( data, x - m_x, y - m_y, w, h);
}
inline KisProfileSP KisPaintDevice::profile() const
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic