nsSMILAnimationFunction::nsSMILCalcMode nsSMILAnimationFunction::GetCalcMode() const { const nsAttrValue* value = GetAttr(nsGkAtoms::calcMode); if (!value) return CALC_LINEAR; return nsSMILCalcMode(value->GetEnumValue()); }
nsSMILAnimationFunction::nsSMILCalcMode SVGMotionSMILAnimationFunction::GetCalcMode() const { const nsAttrValue* value = GetAttr(nsGkAtoms::calcMode); if (!value) { return CALC_PACED; // animateMotion defaults to calcMode="paced" } return nsSMILCalcMode(value->GetEnumValue()); }