Home
last modified time | relevance | path

Searched refs:fPaths (Results 1 – 25 of 45) sorted by relevance

12

/third_party/flutter/skia/gm/
Dconvexpaths.cpp56 fPaths.push_back().moveTo(0, 0); in makePaths()
57 fPaths.back().quadTo(50 * SK_Scalar1, 100 * SK_Scalar1, in makePaths()
59 fPaths.back().lineTo(0, 0); in makePaths()
61 fPaths.push_back().moveTo(0, 50 * SK_Scalar1); in makePaths()
62 fPaths.back().quadTo(50 * SK_Scalar1, 0, in makePaths()
64 fPaths.back().quadTo(50 * SK_Scalar1, 100 * SK_Scalar1, in makePaths()
67 fPaths.push_back().addRect(0, 0, in makePaths()
71 fPaths.push_back().addRect(0, 0, in makePaths()
75 fPaths.push_back().addCircle(50 * SK_Scalar1, 50 * SK_Scalar1, in makePaths()
79 fPaths.push_back().addOval(SkRect::MakeXYWH(0, 0, in makePaths()
[all …]
Dhairlines.cpp35 SkPath* lineAnglesPath = &fPaths.push_back(); in onOnceBeforeDraw()
50 SkPath* kindaTightQuad = &fPaths.push_back(); in onOnceBeforeDraw()
56 SkPath* tightQuad = &fPaths.push_back(); in onOnceBeforeDraw()
62 SkPath* tighterQuad = &fPaths.push_back(); in onOnceBeforeDraw()
68 SkPath* unevenTighterQuad = &fPaths.push_back(); in onOnceBeforeDraw()
76 SkPath* reallyTightQuad = &fPaths.push_back(); in onOnceBeforeDraw()
82 SkPath* closedQuad = &fPaths.push_back(); in onOnceBeforeDraw()
88 SkPath* unevenClosedQuad = &fPaths.push_back(); in onOnceBeforeDraw()
97 SkPath* problem1 = &fPaths.push_back(); in onOnceBeforeDraw()
106 SkPath* problem2 = &fPaths.push_back(); in onOnceBeforeDraw()
[all …]
Dstlouisarch.cpp30 SkPath* bigQuad = &fPaths.push_back(); in onOnceBeforeDraw()
36 SkPath* degenBigQuad = &fPaths.push_back(); in onOnceBeforeDraw()
44 SkPath* bigCubic = &fPaths.push_back(); in onOnceBeforeDraw()
52 SkPath* degenBigCubic = &fPaths.push_back(); in onOnceBeforeDraw()
61 SkPath* bigConic = &fPaths.push_back(); in onOnceBeforeDraw()
67 SkPath* degenBigConic = &fPaths.push_back(); in onOnceBeforeDraw()
78 for (int p = 0; p < fPaths.count(); ++p) { in onDraw()
84 canvas->drawPath(fPaths[p], paint); in onDraw()
93 SkTArray<SkPath> fPaths; member in skiagm::StLouisArchGM
Dconicpaths.cpp36 SkPath* conicCirlce = &fPaths.push_back(); in onOnceBeforeDraw()
45 SkPath* hyperbola = &fPaths.push_back(); in onOnceBeforeDraw()
50 SkPath* thinHyperbola = &fPaths.push_back(); in onOnceBeforeDraw()
55 SkPath* veryThinHyperbola = &fPaths.push_back(); in onOnceBeforeDraw()
60 SkPath* closedHyperbola = &fPaths.push_back(); in onOnceBeforeDraw()
66 SkPath* nearParabola = &fPaths.push_back(); in onOnceBeforeDraw()
71 SkPath* thinEllipse = &fPaths.push_back(); in onOnceBeforeDraw()
76 SkPath* veryThinEllipse = &fPaths.push_back(); in onOnceBeforeDraw()
81 SkPath* closedEllipse = &fPaths.push_back(); in onOnceBeforeDraw()
108 for (int p = 0; p < fPaths.count(); ++p) { in onDraw()
[all …]
Dcomplexclip2.cpp70 fPaths[0].addRoundRect(fRects[0], 5, 5); in onOnceBeforeDraw()
75 fPaths[1].addRoundRect(fRects[1], 5, 5); in onOnceBeforeDraw()
80 fPaths[2].addRoundRect(fRects[2], 5, 5); in onOnceBeforeDraw()
85 fPaths[3].addRoundRect(fRects[3], 5, 5); in onOnceBeforeDraw()
90 fPaths[4].addRoundRect(fRects[4], 5, 5); in onOnceBeforeDraw()
174 canvas->drawPath(fPaths[k], rectPaint); in onDraw()
192 canvas->clipPath(fPaths[k], in onDraw()
208 SkPath fPaths[5]; member in skiagm::ComplexClip2GM
Ddashcubics.cpp83 &fPaths.push_back())); in TrimGM()
90 &fPaths.push_back())); in TrimGM()
98 &fPaths.push_back())); in TrimGM()
152 for (const auto& path : fPaths) { in onDraw()
171 SkTArray<SkPath> fPaths; member in TrimGM
Dconvexpolyeffect.cpp165 fPaths.addToTail(tri); in onOnceBeforeDraw()
166 fPaths.addToTail(SkPath())->reverseAddPath(tri); in onOnceBeforeDraw()
169 fPaths.addToTail(tri); in onOnceBeforeDraw()
186 fPaths.addToTail(ngon); in onOnceBeforeDraw()
190 fPaths.addToTail(ngon); in onOnceBeforeDraw()
195 fPaths.addToTail(linePath); in onOnceBeforeDraw()
217 for (PathList::Iter iter(fPaths, PathList::Iter::kHead_IterStart); in onDraw()
303 PathList fPaths; member in skiagm::ConvexPolyEffect
/third_party/skia/gm/
Dconvexpaths.cpp57 fPaths.push_back(b.moveTo(0, 0) in makePaths()
62 fPaths.push_back(b.moveTo(0, 50) in makePaths()
67 fPaths.push_back(SkPath::Rect({0, 0, 100, 100}, SkPathDirection::kCW)); in makePaths()
68 fPaths.push_back(SkPath::Rect({0, 0, 100, 100}, SkPathDirection::kCCW)); in makePaths()
69 fPaths.push_back(SkPath::Circle(50, 50, 50, SkPathDirection::kCW)); in makePaths()
70 fPaths.push_back(SkPath::Oval(SkRect::MakeXYWH(0, 0, 50, 100), SkPathDirection::kCW)); in makePaths()
71 fPaths.push_back(SkPath::Oval(SkRect::MakeXYWH(0, 0, 100, 5), SkPathDirection::kCCW)); in makePaths()
72 fPaths.push_back(SkPath::Oval(SkRect::MakeXYWH(0, 0, 1, 100), SkPathDirection::kCCW)); in makePaths()
73 fPaths.push_back(SkPath::RRect(SkRRect::MakeRectXY({0, 0, 100, 100}, 40, 20), in makePaths()
94 fPaths.push_back(b.detach()); in makePaths()
[all …]
Dhairlines.cpp46 fPaths.push_back(lineAngles.detach()); in onOnceBeforeDraw()
49 fPaths.push_back(SkPathBuilder().moveTo(0, -10) in onOnceBeforeDraw()
53 fPaths.push_back(SkPathBuilder().moveTo(0, -5) in onOnceBeforeDraw()
57 fPaths.push_back(SkPathBuilder().moveTo(0, -2) in onOnceBeforeDraw()
61 fPaths.push_back(SkPathBuilder().moveTo(0, -1) in onOnceBeforeDraw()
65 fPaths.push_back(SkPathBuilder().moveTo(0, -1) in onOnceBeforeDraw()
69 fPaths.push_back(SkPathBuilder().moveTo(0, -0) in onOnceBeforeDraw()
73 fPaths.push_back(SkPathBuilder().moveTo(0, -0) in onOnceBeforeDraw()
80 fPaths.push_back(SkPathBuilder().moveTo(4, 6) in onOnceBeforeDraw()
85 fPaths.push_back(SkPathBuilder().moveTo(5, 1) in onOnceBeforeDraw()
[all …]
Dstlouisarch.cpp30 SkPath* bigQuad = &fPaths.push_back(); in onOnceBeforeDraw()
36 SkPath* degenBigQuad = &fPaths.push_back(); in onOnceBeforeDraw()
44 SkPath* bigCubic = &fPaths.push_back(); in onOnceBeforeDraw()
52 SkPath* degenBigCubic = &fPaths.push_back(); in onOnceBeforeDraw()
61 SkPath* bigConic = &fPaths.push_back(); in onOnceBeforeDraw()
67 SkPath* degenBigConic = &fPaths.push_back(); in onOnceBeforeDraw()
78 for (int p = 0; p < fPaths.count(); ++p) { in onDraw()
84 canvas->drawPath(fPaths[p], paint); in onDraw()
93 SkTArray<SkPath> fPaths; member in skiagm::StLouisArchGM
Dconvexpolyeffect.cpp59 fPaths.push_back(tri); in onOnceBeforeDraw()
60 fPaths.emplace_back(); in onOnceBeforeDraw()
61 fPaths.back().reverseAddPath(tri); in onOnceBeforeDraw()
64 fPaths.push_back(tri); in onOnceBeforeDraw()
81 fPaths.push_back(ngon); in onOnceBeforeDraw()
85 fPaths.push_back(ngon); in onOnceBeforeDraw()
90 fPaths.push_back(linePath); in onOnceBeforeDraw()
104 for (const SkPath& path : fPaths) { in onDraw()
146 std::vector<SkPath> fPaths; member in skiagm::ConvexPolyEffect
Dcomplexclip2.cpp69 fPaths[0] = SkPath::RRect(fRects[0], 5, 5); in onOnceBeforeDraw()
74 fPaths[1] = SkPath::RRect(fRects[1], 5, 5); in onOnceBeforeDraw()
79 fPaths[2] = SkPath::RRect(fRects[2], 5, 5); in onOnceBeforeDraw()
84 fPaths[3] = SkPath::RRect(fRects[3], 5, 5); in onOnceBeforeDraw()
89 fPaths[4] = SkPath::RRect(fRects[4], 5, 5); in onOnceBeforeDraw()
169 canvas->drawPath(fPaths[k], rectPaint); in onDraw()
187 canvas->clipPath(fPaths[k], in onDraw()
203 SkPath fPaths[5]; member in skiagm::ComplexClip2GM
Ddashcubics.cpp85 &fPaths.push_back())); in onOnceBeforeDraw()
92 &fPaths.push_back())); in onOnceBeforeDraw()
100 &fPaths.push_back())); in onOnceBeforeDraw()
154 for (const auto& path : fPaths) { in onDraw()
173 SkTArray<SkPath> fPaths; member in TrimGM
Dconicpaths.cpp36 fPaths.push_back(b.detach()); in append_path()
114 for (int p = 0; p < fPaths.count(); ++p) { in onDraw()
123 const SkRect& bounds = fPaths[p].getBounds(); in onDraw()
126 canvas->drawPath(fPaths[p], paint); in onDraw()
142 SkTArray<SkPath> fPaths; member in ConicPathsGM
/third_party/skia/src/utils/
DSkCustomTypeface.cpp50 std::vector<SkPath> fPaths; member in SkUserTypeface
94 SkASSERT(fPaths.size() == fAdvances.size()); in glyphCount()
95 return SkToInt(fPaths.size()); in glyphCount()
112 SkASSERT(fPaths.size() == fAdvances.size()); in setGlyph()
113 if (index >= fPaths.size()) { in setGlyph()
114 fPaths.resize(SkToSizeT(index) + 1); in setGlyph()
118 fPaths[index] = path; in setGlyph()
122 SkASSERT(fPaths.size() == fAdvances.size()); in detach()
123 if (fPaths.empty()) return nullptr; in detach()
127 tf->fPaths = std::move(fPaths); in detach()
[all …]
/third_party/skia/bench/
DTriangulatorBench.cpp38 SkPath& path = fPaths.push_back(); in onDelayedSetup()
88 SkTArray<SkPath> fPaths; member in TriangulatorBenchmark
99 for (const SkPath& path : fPaths) { in doLoop()
115 for (const SkPath& path : fPaths) { in doLoop()
132 for (const SkPath& path : fPaths) {
DAlternatingColorPatternBench.cpp86 SkPath fPaths[NUM_DRAWS]; member in AlternatingColorPatternBench
128 fPaths[count].moveTo(SkIntToScalar(x), SkIntToScalar(y)); in onDelayedSetup()
129 fPaths[count].rLineTo(SkIntToScalar(w), 0); in onDelayedSetup()
130 fPaths[count].rLineTo(0, SkIntToScalar(h)); in onDelayedSetup()
131 fPaths[count].rLineTo(SkIntToScalar(-w + 1), 0); in onDelayedSetup()
156 canvas->drawPath(fPaths[j], paint); in onDraw()
/third_party/flutter/skia/bench/
DAlternatingColorPatternBench.cpp86 SkPath fPaths[NUM_DRAWS]; member in AlternatingColorPatternBench
127 fPaths[count].moveTo(SkIntToScalar(x), SkIntToScalar(y)); in onDelayedSetup()
128 fPaths[count].rLineTo(SkIntToScalar(w), 0); in onDelayedSetup()
129 fPaths[count].rLineTo(0, SkIntToScalar(h)); in onDelayedSetup()
130 fPaths[count].rLineTo(SkIntToScalar(-w + 1), 0); in onDelayedSetup()
156 canvas->drawPath(fPaths[j], paint); in onDraw()
/third_party/flutter/skia/tools/fonts/
DTestTypeface.cpp40 , fPaths(nullptr) { in SkTestFont()
46 delete fPaths[index]; in ~SkTestFont()
48 delete[] fPaths; in ~SkTestFont()
61 fPaths = new SkPath*[fCharCodesCount]; in init()
89 fPaths[index] = path; in init()
109 *path = *fTestFont->fPaths[glyphID]; in getPath()
/third_party/flutter/skia/src/gpu/ops/
DGrAALinearizingConvexPathRenderer.cpp149 fPaths.emplace_back( in AAFlatteningConvexPathOp()
175 for (const auto& path : fPaths) { in dumpInfo()
195 GrProcessorAnalysisCoverage::kSingleChannel, &fPaths.back().fColor, &fWideColor); in finalize()
242 int instanceCount = fPaths.count(); in onPrepareDraws()
251 const PathData& args = fPaths[i]; in onPrepareDraws()
312 fPaths.push_back_n(that->fPaths.count(), that->fPaths.begin()); in onCombineIfPossible()
317 const SkMatrix& viewMatrix() const { return fPaths[0].fViewMatrix; } in viewMatrix()
329 SkSTArray<1, PathData, true> fPaths; member in __anon18a71da20111::AAFlatteningConvexPathOp
/third_party/skia/tools/fonts/
DTestTypeface.cpp40 , fPaths(nullptr) { in SkTestFont()
45 delete[] fPaths; in ~SkTestFont()
58 fPaths = new SkPath[fCharCodesCount]; in init()
86 fPaths[index] = b.detach(); in init()
106 return fTestFont->fPaths[glyphID]; in getPath()
/third_party/skia/src/gpu/ops/
DAALinearizingConvexPathRenderer.cpp112 fPaths.emplace_back( in AAFlatteningConvexPathOp()
147 &fPaths.back().fColor, &fWideColor); in finalize()
215 int instanceCount = fPaths.count(); in onPrepareDraws()
224 const PathData& args = fPaths[i]; in onPrepareDraws()
300 fPaths.push_back_n(that->fPaths.count(), that->fPaths.begin()); in onCombineIfPossible()
308 for (const auto& path : fPaths) { in onDumpInfo()
330 SkSTArray<1, PathData, true> fPaths; member in skgpu::v1::__anon1fbfa9d40111::AAFlatteningConvexPathOp
DDefaultPathRenderer.cpp429 fPaths.emplace_back(PathData{path, tolerance}); in DefaultPathOp()
450 int instanceCount = fPaths.count(); in primType()
454 PathGeoBuilder::PathHasMultipleSubpaths(fPaths[0].fPath); in primType()
500 for (int i = 0; i < fPaths.count(); i++) { in onPrepareDraws()
501 const PathData& args = fPaths[i]; in onPrepareDraws()
544 fPaths.push_back_n(that->fPaths.count(), that->fPaths.begin()); in onCombineIfPossible()
551 fColor.toBytes_RGBA(), fPaths.count()); in onDumpInfo()
552 for (const auto& path : fPaths) { in onDumpInfo()
570 SkSTArray<1, PathData, true> fPaths; member in __anon416918880111::DefaultPathOp
/third_party/flutter/skia/src/core/
DSkPictureData.cpp36 for (int i = 0; i < fPaths.count(); i++) { in initForPlayback()
37 fPaths[i].updateBoundsCache(); in initForPlayback()
54 fPaths.reset(record.fPaths.count()); in SkPictureData()
55 record.fPaths.foreach([this](const SkPath& path, int n) { in SkPictureData()
58 fPaths[n-1] = path; in SkPictureData()
158 if ((n = fPaths.count()) > 0) { in flattenToBuffer()
162 buffer.writePath(fPaths[i]); in flattenToBuffer()
434 buffer.readPath(&fPaths.push_back()); in parseBufferTag()
/third_party/skia/src/core/
DSkPictureData.cpp32 for (int i = 0; i < fPaths.count(); i++) { in initForPlayback()
33 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()
153 int numPaths = fPaths.count(); in flattenToBuffer()
157 for (const SkPath& path : fPaths) { in flattenToBuffer()
431 buffer.readPath(&fPaths.push_back()); in parseBufferTag()

12