문서의 선택한 두 판 사이의 차이를 보여줍니다.
mdisplay:drawpath_hex_12:index [2016/04/17 03:45] Comfile Technology 만듦 |
mdisplay:drawpath_hex_12:index [2016/04/17 03:45] (현재) Comfile Technology |
||
---|---|---|---|
줄 1: | 줄 1: | ||
+ | ====== DrawPath (code : hex 12) ====== | ||
+ | |DrawPath| | ||
+ | |||
+ | Path를 생성하는 모든 그래픽 코멘드 (예를 들면 ArcTo, ClearPath, ClosePath, CurveTo, LineTo,MoveTo)가 만들어놓은 Path를 화면상에 표시합니다. | ||
+ | |||
+ | <code c> | ||
+ | # Clear the active layer | ||
+ | Clear | ||
+ | # Create the vertices for the path | ||
+ | MoveTo 200 200 | ||
+ | CurveTo 400 200 300 300 300 200 | ||
+ | # Draw the path in a cyan, with a line width of 5 pixels | ||
+ | LineWidth 5 | ||
+ | Color 00FFFF | ||
+ | DrawPath | ||
+ | </code> | ||
+ | |||
+ | {{ :mdisplay:drawpath_hex_12:drawpath.png?nolink |}} | ||
+ | |||
+ | |||
+ | |||
+ | [[mdisplay:index#그래픽_코멘드|M Display 메인페이지로 가기]] | ||