/external/skia/src/animator/ |
SkPathParts.cpp | 24 SkPathPart::SkPathPart() : fPath(NULL) { 28 fPath->dirty(); 32 return fPath; 39 fPath = (SkDrawPath*) parent; 59 fPath->fPath.moveTo(x, y); 76 fPath->fPath.rMoveTo(x, y); 97 fPath->fPath.lineTo(x, y); [all...] |
SkParseSVGPath.cpp | 36 static void quadApprox(SkPath &fPath, const SkPoint &p0, const SkPoint &p1, const SkPoint &p2) 41 fPath.getLastPt(&c); 52 fPath.quadTo(mid,q); 58 fPath.quadTo(mid,p2); 122 fPath.reset(); 153 fPath.moveTo(points[0]); 159 fPath.lineTo(points[0]); 165 fPath.lineTo(x, c.fY); 172 fPath.lineTo(c.fX, y); 190 quadApprox(fPath, points[0], points[1], points[2]) [all...] |
SkDrawPath.cpp | 111 return fPath; 119 fPath.reset(); 124 return fPath; 155 value->fOperand.fS32 = (int) fPath.getFillType(); 180 fPath.setFillType((SkPath::FillType) value.fOperand.fS32); 207 fPath.reset(); 208 fPath.moveTo(points[0], points[1]); 211 fPath.lineTo(points[index], points[index+1]); 227 fPath.close();
|
SkDrawClip.cpp | 44 maker.fCanvas->clipPath(path->fPath);
|
/external/skia/samplecode/ |
SamplePath.cpp | 80 SkPath fPath[6]; 96 fPath[0].moveTo(SkIntToScalar(40), SkIntToScalar(70)); 97 fPath[0].lineTo(SkIntToScalar(70), SkIntToScalar(70) + SK_Scalar1/1); 98 fPath[0].lineTo(SkIntToScalar(110), SkIntToScalar(70)); 100 fPath[1].moveTo(SkIntToScalar(40), SkIntToScalar(70)); 101 fPath[1].lineTo(SkIntToScalar(70), SkIntToScalar(70) - SK_Scalar1/1); 102 fPath[1].lineTo(SkIntToScalar(110), SkIntToScalar(70)); 104 fPath[2].moveTo(SkIntToScalar(V), SkIntToScalar(V)); 105 fPath[2].lineTo(SkIntToScalar(50), SkIntToScalar(V)); 106 fPath[2].lineTo(SkIntToScalar(50), SkIntToScalar(50)) [all...] |
SamplePathEffects.cpp | 94 SkPath fPath; 104 fPath.moveTo(x, y); 109 fPath.moveTo(x, tmpY); 111 fPath.lineTo(x, tmpY); 120 fPath.addRoundRect(oval, SkIntToScalar(8), SkIntToScalar(8)); 148 canvas->drawPath(fPath, paint); 153 canvas->drawPath(fPath, paint); 160 canvas->drawPath(fPath, paint); 166 canvas->drawPath(fPath, paint); 173 canvas->drawPath(fPath, paint) [all...] |
SampleFillType.cpp | 13 SkPath fPath; 17 fPath.addCircle(SkIntToScalar(50), SkIntToScalar(50), radius); 18 fPath.addCircle(SkIntToScalar(100), SkIntToScalar(100), radius); 42 fPath.setFillType(ft); 46 canvas->drawPath(fPath, paint);
|
SampleStrokePath.cpp | 93 SkPath fPath; 105 SkParsePath::FromSVGString(str, &fPath); 107 fPath.addCircle(0, 0, SkIntToScalar(50), SkPath::kCW_Direction); 108 fPath.addCircle(0, SkIntToScalar(-50), SkIntToScalar(30), SkPath::kCW_Direction); 111 scale_to_width(&fPath, fWidth); 112 const SkRect& bounds = fPath.getBounds(); 113 fPath.offset(-bounds.fLeft, -bounds.fTop); 137 canvas->drawPath(fPath, *paint); 193 fPath = p; 194 fPath.offset(100, 0) [all...] |
SampleEffects.cpp | 70 SkPath fPath; 84 fPath.moveTo(pts[0], pts[1]); 86 fPath.lineTo(pts[i], pts[i+1]); 117 canvas->drawPath(fPath, fPaint[i]);
|
SampleCull.cpp | 107 fPath.moveTo(x, y); 109 fPath.lineTo(x, y); 113 subdivide(&fPath, bump); 114 subdivide(&fPath, bump); 115 subdivide(&fPath, bump); 116 fPoints = getpts(fPath, &fPtCount); 154 canvas->drawPath(fPath, paint); 179 SkPath fPath;
|
SampleMovie.cpp | 51 SkPath fPath;
|
SampleTextOnPath.cpp | 206 SkPath fPath; 213 fPath.addOval(r); 214 fPath.offset(SkIntToScalar(200), 0); 239 canvas->drawTextOnPathHV(gText, sizeof(gText)-1, fPath, 243 canvas->drawTextOnPathHV(gText, sizeof(gText)-1, fPath, 247 canvas->drawTextOnPathHV(gText, sizeof(gText)-1, fPath, 253 // canvas->drawPath(fPath, paint);
|
SamplePathFill.cpp | 101 SkPath fPath[N]; 107 fDY[i] = gProcs[i](&fPath[i]); 127 canvas->drawPath(fPath[i], paint);
|
/external/skia/gm/ |
filltypes.cpp | 6 SkPath fPath; 10 fPath.addCircle(SkIntToScalar(50), SkIntToScalar(50), radius); 11 fPath.addCircle(SkIntToScalar(100), SkIntToScalar(100), radius); 32 fPath.setFillType(ft); 36 canvas->drawPath(fPath, paint);
|
pathfill.cpp | 103 SkPath fPath[N]; 108 fDY[i] = gProcs[i](&fPath[i]); 132 canvas->drawPath(fPath[i], paint);
|
/external/skia/gpu/include/ |
GrGlyph.h | 36 GrPath* fPath; 43 fPath = NULL; 50 if (fPath) { 51 delete fPath; 52 fPath = NULL;
|
GrClip.h | 55 return fList[i].fPath; 117 GrPath fPath; 129 return fPath == e.fPath;
|
/external/skia/include/core/ |
SkClipStack.h | 48 const SkPath* fPath; // if non-null, this is a path clip 55 * the pointers fRect and fPath: 57 * fRect==NULL fPath!=NULL path clip 58 * fRect!=NULL fPath==NULL rect clip 59 * fRect==NULL fPath==NULL empty clip
|
/external/skia/src/core/ |
SkClipStack.cpp | 12 SkPath fPath; 24 Rec(int saveCount, const SkPath& path, SkRegion::Op op) : fPath(path) { 40 return fPath == b.fPath; 145 if (!SkRect::Intersects(rec->fPath.getBounds(), rect)) { 169 if (!SkRect::Intersects(rec->fPath.getBounds(), pathBounds)) { 188 ((a.fPath == NULL && b.fPath == NULL) || *a.fPath == *b.fPath); [all...] |
SkPathMeasure.cpp | 360 fPath = NULL; 367 fPath = &path; 380 fPath = path; 392 if (fPath == NULL) { 439 SkASSERT(fPath); 440 if (fPath == NULL) { 462 compute_pos_tan(*fPath, fSegments[0].fPtIndex, seg->fPtIndex, seg->fType, 511 compute_pos_tan(*fPath, fSegments[0].fPtIndex, seg->fPtIndex, 517 seg_to(*fPath, fSegments[0].fPtIndex, seg->fPtIndex, seg->fType, 521 seg_to(*fPath, fSegments[0].fPtIndex, seg->fPtIndex, seg->fType [all...] |
/frameworks/base/core/jni/android/graphics/ |
PathMeasure.cpp | 44 : fPath(path), fMeasure(fPath, forceClosed) {} 46 SkPath fPath; // copy of the user's path 47 SkPathMeasure fMeasure; // this guy points to fPath 61 pair->fPath.reset(); 63 pair->fPath = *path; 65 pair->fMeasure.setPath(&pair->fPath, forceClosed);
|
/external/skia/src/effects/ |
Sk1DPathEffect.cpp | 41 SkScalar phase, Style style) : fPath(path) 159 fPath.unflatten(buffer); 174 fPath.flatten(buffer); 187 dst->addPath(fPath, pos.fX, pos.fY); 194 dst->addPath(fPath, matrix); 198 morphpath(dst, fPath, meas, distance);
|
/external/skia/src/utils/ |
SkCullPoints.cpp | 126 : fCP(), fPath(NULL) { 130 : fCP(r), fPath(dst) { 135 fPath = dst; 147 fPath->moveTo(SkIntToScalar(pts[0].fX), SkIntToScalar(pts[0].fY)); 150 fPath->lineTo(SkIntToScalar(pts[1].fX), SkIntToScalar(pts[1].fY));
|
SkParsePath.cpp | 149 if (fPath.isEmpty() && (f.fX != 0 || f.fY != 0)) { 151 fPath.moveTo(c); 152 fPath.lineTo(f); 153 fPath.close();
|
/external/skia/gpu/src/ |
GrClip.cpp | 135 e.fPath = *iter->getPath(); 137 e.fPath.offset(tx, ty);
|