Changes

Jump to: navigation, search

SMIL:SMIL Model

42 bytes removed, 13:03, 14 May 2006
killing SVGDev
These pages contain a proposed [[SVGDevSVG:Timing Model|Timing Model]] and [[SVGDevSVG:Animation Model|Animation Model]] as implemented at [http://brian.sol1.net/svg/ http://brian.sol1.net/svg/].
= Approach and credits =
http://brian.sol1.net/svg/designs/current/overview.png
The design is broken up into two main parts: the [[SVGDevSVG:Timing Model|timingmodel]] and the [[SVGDevSVG:Animation Model|animation model]] as well as some
supporting infrastructure.
The [[SVGDevSVG:Timing Model|timing model]] is responsible for:
* begin and end times
* restart
The [[SVGDevSVG:Animation Model|animation model]] is responsible for:
* from/to/by/values
This registry is used to register with the timing and animation model.
nsSVGAnimateElement is represented in the [[SVGDevSVG:Animation Model|animation model]] by an [[SVGDevSVG:Animation Model#nsSMILAnimationFunction|nsSMILAnimationFunction]] and in the[[SVGDevSVG:Timing Model|timing model]] by an [[SVGDevSVG:Timing Model#nsSMILTimedElement|nsSMILTimedElement]]. This approach, composition rather than inheritance should reduce the coupling between the SVG and SMIL modules and help us avoid MI nightmares.
All the parsing work including supplying default values is performed in the
[[SVGDevSVG:Animation Model#nsSMILAnimationFunction|nsSMILAnimationFunction]] and [[SVGDevSVG:Timing Model#nsSMILTimedElement|nsSMILTimedElement]]. This simplifies nsSVGAnimateElement considerably and allows this functionality to be re-used by other animation elements such as <tt>&lt;animateColor&gt;</tt> and even in other host languages for SMIL.
View the details of the:
* [[SVGDevSVG:Animation Model|Animation model]], and* [[SVGDevSVG:Timing Model|Timing model]].
= UML and XPCOM =
Confirm, emeritus
969
edits

Navigation menu