55
55
ty = shape->size().height() * cache->zoom() / 2;
57
57
transform.translate(tx, ty).rotate(value).translate(-tx, -ty);
58
cache->update(shape, shapeAnimation->textBlockData(),"transform", transform);
58
cache->update(shape, textBlockData,"transform", transform);
61
61
void KPrAttributeRotate::initCache(KPrAnimationCache *animationCache, int step, KPrShapeAnimation * shapeAnimation, qreal startValue, qreal endValue)
63
63
qreal tx = 0.0, ty = 0.0;
64
64
KoShape * shape = shapeAnimation->shape();
67
67
if (KoTextShapeData *textShapeData = dynamic_cast<KoTextShapeData*>(shape->userData())) {
68
68
QTextDocument *textDocument = textShapeData->document();