default ãã©ã³ãã®æ¹ã® pkg/exp 以ä¸ã«ãã§ã«å«ã¾ãã¦ãããããã±ã¼ã¸ draw/x11 ã試ãã¦ã¿ãããã®ããã±ã¼ã¸ã¯ Xlib ãä»ãããç´æ¥ X ãããã³ã«ãåã£ã¦ X ãµã¼ãã¨éä¿¡ãã¦ç»é¢æç»ãè¡ãããã«ãªã£ã¦ãããã¾ã£ããããå®è£ ãããã»ãã¨ã«ã 次ã®ããã°ã©ã ã¯ã以ä¸ã®ããã«ã«ã©ãã«ãªåãã²ãããæç»ãããã®ã ãã¬ã¼ã³ãã ã¨ãããå¿ãã¦ãã®ã§ Wikipedia ããã¡ãã£ã¨ãã¯ãã¾ãããããããªããã package main import ( "os"; "fmt"; "image"; "draw"; "draw/x11"; "rand"; "time" ) func drawHorizontalLine(img draw.Image, sx int, ex int, y int, c image.RGBAColor) { if sx > ex { t :=
{{#tags}}- {{label}}
{{/tags}}