Home | History | Annotate | Download | only in svg

Lines Matching refs:percentage

88 void SVGAnimateElement::calculateAnimatedValue(float percentage, unsigned repeat, SVGSMILElement* resultElement)
90 ASSERT(percentage >= 0.f && percentage <= 1.f);
93 percentage = 1.f;
106 double number = (m_toNumber - m_fromNumber) * percentage + m_fromNumber;
120 Color color = ColorDistance(m_fromColor, m_toColor).scaledDistance(percentage).addToColorAndClamp(m_fromColor);
130 if (percentage == 0)
132 else if (percentage == 1.f)
136 results->m_animatedPath = SVGPathSegList::createAnimated(m_fromPath.get(), m_toPath.get(), percentage);
141 results->m_animatedPath = ((animationMode == FromToAnimation && percentage > 0.5f) || animationMode == ToAnimation || percentage == 1.0f)
147 if ((animationMode == FromToAnimation && percentage > 0.5f) || animationMode == ToAnimation || percentage == 1.0f)