[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/krita/core
From: Casper Boemann <cbr () boemann ! dk>
Date: 2006-03-24 20:50:28
Message-ID: 1143233428.685888.19746.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 522244 by boemann:
Fix bug when trying to draw filled rect,polygons etc on moved layers
M +0 -4 kis_painter.cc
--- trunk/koffice/krita/core/kis_painter.cc #522243:522244
@@ -779,8 +779,6 @@
KisPaintDeviceSP polygon = new KisPaintDevice(m_device->colorSpace(), "polygon");
Q_CHECK_PTR(polygon);
- polygon->setX(m_device->getX());
- polygon->setY(m_device->getY());
KisFillPainter fillPainter(polygon);
QRect boundingRectangle(x0, y0, x1 - x0 + 1, y1 - y0 + 1);
@@ -811,8 +809,6 @@
}
KisSelectionSP polygonMask = new KisSelection(polygon);
- polygonMask->setX(polygon->getX());
- polygonMask->setY(polygon->getY());
for (y=y0; y<=y1; y++) { /* step through scanlines */
/* scanline y is at y+.5 in continuous coordinates */
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic