OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:tValues
(Results
1 - 9
of
9
) sorted by null
/external/skia/src/pathops/
SkPathOpsRect.cpp
16
double
tValues
[2];
19
roots = SkDQuad::FindExtrema(&sub[0].fX,
tValues
);
22
roots += SkDQuad::FindExtrema(&sub[0].fY, &
tValues
[roots]);
25
double t = startT + (endT - startT) *
tValues
[index];
33
double
tValues
[2];
36
roots = SkDConic::FindExtrema(&sub[0].fX, sub.fWeight,
tValues
);
39
roots += SkDConic::FindExtrema(&sub[0].fY, sub.fWeight, &
tValues
[roots]);
42
double t = startT + (endT - startT) *
tValues
[index];
50
double
tValues
[4];
53
roots = SkDCubic::FindExtrema(&sub[0].fX,
tValues
);
[
all
...]
SkPathOpsCubic.h
67
int findInflections(double
tValues
[2]) const;
69
static int FindInflections(const SkPoint a[kPointCount], double
tValues
[2]) {
71
return cubic.set(a).findInflections(
tValues
);
74
int findMaxCurvature(double
tValues
[]) const;
SkPathOpsConic.cpp
35
double
tValues
[2];
36
int roots = SkDQuad::RootsValidT(coeff[0], coeff[1], coeff[2],
tValues
);
40
t[0] =
tValues
[0];
SkPathOpsCubic.cpp
491
int SkDCubic::findInflections(double
tValues
[]) const {
498
return SkDQuad::RootsValidT(Bx * Cy - By * Cx, Ax * Cy - Ay * Cx, Ax * By - Ay * Bx,
tValues
);
517
int SkDCubic::FindExtrema(const double src[], double
tValues
[2]) {
527
return SkDQuad::RootsValidT(A, B, C,
tValues
);
542
int SkDCubic::findMaxCurvature(double
tValues
[]) const {
550
return RootsValidT(coeffX[0], coeffX[1], coeffX[2], coeffX[3],
tValues
);
/external/skia/src/core/
SkGeometry.cpp
384
SkScalar
tValues
[2]) {
390
return SkFindUnitQuadRoots(A, B, C,
tValues
);
421
valid_unit_divide in SkChopCubicAt(...
tValues
[], int roots). The reason is
442
const SkScalar
tValues
[], int roots) {
447
SkASSERT(is_unit_interval(
tValues
[i]));
448
SkASSERT(is_unit_interval(
tValues
[i+1]));
449
SkASSERT(
tValues
[i] <
tValues
[i+1]);
458
SkScalar t =
tValues
[0];
473
if (!valid_unit_divide(
tValues
[i+1] - tValues[i]
[
all
...]
SkGeometry.h
58
Returned count
tValues
[]
60
1 0 <
tValues
[0] < 1
62
int SkFindQuadExtrema(SkScalar a, SkScalar b, SkScalar c, SkScalar
tValues
[1]);
124
Returned count
tValues
[]
126
1 0 <
tValues
[0] < 1
127
2 0 <
tValues
[0] <
tValues
[1] < 1
130
SkScalar
tValues
[2]);
146
int SkFindCubicInflections(const SkPoint src[4], SkScalar
tValues
[2]);
154
int SkFindCubicMaxCurvature(const SkPoint src[4], SkScalar
tValues
[3])
[
all
...]
SkStroke.cpp
592
SkScalar
tValues
[3];
593
int count = SkFindCubicMaxCurvature(cubic,
tValues
);
598
SkScalar t =
tValues
[index];
[
all
...]
SkScan_Hairline.cpp
386
SkScalar
tValues
[3];
388
int count = SkChopCubicAtMaxCurvature(pts, tmp,
tValues
);
/external/skia/tests/
GeometryTest.cpp
18
Inspired by this test, which used to assert that the
tValues
had dups
29
SkScalar
tValues
[3];
31
int count = SkChopCubicAtMaxCurvature(src, dst,
tValues
);
Completed in 3272 milliseconds