Home
last modified time | relevance | path

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

/third_party/skia/gm/
H A 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 in makePaths()
258 SkTArray<SkPath> fPaths; global() member in __anon18364::ConvexPathsGM
[all...]
H A Dstlouisarch.cpp30 SkPath* bigQuad = &fPaths.push_back();
36 SkPath* degenBigQuad = &fPaths.push_back();
44 SkPath* bigCubic = &fPaths.push_back();
52 SkPath* degenBigCubic = &fPaths.push_back();
61 SkPath* bigConic = &fPaths.push_back();
67 SkPath* degenBigConic = &fPaths.push_back();
78 for (int p = 0; p < fPaths.count(); ++p) {
84 canvas->drawPath(fPaths[p], paint);
93 SkTArray<SkPath> fPaths; member in skiagm::StLouisArchGM
H A Dhairlines.cpp46 fPaths.push_back(lineAngles.detach());
49 fPaths.push_back(SkPathBuilder().moveTo(0, -10)
53 fPaths.push_back(SkPathBuilder().moveTo(0, -5)
57 fPaths.push_back(SkPathBuilder().moveTo(0, -2)
61 fPaths.push_back(SkPathBuilder().moveTo(0, -1)
65 fPaths.push_back(SkPathBuilder().moveTo(0, -1)
69 fPaths.push_back(SkPathBuilder().moveTo(0, -0)
73 fPaths.push_back(SkPathBuilder().moveTo(0, -0)
80 fPaths.push_back(SkPathBuilder().moveTo(4, 6)
85 fPaths
194 SkTArray<SkPath> fPaths; global() member in skiagm::HairlinesGM
[all...]
H A Dconvexpolyeffect.cpp59 fPaths.push_back(tri);
60 fPaths.emplace_back();
61 fPaths.back().reverseAddPath(tri);
64 fPaths.push_back(tri);
81 fPaths.push_back(ngon);
85 fPaths.push_back(ngon);
90 fPaths.push_back(linePath);
104 for (const SkPath& path : fPaths) {
146 std::vector<SkPath> fPaths; member in skiagm::ConvexPolyEffect
H A Dcomplexclip2.cpp69 fPaths[0] = SkPath::RRect(fRects[0], 5, 5);
74 fPaths[1] = SkPath::RRect(fRects[1], 5, 5);
79 fPaths[2] = SkPath::RRect(fRects[2], 5, 5);
84 fPaths[3] = SkPath::RRect(fRects[3], 5, 5);
89 fPaths[4] = SkPath::RRect(fRects[4], 5, 5);
169 canvas->drawPath(fPaths[k], rectPaint);
187 canvas->clipPath(fPaths[k],
203 SkPath fPaths[5]; member in skiagm::ComplexClip2GM
H A Ddashcubics.cpp85 &fPaths.push_back()));
92 &fPaths.push_back()));
100 &fPaths.push_back()));
154 for (const auto& path : fPaths) {
173 SkTArray<SkPath> fPaths; member in TrimGM
H A Dconicpaths.cpp36 fPaths.push_back(b.detach()); in append_path()
114 for (int p = 0; p < fPaths.count(); ++p) {
123 const SkRect& bounds = fPaths[p].getBounds();
126 canvas->drawPath(fPaths[p], paint);
142 SkTArray<SkPath> fPaths; member in ConicPathsGM
/third_party/skia/src/utils/
H A DSkCustomTypeface.cpp50 std::vector<SkPath> fPaths; member in final
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 in detach()
[all...]
/third_party/skia/bench/
H A DAlternatingColorPatternBench.cpp86 SkPath fPaths[NUM_DRAWS]; member in AlternatingColorPatternBench
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);
156 canvas->drawPath(fPaths[j], paint);
H A DPathBench.cpp442 fPaths.reset(kPathCnt);
445 this->makePath(&fPaths[i]);
452 fCopies[idx] = fPaths[idx];
461 SkAutoTArray<SkPath> fPaths; member in PathCopyBench
479 fPaths.reset(kPathCnt);
481 this->makePath(&fPaths[i]);
492 fPaths[i & (kPathCnt - 1)].transform(fMatrix);
497 fPaths[idx].transform(fMatrix, &fTransformed[idx]);
507 SkAutoTArray<SkPath> fPaths; member in PathTransformBench
527 fPaths
549 SkAutoTArray<SkPath> fPaths; global() member in PathEqualityBench
[all...]
H A DTriangulatorBench.cpp38 SkPath& path = fPaths.push_back();
88 SkTArray<SkPath> fPaths; member in TriangulatorBenchmark
99 for (const SkPath& path : fPaths) {
115 for (const SkPath& path : fPaths) {
132 for (const SkPath& path : fPaths) {
/third_party/skia/src/gpu/ops/
H A DAALinearizingConvexPathRenderer.cpp112 fPaths.emplace_back( in AAFlatteningConvexPathOp()
147 &fPaths.back().fColor, &fWideColor);
215 int instanceCount = fPaths.count();
224 const PathData& args = fPaths[i];
300 fPaths.push_back_n(that->fPaths.count(), that->fPaths.begin());
308 for (const auto& path : fPaths) {
330 SkSTArray<1, PathData, true> fPaths; member in skgpu::v1::__anon18830::final
H A 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++) {
501 const PathData& args = fPaths[i];
544 fPaths.push_back_n(that->fPaths.count(), that->fPaths.begin());
551 fColor.toBytes_RGBA(), fPaths.count());
552 for (const auto& path : fPaths) {
570 SkSTArray<1, PathData, true> fPaths; global() member in __anon18835::final
[all...]
H A DAAConvexPathRenderer.cpp710 fPaths.emplace_back(PathData{viewMatrix, path, color}); in AAConvexPathOp()
731 &fPaths.back().fColor, &fWideColor);
746 if (fHelper.usesLocalCoords() && !fPaths.back().fViewMatrix.invert(&invert)) {
762 int instanceCount = fPaths.count();
777 const PathData& args = fPaths[i];
869 !SkMatrixPriv::CheapEqual(fPaths[0].fViewMatrix, that->fPaths[0].fViewMatrix)) {
873 fPaths.push_back_n(that->fPaths.count(), that->fPaths
891 SkSTArray<1, PathData, true> fPaths; global() member in skgpu::v1::final
[all...]
H A DAAHairLinePathRenderer.cpp788 fPaths.emplace_back(PathData{viewMatrix, path, devClipBounds, capLength}); in AAHairlineOp()
912 fPaths.push_back_n(that->fPaths.count(), that->fPaths.begin());
919 fColor.toBytes_RGBA(), fCoverage, fPaths.count(),
926 const SkMatrix& viewMatrix() const { return fPaths[0].fViewMatrix; } in viewMatrix()
935 SkSTArray<1, PathData, true> fPaths; member in __anon18826::final
1044 for (int i = 0; i < fPaths.count(); i++) { in predictPrograms()
1045 uint32_t mask = fPaths[i].fPath.getSegmentMasks(); in predictPrograms()
1158 int instanceCount = fPaths in onPrepareDraws()
[all...]
/third_party/skia/src/core/
H A 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()
H A DSkPictureData.h107 return reader->validate(index > 0 && index <= fPaths.count()) ? in getPath()
108 fPaths[index - 1] : fEmptyPath; in getPath()
143 SkTArray<SkPath> fPaths; member in SkPictureData
H A DSkPictureRecord.h241 SkTHashMap<SkPath, int, PathHash> fPaths; member in SkPictureRecord
H A DSkPictureRecord.cpp851 if (int* n = fPaths.find(path)) { in addPathToHeap()
854 int n = fPaths.count() + 1; // 0 is reserved for null / error. in addPathToHeap()
855 fPaths.set(path, n); in addPathToHeap()
/third_party/skia/tools/fonts/
H A 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()
H A DTestTypeface.h60 SkPath* fPaths; member in SkTestFont
/third_party/skia/include/utils/
H A DSkCustomTypeface.h38 std::vector<SkPath> fPaths; member in SkCustomTypefaceBuilder
/third_party/skia/src/gpu/text/
H A DGrTextBlob.cpp201 const SkSpan<const PathGlyph> fPaths; member in __anon18873::final
212 , fPaths{paths}
220 SkASSERT(!fPaths.empty()); in draw()
238 for (const auto& pathPos : fPaths) { in draw()
252 for (const auto& pathPos : fPaths) { in draw()

Completed in 21 milliseconds