Bitmap/Midpoint circle algorithm: Difference between revisions
Content added Content deleted
m ({{out}}) |
m (→{{header|C#}}: Changing the section header so that task shows up under the language properly) |
||
Line 248: | Line 248: | ||
#undef plot</lang> |
#undef plot</lang> |
||
== {{header|C |
== {{header|C sharp}} == |
||
This extension method extends GenericImage which is very similar to [http://rosettacode.org/wiki/Bitmap#C.23 Bitmap] but instead of using a SetPixel method it uses a "Color this[int x, int y] { get; set; }" property to get and set pixels. |
This extension method extends GenericImage which is very similar to [http://rosettacode.org/wiki/Bitmap#C.23 Bitmap] but instead of using a SetPixel method it uses a "Color this[int x, int y] { get; set; }" property to get and set pixels. |