Lines Matching defs:line

11 #include "livarot/float-line.h"
795 // scan and compute coverage, FloatLigne version coverage of the line is bult in 2 parts: first a
796 // set of rectangles of height the height of the line (here: "step") one rectangle for each portion
799 // the entire line. think of it as a refinement of the coverage by rectangles
801 void Shape::Scan(float &pos, int &curP, float to, FloatLigne *line, bool exact, float step)
826 lastGuess = line->AppendBord(swrData[lb].curX,
876 // create trapezoid for the chunk of edge intersecting with the line
877 DestroyEdge(cb, to, line);
893 DestroyEdge(upNo, to, line);
934 // update intersections with the sweepline, and add trapezoids for edges crossing the line
940 AvanceEdge(cb, to, line, exact, step);
949 void Shape::Scan(float &pos, int &curP, float to, FillRule directed, BitLigne *line, bool exact, float step)
971 line->AddBord(lastX,swrData[cb].curX,true);
991 line->AddBord(lastX, swrData[cb].curX, true);
1011 line->AddBord(lastX,swrData[cb].curX,true);
1053 DestroyEdge(cb, line);
1068 DestroyEdge(upNo, line);
1115 AvanceEdge(cb, to, line, exact, step);
1122 void Shape::Scan(float &pos, int &curP, float to, AlphaLigne *line, bool exact, float step)
1162 DestroyEdge(cb, line);
1178 DestroyEdge(upNo, line);
1224 AvanceEdge(cb, to, line, exact, step);
1232 void Shape::QuickScan(float &pos, int &curP, float to, FloatLigne* line, float step)
1260 lastGuess = line->AppendBord(swrData[lastB].curX,
1313 DestroyEdge(cb, to, line);
1326 DestroyEdge(upNo, to, line);
1361 AvanceEdge(cb, to, line, true, step);
1371 void Shape::QuickScan(float &pos, int &curP, float to, FillRule directed, BitLigne* line, float step)
1392 line->AddBord(lastX, swrData[cb].curX, true);
1410 line->AddBord(lastX, swrData[cb].curX, true);
1427 line->AddBord(lastX, swrData[cb].curX, true);
1465 DestroyEdge(cb, line);
1478 DestroyEdge(upNo, line);
1512 AvanceEdge(cb, to, line, true, step);
1521 void Shape::QuickScan(float &pos, int &curP, float to, AlphaLigne* line, float step)
1559 DestroyEdge(cb, line);
1572 DestroyEdge(upNo, line);
1607 AvanceEdge(cb, to, line, true, step);
1685 void Shape::DestroyEdge(int no, float to, FloatLigne* line)
1691 swrData[no].guess = line->AddBordR(swrData[no].curX,
1700 swrData[no].guess = line->AddBord(swrData[no].lastX,
1712 swrData[no].guess = line->AddBordR(swrData[no].curX,
1721 swrData[no].guess = line->AddBord(swrData[no].lastX,
1733 void Shape::AvanceEdge(int no, float to, FloatLigne *line, bool exact, float step)
1741 swrData[no].guess = line->AddBordR(swrData[no].curX,
1750 swrData[no].guess = line->AddBord(swrData[no].lastX,
1762 swrData[no].guess = line->AddBordR(swrData[no].curX,
1771 swrData[no].guess = line->AddBord(swrData[no].lastX,
1782 void Shape::DestroyEdge(int no, BitLigne *line)
1788 line->AddBord(swrData[no].curX, swrData[no].lastX, false);
1792 line->AddBord(swrData[no].lastX,swrData[no].curX,false);
1799 line->AddBord(swrData[no].curX, swrData[no].lastX, false);
1803 line->AddBord(swrData[no].lastX, swrData[no].curX, false);
1810 void Shape::AvanceEdge(int no, float to, BitLigne *line, bool exact, float step)
1818 line->AddBord(swrData[no].curX, swrData[no].lastX, false);
1822 line->AddBord(swrData[no].lastX, swrData[no].curX, false);
1829 line->AddBord(swrData[no].curX, swrData[no].lastX, false);
1833 line->AddBord(swrData[no].lastX, swrData[no].curX, false);
1839 void Shape::DestroyEdge(int no, AlphaLigne* line)
1845 line->AddBord(swrData[no].curX,
1853 line->AddBord(swrData[no].lastX,
1864 line->AddBord(swrData[no].curX,
1872 line->AddBord(swrData[no].lastX,
1882 void Shape::AvanceEdge(int no, float to, AlphaLigne *line, bool exact, float step)
1890 line->AddBord(swrData[no].curX,
1898 line->AddBord(swrData[no].lastX,
1909 line->AddBord(swrData[no].curX,
1917 line->AddBord(swrData[no].lastX,