SVGãé«éåãããããã®ã«ã¼ã«
SVGãé«éã«è¡¨ç¤ºãããããã«ã¯
SVGãéããããããã¨è¡¨ç¤ºãããã«ã¯ãããããªæ¹æ³ãããã®ã§ãããããã§ãã¾ã¨ãã¦ã¿ã¾ãããã以ä¸ã®ã«ã¼ã«ã«å¾ãã°ãæ§è½ã®åä¸ãã§ããã¨æãã¾ãã
useè¦ç´ ã¨symbolè¦ç´ ã¯å¿ ãé¿ãããã¨
useè¦ç´ ã¨symbolè¦ç´ ã¯ãFlashã§ä½¿ããããã·ã³ãã«åãã¨éã£ã¦ãå
é¨ã§ããªãè¤éãªå¤æããã¦ãã¾ãã
åçãªå¤æ´ããããã³ã«ããã®è¤éãªå¤æããã¾ãã®ã§ãæç»å¦çã®æ§è½ãè½ã¡ã¦ãã¾ãã¾ãã
éãããªãã¾ãã®ã§ãå¿
ãããã®äºã¤ã®è¦ç´ ã¯é¿ãã¾ãããã
ã¢ãã¡ã¼ã·ã§ã³ã®æéã¯çãè¨å®ãããã¨
dur="5s"ãªã©ã®è¨å®ãããè¦ããã¾ãããããã¯ã¨ã¦ãé
ãæãããã¾ããsetInterval(f, 200)ãåæ§ã§ãã
ç®ã®ãã¾ã°ãããã125ããªç§ããããªã®ã§ããããä¸æãããã°ãã¾ã°ããããã¦ãçµµãåããªããããã£ããã¨ãããã¢ãã¡ã¼ã·ã§ã³ãã§ããããã¾ãã
åé ã®dur="5s"ã¯dur="820ms"ç¨åº¦ã«å¤æãã¦ããã¾ããããã¾ããsetInterval(f, 10)ãããã«ãã¦ããã¾ãããããã®ããã«çãè¨å®ãã¦ããã°ãé«éãªã¢ãã¡ã¼ã·ã§ã³ãå¯è½ã«ãªãã§ããããã ããããä»®ã«24fpsã¨ãããªãã°ã1ãã¬ã¼ã ã¯ç´41msã¨ãªãã¾ãããããããä¸ã¤ã®åºåãã«ããã¨ãããããããã¾ããããããªãã¨ã820msã¯ããã20ãã¬ã¼ã ã¨ãªãã¾ãã
ã©ã¹ã¿ç»åãå¦çãããã£ã«ã¿ã¼ããã¹ãã³ã°ãªã©ã¯é¿ãããã¨
SVGãã£ã«ã¿ã¼ã¯äººæ°ãé«ãã®ã§ãããå®ã¯ããã¯ã¿ç»åã¨ã¯ä¸åãé¢ä¿ãããã¾ããã
ãã¹ãã³ã°ããã£ã«ã¿ã¼ã®å¦çãããããã«ã¯ããã¯ã¿ç»åããä¸åº¦ãã©ã¹ã¿ç»åã¨ãããã®ã«å¤æãã¦ããããè¨æ¶ãã¦ãããªããã°ãªãã¾ããããã®ä¸ãä¸å¯§ã«ããããããã§å¦çãã¦ããã¾ãããã®ããã«ãããªããæç»ã®å¦çãé
ããªãã¾ãã
ãããã£ã¦ãSVGã®ä¸ã§ãç¡è¶ãªå¦çããã¦ããã®ã§ããã£ãããå«ã§ããã°ããã£ã«ã¿ã¼ã¨ãã¹ãã³ã°ã¯é¿ãã¦ãã ããããããã¯ããã¯ã¿ç»åã§ã¯ãªãã¦ãJPEGãPNGãªã©ã©ã¹ã¿ç»åã§ã使ããã ããã
PDFã®ããã«ç²¾å¯ãªæãä½ãtextè¦ç´ ã¯ãªãã¹ã使ããªãããã«ãããã¨
SVGã®textè¦ç´ ã¯ãHTMLã®pãdivè¦ç´ ã¨ã¯éã£ã¦ãPDFã®ããã«ç²¾å¯ãªæç« ãä½ããã¨ãç®çã«è¨è¨ããã¦ãã¾ããPDFã«CSSæ©è½ãä»ãããã®ãtextè¦ç´ ã¨ãã£ã¦ãéè¨ã§ã¯ãªããããã§ãã
ã¤ã¾ããä¸æåä¸æåããã©ã³ãã®ä½ç½®ã¨ããã®æ¸ä½ã®æç»ãæå®ãããã¨ãã§ããã®ã§ããã¾ããåçãªå¤æ´ããããã³ã«ãåæåã«å¯¾ãã¦ãè¤éãªå¦çãå¿
è¦ã¨ãªãã¾ãã
ã¢ãã¡ã¼ã·ã§ã³ãããéã«ã¯ããã®textè¦ç´ ã®ä½¿ç¨ãæ§ãã¦ãã ããããããInkscapeãã使ããªãã°ãããã©ã³ãããã¹åãæ©è½ã§ãtextè¦ç´ ãpathè¦ç´ ã«å¤æã§ãã¾ãã
ã¤ã³ã©ã¤ã³SVGã¯ä½¿ãããobjectè¦ç´ ã§SVGç»åãå¼ã³åºããã¨
ã¤ã³ã©ã¤ã³SVGã¯ããã»ã©ã®ãã¨ããªãéããé«éåãå°é£ã§ããIEã¯ã¨ãããã¨ãã¦ãä»ã®ãã©ã¦ã¶ã¯ãã¤ã³ã©ã¤ã³SVGãè¦æã®ããã§ãããããé ããªãããã§ããããã¤ã³ã©ã¤ã³SVGã®ä»£ããã«objectè¦ç´ ããã®å¼ã³åºãã使ã£ã¦ã¿ã¦ãã ããã
DTDãæå®ããã®ã¯é¿ãããã¨
DTDã®æå®ã¯ããã¡ã¤ã«ã®è¡¨ç¤ºãé
ããªãã ãã§ã¯ãªãããããããªåé¡ãå¼ãèµ·ããã®ã§é¿ããæ¹ãè³¢æã§ãã
ããã¯æã®è©±ãªã®ã§ãããããã½ãããSVGææ¸ã«DTDãæå®ããã¦ããã¨ãW3Cã®ãµã¤ãã«ã¢ã¯ã»ã¹ãã¦ãDTDãã¡ã¤ã«ãåå¾ããããã«ãªã£ã¦ãã¾ããã
MSã®XMLãã¼ãµãåæ§ã®ãã¨ãããããã«ãW3Cã®ãµã¤ãã«ã¢ã¯ã»ã¹ã殺å°ããç¾½ç®ã«ãªãã¾ããã
ãã¡ãããä»ã®ãã©ã¦ã¶ããããªãã¨ãããã¨ã¯æãã¾ããããããããããããã°ãSVGã®è¡¨ç¤ºã«è² è·ããããã ãã§ããDOCTYPE宣è¨ãããã¦ãDTDã®æå®ã¯é¿ãã¾ãããã
ã¾ã¨ã
次ã®è¦ç´ ã使ãéã«ã¯ã注æãå¿ è¦ã§ããã¢ãã¡ã¼ã·ã§ã³ã®éã«ã¯ãåé¤ãã¦ããã¦ãã ããã
- useè¦ç´
- symbolè¦ç´
- textè¦ç´
- filterè¦ç´
- maskè¦ç´
ãããã®è¦ç´ ã¯ãå¦çãéããªãã«ãããããããå©ä¾¿æ§ãé«ãã¦ã人æ°ãããããã«ãSVGã§å°å ¥ããããã®ã§ããã¾ãã人éã®æéæè¦ã»ã©ãå½ã¦ã«ãªããªããã®ã¯ãªãã®ã§ããããanimateè¦ç´ ãªã©ã®ééã®è¨å®ã«s(ç§)ã®åä½ã使ãã®ã¯å¿ ãé¿ãããã¨ãéè¦ã§ãã代ããã«ãmsï¼ããªç§ï¼ãçãã«ã使ããã ããã