LivarotDefs.h File Reference
Go to the source code of this file.
Typedef Documentation
Definition at line 63 of file LivarotDefs.h.
Definition at line 80 of file LivarotDefs.h.
Definition at line 90 of file LivarotDefs.h.
| typedef void(* GotoLigneColorFunc)(int pv, void *) |
Definition at line 152 of file LivarotDefs.h.
| typedef void(* GotoPixelColorFunc)(int ph, void *) |
Definition at line 151 of file LivarotDefs.h.
| typedef void(* InitColorFunc)(int ph, int pv, void *) |
Definition at line 146 of file LivarotDefs.h.
Definition at line 81 of file LivarotDefs.h.
| typedef void(* NextLigneColorFunc)(void *) |
Definition at line 149 of file LivarotDefs.h.
| typedef void(* NextPixelColorFunc)(void *) |
Definition at line 148 of file LivarotDefs.h.
| typedef struct raster_info raster_info |
| typedef void(* RasterInRunFunc)(raster_info &dest, void *data, int nst, float vst, int nen, float ven) |
Definition at line 173 of file LivarotDefs.h.
Enumeration Type Documentation
| anonymous enum |
- Enumerator:
avl_no_err avl_bal_err avl_rm_err avl_ins_err shape_euler_err shape_input_err shape_nothing_to_do
Definition at line 29 of file LivarotDefs.h.
{
avl_no_err = 0, // 0 is the error code for "everything OK"
avl_bal_err = 1,
avl_rm_err = 2,
avl_ins_err = 3,
shape_euler_err = 4, // computations result in a non-eulerian graph, thus the function cannot do a proper polygon
// despite the rounding sheme, this still happen with uber-complex graphs
// note that coordinates are stored in double => double precision for the computation is not even
// enough to get exact results (need quadruple precision, i think).
shape_input_err = 5, // the function was given an incorrect input (not a polygon, or not eulerian)
shape_nothing_to_do = 6 // the function had nothing to do (zero offset, etc)
};
| anonymous enum |
Definition at line 44 of file LivarotDefs.h.
{
not_found = 0,
found_exact = 1,
found_on_left = 2,
found_on_right = 3,
found_between = 4
};
| enum bool_op |
Definition at line 54 of file LivarotDefs.h.
{
bool_op_union, // A OR B
bool_op_inters, // A AND B
bool_op_diff, // A \ B
bool_op_symdiff, // A XOR B
bool_op_cut, // coupure (pleines)
bool_op_slice // coupure (contour)
};
| enum butt_typ |
Definition at line 66 of file LivarotDefs.h.
{
butt_straight, // straight line
butt_square, // half square
butt_round, // half circle
butt_pointy // a little pointy hat
};
| enum fill_typ |
Definition at line 83 of file LivarotDefs.h.
{
fill_oddEven = 0,
fill_nonZero = 1,
fill_positive = 2,
fill_justDont = 3
};
| enum FirstOrLast |
| enum join_typ |
Definition at line 74 of file LivarotDefs.h.
{
join_straight, // a straight line
join_round, // arc of circle (in fact, one or two quadratic bezier curve chunks)
join_pointy // a miter join (uses the miter parameter)
};
| enum Side |
