WX :: Polygon.

WX :: PolygonÀº WXPerl ¿ë Æú¸®°ïÀ» ±×¸± ¼ö ÀÖ°í Á¶ÀÛ ÇÒ ¼ö ÀÖ½À´Ï´Ù.
Áö±Ý ´Ù¿î·Îµå

WX :: Polygon. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Hans Oesterholt-Dijkema
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~oesterhol/Wx-Polygon-0.06/Polygon.pm

WX :: Polygon. ű×


WX :: Polygon. ¼³¸í

WX :: PolygonÀº WXPerl ¿ë ´Ù°¢ÇüÀ» ±×¸± ¼ö ÀÖ°í Á¶ÀÛ ÇÒ ¼ö ÀÖ½À´Ï´Ù. WX :: PolygonÀº WXPerl.AbstractThis ¸ðµâÀÇ Æú¸®°ïÀ» ±×¸± ¼ö ÀÖ°í Á¶ÀÛ ÇÒ ¼ö ÀÖ½À´Ï´Ù. WXPerl.New (Polygon = (WX :: Point, ...) | Ÿ¿ø => (X_OFFSET, Y_OFFSET, WITY, HEIGTH)¿¡¼­ Æú¸®°ïÀ» Á¶ÀÛÇÏ´Â ±â´ÉÀ» Á¦°øÇÕ´Ï´Ù. -> WX :: Polygon> »õ·Î¿î WX :: PolygonÀÌ ÁÖ¾îÁø Polygon ¶Ç´Â ÁÖ¾îÁø ÆĶó¹ÌÅÍ°¡Àִ Ÿ¿ø ¶Ç´Â ÁÖ¾îÁø ÆĶó¹ÌÅÍ (x, y, recalc = 1) -> voyAddsÀÇ ¹è¿­·Î »õ·Î¿î WX :: Polygon ´Ù°¢Çü¿¡. ½ºÄÉÀÏ ¹× ȸÀüÀÌ »ç¿ë µÈ °æ¿ì Á¡À» ÷°¡ ÇÑ ÈÄ¿¡ Æú¸®°ïÀ» Àç¼³Á¤ÇÏ°í ´Ù½Ã rerotateÇÕ´Ï´Ù. RECALC°¡ 0À¸·Î ¼³Á¤µÈ °æ¿ì,ÀÌ ÀÛ¾÷ÀÌ ¼öÇàµÇÁö ¾ÊÀ¸¸ç, ¸¹Àº Æ÷ÀÎÆ®°¡ ÷°¡ µÉ ÇÊ¿ä°¡ÀÖ´Â °æ¿ì ´õ ÁÁÁö ¾Ê½À´Ï´Ù .Recalc () -> voidrescales¸¦ »ç¿ëÇÏ°í ´Ù°¢ÇüÀ» ´Ù½Ã ¸ðÀ¸½Ê½Ã¿À. ÀÌ ¹æ¹ýÀº ¸¹Àº Á¡À» Ãß°¡ÇØ¾ß ÇÒ ¶§ »ç¿ëÇؾßÇÕ´Ï´Ù. Àç °è»êÀº points.set_color (r, g, b) -> voidsets ÁÖ¾îÁø r, g ¹× b values.mid () -> (midx : Á¤¼ö, midy : Á¤¼ö) ´Ù°¢ÇüÀÇ Áß°£À» °è»êÇÏ°í x ¹× y À§Ä¡°¡¾ø´Â ¸ñ·ÏÀ» ¹ÝȯÇÕ´Ï´Ù. in (x, y) -> (x, y)°¡ ´Ù°¢ÇüÀÇ °¡ÀåÀÚ¸®¿¡ ¶³¾îÁö¸é ±×·¸´Ù¸é true¸¦ ¹ÝȯÇÕ´Ï´Ù. Randolph FranklinÀÇ ¾Ë°í¸®Áò, http:///stronomy.swin.edu.au/~ pbourke/Geometry/InsidePoly.Draw (DC : WX :: DC) -> ÁÖ¾îÁø ¿ÀÇÁ¼Â¿¡¼­ ´Ù°¢Çü°ú ÁÖ¾îÁø »ö»óÀÇ ´Ù°¢ÇüÀ» voidDraws ÇöÀç dc.copy () -> wx :: polygonÀº object.scale (½ºÄÉÀÏ ÆÑÅÍ)ÀÇ »çº»À» º¹»çÇÕ´Ï´Ù. scale (scale-factor) -> voidscales scale-factor.rotate (exeres) -> ´Ù°¢ÇüÀ» voidRotates µµ (0-360). ¿ÀÇÁ¼Â (x, y) -> µµ¸éÀÇ ¿ÀÇÁ¼ÂÀ» º¸À̵åÇÕ´Ï´Ù. ÀÌ°ÍÀº ´Ù°¢ÇüÀ» Áö¿ì´Â µ¥ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.


WX :: Polygon. °ü·Ã ¼ÒÇÁÆ®¿þ¾î

http :: WebDav.

HTTP :: WebDAV´Â ³×¿Â HTTP ¹× WebDAV Ŭ¶óÀ̾ðÆ® ¶óÀ̺귯¸®¿¡ ´ëÇÑ Perl ÀÎÅÍÆäÀ̽ºÀÔ´Ï´Ù. ...

277

´Ù¿î·Îµå