Searched refs:fPaths (Results 1 - 25 of 40) sorted by relevance

12

/external/skia/gm/
H A Dconvexpaths.cpp53 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
290 SkTArray<SkPath> fPaths; member in class:skiagm::ConvexPathsGM
[all...]
H A Dstlouisarch.cpp26 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; member in class:skiagm::StLouisArchGM
H A Dhairlines.cpp27 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
217 SkTArray<SkPath> fPaths; member in class:skiagm::HairlinesGM
[all...]
H A Dconicpaths.cpp27 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
127 SkTArray<SkPath> fPaths; member in class:ConicPathsGM
[all...]
H A Dcomplexclip2.cpp63 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]; member in class:skiagm::ComplexClip2GM
H A Dconvexpolyeffect.cpp130 fPaths.addToTail(tri);
131 fPaths.addToTail(SkPath())->reverseAddPath(tri);
134 fPaths.addToTail(tri);
152 fPaths.addToTail(ngon);
156 fPaths.addToTail(ngon);
161 fPaths.addToTail(linePath);
189 for (PathList::Iter iter(fPaths, PathList::Iter::kHead_IterStart);
274 PathList fPaths; member in class:skiagm::ConvexPolyEffect
/external/skqp/gm/
H A Dconvexpaths.cpp53 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
290 SkTArray<SkPath> fPaths; member in class:skiagm::ConvexPathsGM
[all...]
H A Dstlouisarch.cpp26 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; member in class:skiagm::StLouisArchGM
H A Dhairlines.cpp27 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
217 SkTArray<SkPath> fPaths; member in class:skiagm::HairlinesGM
[all...]
H A Dconicpaths.cpp27 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
127 SkTArray<SkPath> fPaths; member in class:ConicPathsGM
[all...]
H A Dcomplexclip2.cpp63 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]; member in class:skiagm::ComplexClip2GM
H A Dconvexpolyeffect.cpp130 fPaths.addToTail(tri);
131 fPaths.addToTail(SkPath())->reverseAddPath(tri);
134 fPaths.addToTail(tri);
152 fPaths.addToTail(ngon);
156 fPaths.addToTail(ngon);
161 fPaths.addToTail(linePath);
189 for (PathList::Iter iter(fPaths, PathList::Iter::kHead_IterStart);
274 PathList fPaths; member in class:skiagm::ConvexPolyEffect
/external/skqp/samplecode/
H A DSamplePathFinder.cpp66 fPaths.push_back() = {path, paint, this->getTotalMatrix()};
91 SkTSwap(fPaths, fTossedPaths);
100 if (fPaths.count() > 1) {
101 int midpt = (fPaths.count() + 1) / 2;
102 fPathHistory.emplace(fPaths, fTossedPaths);
103 fTossedPaths.reset(fPaths.begin() + midpt, fPaths.count() - midpt);
104 fPaths.resize_back(midpt);
110 fPaths = fPathHistory.top().first;
130 for (const FoundPath& foundPath : fPaths) {
153 SkTArray<FoundPath> fPaths; member in class:PathFinderView
[all...]
H A DSampleShadowUtils.cpp26 SkTArray<SkPath> fPaths; member in class:ShadowUtilsView
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/bench/
H A DAlternatingColorPatternBench.cpp86 SkPath fPaths[NUM_DRAWS]; member in class:AlternatingColorPatternBench
129 fPaths[count].moveTo(SkIntToScalar(x), SkIntToScalar(y));
130 fPaths[count].rLineTo(SkIntToScalar(w), 0);
131 fPaths[count].rLineTo(0, SkIntToScalar(h));
132 fPaths[count].rLineTo(SkIntToScalar(-w + 1), 0);
158 canvas->drawPath(fPaths[j], paint);
/external/skqp/bench/
H A DAlternatingColorPatternBench.cpp86 SkPath fPaths[NUM_DRAWS]; member in class:AlternatingColorPatternBench
129 fPaths[count].moveTo(SkIntToScalar(x), SkIntToScalar(y));
130 fPaths[count].rLineTo(SkIntToScalar(w), 0);
131 fPaths[count].rLineTo(0, SkIntToScalar(h));
132 fPaths[count].rLineTo(SkIntToScalar(-w + 1), 0);
158 canvas->drawPath(fPaths[j], paint);
/external/skia/src/gpu/ops/
H A DGrAALinearizingConvexPathRenderer.cpp161 fPaths.emplace_back(
186 for (const auto& path : fPaths) {
203 &fPaths.back().fColor);
256 int instanceCount = fPaths.count();
265 const PathData& args = fPaths[i];
310 fPaths.push_back_n(that->fPaths.count(), that->fPaths.begin());
315 const SkMatrix& viewMatrix() const { return fPaths[0].fViewMatrix; }
327 SkSTArray<1, PathData, true> fPaths; member in class:__anon20794::final
[all...]
H A DGrDefaultPathRenderer.cpp352 string.appendf("Color: 0x%08x Count: %d\n", fColor, fPaths.count());
353 for (const auto& path : fPaths) {
371 fPaths.emplace_back(PathData{path, tolerance});
401 int instanceCount = fPaths.count();
406 const PathData& args = fPaths[i];
423 const PathData& args = fPaths[i];
450 fPaths.push_back_n(that->fPaths.count(), that->fPaths.begin());
465 SkSTArray<1, PathData, true> fPaths; member in class:__anon20797::final
[all...]
/external/skqp/src/gpu/ops/
H A DGrAALinearizingConvexPathRenderer.cpp161 fPaths.emplace_back(
186 for (const auto& path : fPaths) {
203 &fPaths.back().fColor);
256 int instanceCount = fPaths.count();
265 const PathData& args = fPaths[i];
311 fPaths.push_back_n(that->fPaths.count(), that->fPaths.begin());
316 const SkMatrix& viewMatrix() const { return fPaths[0].fViewMatrix; }
328 SkSTArray<1, PathData, true> fPaths; member in class:__anon21460::final
[all...]
/external/skia/src/core/
H A DSkPictureData.h105 return reader->validateIndex(index, fPaths.count()) ? fPaths[index] : fEmptyPath;
147 SkTArray<SkPath> fPaths; member in class:SkPictureData
H A DSkPictureData.cpp34 for (int i = 0; i < fPaths.count(); i++) {
35 fPaths[i].updateBoundsCache();
49 fPaths.reset(record.fPaths.count());
50 record.fPaths.foreach([this](const SkPath& path, int n) {
53 fPaths[n-1] = path;
239 if ((n = fPaths.count()) > 0) {
243 buffer.writePath(fPaths[i]);
517 fPaths.reset(count);
519 buffer.readPath(&fPaths[
[all...]
/external/skqp/src/core/
H A DSkPictureData.h105 return reader->validateIndex(index, fPaths.count()) ? fPaths[index] : fEmptyPath;
147 SkTArray<SkPath> fPaths; member in class:SkPictureData
H A DSkPictureData.cpp34 for (int i = 0; i < fPaths.count(); i++) {
35 fPaths[i].updateBoundsCache();
49 fPaths.reset(record.fPaths.count());
50 record.fPaths.foreach([this](const SkPath& path, int n) {
53 fPaths[n-1] = path;
239 if ((n = fPaths.count()) > 0) {
243 buffer.writePath(fPaths[i]);
517 fPaths.reset(count);
519 buffer.readPath(&fPaths[
[all...]
/external/skia/tools/fonts/
H A DSkTestScalerContext.cpp30 , fPaths(nullptr)
37 delete fPaths[index];
39 delete[] fPaths;
52 fPaths = new SkPath* [fCharCodesCount];
84 fPaths[index] = path;
114 *path = *fTestFont->fPaths[glyphID];
/external/skqp/tools/
H A DSkTestScalerContext.cpp30 , fPaths(nullptr)
37 delete fPaths[index];
39 delete[] fPaths;
52 fPaths = new SkPath* [fCharCodesCount];
84 fPaths[index] = path;
114 *path = *fTestFont->fPaths[glyphID];

Completed in 1283 milliseconds

12