À̹ÌÁö :: svg :: Path. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~bkb/
À̹ÌÁö :: svg :: Path. ű×
À̹ÌÁö :: svg :: Path. ¼³¸í
Image :: svg :: path´Â svg ¿ä¼ÒÀÇ "D"¼Ó¼º¿¡ Æ÷ÇÔ µÈ Á¤º¸¸¦ ÃßÃâÇÏ°í °£´ÜÇÑ ÀÏ·ÃÀÇ ´Ü°è·Î ¹Ù²î´Â Perl ¸ðµâÀÔ´Ï´Ù. ¿¹¸¦ µé¾î, svg ¿ä¼Ò°¡ ¾ç½ÄÀ» ÃëÇÒ ¼ö ÀÖ½À´Ï´Ù. XML :: Æļ¿Í °°Àº XML Æļ¸¦ »ç¿ëÇÏ¿© XML :: Parser¸¦ »ç¿ëÇÕ´Ï´Ù. À̹ÌÁö :: svg :: path 'frequret_path_info'; MY $ P = XML :: PARSER-> NEW (handlers => {start => \ start}); $ p-> parsefile ($ file) ¶Ç´Â ´ÙÀÌ "¿À·ù $ file :"; ÇÏÀ§ ½ÃÀÛ {My ($ Expat, $ element, % attr) = @_; if ($ element eq 'path') {my $ d = $ attr {d}; my @r = pression_path_info ($ d); # @R}} svg´Â "È®Àå °¡´ÉÇÑ º¤ÅÍ ±×·¡ÇÈ"À» ÀǹÌÇϸç W3 ÄÁ¼Ò½Ã¾öÀÇ Ç¥ÁØÀÔ´Ï´Ù. Àüü »ç¾çÀº http://www.w3.org/tr/svg/À» ÂüÁ¶ÇϽʽÿÀ. °æ·Î »ç¾ç¿¡ ´ëÇÑ http://www.w3.org/tr/svg/paths.htmlÀ» ÂüÁ¶ÇϽʽÿÀ. SVG´Â XMLÀÇ À¯ÇüÀÌÁö¸¸ SVG °æ·ÎÀÇ D ¼Ó¼ºÀÇ ÅؽºÆ®´Â XML Çü½ÄÀÌ ¾Æ´Ï¶ó ´ÜÀÏ ¹®ÀÚ¿Í ¼ýÀÚ¸¦ »ç¿ëÇÏ´Â ´õ ÀÀÃà µÈ ¾ç½ÄÀÔ´Ï´Ù. ÀÌ ¸ðµâÀº ÇØ´ç ÀÀÃà µÈ Çü½ÄÀÇ ÆļÀÔ´Ï´Ù. Synopsis »ç¿ë À̹ÌÁö :: svg :: path 'frequence_path_info'; my @path_info = pression_path_info ($ path_d_attribute); Á¦Ç°ÀÇ È¨ÆäÀÌÁö
À̹ÌÁö :: svg :: Path. °ü·Ã ¼ÒÇÁÆ®¿þ¾î