Re: HTML5 KIG Â÷±âȸÀÇ ÀÏÁ¤ ¹× Agenda °øÁö

canvas line API °ü·ÃÇؼ­ Á¦°¡ Å×½ºÆ® Äڵ带 Á¶±Ý ÀÛ¼ºÇغýÀ´Ï´Ù.

http://mytears.org/canvas/canvas.html


À§ ÂÊÀÇ canvas´Â ±âº»À¸·Î Á¦°øµÇ´Â lineStyleÀ» ÀÌ¿ëÇؼ­ ¼±À» ±ßµµ·Ï
µÇ¾î ÀÖ°í, ¾Æ·¡ÂÊÀÇ canvas´Â Á¦°¡ ±¸ÇöÇÑ line functionÀ» ÀÌ¿ëÇؼ­ 
¼±À» ±ßµµ·Ï µÇ¾î ÀÖ½À´Ï´Ù.


½ÇÁ¦ ¼±À» ±×¾îº¸½Ã¸é lineStye=patternÀ» ÀÌ¿ëÇÒ °æ¿ì¿£ ¸¶Ä¡
½ºÅ©·¡Ä¡ Æе带 ±Ü´Â ´À³¦ÀÌ ³ª´Â °ÍÀ» È®ÀÎÇÏ½Ç ¼ö Àִµ¥, ÀÌ·± ½ÄÀ¸·Î
¼±À» ±×¾î¾ßÇÒ »óȲÀÌ ¾ó¸¶³ª »ý±æÁö Á» Àǹ®ÀÔ´Ï´Ù.


API¸¦ ¼öÁ¤ÇÑ´Ù¸é Á¤È®È÷ ¾î¶²½ÄÀ¸·Î ¼öÁ¤ÇؾßÇÒ Áö¿¡ ´ëÇؼ­ ³íÀÇ°¡ ÇÊ¿ä
ÇÏ°ÚÁö¸¸ ÇÏ¿©Æ° ÇöÀçÀÇ line apiµéÀº º°·Î ¸¸Á·½º·´Áö ¾Ê´Ù´Â°Ô Á¦ »ý°¢ÀÔ´Ï´Ù.

pattern.afterDraw, pattern.beforeDraw, pattern.scale, pattern.angle °°Àº
°ÍµéÀ» Á¤ÀÇÇÏ¸é ²Ï È¿À²ÀûÀ¸·Î »ç¿ëÇÒ ¼ö ÀÖÀ» °Å °°Àºµ¥, ¹¹ ¾î·°Å³ª
°ü·ÃÇؼ­´Â ´õ »ý°¢À» Çغ¼ ÇÊ¿ä°¡ ÀÖÀ» °Í °°½À´Ï´Ù.


±×¸®°í context.save(), context.restore()°¡ stackÀÌ ¾Æ´Ñ Àӽà º¯¼ö°°Àº
´À³¦À̶ó È¿¿ë¼ºÀÌ Á¶±Ý (¸¹ÀÌ) ¶³¾îÁö´Â ´À³¦ÀÔ´Ï´Ù.

OpenGLÀÇ ±×°Íó·³ context.push(), context.pop() ÇüÅ·ΠAPI¸¦ Á¤ÀÇ
ÇÏ´Â°Ô ´õ ÁÁ¾Æº¸À̴µ¥ ´Ù¸¥ ºÐµéÀº ¾î¶»°Ô »ý°¢ÇϽÇÁö Àß ¸ð¸£°Ú³×¿ä.


°¨»çÇÕ´Ï´Ù.

Á¤Å¿µ µå¸².


2010. 11. 24., ¿ÀÈÄ 12:18, ÀÌ¿ø¼® ÀÛ¼º:
>   5) Canvas API °ü·Ã
> - Canvas¿Í SVG¿¡ ´ëÇÑ Â÷ÀÌÁ¡ ¼Ò°³ (À̹ÌÁö Ŭ¸¯ ±è¹ÎÅ ÆÀÀå)
> - API °³¼±
> http://lists.w3.org/Archives/Public/public-html-ig-ko/2010Nov/0005.html (Á¤Å¿µ)

Received on Friday, 26 November 2010 08:59:49 UTC