FreeBASIC  0.91.0
gfx_circle.c File Reference
#include "fb_gfx.h"
#include <math.h>
Include dependency graph for gfx_circle.c:

Go to the source code of this file.

Functions

static void draw_scanline (FB_GFXCTX *ctx, int y, int x1, int x2, unsigned int color, int fill, char *filled)
 
static void draw_ellipse (FB_GFXCTX *ctx, int x, int y, float a, float b, unsigned int color, int fill, int *top, int *bottom)
 
static void get_arc_point (float angle, float a, float b, int *x, int *y)
 
FBCALL void fb_GfxEllipse (void *target, float fx, float fy, float radius, unsigned int color, float aspect, float start, float end, int fill, int flags)
 

Function Documentation

static void draw_ellipse ( FB_GFXCTX ctx,
int  x,
int  y,
float  a,
float  b,
unsigned int  color,
int  fill,
int *  top,
int *  bottom 
)
static

Definition at line 30 of file gfx_circle.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void draw_scanline ( FB_GFXCTX ctx,
int  y,
int  x1,
int  x2,
unsigned int  color,
int  fill,
char *  filled 
)
static

Definition at line 8 of file gfx_circle.c.

Here is the caller graph for this function:

FBCALL void fb_GfxEllipse ( void *  target,
float  fx,
float  fy,
float  radius,
unsigned int  color,
float  aspect,
float  start,
float  end,
int  fill,
int  flags 
)

Definition at line 110 of file gfx_circle.c.

Here is the call graph for this function:

static void get_arc_point ( float  angle,
float  a,
float  b,
int *  x,
int *  y 
)
static

Definition at line 94 of file gfx_circle.c.

Here is the caller graph for this function: