mirror of
https://github.com/scratchfoundation/scratch-flash.git
synced 2024-12-04 21:21:06 -05:00
Update SVGDisplayRender.as
This commit is contained in:
parent
ce3f519183
commit
4d99aef0fd
1 changed files with 2 additions and 2 deletions
|
@ -21,13 +21,13 @@
|
|||
// John Maloney, April 2012.
|
||||
//
|
||||
// An SVGDisplayRender converts an SVGElement tree (the result of importing an SVG file)
|
||||
// into a Flash Sprite with children respresenting the visual elements of the SVG as
|
||||
// into a Flash Sprite with children representing the visual elements of the SVG as
|
||||
// Flash DisplayObjects. For example, SVG image elements become Bitmaps, path elements
|
||||
// become Shapes, and text elements become TextFields. For efficiency, multiple path
|
||||
// elements are drawn onto a single Shape. This speeds up drawing the sprite and also
|
||||
// saves a little memory.
|
||||
//
|
||||
// SVGDisplayRender is optimied for for displaying an SVG image as a Scratch costume
|
||||
// SVGDisplayRender is optimized for for displaying an SVG image as a Scratch costume
|
||||
// or scene, possibly scaled or rotated. A vector graphics editor would use a different
|
||||
// internal representation optimized for editing.
|
||||
|
||||
|
|
Loading…
Reference in a new issue