Vectorial Objects


Defines

#define VECT_LINE   0
#define VECT_RECTANGLE   1
#define VECT_GRADIENT   2
#define VECT_CIRCLE   3

Functions

void XF_VectoChgLine (xf_vectObject *ptr, s32 x1, s32 y1, s32 x2, s32 y2, u16 color, u8 alpha)
xf_vectObjectXF_VectoAddLine (u8 bg, s32 x1, s32 y1, s32 x2, s32 y2, u16 color, u8 alpha)
void XF_VectoChgRectangle (xf_vectObject *ptr, s32 x1, s32 y1, s32 x2, s32 y2, u8 bordersize, u16 bordercolor, u16 color, s8 alpha)
xf_vectObjectXF_VectoAddRectangle (u8 bg, s32 x1, s32 y1, s32 x2, s32 y2, u8 bordersize, u16 bordercolor, u16 color, s8 alpha)
void XF_VectoChgGradient (xf_vectObject *ptr, s32 x1, s32 y1, s32 x2, s32 y2, u16 color0, u16 color1, s8 alpha)
xf_vectObjectXF_VectoAddGradient (u8 bg, s32 x1, s32 y1, s32 x2, s32 y2, u16 color0, u16 color1, s8 alpha)
void XF_ResetVecto (u8 bg)
void XF_VectoSetLimits (xf_vectObject *ptr, s32 x1, s32 y1, s32 x2, s32 y2)
void XF_VectoSetAlpha (xf_vectObject *ptr, u8 alpha)
void XF_VectoSetColor (xf_vectObject *ptr, u16 color)

Detailed Description

XFlib vectorials objects... Pretty limited : lines, rectangle, gradients, and circles

Define Documentation

#define VECT_CIRCLE   3

Definition at line 19 of file xf_vecto.h.

#define VECT_GRADIENT   2

Definition at line 18 of file xf_vecto.h.

#define VECT_LINE   0

Definition at line 16 of file xf_vecto.h.

#define VECT_RECTANGLE   1

Definition at line 17 of file xf_vecto.h.


Function Documentation

void XF_ResetVecto ( u8  bg  ) 

Definition at line 59 of file xf_vecto.c.

xf_vectObject* XF_VectoAddGradient ( u8  bg,
s32  x1,
s32  y1,
s32  x2,
s32  y2,
u16  color0,
u16  color1,
s8  alpha 
)

Definition at line 127 of file xf_vecto.c.

xf_vectObject* XF_VectoAddLine ( u8  bg,
s32  x1,
s32  y1,
s32  x2,
s32  y2,
u16  color,
u8  alpha 
)

Definition at line 92 of file xf_vecto.c.

xf_vectObject* XF_VectoAddRectangle ( u8  bg,
s32  x1,
s32  y1,
s32  x2,
s32  y2,
u8  bordersize,
u16  bordercolor,
u16  color,
s8  alpha 
)

Definition at line 110 of file xf_vecto.c.

void XF_VectoChgGradient ( xf_vectObject ptr,
s32  x1,
s32  y1,
s32  x2,
s32  y2,
u16  color0,
u16  color1,
s8  alpha 
)

Definition at line 117 of file xf_vecto.c.

void XF_VectoChgLine ( xf_vectObject ptr,
s32  x1,
s32  y1,
s32  x2,
s32  y2,
u16  color,
u8  alpha 
)

Definition at line 84 of file xf_vecto.c.

void XF_VectoChgRectangle ( xf_vectObject ptr,
s32  x1,
s32  y1,
s32  x2,
s32  y2,
u8  bordersize,
u16  bordercolor,
u16  color,
s8  alpha 
)

Definition at line 99 of file xf_vecto.c.

void XF_VectoSetAlpha ( xf_vectObject ptr,
u8  alpha 
) [inline]

Definition at line 43 of file xf_vecto.h.

void XF_VectoSetColor ( xf_vectObject ptr,
u16  color 
) [inline]

Definition at line 47 of file xf_vecto.h.

void XF_VectoSetLimits ( xf_vectObject ptr,
s32  x1,
s32  y1,
s32  x2,
s32  y2 
) [inline]

Definition at line 38 of file xf_vecto.h.


Generated on Wed Dec 12 23:46:48 2007 for XFlib by  doxygen 1.5.4