Compare commits
No commits in common. "f2ceca724a3808f2b1de71902c4b94480aafffa6" and "dc7a793d3ab230a1c1b4925044aaa18d12e732bb" have entirely different histories.
f2ceca724a
...
dc7a793d3a
|
@ -88,11 +88,11 @@ void LayerWrapper::SimpleProperty::apply(PixelPath&cache)
|
|||
double centerY = cache.getBoundingRect().center().y();
|
||||
//qDebug() << name << " " << cache.boundingRect().center();
|
||||
//qDebug() << name << " " << cache.boundingRect();
|
||||
transform.translate(centerX, centerY);
|
||||
transform.translate(-centerX, -centerY);
|
||||
transform.translate(offset.x(), offset.y());
|
||||
transform.rotate(rotation);
|
||||
transform.scale(scale.x(), scale.y());
|
||||
transform.translate(-centerX, -centerY);
|
||||
transform.translate(centerX, centerY);
|
||||
cache = cache.trans(transform);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue