Go to the source code of this file.
|
static int | encode (FB_GFXCTX *context, int x, int y) |
|
static int | reverse_mask (int mask) |
|
static int | clip_line (FB_GFXCTX *context, int *x1, int *y1, int *x2, int *y2) |
|
FBCALL void | fb_GfxLine (void *target, float fx1, float fy1, float fx2, float fy2, unsigned int color, int type, unsigned int style, int flags) |
|
#define CLIP_ACCEPT |
( |
|
a, |
|
|
|
b |
|
) |
| (!((a) | (b))) |
#define CLIP_BOTTOM_EDGE 0x4 |
#define CLIP_INSIDE |
( |
|
a) | |
(!a) |
#define CLIP_LEFT_EDGE 0x1 |
#define CLIP_REJECT |
( |
|
a, |
|
|
|
b |
|
) |
| ((a) & (b)) |
#define CLIP_RIGHT_EDGE 0x2 |
#define CLIP_TOP_EDGE 0x8 |
static int clip_line |
( |
FB_GFXCTX * |
context, |
|
|
int * |
x1, |
|
|
int * |
y1, |
|
|
int * |
x2, |
|
|
int * |
y2 |
|
) |
| |
|
static |
static int encode |
( |
FB_GFXCTX * |
context, |
|
|
int |
x, |
|
|
int |
y |
|
) |
| |
|
static |
FBCALL void fb_GfxLine |
( |
void * |
target, |
|
|
float |
fx1, |
|
|
float |
fy1, |
|
|
float |
fx2, |
|
|
float |
fy2, |
|
|
unsigned int |
color, |
|
|
int |
type, |
|
|
unsigned int |
style, |
|
|
int |
flags |
|
) |
| |
static int reverse_mask |
( |
int |
mask) | |
|
|
static |