On Jun 12, 2009, at 12:17 AM, Meryl Silverburgh wrote:
Hi,
Can someone please tell me what does the 'layer' in a RenderObject
means?
in other words, what does hasLayer method returns or purpose of that
method?
I'm going to speculate here, but on the MacOS, there is a technology
called "Core Animation". Core Animation allows a program to create
rectangular graphical areas and easily animate them on the screen.
These rectangular areas are called "Layers".
Safari supports CSS transitions and effects which (again I speculate)
make use of those layers to simplify their animations. I suspect,
then, that a RenderObject, while animating, is associated with at
least one CALayer and the "hasLayer" method would tell you whether or
not that was, in fact, occurring.
http://developer.apple.com/documentation/Cocoa/Conceptual/CoreAnimation_guide/Introduction/Introduction.html
Scott
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev