• Home
  • Raw
  • Download

Lines Matching refs:SkPath

86 static void showPathContours(SkPath::RawIter& iter, const char* pathName) {  in showPathContours()
89 while ((verb = iter.next(pts)) != SkPath::kDone_Verb) { in showPathContours()
91 case SkPath::kMove_Verb: in showPathContours()
95 case SkPath::kLine_Verb: in showPathContours()
99 case SkPath::kQuad_Verb: in showPathContours()
103 case SkPath::kCubic_Verb: in showPathContours()
107 case SkPath::kClose_Verb: in showPathContours()
117 static void showPath(const SkPath& path, const char* pathName, bool includeDeclaration) { in showPath()
118 SkPath::RawIter iter(path); in showPath()
124 SkTDArray<SkPath::Direction> directions; in showPath()
131 rect.fRight, rect.fBottom, directions[contour] == SkPath::kCCW_Direction in showPath()
137 SkPath::FillType fillType = path.getFillType(); in showPath()
138 SkASSERT(fillType >= SkPath::kWinding_FillType && fillType <= SkPath::kInverseEvenOdd_FillType); in showPath()
148 static void showPathData(const SkPath& path) { in showPathData()
149 SkPath::RawIter iter(path); in showPathData()
155 while ((verb = iter.next(pts)) != SkPath::kDone_Verb) { in showPathData()
157 case SkPath::kMove_Verb: in showPathData()
161 case SkPath::kLine_Verb: in showPathData()
167 case SkPath::kQuad_Verb: in showPathData()
173 case SkPath::kCubic_Verb: in showPathData()
180 case SkPath::kClose_Verb: in showPathData()
272 static void scaleMatrix(const SkPath& one, const SkPath& two, SkMatrix& scale) { in scaleMatrix()
289 static int pathsDrawTheSame(SkBitmap& bits, const SkPath& scaledOne, const SkPath& scaledTwo, in pathsDrawTheSame()
331 static int pathsDrawTheSame(const SkPath& one, const SkPath& two, SkBitmap& bits, SkPath& scaledOne, in pathsDrawTheSame()
332 SkPath& scaledTwo, int& error2x2) { in pathsDrawTheSame()
340 bool drawAsciiPaths(const SkPath& one, const SkPath& two, bool drawPaths) { in drawAsciiPaths()
388 static void showSimplifiedPath(const SkPath& one, const SkPath& two, in showSimplifiedPath()
389 const SkPath& scaledOne, const SkPath& scaledTwo) { in showSimplifiedPath()
394 static int comparePaths(skiatest::Reporter* reporter, const SkPath& one, const SkPath& two, in comparePaths()
397 SkPath scaledOne, scaledTwo; in comparePaths()
414 static void showPathOpPath(const SkPath& one, const SkPath& two, const SkPath& a, const SkPath& b, in showPathOpPath()
415 const SkPath& scaledOne, const SkPath& scaledTwo, const SkPathOp shapeOp, in showPathOpPath()
427 static int comparePaths(skiatest::Reporter* reporter, const SkPath& one, const SkPath& scaledOne, in comparePaths()
428 const SkPath& two, const SkPath& scaledTwo, SkBitmap& bitmap, in comparePaths()
429 const SkPath& a, const SkPath& b, const SkPathOp shapeOp, in comparePaths()
507 bool testSimplify(SkPath& path, bool useXor, SkPath& out, PathOpsThreadState& state, in testSimplify()
509 SkPath::FillType fillType = useXor ? SkPath::kEvenOdd_FillType : SkPath::kWinding_FillType; in testSimplify()
529 if (fillType == SkPath::kEvenOdd_FillType) { in testSimplify()
542 bool testSimplify(skiatest::Reporter* reporter, const SkPath& path) { in testSimplify()
546 SkPath out; in testSimplify()
562 void SkPathOpsDebug::ShowPath(const SkPath& a, const SkPath& b, SkPathOp shapeOp, in ShowPath()
571 static bool innerPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b, in innerPathOp()
583 SkPath out; in innerPathOp()
592 SkPath pathOut, scaledPathOut; in innerPathOp()
603 SkPath scaledA, scaledB; in innerPathOp()
613 SkPath scaledOut; in innerPathOp()
625 bool testPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b, in testPathOp()
630 bool testThreadedPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b, in testThreadedPathOp()
668 void outputProgress(char* ramStr, const char* pathStr, SkPath::FillType pathFillType) { in outputProgress()
672 if (pathFillType == SkPath::kEvenOdd_FillType) { in outputProgress()