以文本方式查看主题 - 中文XML论坛 - 专业的XML技术讨论区 (http://bbs.xml.org.cn/index.asp) -- 『 SVG/GML/VRML/X3D/XAML 』 (http://bbs.xml.org.cn/list.asp?boardid=21) ---- 2000元人民币急寻能实现SVG分组功能的 (http://bbs.xml.org.cn/dispbbs.asp?boardid=21&rootid=&id=57847) |
-- 作者:earthbird -- 发布时间:1/8/2008 10:11:00 PM -- 2000元人民币急寻能实现SVG分组功能的 SVG Grouping function SVG的分组功能 The purpose of this function is to be able to create groups of objects and apply animated functions like Move, Rotate, Scale. Class has to be compatible with Mootools V1.11 for mouse events and if possible for requests The function should use the Id of the objects selected Must work as Inline SVG Has to work for any kind of shapes Group of objects can include un-scalable objects and scalable objects (class 'no_resize') 1. Shift & Click selects or unselects objects in SVG canvas 3. Click on no objects but in Canvas unselects all 4. Create a tracker around group of selected objects for the Scaling/Rotation/Move functions 5. create an array with original state/ after state with coordinates of objects for Undo / Redo function 6. After transformation confirmation the objects have to become independent objects again |
W 3 C h i n a ( since 2003 ) 旗 下 站 点 苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》 |
62.500ms |