Confirmed users
523
edits
(Add comparison with clutter and coreanimation) |
|||
| Line 259: | Line 259: | ||
== Comparison with other APIs == | == Comparison with other APIs == | ||
=== CoreAnimation === | |||
==== Rendering Model ==== | |||
http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/CoreAnimation_guide/Articles/CoreAnimationArchitecture.html#//apple_ref/doc/uid/TP40006655 | |||
CoreAnimation has three trees that is uses. | |||
# Layer tree - the model | |||
# Presentation tree - the view -- contains the current values of the animating properties | |||
# Render tree - the view | |||
The sort of corresponds to Roc's LayerBuilder infrastructure described above. | |||
==== Classes ==== | |||
CALayer - CALayer is the model class for layer-tree objects. It encapsulates the position, size, and transform of a layer, which defines its coordinate system. It also encapsulates the duration and pacing of a layer and its animations by adopting the CAMediaTiming protocol, which defines a layer’s time space. | |||
CARenderer - renders a layer tree | |||
=== Clutter === | === Clutter === | ||
| Line 269: | Line 286: | ||
ClutterGroup - A group of Actors positioned relative to the group position | ClutterGroup - A group of Actors positioned relative to the group position | ||
ClutterStage - a place where Actors are composited | ClutterStage - a place where Actors are composited | ||