Debian Codegraph @

Oodle/src/CGfxPrimitives.cpp

raw
1 #include "oodle.h"
2
3 void CGfxPrimitives::drawCircle(int x, int y, int r, CColor &c, CSurface &dest, bool filled)
4 {
5 int z = filledCircleColor(dest.getSurface(), x, y, 150, SDL_MapRGB(dest.getSurface()->format, c.getR(), c.getB(), c.getB()));
6 //lineColor(SDL_GetVideoSurface(), 0, 0, 640,480, SDL_MapRGB(SDL_GetVideoSurface()->format, c.getR(), c.getB(), c.getB()));
7 //SDL_Rect rect = {x - r/2, y - r/2, r,r};
8 //SDL_FillRect(dest.getSurface(), &rect, c.getDispFormatColor());
9 }