public static Matrix GetMatrixForTime(ITransformBrush brush, int time) { int num1 = 0; int num2 = 0; ((SvgElement)brush).SvgAnimAttributes = (Hashtable)((SvgElement)brush).SvgAttributes.Clone(); AnimFunc.CreateAnimateValues(brush, time, out num1, out num2); return(brush.Transform.Matrix.Clone()); }
public static Matrix GetMatrixForTime(IGraph graph, int time, int begin) { ((SvgElement)graph).SvgAnimAttributes = (Hashtable)((SvgElement)graph).SvgAttributes.Clone(); AnimFunc.CreateAnimateValues(graph, time, begin); return(graph.Transform.Matrix.Clone()); }