Searched refs:lineParameters (Results 1 – 3 of 3) sorted by relevance
/third_party/skia/tests/ |
D | PathOpsLineParametetersTest.cpp | 42 SkLineParameters lineParameters; in DEF_TEST() local 47 lineParameters.cubicEndPoints(cubic, 0, 3); in DEF_TEST() 49 denormalizedDistance[0] = lineParameters.controlPtDistance(cubic, 1); in DEF_TEST() 50 denormalizedDistance[1] = lineParameters.controlPtDistance(cubic, 2); in DEF_TEST() 51 double normalSquared = lineParameters.normalSquared(); in DEF_TEST() 67 lineParameters.normalize(); in DEF_TEST() 69 normalizedDistance[0] = lineParameters.controlPtDistance(cubic, 1); in DEF_TEST() 70 normalizedDistance[1] = lineParameters.controlPtDistance(cubic, 2); in DEF_TEST()
|
/third_party/skia/src/pathops/ |
D | SkPathOpsQuad.cpp | 186 SkLineParameters lineParameters; in isLinear() local 187 lineParameters.quadEndPoints(*this, startIndex, endIndex); in isLinear() 189 lineParameters.normalize(); in isLinear() 190 double distance = lineParameters.controlPtDistance(*this); in isLinear()
|
D | SkPathOpsCubic.cpp | 215 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()
|