{"id":24834,"date":"2017-09-08T18:27:04","date_gmt":"2017-09-08T12:57:04","guid":{"rendered":"https:\/\/www.wikitechy.com\/technology\/?p=24834"},"modified":"2017-09-08T18:27:04","modified_gmt":"2017-09-08T12:57:04","slug":"setlinestyle-in-c","status":"publish","type":"post","link":"https:\/\/www.wikitechy.com\/technology\/setlinestyle-in-c\/","title":{"rendered":"setlinestyle in c"},"content":{"rendered":"<p>Declaration:<br \/>\nvoid setlinestyle( int linestyle, unsigned upattern, int thickness );<\/p>\n<p>Available line styles:<\/p>\n[pastacode lang=\u201dc\u201d manual=\u201denum%20line_styles%20%0A%7B%20%0A%20%20%20SOLID_LINE%2C%20%0A%20%20%20DOTTED_LINE%2C%20%0A%20%20%20CENTER_LINE%2C%20%0A%20%20%20DASHED_LINE%2C%20%0A%20%20%20USERBIT_LINE%20%0A%7D%3B\u201d message=\u201d\u201d highlight=\u201d\u201d provider=\u201dmanual\u201d\/]\n<h2 id=\"c-programming-code\">C programming code<\/h2>\n[pastacode lang=\u201dc\u201d manual=\u201d%23include%20%3Cgraphics.h%3E%0A%20%0Amain()%0A%7B%0A%20%20%20int%20gd%20%3D%20DETECT%2C%20gm%2C%20c%20%2C%20x%20%3D%20100%2C%20y%20%3D%2050%3B%0A%20%0A%20%20%20initgraph(%26gd%2C%20%26gm%2C%20%22C%3A%5C%5CTC%5C%5CBGI%22)%3B%0A%20%0A%20%20%20for%20(%20c%20%3D%200%20%3B%20c%20%3C%205%20%3B%20c%2B%2B%20)%0A%20%20%20%7B%0A%20%20%20%20%20%20%20setlinestyle(c%2C%200%2C%202)%3B%0A%20%0A%20%20%20%20%20%20%20line(x%2C%20y%2C%20x%2B200%2C%20y)%3B%0A%20%20%20%20%20%20%20y%20%3D%20y%20%2B%2025%3B%0A%20%20%20%7D%0A%20%0A%20%20%20getch()%3B%20%0A%20%20%20closegraph()%3B%0A%20%20%20return%200%3B%0A%7D\u201d message=\u201d\u201d highlight=\u201d\u201d provider=\u201dmanual\u201d\/]\n","protected":false},"excerpt":{"rendered":"<p>setlinestyle in c &#8211; c programming &#8211; Declaration:void setlinestyle( int linestyle, unsigned upattern, int thickness );<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[83084,83086,83087,83077,83082,83083,83078,83076,83074,83085,83080,83081,83079,83072,83073,83075],"class_list":["post-24834","post","type-post","status-publish","format-standard","hentry","category-coding","tag-and-operator-in-c","tag-arithmetic-operator-in-c","tag-bitwise-or-operator-in-c","tag-c-program-to-draw-a-dotted-line-using-dda-algorithm","tag-c-operators","tag-c-operators-list","tag-dashed-line-program-in-c","tag-how-to-draw-thick-line-in-computer-graphics","tag-line-style-in-computer-graphics","tag-logical-or-in-c","tag-multiple-inheritance-in-c-program","tag-operator-overloading-in-c-program","tag-set-line-style-in-c-graphics","tag-setfillstyle-function-in-c","tag-setlinestyle-syntax","tag-settextstyle-function-in-c-graphics"],"_links":{"self":[{"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/posts\/24834","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/comments?post=24834"}],"version-history":[{"count":0,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/posts\/24834\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/media?parent=24834"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/categories?post=24834"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/tags?post=24834"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}