55
54
tx = shape->size().width() * cache->zoom() / 2;
56
55
ty = shape->size().height() * cache->zoom() / 2;
57
56
} transform.translate(tx, ty).scale(1, value).translate(-tx, -ty);
58
cache->update(shape, shapeAnimation->textBlockData(), "transform", transform);
57
cache->update(shape, textBlockData, "transform", transform);
61
60
void KPrAttributeHeight::initCache(KPrAnimationCache *animationCache, int step, KPrShapeAnimation * shapeAnimation, qreal startValue, qreal endValue)
63
62
qreal v1 = 0.0, v2 = 0.0, tx = 0.0, ty = 0.0;
64
63
KoShape * shape = shapeAnimation->shape();
68
67
if (KoTextShapeData *textShapeData = dynamic_cast<KoTextShapeData*>(shape->userData())) {