Searched refs:lineParameters (Results 1 – 6 of 6) sorted by relevance
/external/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()
|
/external/skqp/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()
|
/external/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 | 214 SkLineParameters lineParameters; in isLinear() local 215 lineParameters.cubicEndPoints(*this, startIndex, endIndex); in isLinear() 217 lineParameters.normalize(); in isLinear() 223 double distance = lineParameters.controlPtDistance(*this, 1); in isLinear() 227 distance = lineParameters.controlPtDistance(*this, 2); in isLinear()
|
/external/skqp/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 | 214 SkLineParameters lineParameters; in isLinear() local 215 lineParameters.cubicEndPoints(*this, startIndex, endIndex); in isLinear() 217 lineParameters.normalize(); in isLinear() 223 double distance = lineParameters.controlPtDistance(*this, 1); in isLinear() 227 distance = lineParameters.controlPtDistance(*this, 2); in isLinear()
|