[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/ksvg/impl
From: Rob Buis <rwlbuis () xs4all ! nl>
Date: 2003-04-28 18:55:49
[Download RAW message or body]
CVS commit by buis:
Better clone the SVGTransformImpls so it doesnt crash. OTOH sharing them is an \
interesting idea,
*hmm*.
M +4 -1 SVGTransformableImpl.cc 1.29
--- kdenonbeta/ksvg/impl/SVGTransformableImpl.cc #1.28:1.29
@@ -54,5 +54,8 @@ SVGTransformableImpl &SVGTransformableIm
// Concat computed values
for(unsigned int i = 0;i < otherTransform->numberOfItems(); i++)
- m_transform->baseVal()->appendItem(otherTransform->getItem(i));
+ {
+ SVGTransformImpl *trafo = otherTransform->getItem(i);
+ m_transform->baseVal()->appendItem(m_transform->baseVal()->createSVGTransformFromMatrix(trafo->matrix()));
+ }
return *this;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic