OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SkDVector
(Results
1 - 24
of
24
) sorted by null
/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};
SkPathOpsPoint.h
17
struct
SkDVector
{
27
void operator+=(const
SkDVector
& v) {
33
void operator-=(const
SkDVector
& v) {
56
double cross(const
SkDVector
& a) const {
61
double crossCheck(const
SkDVector
& a) const {
67
double dot(const
SkDVector
& a) const {
89
friend
SkDVector
operator-(const SkDPoint& a, const SkDPoint& b);
105
void operator+=(const
SkDVector
& v) {
111
void operator-=(const
SkDVector
& v) {
117
SkDPoint operator+(const
SkDVector
& v)
[
all
...]
SkPathOpsCubic.h
36
SkDVector
v01 = fPts[0] - fPts[1];
37
SkDVector
v02 = fPts[0] - fPts[2];
38
SkDVector
v03 = fPts[0] - fPts[3];
39
SkDVector
v13 = fPts[1] - fPts[3];
40
SkDVector
v23 = fPts[2] - fPts[3];
64
SkDVector
dxdyAtT(double t) const;
SkPathOpsQuad.h
33
SkDVector
v01 = fPts[0] - fPts[1];
34
SkDVector
v02 = fPts[0] - fPts[2];
35
SkDVector
v12 = fPts[1] - fPts[2];
63
SkDVector
dxdyAtT(double t) const;
SkPathOpsLine.cpp
37
SkDVector
len = fPts[1] - fPts[0]; // the x/y magnitudes of the line
39
SkDVector
ab0 = xy - fPts[0];
67
SkDVector
len = fPts[1] - fPts[0]; // the x/y magnitudes of the line
69
SkDVector
ab0 = xy - fPts[0];
104
SkDVector
distU = {xy.fY - y, xy.fX - realPtX};
139
SkDVector
distU = {xy.fX - x, xy.fY - realPtY};
SkOpAngle.cpp
226
SkDVector
scratch[2];
227
const
SkDVector
* sweep, * tweep;
263
SkDVector
m0 = segment()->dPtAtT(this->midT()) - this->fCurvePart[0];
264
SkDVector
m1 = rh->segment()->dPtAtT(rh->midT()) - rh->fCurvePart[0];
328
const
SkDVector
* sweep = this->fSweep;
329
const
SkDVector
* tweep = rh->fSweep;
359
SkDVector
m0 = this->segment()->dPtAtT(this->midT()) - this->fCurvePart[0];
360
SkDVector
m1 = rh->segment()->dPtAtT(rh->midT()) - rh->fCurvePart[0];
385
SkDVector
v;
432
SkDVector
sCept = {0, 0}
[
all
...]
SkPathOpsConic.cpp
46
SkDVector
SkDConic::dxdyAtT(double t) const {
47
SkDVector
result = {
SkPathOpsCurve.h
142
static
SkDVector
dline_dxdy_at_t(const SkPoint a[2], SkScalar , double ) {
148
static
SkDVector
dquad_dxdy_at_t(const SkPoint a[3], SkScalar , double t) {
154
static
SkDVector
dconic_dxdy_at_t(const SkPoint a[3], SkScalar weight, double t) {
160
static
SkDVector
dcubic_dxdy_at_t(const SkPoint a[4], SkScalar , double t) {
166
static
SkDVector
(* const CurveDSlopeAtT[])(const SkPoint[], SkScalar , double ) = {
SkPathOpsWinding.cpp
56
static double pt_dxdy(const
SkDVector
& v, SkOpRayDir dir) {
60
static double pt_dydx(const
SkDVector
& v, SkOpRayDir dir) {
77
static bool ccw_dxdy(const
SkDVector
& v, SkOpRayDir dir) {
99
SkDVector
fSlope;
137
SkDVector
slope;
SkOpAngle.h
131
SkDVector
fSweep[2];
SkPathOpsConic.h
58
SkDVector
dxdyAtT(double t) const;
SkIntersections.cpp
138
SkDVector
best = fPt[result] - origin;
139
SkDVector
test = fPt[index] - origin;
SkDLineIntersection.cpp
41
SkDVector
aLen = a[1] - a[0];
42
SkDVector
bLen = b[1] - b[0];
50
SkDVector
ab0 = a[0] - b[0];
SkPathOpsQuad.cpp
159
SkDVector
SkDQuad::dxdyAtT(double t) const {
163
SkDVector
result = { a * fPts[0].fX + b * fPts[1].fX + c * fPts[2].fX,
SkPathOpsCubic.cpp
265
SkDVector
dPt = cubic.dxdyAtT(inflectionTs[index]);
272
SkDVector
dPt = cubic.dxdyAtT(maxCurvature[index]);
472
SkDVector
SkDCubic::dxdyAtT(double t) const {
473
SkDVector
result = { derivative_at_t(&fPts[0].fX, t), derivative_at_t(&fPts[0].fY, t) };
SkPathOpsTSect.h
336
SkDVector
dxdy = c1.dxdyAtT(t);
580
SkDVector
len = fPart[TCurve::kPointLast] - fPart[0];
657
SkDVector
v1 = *otherPts[o1] - base;
659
SkDVector
v2 = *oppOtherPts[o2] - base;
[
all
...]
SkOpSegment.h
192
SkDVector
dSlopeAtT(double mid) const {
SkPathOpsTypes.h
482
struct
SkDVector
;
SkOpSegment.cpp
585
SkDVector
slope = this->dSlopeAtT(t);
914
SkDVector
dxdy = (*CurveDSlopeAtT[this->verb()])(this->pts(), this->weight(), t);
[
all
...]
/external/skia/tests/
PathOpsTestCommon.h
25
bool ValidVector(const
SkDVector
& v);
PathOpsDVectorTest.cpp
25
SkDVector
v1 = tests[index + 1] - tests[index];
27
SkDVector
v2 = tests[index] - tests[index + 1];
PathOpsAngleIdeas.cpp
44
SkDVector
offset = {quad[0].fX, quad[0].fY};
105
const
SkDVector
& pt = quad.ptAtT(t) - quad[0];
116
static void setQuadHullSweep(const SkDQuad& quad,
SkDVector
sweep[2]) {
122
SkDVector
v[] = {quad[2] - quad[0], quad[1] - quad[0], quad[2] - quad[1]};
128
SkDVector
sweep[2], tweep[2];
151
SkDVector
m0 = quad1.ptAtT(0.5) - quad1[0];
152
SkDVector
m1 = quad2.ptAtT(0.5) - quad2[0];
163
SkDVector
sweep[2], tweep[2];
195
SkDVector
m0 = quad1.ptAtT(0.5) - quad1[0];
196
SkDVector
m1 = quad2.ptAtT(0.5) - quad2[0]
[
all
...]
PathOpsDPointTest.cpp
30
SkDVector
v = p - pt;
PathOpsTestCommon.cpp
326
bool ValidVector(const
SkDVector
& v) {
Completed in 126 milliseconds