HomeSort by relevance Sort by last modified time
    Searched refs:SkDLine (Results 1 - 25 of 50) sorted by null

1 2

  /external/chromium_org/third_party/skia/src/pathops/
SkReduceOrder.h 23 int reduce(const SkDLine& line);
29 SkDLine fLine;
SkIntersections.h 88 SkDLine line;
122 SkDLine line;
129 SkDLine line;
136 SkDLine aLine, bLine;
165 SkDLine line;
216 int cubicRay(const SkPoint pts[4], const SkDLine& line);
218 int horizontal(const SkDLine&, double y);
219 int horizontal(const SkDLine&, double left, double right, double y, bool flipped);
230 int intersect(const SkDLine&, const SkDLine&)
    [all...]
SkPathOpsLine.h 12 struct SkDLine {
23 static SkDLine SubDivide(const SkPoint a[2], double t1, double t2) {
24 SkDLine line;
39 SkDLine subDivide(double t1, double t2) const;
SkPathOpsLine.cpp 9 SkDLine SkDLine::subDivide(double t1, double t2) const {
11 SkDLine dst = {{{
38 double SkDLine::isLeft(const SkDPoint& pt) const {
44 SkDPoint SkDLine::ptAtT(double t) const {
56 double SkDLine::exactPoint(const SkDPoint& xy) const {
66 double SkDLine::nearPoint(const SkDPoint& xy) const {
94 bool SkDLine::nearRay(const SkDPoint& xy) const {
112 bool SkDLine::NearRay(double x1, double y1, double x2, double y2) {
115 SkDLine line = {{{0, 0}, {x1, y1}}}
    [all...]
SkDLineIntersection.cpp 14 SkDPoint SkIntersections::Line(const SkDLine& a, const SkDLine& b) {
58 void SkIntersections::computePoints(const SkDLine& line, int used) {
65 int SkIntersections::intersectRay(const SkDLine& a, const SkDLine& b) {
106 int SkIntersections::intersect(const SkDLine& a, const SkDLine& b) {
168 static int horizontal_coincident(const SkDLine& line, double y) {
183 static double horizontal_intercept(const SkDLine& line, double y) {
187 int SkIntersections::horizontal(const SkDLine& line, double y)
    [all...]
SkDCubicLineIntersection.cpp 84 LineCubicIntersections(const SkDCubic& c, const SkDLine& l, SkIntersections* i)
236 double lineT = SkDLine::ExactPointH(fCubic[cIndex], left, right, y);
251 double lineT = SkDLine::NearPointH(fCubic[cIndex], left, right, y);
262 double lineT = SkDLine::ExactPointV(fCubic[cIndex], top, bottom, x);
277 double lineT = SkDLine::NearPointV(fCubic[cIndex], top, bottom, x);
326 const SkDLine& fLine;
333 SkDLine line = {{{ left, y }, { right, y }}};
340 SkDLine line = {{{ x, top }, { x, bottom }}};
345 int SkIntersections::intersect(const SkDCubic& cubic, const SkDLine& line) {
351 int SkIntersections::intersectRay(const SkDCubic& cubic, const SkDLine& line)
    [all...]
SkDQuadLineIntersection.cpp 97 LineQuadraticIntersections(const SkDQuad& q, const SkDLine& l, SkIntersections* i)
253 double lineT = SkDLine::ExactPointH(fQuad[qIndex], left, right, y);
268 double lineT = SkDLine::NearPointH(fQuad[qIndex], left, right, y);
279 double lineT = SkDLine::ExactPointV(fQuad[qIndex], top, bottom, x);
294 double lineT = SkDLine::NearPointV(fQuad[qIndex], top, bottom, x);
343 const SkDLine& fLine;
350 LineQuadraticIntersections q(quad, *(static_cast<SkDLine*>(0)),
365 LineQuadraticIntersections q(quad, *(static_cast<SkDLine*>(0)),
388 SkDLine line = {{{ left, y }, { right, y }}};
395 SkDLine line = {{{ x, top }, { x, bottom }}}
    [all...]
SkIntersections.cpp 23 int (SkIntersections::*CurveRay[])(const SkPoint[], const SkDLine&) = {
51 int SkIntersections::cubicRay(const SkPoint pts[4], const SkDLine& line) {
126 int SkIntersections::lineRay(const SkPoint pts[2], const SkDLine& line) {
127 SkDLine l;
142 int SkIntersections::quadRay(const SkPoint pts[3], const SkDLine& line) {
193 SkDLine line;
SkPathOpsCurve.h 15 SkDLine line;
59 SkDLine line;
124 SkDLine line;
SkPathOpsRect.h 56 void setBounds(const SkDLine&);
  /external/skia/src/pathops/
SkReduceOrder.h 23 int reduce(const SkDLine& line);
29 SkDLine fLine;
SkIntersections.h 88 SkDLine line;
122 SkDLine line;
129 SkDLine line;
136 SkDLine aLine, bLine;
165 SkDLine line;
216 int cubicRay(const SkPoint pts[4], const SkDLine& line);
218 int horizontal(const SkDLine&, double y);
219 int horizontal(const SkDLine&, double left, double right, double y, bool flipped);
230 int intersect(const SkDLine&, const SkDLine&)
    [all...]
SkPathOpsLine.h 12 struct SkDLine {
23 static SkDLine SubDivide(const SkPoint a[2], double t1, double t2) {
24 SkDLine line;
39 SkDLine subDivide(double t1, double t2) const;
SkPathOpsLine.cpp 9 SkDLine SkDLine::subDivide(double t1, double t2) const {
11 SkDLine dst = {{{
38 double SkDLine::isLeft(const SkDPoint& pt) const {
44 SkDPoint SkDLine::ptAtT(double t) const {
56 double SkDLine::exactPoint(const SkDPoint& xy) const {
66 double SkDLine::nearPoint(const SkDPoint& xy) const {
94 bool SkDLine::nearRay(const SkDPoint& xy) const {
112 bool SkDLine::NearRay(double x1, double y1, double x2, double y2) {
115 SkDLine line = {{{0, 0}, {x1, y1}}}
    [all...]
SkDLineIntersection.cpp 14 SkDPoint SkIntersections::Line(const SkDLine& a, const SkDLine& b) {
58 void SkIntersections::computePoints(const SkDLine& line, int used) {
65 int SkIntersections::intersectRay(const SkDLine& a, const SkDLine& b) {
106 int SkIntersections::intersect(const SkDLine& a, const SkDLine& b) {
168 static int horizontal_coincident(const SkDLine& line, double y) {
183 static double horizontal_intercept(const SkDLine& line, double y) {
187 int SkIntersections::horizontal(const SkDLine& line, double y)
    [all...]
SkDCubicLineIntersection.cpp 84 LineCubicIntersections(const SkDCubic& c, const SkDLine& l, SkIntersections* i)
236 double lineT = SkDLine::ExactPointH(fCubic[cIndex], left, right, y);
251 double lineT = SkDLine::NearPointH(fCubic[cIndex], left, right, y);
262 double lineT = SkDLine::ExactPointV(fCubic[cIndex], top, bottom, x);
277 double lineT = SkDLine::NearPointV(fCubic[cIndex], top, bottom, x);
326 const SkDLine& fLine;
333 SkDLine line = {{{ left, y }, { right, y }}};
340 SkDLine line = {{{ x, top }, { x, bottom }}};
345 int SkIntersections::intersect(const SkDCubic& cubic, const SkDLine& line) {
351 int SkIntersections::intersectRay(const SkDCubic& cubic, const SkDLine& line)
    [all...]
SkDQuadLineIntersection.cpp 97 LineQuadraticIntersections(const SkDQuad& q, const SkDLine& l, SkIntersections* i)
253 double lineT = SkDLine::ExactPointH(fQuad[qIndex], left, right, y);
268 double lineT = SkDLine::NearPointH(fQuad[qIndex], left, right, y);
279 double lineT = SkDLine::ExactPointV(fQuad[qIndex], top, bottom, x);
294 double lineT = SkDLine::NearPointV(fQuad[qIndex], top, bottom, x);
343 const SkDLine& fLine;
350 LineQuadraticIntersections q(quad, *(static_cast<SkDLine*>(0)),
365 LineQuadraticIntersections q(quad, *(static_cast<SkDLine*>(0)),
388 SkDLine line = {{{ left, y }, { right, y }}};
395 SkDLine line = {{{ x, top }, { x, bottom }}}
    [all...]
SkIntersections.cpp 23 int (SkIntersections::*CurveRay[])(const SkPoint[], const SkDLine&) = {
51 int SkIntersections::cubicRay(const SkPoint pts[4], const SkDLine& line) {
126 int SkIntersections::lineRay(const SkPoint pts[2], const SkDLine& line) {
127 SkDLine l;
142 int SkIntersections::quadRay(const SkPoint pts[3], const SkDLine& line) {
193 SkDLine line;
SkPathOpsCurve.h 15 SkDLine line;
59 SkDLine line;
124 SkDLine line;
  /external/skia/tests/
PathOpsDLineTest.cpp 11 static const SkDLine tests[] = {
33 const SkDLine& line = tests[index];
35 SkDLine line2;
48 line2 = SkDLine::SubDivide(pts, 1, 0);
PathOpsLineIntersectionTest.cpp 13 static const SkDLine tests[][2] = {
39 static const SkDLine noIntersect[][2] = {
52 static const SkDLine coincidentTests[][2] = {
74 static void check_results(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2,
88 static void testOne(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2) {
130 static void testOneCoincident(skiatest::Reporter* reporter, const SkDLine& line1,
131 const SkDLine& line2) {
184 const SkDLine& line1 = coincidentTests[index][0]
    [all...]
PathOpsTestCommon.h 18 bool ValidLine(const SkDLine& line);
PathOpsQuadLineIntersectionTest.cpp 17 SkDLine line;
31 static int doIntersect(SkIntersections& intersections, const SkDQuad& quad, const SkDLine& line,
60 SkDLine line;
82 const SkDLine& line = oneOffs[index].line;
109 const SkDLine& line = lineQuadTests[index].line;
PathOpsQuadLineIntersectionThreadedTest.cpp 14 static int doIntersect(SkIntersections& intersections, const SkDQuad& quad, const SkDLine& line,
42 const SkDLine& line, const double x, const double y) {
100 SkDLine line = {{{x - h, y - v}, {x, y}}};
103 SkDLine line2 = {{{x, y}, {x + h, y + v}}};
106 SkDLine line3 = {{{x - h, y - v}, {x + h, y + v}}};
PathOpsCubicLineIntersectionTest.cpp 16 SkDLine line;
48 const SkDLine& line = lineCubicTests[iIndex].line;
91 const SkDLine& line = lineCubicTests[iIndex].line;

Completed in 174 milliseconds

1 2