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 27 int reduce(const SkDLine& line);
33 SkDLine fLine;
SkIntersections.h 82 SkDLine line;
114 SkDLine line;
120 SkDLine line;
126 SkDLine aLine, bLine;
152 SkDLine line;
165 int quadRay(const SkPoint pts[3], const SkDLine& line);
198 int cubicRay(const SkPoint pts[4], const SkDLine& line);
200 int horizontal(const SkDLine&, double y);
201 int horizontal(const SkDLine&, double left, double right, double y, bool flipped);
211 int intersect(const SkDLine&, const SkDLine&)
    [all...]
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 {
96 double SkDLine::ExactPointH(const SkDPoint& xy, double left, double right, double y) {
108 double SkDLine::NearPointH(const SkDPoint& xy, double left, double right, double y) {
121 double SkDLine::ExactPointV(const SkDPoint& xy, double top, double bottom, double x)
    [all...]
SkPathOpsLine.h 12 struct SkDLine {
23 static SkDLine SubDivide(const SkPoint a[2], double t1, double t2) {
24 SkDLine line;
37 SkDLine subDivide(double t1, double t2) const;
SkDLineIntersection.cpp 14 SkDPoint SkIntersections::Line(const SkDLine& a, const SkDLine& b) {
29 int SkIntersections::computePoints(const SkDLine& line, int used) {
37 int SkIntersections::intersectRay(const SkDLine& a, const SkDLine& b) {
79 int SkIntersections::intersect(const SkDLine& a, const SkDLine& b) {
137 static int horizontal_coincident(const SkDLine& line, double y) {
152 static double horizontal_intercept(const SkDLine& line, double y) {
156 int SkIntersections::horizontal(const SkDLine& line, double y)
    [all...]
SkDQuadLineIntersection.cpp 97 LineQuadraticIntersections(const SkDQuad& q, const SkDLine& l, SkIntersections* i)
248 double lineT = SkDLine::ExactPointH(fQuad[qIndex], left, right, y);
263 double lineT = SkDLine::NearPointH(fQuad[qIndex], left, right, y);
274 double lineT = SkDLine::ExactPointV(fQuad[qIndex], top, bottom, x);
289 double lineT = SkDLine::NearPointV(fQuad[qIndex], top, bottom, x);
332 const SkDLine& fLine;
339 LineQuadraticIntersections q(quad, *(static_cast<SkDLine*>(0)),
354 LineQuadraticIntersections q(quad, *(static_cast<SkDLine*>(0)),
377 SkDLine line = {{{ left, y }, { right, y }}};
384 SkDLine line = {{{ x, top }, { x, bottom }}}
    [all...]
SkDCubicLineIntersection.cpp 84 LineCubicIntersections(const SkDCubic& c, const SkDLine& l, SkIntersections* i)
216 double lineT = SkDLine::ExactPointH(fCubic[cIndex], left, right, y);
231 double lineT = SkDLine::NearPointH(fCubic[cIndex], left, right, y);
242 double lineT = SkDLine::ExactPointV(fCubic[cIndex], top, bottom, x);
257 double lineT = SkDLine::NearPointV(fCubic[cIndex], top, bottom, x);
295 const SkDLine& fLine;
302 SkDLine line = {{{ left, y }, { right, y }}};
309 SkDLine line = {{{ x, top }, { x, bottom }}};
314 int SkIntersections::intersect(const SkDCubic& cubic, const SkDLine& line) {
320 int SkIntersections::intersectRay(const SkDCubic& cubic, const SkDLine& line)
    [all...]
SkPathOpsCurve.h 15 SkDLine line;
59 SkDLine line;
124 SkDLine line;
SkIntersections.cpp 17 int (SkIntersections::*CurveRay[])(const SkPoint[], const SkDLine&) = {
45 int SkIntersections::cubicRay(const SkPoint pts[4], const SkDLine& line) {
122 int SkIntersections::quadRay(const SkPoint pts[3], const SkDLine& line) {
172 SkDLine line;
SkPathOpsRect.h 56 void setBounds(const SkDLine&);
  /external/skia/src/pathops/
SkReduceOrder.h 27 int reduce(const SkDLine& line);
33 SkDLine fLine;
SkIntersections.h 82 SkDLine line;
114 SkDLine line;
120 SkDLine line;
126 SkDLine aLine, bLine;
152 SkDLine line;
165 int quadRay(const SkPoint pts[3], const SkDLine& line);
198 int cubicRay(const SkPoint pts[4], const SkDLine& line);
200 int horizontal(const SkDLine&, double y);
201 int horizontal(const SkDLine&, double left, double right, double y, bool flipped);
211 int intersect(const SkDLine&, const SkDLine&)
    [all...]
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 {
96 double SkDLine::ExactPointH(const SkDPoint& xy, double left, double right, double y) {
108 double SkDLine::NearPointH(const SkDPoint& xy, double left, double right, double y) {
121 double SkDLine::ExactPointV(const SkDPoint& xy, double top, double bottom, double x)
    [all...]
SkPathOpsLine.h 12 struct SkDLine {
23 static SkDLine SubDivide(const SkPoint a[2], double t1, double t2) {
24 SkDLine line;
37 SkDLine subDivide(double t1, double t2) const;
SkDLineIntersection.cpp 14 SkDPoint SkIntersections::Line(const SkDLine& a, const SkDLine& b) {
29 int SkIntersections::computePoints(const SkDLine& line, int used) {
37 int SkIntersections::intersectRay(const SkDLine& a, const SkDLine& b) {
79 int SkIntersections::intersect(const SkDLine& a, const SkDLine& b) {
137 static int horizontal_coincident(const SkDLine& line, double y) {
152 static double horizontal_intercept(const SkDLine& line, double y) {
156 int SkIntersections::horizontal(const SkDLine& line, double y)
    [all...]
SkDQuadLineIntersection.cpp 97 LineQuadraticIntersections(const SkDQuad& q, const SkDLine& l, SkIntersections* i)
248 double lineT = SkDLine::ExactPointH(fQuad[qIndex], left, right, y);
263 double lineT = SkDLine::NearPointH(fQuad[qIndex], left, right, y);
274 double lineT = SkDLine::ExactPointV(fQuad[qIndex], top, bottom, x);
289 double lineT = SkDLine::NearPointV(fQuad[qIndex], top, bottom, x);
332 const SkDLine& fLine;
339 LineQuadraticIntersections q(quad, *(static_cast<SkDLine*>(0)),
354 LineQuadraticIntersections q(quad, *(static_cast<SkDLine*>(0)),
377 SkDLine line = {{{ left, y }, { right, y }}};
384 SkDLine line = {{{ x, top }, { x, bottom }}}
    [all...]
SkDCubicLineIntersection.cpp 84 LineCubicIntersections(const SkDCubic& c, const SkDLine& l, SkIntersections* i)
216 double lineT = SkDLine::ExactPointH(fCubic[cIndex], left, right, y);
231 double lineT = SkDLine::NearPointH(fCubic[cIndex], left, right, y);
242 double lineT = SkDLine::ExactPointV(fCubic[cIndex], top, bottom, x);
257 double lineT = SkDLine::NearPointV(fCubic[cIndex], top, bottom, x);
295 const SkDLine& fLine;
302 SkDLine line = {{{ left, y }, { right, y }}};
309 SkDLine line = {{{ x, top }, { x, bottom }}};
314 int SkIntersections::intersect(const SkDCubic& cubic, const SkDLine& line) {
320 int SkIntersections::intersectRay(const SkDCubic& cubic, const SkDLine& line)
    [all...]
SkPathOpsCurve.h 15 SkDLine line;
59 SkDLine line;
124 SkDLine line;
SkIntersections.cpp 17 int (SkIntersections::*CurveRay[])(const SkPoint[], const SkDLine&) = {
45 int SkIntersections::cubicRay(const SkPoint pts[4], const SkDLine& line) {
122 int SkIntersections::quadRay(const SkPoint pts[3], const SkDLine& line) {
172 SkDLine line;
  /external/skia/tests/
PathOpsLineIntersectionTest.cpp 13 static const SkDLine tests[][2] = {
35 static const SkDLine noIntersect[][2] = {
45 static const SkDLine coincidentTests[][2] = {
55 static void check_results(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2,
69 static void testOne(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2) {
110 static void testOneCoincident(skiatest::Reporter* reporter, const SkDLine& line1,
111 const SkDLine& line2) {
132 const SkDLine& line1 = coincidentTests[index][0]
    [all...]
PathOpsDLineTest.cpp 11 static const SkDLine tests[] = {
33 const SkDLine& line = tests[index];
35 SkDLine line2;
48 line2 = SkDLine::SubDivide(pts, 1, 0);
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;
77 const SkDLine& line = oneOffs[index].line;
100 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;
37 const SkDLine& line = lineCubicTests[iIndex].line;
81 const SkDLine& line = lineCubicTests[iIndex].line;

Completed in 9477 milliseconds

1 2