Main Page   Modules   File List   Globals  

conic.c File Reference

Ellipse and circle drawing. More...


Functions

void caca_draw_circle (int x, int y, int r, char c)
 Draw a circle on the screen using the given character.

void caca_fill_ellipse (int xo, int yo, int a, int b, char c)
 Fill an ellipse on the screen using the given character.

void caca_draw_ellipse (int xo, int yo, int a, int b, char c)
 Draw an ellipse on the screen using the given character.

void caca_draw_thin_ellipse (int xo, int yo, int a, int b)
 Draw a thin ellipse on the screen.


Detailed Description

Version:
$Id: conic.c 219 2004-01-07 12:45:02Z sam $
Author:
Sam Hocevar <sam@zoy.org> This file contains ellipse and circle drawing functions, both filled and outline.

Function Documentation

void caca_draw_circle int    x,
int    y,
int    r,
char    c
 

Parameters:
x  Center X coordinate.
y  Center Y coordinate.
r  Circle radius.
c  Character to draw the circle outline with.
Returns:
void

void caca_draw_ellipse int    xo,
int    yo,
int    a,
int    b,
char    c
 

Parameters:
xo  Center X coordinate.
yo  Center Y coordinate.
a  Ellipse X radius.
b  Ellipse Y radius.
c  Character to draw the ellipse outline with.
Returns:
void

void caca_draw_thin_ellipse int    xo,
int    yo,
int    a,
int    b
 

Parameters:
xo  Center X coordinate.
yo  Center Y coordinate.
a  Ellipse X radius.
b  Ellipse Y radius.
Returns:
void

void caca_fill_ellipse int    xo,
int    yo,
int    a,
int    b,
char    c
 

Parameters:
xo  Center X coordinate.
yo  Center Y coordinate.
a  Ellipse X radius.
b  Ellipse Y radius.
c  Character to fill the ellipse with.
Returns:
void