{"id":24832,"date":"2017-10-15T11:43:06","date_gmt":"2017-10-15T06:13:06","guid":{"rendered":"https:\/\/www.wikitechy.com\/technology\/?p=24832"},"modified":"2017-10-15T11:46:36","modified_gmt":"2017-10-15T06:16:36","slug":"setfillstyle-function-c","status":"publish","type":"post","link":"https:\/\/www.wikitechy.com\/technology\/setfillstyle-function-c\/","title":{"rendered":"setfillstyle function in c"},"content":{"rendered":"<p>setfillstyle function sets the current fill pattern and fill color.<\/p>\n<p>Declaration :- void setfillstyle( int pattern, int color);<\/p>\n<p>Different fill styles:<\/p>\n[pastacode lang=\u201dc\u201d manual=\u201denum%20fill_styles%20%0A%7B%20%0A%20%20%20EMPTY_FILL%2C%20%0A%20%20%20SOLID_FILL%2C%20%0A%20%20%20LINE_FILL%2C%20%0A%20%20%20LTSLASH_FILL%2C%20%0A%20%20%20SLASH_FILL%2C%0A%20%20%20BKSLASH_FILL%2C%20%0A%20%20%20LTBKSLASH_FILL%2C%20%0A%20%20%20HATCH_FILL%2C%20%0A%20%20%20XHATCH_FILL%2C%20%0A%20%20%20INTERLEAVE_FILL%2C%0A%20%20%20WIDE_DOT_FILL%2C%20%0A%20%20%20CLOSE_DOT_FILL%2C%20%0A%20%20%20USER_FILL%20%0A%7D%3B\u201d message=\u201d\u201d highlight=\u201d\u201d provider=\u201dmanual\u201d\/]\n<h2 id=\"ad-typebanner\">[ad type=\u201dbanner\u201d]<\/h2>\n<h2 id=\"c-programming-source-code-for-setfillstyle\">C programming source code for setfillstyle<\/h2>\n[pastacode lang=\u201dc\u201d manual=\u201d%23include%3Cgraphics.h%3E%0A%23include%3Cconio.h%3E%0A%20%0Amain()%0A%7B%0A%20%20%20int%20gd%20%3D%20DETECT%2C%20gm%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%20setfillstyle(XHATCH_FILL%2C%20RED)%3B%0A%20%20%20circle(100%2C%20100%2C%2050)%3B%0A%20%20%20floodfill(100%2C%20100%2C%20WHITE)%3B%0A%20%0A%20%20%20getch()%3B%0A%20%20%20closegraph()%3B%0A%20%20%20return%200%3B%0A%7D\u201d message=\u201d\u201d highlight=\u201d\u201d provider=\u201dmanual\u201d\/]\n[ad type=\u201dbanner\u201d]\n","protected":false},"excerpt":{"rendered":"<p>setfillstyle function in c &#8211; c programming &#8211; setfillstyle function sets the current fill pattern and fill color and the declaration is int pattern,int color<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[82927,1],"tags":[82977,83163,83165,83159,83145,82958,82979,83166,83164,83146,83161,83147,83162,83160,76930,82975],"class_list":["post-24832","post","type-post","status-publish","format-standard","hentry","category-c-programming-2","category-coding","tag-callback-function-in-c","tag-difference-between-setfillstyle-and-flood-fill","tag-fillellipse-function-in-c","tag-floodfill-function-in-c-graphics","tag-function-in-c-example","tag-function-in-c-programming","tag-functions-in-c-pdf","tag-how-to-fill-color-in-circle-in-c-graphics","tag-how-to-fill-color-in-computer-graphics","tag-how-to-use-excel","tag-how-to-use-setfillstyle-in-ubuntu","tag-ms-excel-formulas-list","tag-setlinestyle-function-in-c","tag-solid-fill-in-c-graphics","tag-string-functions-in-c","tag-types-of-functions-in-c"],"_links":{"self":[{"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/posts\/24832","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=24832"}],"version-history":[{"count":0,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/posts\/24832\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/media?parent=24832"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/categories?post=24832"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/tags?post=24832"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}