Home
last modified time | relevance | path

Searched refs:lineParameters (Results 1 – 3 of 3) sorted by relevance

/external/skia/tests/
DPathOpsLineParametetersTest.cpp42 SkLineParameters lineParameters; in DEF_TEST() local
45 lineParameters.cubicEndPoints(cubic, 0, 3); in DEF_TEST()
47 denormalizedDistance[0] = lineParameters.controlPtDistance(cubic, 1); in DEF_TEST()
48 denormalizedDistance[1] = lineParameters.controlPtDistance(cubic, 2); in DEF_TEST()
49 double normalSquared = lineParameters.normalSquared(); in DEF_TEST()
65 lineParameters.normalize(); in DEF_TEST()
67 normalizedDistance[0] = lineParameters.controlPtDistance(cubic, 1); in DEF_TEST()
68 normalizedDistance[1] = lineParameters.controlPtDistance(cubic, 2); in DEF_TEST()
/external/skia/src/pathops/
DSkPathOpsQuad.cpp145 SkLineParameters lineParameters; in isLinear() local
146 lineParameters.quadEndPoints(*this, startIndex, endIndex); in isLinear()
148 lineParameters.normalize(); in isLinear()
149 double distance = lineParameters.controlPtDistance(*this); in isLinear()
DSkPathOpsCubic.cpp215 SkLineParameters lineParameters; in isLinear() local
216 lineParameters.cubicEndPoints(*this, startIndex, endIndex); in isLinear()
218 lineParameters.normalize(); in isLinear()
224 double distance = lineParameters.controlPtDistance(*this, 1); in isLinear()
228 distance = lineParameters.controlPtDistance(*this, 2); in isLinear()