/external/skia/gm/ |
D | convexpaths.cpp | 54 fPaths.push_back().moveTo(0, 0); in makePaths() 55 fPaths.back().quadTo(50 * SK_Scalar1, 100 * SK_Scalar1, in makePaths() 57 fPaths.back().lineTo(0, 0); in makePaths() 59 fPaths.push_back().moveTo(0, 50 * SK_Scalar1); in makePaths() 60 fPaths.back().quadTo(50 * SK_Scalar1, 0, in makePaths() 62 fPaths.back().quadTo(50 * SK_Scalar1, 100 * SK_Scalar1, in makePaths() 65 fPaths.push_back().addRect(0, 0, in makePaths() 69 fPaths.push_back().addRect(0, 0, in makePaths() 73 fPaths.push_back().addCircle(50 * SK_Scalar1, 50 * SK_Scalar1, in makePaths() 77 fPaths.push_back().addOval(SkRect::MakeXYWH(0, 0, in makePaths() [all …]
|
D | path_stroke_with_zero_length.cpp | 15 SkPath fPaths[8]; member in StrokeZeroGM 40 fPaths[0].moveTo(30, 0); // single line segment in onOnceBeforeDraw() 41 fPaths[0].rLineTo(30, 0); in onOnceBeforeDraw() 43 fPaths[1].moveTo(90, 0); // single line segment with close (does not draw caps) in onOnceBeforeDraw() 44 fPaths[1].rLineTo(30, 0); in onOnceBeforeDraw() 45 fPaths[1].close(); in onOnceBeforeDraw() 47 fPaths[2].moveTo(150, 0); // zero-length line in onOnceBeforeDraw() 48 fPaths[2].rLineTo(0, 0); in onOnceBeforeDraw() 50 fPaths[3].moveTo(180, 0); // zero-length line with close (expected not to draw) in onOnceBeforeDraw() 51 fPaths[3].rLineTo(0, 0); in onOnceBeforeDraw() [all …]
|
D | conicpaths.cpp | 27 SkPath* conicCirlce = &fPaths.push_back(); in onOnceBeforeDraw() 36 SkPath* hyperbola = &fPaths.push_back(); in onOnceBeforeDraw() 41 SkPath* thinHyperbola = &fPaths.push_back(); in onOnceBeforeDraw() 46 SkPath* veryThinHyperbola = &fPaths.push_back(); in onOnceBeforeDraw() 51 SkPath* closedHyperbola = &fPaths.push_back(); in onOnceBeforeDraw() 57 SkPath* nearParabola = &fPaths.push_back(); in onOnceBeforeDraw() 62 SkPath* thinEllipse = &fPaths.push_back(); in onOnceBeforeDraw() 67 SkPath* veryThinEllipse = &fPaths.push_back(); in onOnceBeforeDraw() 72 SkPath* closedEllipse = &fPaths.push_back(); in onOnceBeforeDraw() 99 for (int p = 0; p < fPaths.count(); ++p) { in onDraw() [all …]
|
D | hairlines.cpp | 27 SkPath* lineAnglesPath = &fPaths.push_back(); in onOnceBeforeDraw() 42 SkPath* kindaTightQuad = &fPaths.push_back(); in onOnceBeforeDraw() 48 SkPath* tightQuad = &fPaths.push_back(); in onOnceBeforeDraw() 54 SkPath* tighterQuad = &fPaths.push_back(); in onOnceBeforeDraw() 60 SkPath* unevenTighterQuad = &fPaths.push_back(); in onOnceBeforeDraw() 68 SkPath* reallyTightQuad = &fPaths.push_back(); in onOnceBeforeDraw() 74 SkPath* closedQuad = &fPaths.push_back(); in onOnceBeforeDraw() 80 SkPath* unevenClosedQuad = &fPaths.push_back(); in onOnceBeforeDraw() 89 SkPath* problem1 = &fPaths.push_back(); in onOnceBeforeDraw() 98 SkPath* problem2 = &fPaths.push_back(); in onOnceBeforeDraw() [all …]
|
D | stlouisarch.cpp | 26 SkPath* bigQuad = &fPaths.push_back(); in onOnceBeforeDraw() 32 SkPath* degenBigQuad = &fPaths.push_back(); in onOnceBeforeDraw() 40 SkPath* bigCubic = &fPaths.push_back(); in onOnceBeforeDraw() 48 SkPath* degenBigCubic = &fPaths.push_back(); in onOnceBeforeDraw() 57 SkPath* bigConic = &fPaths.push_back(); in onOnceBeforeDraw() 63 SkPath* degenBigConic = &fPaths.push_back(); in onOnceBeforeDraw() 74 for (int p = 0; p < fPaths.count(); ++p) { in onDraw() 80 canvas->drawPath(fPaths[p], paint); in onDraw() 89 SkTArray<SkPath> fPaths; member in skiagm::StLouisArchGM
|
D | complexclip2.cpp | 63 fPaths[0].addRoundRect(fRects[0], 5, 5); in onOnceBeforeDraw() 68 fPaths[1].addRoundRect(fRects[1], 5, 5); in onOnceBeforeDraw() 73 fPaths[2].addRoundRect(fRects[2], 5, 5); in onOnceBeforeDraw() 78 fPaths[3].addRoundRect(fRects[3], 5, 5); in onOnceBeforeDraw() 83 fPaths[4].addRoundRect(fRects[4], 5, 5); in onOnceBeforeDraw() 167 canvas->drawPath(fPaths[k], rectPaint); in onDraw() 185 canvas->clipPath(fPaths[k], in onDraw() 201 SkPath fPaths[5]; member in skiagm::ComplexClip2GM
|
D | convexpolyeffect.cpp | 110 fPaths.addToTail(tri); in onOnceBeforeDraw() 111 fPaths.addToTail(SkPath())->reverseAddPath(tri); in onOnceBeforeDraw() 114 fPaths.addToTail(tri); in onOnceBeforeDraw() 132 fPaths.addToTail(ngon); in onOnceBeforeDraw() 136 fPaths.addToTail(ngon); in onOnceBeforeDraw() 178 for (PathList::Iter iter(fPaths, PathList::Iter::kHead_IterStart); in onDraw() 277 PathList fPaths; member in skiagm::ConvexPolyEffect
|
/external/skia/bench/ |
D | AlternatingColorPatternBench.cpp | 85 SkPath fPaths[NUM_DRAWS]; member in AlternatingColorPatternBench 133 fPaths[count].moveTo(SkIntToScalar(x), SkIntToScalar(y)); in onDelayedSetup() 134 fPaths[count].rLineTo(SkIntToScalar(w), 0); in onDelayedSetup() 135 fPaths[count].rLineTo(0, SkIntToScalar(h)); in onDelayedSetup() 136 fPaths[count].rLineTo(SkIntToScalar(-w + 1), 0); in onDelayedSetup() 162 canvas->drawPath(fPaths[j], paint); in onDraw()
|
D | PathBench.cpp | 359 fPaths.reset(kPathCnt); in onDelayedSetup() 362 this->makePath(&fPaths[i]); in onDelayedSetup() 369 fCopies[idx] = fPaths[idx]; in onDraw() 378 SkAutoTArray<SkPath> fPaths; member in PathCopyBench 396 fPaths.reset(kPathCnt); in onDelayedSetup() 398 this->makePath(&fPaths[i]); in onDelayedSetup() 409 fPaths[i & (kPathCnt - 1)].transform(fMatrix); in onDraw() 414 fPaths[idx].transform(fMatrix, &fTransformed[idx]); in onDraw() 424 SkAutoTArray<SkPath> fPaths; member in PathTransformBench 444 fPaths.reset(kPathCnt); in onDelayedSetup() [all …]
|
/external/skia/src/core/ |
D | SkPictureData.cpp | 31 for (int i = 0; i < fPaths.count(); i++) { in initForPlayback() 32 fPaths[i].updateBoundsCache(); in initForPlayback() 50 fPaths.reset(record.fPaths.count()); in SkPictureData() 51 record.fPaths.foreach([this](const SkPath& path, int n) { in SkPictureData() 54 fPaths[n-1] = path; in SkPictureData() 224 if ((n = fPaths.count()) > 0) { in flattenToBuffer() 228 buffer.writePath(fPaths[i]); in flattenToBuffer() 514 fPaths.reset(count); in parseBufferTag() 516 buffer.readPath(&fPaths[i]); in parseBufferTag()
|
D | SkPictureData.h | 102 return fPaths[index]; in getPath() 159 SkTArray<SkPath> fPaths; variable
|
D | SkPictureRecord.cpp | 883 if (int* n = fPaths.find(path)) { in addPathToHeap() 886 int n = fPaths.count() + 1; // 0 is reserved for null / error. in addPathToHeap() 887 fPaths.set(path, n); in addPathToHeap()
|
D | SkPictureRecord.h | 233 SkTHashMap<SkPath, int, PathHash> fPaths; variable
|
/external/skia/src/fonts/ |
D | SkTestScalerContext.cpp | 27 , fPaths(nullptr) in SkTestFont() 38 delete fPaths[index]; in ~SkTestFont() 40 delete[] fPaths; in ~SkTestFont() 81 fPaths = new SkPath* [fCharCodesCount]; in init() 113 fPaths[index] = path; in init() 137 *path = *fTestFont->fPaths[glyph.getGlyphID()]; in getPath()
|
D | SkTestScalerContext.h | 52 SkPath** fPaths; variable
|