Searched refs:fPath (Results 1 - 25 of 61) sorted by relevance

123

/external/skia/src/animator/
H A DSkPathParts.cpp16 SkPathPart::SkPathPart() : fPath(NULL) {
20 fPath->dirty();
24 return fPath;
31 fPath = (SkDrawPath*) parent;
51 fPath->fPath.moveTo(x, y);
68 fPath->fPath.rMoveTo(x, y);
89 fPath->fPath
[all...]
H A DSkParseSVGPath.cpp28 static void quadApprox(SkPath &fPath, const SkPoint &p0, const SkPoint &p1, const SkPoint &p2) argument
33 fPath.getLastPt(&c);
44 fPath.quadTo(mid,q);
50 fPath.quadTo(mid,p2);
114 fPath.reset();
145 fPath.moveTo(points[0]);
151 fPath.lineTo(points[0]);
157 fPath.lineTo(x, c.fY);
164 fPath.lineTo(c.fX, y);
182 quadApprox(fPath, point
[all...]
H A DSkDrawPath.cpp103 return fPath;
111 fPath.reset();
116 return fPath;
147 value->fOperand.fS32 = (int) fPath.getFillType();
172 fPath.setFillType((SkPath::FillType) value.fOperand.fS32);
199 fPath.reset();
200 fPath.moveTo(points[0], points[1]);
203 fPath.lineTo(points[index], points[index+1]);
219 fPath.close();
H A DSkDrawClip.cpp36 maker.fCanvas->clipPath(path->fPath);
/external/skia/samplecode/
H A DSamplePath.cpp88 SkPath fPath[6]; member in class:PathView
104 fPath[0].moveTo(SkIntToScalar(40), SkIntToScalar(70));
105 fPath[0].lineTo(SkIntToScalar(70), SkIntToScalar(70) + SK_Scalar1/1);
106 fPath[0].lineTo(SkIntToScalar(110), SkIntToScalar(70));
108 fPath[1].moveTo(SkIntToScalar(40), SkIntToScalar(70));
109 fPath[1].lineTo(SkIntToScalar(70), SkIntToScalar(70) - SK_Scalar1/1);
110 fPath[1].lineTo(SkIntToScalar(110), SkIntToScalar(70));
112 fPath[2].moveTo(SkIntToScalar(V), SkIntToScalar(V));
113 fPath[2].lineTo(SkIntToScalar(50), SkIntToScalar(V));
114 fPath[
[all...]
H A DSamplePathEffects.cpp101 SkPath fPath; member in class:PathEffectView
111 fPath.moveTo(x, y);
116 fPath.moveTo(x, tmpY);
118 fPath.lineTo(x, tmpY);
127 fPath.addRoundRect(oval, SkIntToScalar(8), SkIntToScalar(8));
155 canvas->drawPath(fPath, paint);
160 canvas->drawPath(fPath, paint);
167 canvas->drawPath(fPath, paint);
173 canvas->drawPath(fPath, paint);
180 canvas->drawPath(fPath, pain
[all...]
H A DSampleStrokePath.cpp100 SkPath fPath; member in class:StrokePathView
112 SkParsePath::FromSVGString(str, &fPath);
114 fPath.addCircle(0, 0, SkIntToScalar(50), SkPath::kCW_Direction);
115 fPath.addCircle(0, SkIntToScalar(-50), SkIntToScalar(30), SkPath::kCW_Direction);
118 scale_to_width(&fPath, fWidth);
119 const SkRect& bounds = fPath.getBounds();
120 fPath.offset(-bounds.fLeft, -bounds.fTop);
144 canvas->drawPath(fPath, *paint);
200 fPath = p;
201 fPath
[all...]
H A DSampleCull.cpp114 fPath.moveTo(x, y);
116 fPath.lineTo(x, y);
120 subdivide(&fPath, bump);
121 subdivide(&fPath, bump);
122 subdivide(&fPath, bump);
123 fPoints = getpts(fPath, &fPtCount);
161 canvas->drawPath(fPath, paint);
186 SkPath fPath; member in class:CullView
H A DSampleFillType.cpp20 SkPath fPath; member in class:FillTypeView
24 fPath.addCircle(SkIntToScalar(50), SkIntToScalar(50), radius);
25 fPath.addCircle(SkIntToScalar(100), SkIntToScalar(100), radius);
49 fPath.setFillType(ft);
53 canvas->drawPath(fPath, paint);
H A DSampleEffects.cpp77 SkPath fPath; member in class:EffectsView
91 fPath.moveTo(pts[0], pts[1]);
93 fPath.lineTo(pts[i], pts[i+1]);
124 canvas->drawPath(fPath, fPaint[i]);
H A DSampleMovie.cpp58 SkPath fPath; member in class:AnimGifView
/external/skia/include/gpu/
H A DGrGlyph.h29 GrPath* fPath; member in struct:GrGlyph
36 fPath = NULL;
43 if (fPath) {
44 delete fPath;
45 fPath = NULL;
H A DGrClip.h48 return fList[i].fPath;
112 GrPath fPath; member in struct:GrClip::Element
123 return fPath == e.fPath;
/external/skia/src/core/
H A DSkClipStack.cpp19 SkPath fPath; member in struct:SkClipStack::Rec
33 Rec(int saveCount, const SkPath& path, SkRegion::Op op, bool doAA) : fPath(path) {
52 return fPath == b.fPath;
157 if (!SkRect::Intersects(rec->fPath.getBounds(), rect)) {
181 if (!SkRect::Intersects(rec->fPath.getBounds(), pathBounds)) {
201 ((a.fPath == NULL && b.fPath == NULL) ||
202 (a.fPath != NULL && b.fPath !
[all...]
/external/skia/gm/
H A Dfilltypes.cpp13 SkPath fPath; member in class:skiagm::FillTypeGM
18 fPath.addCircle(SkIntToScalar(50), SkIntToScalar(50), radius);
19 fPath.addCircle(SkIntToScalar(100), SkIntToScalar(100), radius);
40 fPath.setFillType(ft);
44 canvas->drawPath(fPath, paint);
H A Dfilltypespersp.cpp14 SkPath fPath; member in class:skiagm::FillTypePerspGM
18 fPath.addCircle(SkIntToScalar(50), SkIntToScalar(50), radius);
19 fPath.addCircle(SkIntToScalar(100), SkIntToScalar(100), radius);
40 fPath.setFillType(ft);
44 canvas->drawPath(fPath, paint);
H A Dcubicpaths.cpp73 SkPath fPath; member in struct:skiagm::CubicPathGM::PathAndName
77 path.fPath.moveTo(25*SK_Scalar1, 10*SK_Scalar1);
78 path.fPath.cubicTo(40*SK_Scalar1, 20*SK_Scalar1,
116 this->drawPath(path.fPath, canvas, color, rect,
216 SkPath fPath; member in struct:skiagm::CubicClosePathGM::PathAndName
220 path.fPath.moveTo(25*SK_Scalar1, 10*SK_Scalar1);
221 path.fPath.cubicTo(40*SK_Scalar1, 20*SK_Scalar1,
224 path.fPath.close();
260 this->drawPath(path.fPath, canvas, color, rect,
H A Dlinepaths.cpp73 SkPath fPath; member in struct:skiagm::LinePathGM::PathAndName
77 path.fPath.moveTo(25*SK_Scalar1, 15*SK_Scalar1);
78 path.fPath.lineTo(75*SK_Scalar1, 15*SK_Scalar1);
114 this->drawPath(path.fPath, canvas, color, rect,
214 SkPath fPath; member in struct:skiagm::LineClosePathGM::PathAndName
218 path.fPath.moveTo(25*SK_Scalar1, 15*SK_Scalar1);
219 path.fPath.lineTo(75*SK_Scalar1, 15*SK_Scalar1);
220 path.fPath.close();
256 this->drawPath(path.fPath, canvas, color, rect,
H A Dquadpaths.cpp73 SkPath fPath; member in struct:skiagm::QuadPathGM::PathAndName
77 path.fPath.moveTo(25*SK_Scalar1, 10*SK_Scalar1);
78 path.fPath.quadTo(50*SK_Scalar1, 20*SK_Scalar1,
115 this->drawPath(path.fPath, canvas, color, rect,
215 SkPath fPath; member in struct:skiagm::QuadClosePathGM::PathAndName
219 path.fPath.moveTo(25*SK_Scalar1, 10*SK_Scalar1);
220 path.fPath.quadTo(50*SK_Scalar1, 20*SK_Scalar1,
222 path.fPath.close();
258 this->drawPath(path.fPath, canvas, color, rect,
H A Dstrokes.cpp83 SkPath fPath; member in class:skiagm::Strokes2GM
87 fPath.moveTo(0, 0);
91 fPath.lineTo(x, y);
131 canvas->drawPath(fPath, paint);
/external/skia/src/effects/
H A DSk1DPathEffect.cpp32 SkScalar phase, Style style) : fPath(path)
142 fPath.unflatten(buffer);
155 fPath.flatten(buffer);
167 dst->addPath(fPath, pos.fX, pos.fY);
172 dst->addPath(fPath, matrix);
175 morphpath(dst, fPath, meas, distance);
/external/skia/bench/
H A DAAClipBench.cpp16 SkPath fPath; member in class:AAClipBuilderBench
37 fPath.addRoundRect(fRect, SkIntToScalar(20), SkIntToScalar(20));
49 clip.setPath(fPath, &fRegion, fDoAA);
/external/skia/include/core/
H A DSkClipStack.h52 Clip() : fRect(NULL), fPath(NULL), fOp(SkRegion::kIntersect_Op) {}
56 const SkPath* fPath; // if non-null, this is a path clip member in struct:SkClipStack::B2FIter::Clip
64 * the pointers fRect and fPath:
66 * fRect==NULL fPath!=NULL path clip
67 * fRect!=NULL fPath==NULL rect clip
68 * fRect==NULL fPath==NULL empty clip
/external/skia/src/utils/
H A DSkCullPoints.cpp118 : fCP(), fPath(NULL) {
122 : fCP(r), fPath(dst) {
127 fPath = dst;
139 fPath->moveTo(SkIntToScalar(pts[0].fX), SkIntToScalar(pts[0].fY));
142 fPath->lineTo(SkIntToScalar(pts[1].fX), SkIntToScalar(pts[1].fY));
/external/skia/include/utils/
H A DSkCullPoints.h65 SkPath* fPath; member in class:SkCullPointsPath

Completed in 1166 milliseconds

123