Compare commits
2 Commits
dc7a793d3a
...
f2ceca724a
Author | SHA1 | Date |
---|---|---|
karlis | f2ceca724a | |
karlis | eab8d7aeec |
|
@ -88,11 +88,11 @@ void LayerWrapper::SimpleProperty::apply(PixelPath&cache)
|
||||||
double centerY = cache.getBoundingRect().center().y();
|
double centerY = cache.getBoundingRect().center().y();
|
||||||
//qDebug() << name << " " << cache.boundingRect().center();
|
//qDebug() << name << " " << cache.boundingRect().center();
|
||||||
//qDebug() << name << " " << cache.boundingRect();
|
//qDebug() << name << " " << cache.boundingRect();
|
||||||
transform.translate(-centerX, -centerY);
|
transform.translate(centerX, centerY);
|
||||||
transform.translate(offset.x(), offset.y());
|
transform.translate(offset.x(), offset.y());
|
||||||
transform.rotate(rotation);
|
transform.rotate(rotation);
|
||||||
transform.scale(scale.x(), scale.y());
|
transform.scale(scale.x(), scale.y());
|
||||||
transform.translate(centerX, centerY);
|
transform.translate(-centerX, -centerY);
|
||||||
cache = cache.trans(transform);
|
cache = cache.trans(transform);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue