Satyria

SDL-Programmierung / Ellipsen

int ellipseColor (SDL_Renderer *renderer, Sint16 x, Sint16 y, Sint16 rx, Sint16 ry, Uint32 color)
int ellipseRGBA (SDL_Renderer *renderer, Sint16 x, Sint16 y, Sint16 rx, Sint16 ry, Uint8 r, Uint8 g, Uint8 b, Uint8 a)
int aaellipseColor (SDL_Renderer *renderer, Sint16 x, Sint16 y, Sint16 rx, Sint16 ry, Uint32 color)
int aaellipseRGBA (SDL_Renderer *renderer, Sint16 x, Sint16 y, Sint16 rx, Sint16 ry, Uint8 r, Uint8 g, Uint8 b, Uint8 a)
int filledEllipseColor (SDL_Renderer *renderer, Sint16 x, Sint16 y, Sint16 rx, Sint16 ry, Uint32 color)
int filledEllipseRGBA (SDL_Renderer *renderer, Sint16 x, Sint16 y, Sint16 rx, Sint16 ry, Uint8 r, Uint8 g, Uint8 b, Uint8 a)
rendererRenderer des Fensters
xx-Position
yy-Position
rxRadius X-Achse
ryRadius Y-Achse
colorDie Farbe des Pixels (Format 0xRRGGBBAA)
rRotanteil
gGrünanteil
bBlauanteil
aalphablendig (Deckung zum Hintergrund)

Beispiel:

Sourcen: ellipse.c

<Kreise | GFX Übersicht | Dreiecke >