[code]
#include
using namespace std;
public static void DrawCircle( int x0, int y0, int radius)
{
int x=radius,y=0;
int radiusError=1-x;
while (x>=y){
DrawPixel(x+x0,y+y0);
DrawPixel(y+x0,x+y0);
DrawPixel(-x+x0,y+y0);
DrawPixel(-y+x0,x+y0);
DrawPixel(-x+x0,-y+y0);
DrawPixel(-y+x0,-x+y0);
DrawPixel(x+x0,-y+y0);
DrawPixel(y+x0,-x+y0);
y++;
if(radiusError
Zasláno z mobilního telefonu.