/external/skia/gm/ |
stlouisarch.cpp | 26 SkPath* bigQuad = &fPaths.push_back(); 32 SkPath* degenBigQuad = &fPaths.push_back(); 40 SkPath* bigCubic = &fPaths.push_back(); 48 SkPath* degenBigCubic = &fPaths.push_back(); 57 SkPath* bigConic = &fPaths.push_back(); 63 SkPath* degenBigConic = &fPaths.push_back(); 74 for (int p = 0; p < fPaths.count(); ++p) { 80 canvas->drawPath(fPaths[p], paint); 89 SkTArray<SkPath> fPaths;
|
conicpaths.cpp | 27 SkPath* conicCirlce = &fPaths.push_back(); 36 SkPath* hyperbola = &fPaths.push_back(); 41 SkPath* thinHyperbola = &fPaths.push_back(); 46 SkPath* veryThinHyperbola = &fPaths.push_back(); 51 SkPath* closedHyperbola = &fPaths.push_back(); 57 SkPath* nearParabola = &fPaths.push_back(); 62 SkPath* thinEllipse = &fPaths.push_back(); 67 SkPath* veryThinEllipse = &fPaths.push_back(); 72 SkPath* closedEllipse = &fPaths.push_back(); 99 for (int p = 0; p < fPaths.count(); ++p) [all...] |
convexpaths.cpp | 53 fPaths.push_back().moveTo(0, 0); 54 fPaths.back().quadTo(50 * SK_Scalar1, 100 * SK_Scalar1, 56 fPaths.back().lineTo(0, 0); 58 fPaths.push_back().moveTo(0, 50 * SK_Scalar1); 59 fPaths.back().quadTo(50 * SK_Scalar1, 0, 61 fPaths.back().quadTo(50 * SK_Scalar1, 100 * SK_Scalar1, 64 fPaths.push_back().addRect(0, 0, 68 fPaths.push_back().addRect(0, 0, 72 fPaths.push_back().addCircle(50 * SK_Scalar1, 50 * SK_Scalar1, 76 fPaths.push_back().addOval(SkRect::MakeXYWH(0, 0 [all...] |
complexclip2.cpp | 63 fPaths[0].addRoundRect(fRects[0], 5, 5); 68 fPaths[1].addRoundRect(fRects[1], 5, 5); 73 fPaths[2].addRoundRect(fRects[2], 5, 5); 78 fPaths[3].addRoundRect(fRects[3], 5, 5); 83 fPaths[4].addRoundRect(fRects[4], 5, 5); 167 canvas->drawPath(fPaths[k], rectPaint); 185 canvas->clipPath(fPaths[k], 201 SkPath fPaths[5];
|
convexpolyeffect.cpp | 121 fPaths.addToTail(tri); 122 fPaths.addToTail(SkPath())->reverseAddPath(tri); 125 fPaths.addToTail(tri); 143 fPaths.addToTail(ngon); 147 fPaths.addToTail(ngon); 152 fPaths.addToTail(linePath); 180 for (PathList::Iter iter(fPaths, PathList::Iter::kHead_IterStart); 265 PathList fPaths;
|
hairlines.cpp | 27 SkPath* lineAnglesPath = &fPaths.push_back(); 42 SkPath* kindaTightQuad = &fPaths.push_back(); 48 SkPath* tightQuad = &fPaths.push_back(); 54 SkPath* tighterQuad = &fPaths.push_back(); 60 SkPath* unevenTighterQuad = &fPaths.push_back(); 68 SkPath* reallyTightQuad = &fPaths.push_back(); 74 SkPath* closedQuad = &fPaths.push_back(); 80 SkPath* unevenClosedQuad = &fPaths.push_back(); 89 SkPath* problem1 = &fPaths.push_back(); 98 SkPath* problem2 = &fPaths.push_back() [all...] |
/external/skia/samplecode/ |
SamplePathFinder.cpp | 57 fPaths.push_back() = {path, paint, this->getTotalMatrix()}; 82 SkTSwap(fPaths, fTossedPaths); 92 if (fPaths.count() > 1) { 93 int midpt = (fPaths.count() + 1) / 2; 94 fPathHistory.emplace(fPaths, fTossedPaths); 95 fTossedPaths.reset(fPaths.begin() + midpt, fPaths.count() - midpt); 96 fPaths.resize_back(midpt); 103 fPaths = fPathHistory.top().first; 124 for (const FoundPath& foundPath : fPaths) { [all...] |
SampleShadowUtils.cpp | 26 SkTArray<SkPath> fPaths; 46 fPaths.push_back().addRoundRect(SkRect::MakeWH(50, 50), 10, 10); 49 fPaths.push_back().addRRect(oddRRect); 50 fPaths.push_back().addRect(SkRect::MakeWH(50, 50)); 51 fPaths.push_back().addCircle(25, 25, 25); 52 fPaths.push_back().cubicTo(100, 50, 20, 100, 0, 0); 53 fPaths.push_back().addOval(SkRect::MakeWH(20, 60)); 173 for (const auto& path : fPaths) {
|
/external/skia/src/fonts/ |
SkTestScalerContext.h | 51 SkPath** fPaths;
|
/external/skia/src/core/ |
SkPictureRecord.h | 254 SkTHashMap<SkPath, int, PathHash> fPaths;
|
SkPictureData.h | 120 return reader->validateIndex(index, fPaths.count()) ? fPaths[index] : fEmptyPath; 181 SkTArray<SkPath> fPaths;
|
/external/skia/bench/ |
AlternatingColorPatternBench.cpp | 85 SkPath fPaths[NUM_DRAWS]; 128 fPaths[count].moveTo(SkIntToScalar(x), SkIntToScalar(y)); 129 fPaths[count].rLineTo(SkIntToScalar(w), 0); 130 fPaths[count].rLineTo(0, SkIntToScalar(h)); 131 fPaths[count].rLineTo(SkIntToScalar(-w + 1), 0); 157 canvas->drawPath(fPaths[j], paint);
|
PathBench.cpp | 446 fPaths.reset(kPathCnt); 449 this->makePath(&fPaths[i]); 456 fCopies[idx] = fPaths[idx]; 465 SkAutoTArray<SkPath> fPaths; 483 fPaths.reset(kPathCnt); 485 this->makePath(&fPaths[i]); 496 fPaths[i & (kPathCnt - 1)].transform(fMatrix); 501 fPaths[idx].transform(fMatrix, &fTransformed[idx]); 511 SkAutoTArray<SkPath> fPaths; 531 fPaths.reset(kPathCnt) [all...] |
/external/skia/src/gpu/ops/ |
GrAALinearizingConvexPathRenderer.cpp | 154 fPaths.emplace_back( 175 for (const auto& path : fPaths) { 190 &fPaths.back().fColor); 243 int instanceCount = fPaths.count(); 252 const PathData& args = fPaths[i]; 298 fPaths.push_back_n(that->fPaths.count(), that->fPaths.begin()); 303 const SkMatrix& viewMatrix() const { return fPaths[0].fViewMatrix; } 315 SkSTArray<1, PathData, true> fPaths; [all...] |
GrDefaultPathRenderer.cpp | 348 string.appendf("Color: 0x%08x Count: %d\n", fColor, fPaths.count()); 349 for (const auto& path : fPaths) { 367 fPaths.emplace_back(PathData{path, tolerance}); 396 int instanceCount = fPaths.count(); 401 const PathData& args = fPaths[i]; 418 const PathData& args = fPaths[i]; 445 fPaths.push_back_n(that->fPaths.count(), that->fPaths.begin()); 460 SkSTArray<1, PathData, true> fPaths; [all...] |
GrMSAAPathRenderer.cpp | 249 for (const auto& path : fPaths) { 267 fPaths.emplace_back(PathInfo{color, path}); 275 &fPaths.front().fColor); 389 for (int i = 0; i < fPaths.count(); i++) { 390 const PathInfo& pathInfo = fPaths[i]; 485 fPaths.push_back_n(that->fPaths.count(), that->fPaths.begin()); 574 SkSTArray<1, PathInfo, true> fPaths;
|
GrAAConvexPathRenderer.cpp | 742 fPaths.emplace_back(PathData{viewMatrix, path, color}); 751 string.appendf("Count: %d\n", fPaths.count()); 761 &fPaths.back().fColor); 768 fPaths.back().fViewMatrix, 784 int instanceCount = fPaths.count(); 789 const PathData& args = fPaths[i]; 832 int instanceCount = fPaths.count(); 835 if (fHelper.usesLocalCoords() && !fPaths.back().fViewMatrix.invert(&invert)) { 846 const PathData& args = fPaths[i]; [all...] |
GrAAHairLinePathRenderer.cpp | 779 fPaths.emplace_back(PathData{viewMatrix, path, devClipBounds, capLength}); 790 fPaths.count()); 842 fPaths.push_back_n(that->fPaths.count(), that->fPaths.begin()); 849 const SkMatrix& viewMatrix() const { return fPaths[0].fViewMatrix; } 858 SkSTArray<1, PathData, true> fPaths; [all...] |