Home
last modified time | relevance | path

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

/external/skia/gm/
Dconvexpaths.cpp53 fPaths.push_back().moveTo(0, 0); in makePaths()
54 fPaths.back().quadTo(50 * SK_Scalar1, 100 * SK_Scalar1, in makePaths()
56 fPaths.back().lineTo(0, 0); in makePaths()
58 fPaths.push_back().moveTo(0, 50 * SK_Scalar1); in makePaths()
59 fPaths.back().quadTo(50 * SK_Scalar1, 0, in makePaths()
61 fPaths.back().quadTo(50 * SK_Scalar1, 100 * SK_Scalar1, in makePaths()
64 fPaths.push_back().addRect(0, 0, in makePaths()
68 fPaths.push_back().addRect(0, 0, in makePaths()
72 fPaths.push_back().addCircle(50 * SK_Scalar1, 50 * SK_Scalar1, in makePaths()
76 fPaths.push_back().addOval(SkRect::MakeXYWH(0, 0, in makePaths()
[all …]
Dhairlines.cpp26 SkPath* lineAnglesPath = &fPaths.push_back(); in onOnceBeforeDraw()
41 SkPath* kindaTightQuad = &fPaths.push_back(); in onOnceBeforeDraw()
47 SkPath* tightQuad = &fPaths.push_back(); in onOnceBeforeDraw()
53 SkPath* tighterQuad = &fPaths.push_back(); in onOnceBeforeDraw()
59 SkPath* unevenTighterQuad = &fPaths.push_back(); in onOnceBeforeDraw()
67 SkPath* reallyTightQuad = &fPaths.push_back(); in onOnceBeforeDraw()
73 SkPath* closedQuad = &fPaths.push_back(); in onOnceBeforeDraw()
79 SkPath* unevenClosedQuad = &fPaths.push_back(); in onOnceBeforeDraw()
88 SkPath* problem1 = &fPaths.push_back(); in onOnceBeforeDraw()
97 SkPath* problem2 = &fPaths.push_back(); in onOnceBeforeDraw()
[all …]
Dconicpaths.cpp26 SkPath* conicCirlce = &fPaths.push_back(); in onOnceBeforeDraw()
35 SkPath* hyperbola = &fPaths.push_back(); in onOnceBeforeDraw()
40 SkPath* thinHyperbola = &fPaths.push_back(); in onOnceBeforeDraw()
45 SkPath* veryThinHyperbola = &fPaths.push_back(); in onOnceBeforeDraw()
50 SkPath* closedHyperbola = &fPaths.push_back(); in onOnceBeforeDraw()
56 SkPath* nearParabola = &fPaths.push_back(); in onOnceBeforeDraw()
61 SkPath* thinEllipse = &fPaths.push_back(); in onOnceBeforeDraw()
66 SkPath* veryThinEllipse = &fPaths.push_back(); in onOnceBeforeDraw()
71 SkPath* closedEllipse = &fPaths.push_back(); in onOnceBeforeDraw()
98 for (int p = 0; p < fPaths.count(); ++p) { in onDraw()
[all …]
Dstlouisarch.cpp25 SkPath* bigQuad = &fPaths.push_back(); in onOnceBeforeDraw()
31 SkPath* degenBigQuad = &fPaths.push_back(); in onOnceBeforeDraw()
39 SkPath* bigCubic = &fPaths.push_back(); in onOnceBeforeDraw()
47 SkPath* degenBigCubic = &fPaths.push_back(); in onOnceBeforeDraw()
56 SkPath* bigConic = &fPaths.push_back(); in onOnceBeforeDraw()
62 SkPath* degenBigConic = &fPaths.push_back(); in onOnceBeforeDraw()
73 for (int p = 0; p < fPaths.count(); ++p) { in onDraw()
79 canvas->drawPath(fPaths[p], paint); in onDraw()
88 SkTArray<SkPath> fPaths; member in skiagm::StLouisArchGM
Dcomplexclip2.cpp61 fPaths[0].addRoundRect(fRects[0], 5, 5); in onOnceBeforeDraw()
66 fPaths[1].addRoundRect(fRects[1], 5, 5); in onOnceBeforeDraw()
71 fPaths[2].addRoundRect(fRects[2], 5, 5); in onOnceBeforeDraw()
76 fPaths[3].addRoundRect(fRects[3], 5, 5); in onOnceBeforeDraw()
81 fPaths[4].addRoundRect(fRects[4], 5, 5); in onOnceBeforeDraw()
165 canvas->drawPath(fPaths[k], rectPaint); in onDraw()
183 canvas->clipPath(fPaths[k], in onDraw()
199 SkPath fPaths[5]; member in skiagm::ComplexClip2GM
Dconvexpolyeffect.cpp104 fPaths.addToTail(tri); in onOnceBeforeDraw()
105 fPaths.addToTail(SkPath())->reverseAddPath(tri); in onOnceBeforeDraw()
108 fPaths.addToTail(tri); in onOnceBeforeDraw()
126 fPaths.addToTail(ngon); in onOnceBeforeDraw()
130 fPaths.addToTail(ngon); in onOnceBeforeDraw()
164 for (SkTLList<SkPath>::Iter iter(fPaths, SkTLList<SkPath>::Iter::kHead_IterStart); in onDraw()
266 SkTLList<SkPath> fPaths; member in skiagm::ConvexPolyEffect
/external/skia/bench/
DAlternatingColorPatternBench.cpp84 SkPath fPaths[NUM_DRAWS]; member in AlternatingColorPatternBench
132 fPaths[count].moveTo(SkIntToScalar(x), SkIntToScalar(y)); in onPreDraw()
133 fPaths[count].rLineTo(SkIntToScalar(w), 0); in onPreDraw()
134 fPaths[count].rLineTo(0, SkIntToScalar(h)); in onPreDraw()
135 fPaths[count].rLineTo(SkIntToScalar(-w + 1), 0); in onPreDraw()
161 canvas->drawPath(fPaths[j], paint); in onDraw()
DPathBench.cpp358 fPaths.reset(kPathCnt); in onPreDraw()
361 this->makePath(&fPaths[i]); in onPreDraw()
368 fCopies[idx] = fPaths[idx]; in onDraw()
377 SkAutoTArray<SkPath> fPaths; member in PathCopyBench
395 fPaths.reset(kPathCnt); in onPreDraw()
397 this->makePath(&fPaths[i]); in onPreDraw()
408 fPaths[i & (kPathCnt - 1)].transform(fMatrix); in onDraw()
413 fPaths[idx].transform(fMatrix, &fTransformed[idx]); in onDraw()
423 SkAutoTArray<SkPath> fPaths; member in PathTransformBench
443 fPaths.reset(kPathCnt); in onPreDraw()
[all …]
/external/skia/src/fonts/
DSkTestScalerContext.cpp27 , fPaths(NULL) in SkTestFont()
38 SkDELETE(fPaths[index]); in ~SkTestFont()
40 SkDELETE_ARRAY(fPaths); in ~SkTestFont()
81 fPaths = SkNEW_ARRAY(SkPath*, fCharCodesCount); in init()
111 fPaths[index] = path; in init()
135 *path = *fTestFont->fPaths[glyph.getGlyphID()]; in getPath()
DSkTestScalerContext.h52 SkPath** fPaths; variable
/external/skia/src/core/
DSkPictureData.cpp30 for (int i = 0; i < fPaths.count(); i++) { in initForPlayback()
31 fPaths[i].updateBoundsCache(); in initForPlayback()
48 fPaths = record.fPaths; in SkPictureData()
206 if ((n = fPaths.count()) > 0) { in flattenToBuffer()
210 buffer.writePath(fPaths[i]); in flattenToBuffer()
431 fPaths.reset(count); in parseBufferTag()
433 buffer.readPath(&fPaths[i]); in parseBufferTag()
DSkPictureData.h95 return fPaths[index]; in getPath()
151 SkTArray<SkPath> fPaths; variable
DSkPictureRecord.h227 SkTArray<SkPath> fPaths; variable
DSkPictureRecord.cpp938 fPaths.push_back(path); in addPathToHeap()
939 return fPaths.count(); in addPathToHeap()