Bitmap/Midpoint circle algorithm: Difference between revisions

Content added Content deleted
(Added solution for Action!)
m (→‎{{header|C sharp}}: Regularize header markup to recommended on category page)
Line 663: Line 663:
#undef plot</lang>
#undef plot</lang>


=={{header|C sharp}}==
=={{header|C sharp|C#}}==


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.