Logo Search packages:      
Sourcecode: libcaca version File versions  Download package

conic.c File Reference


Detailed Description

Ellipse and circle drawing.

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.

Definition in file conic.c.

#include "config.h"
#include <stdlib.h>
#include "caca.h"
#include "caca_internals.h"

Go to the source code of this file.

Typedefs

typedef unsigned char uint8_t

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_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.
void caca_fill_ellipse (int xo, int yo, int a, int b, char c)
 Fill an ellipse on the screen using the given character.
static void ellipsepoints (int, int, int, int, char)


Generated by  Doxygen 1.6.0   Back to index