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

1 2

  /external/chromium_org/third_party/skia/src/pathops/
SkPathOpsPoint.cpp 9 SkDVector operator-(const SkDPoint& a, const SkDPoint& b) {
10 SkDVector v = {a.fX - b.fX, a.fY - b.fY};
14 SkDPoint operator+(const SkDPoint& a, const SkDVector& b) {
SkPathOpsTriangle.cpp 14 SkDVector v0 = fPts[2] - fPts[0];
15 SkDVector v1 = fPts[1] - fPts[0];
16 SkDVector v2 = pt - fPts[0];
SkPathOpsPoint.h 17 struct SkDVector {
20 friend SkDPoint operator+(const SkDPoint& a, const SkDVector& b);
22 void operator+=(const SkDVector& v) {
27 void operator-=(const SkDVector& v) {
47 double cross(const SkDVector& a) const {
51 double dot(const SkDVector& a) const {
73 friend SkDVector operator-(const SkDPoint& a, const SkDPoint& b);
89 void operator+=(const SkDVector& v) {
94 void operator-=(const SkDVector& v) {
163 SkDVector temp = *this - a
    [all...]
SkPathOpsLine.cpp 10 SkDVector delta = tangent();
39 SkDVector p0 = fPts[1] - fPts[0];
40 SkDVector p2 = pt - fPts[0];
72 SkDVector len = fPts[1] - fPts[0]; // the x/y magnitudes of the line
74 SkDVector ab0 = xy - fPts[0];
96 SkDVector len = fPts[1] - fPts[0]; // the x/y magnitudes of the line
98 SkDVector ab0 = xy - fPts[0];
146 SkDVector distU = {xy.fY - y, xy.fX - realPtX};
181 SkDVector distU = {xy.fX - x, xy.fY - realPtY};
SkPathOpsCurve.h 58 static SkDVector dline_dxdy_at_t(const SkPoint a[2], double ) {
64 static SkDVector dquad_dxdy_at_t(const SkPoint a[3], double t) {
70 static SkDVector dcubic_dxdy_at_t(const SkPoint a[4], double t) {
76 static SkDVector (* const CurveDSlopeAtT[])(const SkPoint[], double ) = {
SkPathOpsLine.h 45 SkDVector tangent() const { return fPts[0] - fPts[1]; }
SkPathOpsQuad.h 39 SkDVector dxdyAtT(double t) const;
SkPathOpsQuad.cpp 16 SkDVector pos = fPts[0] - pt;
19 SkDVector A = fPts[1] - fPts[0];
20 SkDVector B = fPts[2] - fPts[1];
158 SkDVector SkDQuad::dxdyAtT(double t) const {
162 SkDVector result = { a * fPts[0].fX + b * fPts[1].fX + c * fPts[2].fX,
SkPathOpsCubic.h 42 SkDVector dxdyAtT(double t) const;
SkDLineIntersection.cpp 67 SkDVector aLen = a[1] - a[0];
68 SkDVector bLen = b[1] - b[0];
76 SkDVector ab0 = a[0] - b[0];
SkDQuadIntersection.cpp 126 SkDVector dxdy = q2.dxdyAtT(tMid);
197 SkDVector dxy1, dxy2;
235 SkDVector mid = q[1] - q[0];
236 SkDVector dxy = q[2] - q[0];
  /external/skia/src/pathops/
SkPathOpsPoint.cpp 9 SkDVector operator-(const SkDPoint& a, const SkDPoint& b) {
10 SkDVector v = {a.fX - b.fX, a.fY - b.fY};
14 SkDPoint operator+(const SkDPoint& a, const SkDVector& b) {
SkPathOpsTriangle.cpp 14 SkDVector v0 = fPts[2] - fPts[0];
15 SkDVector v1 = fPts[1] - fPts[0];
16 SkDVector v2 = pt - fPts[0];
SkPathOpsPoint.h 17 struct SkDVector {
20 friend SkDPoint operator+(const SkDPoint& a, const SkDVector& b);
22 void operator+=(const SkDVector& v) {
27 void operator-=(const SkDVector& v) {
47 double cross(const SkDVector& a) const {
51 double dot(const SkDVector& a) const {
73 friend SkDVector operator-(const SkDPoint& a, const SkDPoint& b);
89 void operator+=(const SkDVector& v) {
94 void operator-=(const SkDVector& v) {
163 SkDVector temp = *this - a
    [all...]
SkPathOpsLine.cpp 10 SkDVector delta = tangent();
39 SkDVector p0 = fPts[1] - fPts[0];
40 SkDVector p2 = pt - fPts[0];
72 SkDVector len = fPts[1] - fPts[0]; // the x/y magnitudes of the line
74 SkDVector ab0 = xy - fPts[0];
96 SkDVector len = fPts[1] - fPts[0]; // the x/y magnitudes of the line
98 SkDVector ab0 = xy - fPts[0];
146 SkDVector distU = {xy.fY - y, xy.fX - realPtX};
181 SkDVector distU = {xy.fX - x, xy.fY - realPtY};
SkPathOpsCurve.h 58 static SkDVector dline_dxdy_at_t(const SkPoint a[2], double ) {
64 static SkDVector dquad_dxdy_at_t(const SkPoint a[3], double t) {
70 static SkDVector dcubic_dxdy_at_t(const SkPoint a[4], double t) {
76 static SkDVector (* const CurveDSlopeAtT[])(const SkPoint[], double ) = {
SkPathOpsLine.h 45 SkDVector tangent() const { return fPts[0] - fPts[1]; }
SkPathOpsQuad.h 39 SkDVector dxdyAtT(double t) const;
SkPathOpsQuad.cpp 16 SkDVector pos = fPts[0] - pt;
19 SkDVector A = fPts[1] - fPts[0];
20 SkDVector B = fPts[2] - fPts[1];
158 SkDVector SkDQuad::dxdyAtT(double t) const {
162 SkDVector result = { a * fPts[0].fX + b * fPts[1].fX + c * fPts[2].fX,
SkPathOpsCubic.h 42 SkDVector dxdyAtT(double t) const;
SkDLineIntersection.cpp 67 SkDVector aLen = a[1] - a[0];
68 SkDVector bLen = b[1] - b[0];
76 SkDVector ab0 = a[0] - b[0];
  /external/skia/tests/
PathOpsTestCommon.h 23 bool ValidVector(const SkDVector& v);
PathOpsDVectorTest.cpp 25 SkDVector v1 = tests[index + 1] - tests[index];
27 SkDVector v2 = tests[index] - tests[index + 1];
PathOpsDPointTest.cpp 30 SkDVector v = p - pt;
PathOpsTestCommon.cpp 104 bool ValidVector(const SkDVector& v) {

Completed in 111 milliseconds

1 2