摘要 |
A method and device are provided for converting or transforming a morph shape definition specified in a SWF file into a vector graphics shape definition including one or more vector graphics path definitions that can then be used by a vector graphics API to render the contents of the SWF morph shape definition. The method creates an intermediate path style, and path style graph information including intermediate path style information. A vector graphics path definition includes the intermediate path style information, and a vector graphics path created by traversing components of a graph represented by a path style graph representation. Embodiments described herein can leverage a vector graphics API that can be hardware accelerated to efficiently render the morph shape data, such as in a mobile device.
|