/external/skia/samplecode/ |
SampleUnitMapper.cpp | 31 SkPoint fPts[4]; 36 set_scalar(fViews[0], fPts[1].fX); 37 set_scalar(fViews[1], fPts[1].fY); 38 set_scalar(fViews[2], fPts[2].fX); 39 set_scalar(fViews[3], fPts[2].fY); 44 fPts[0].set(0, 0); 45 fPts[1].set(SK_Scalar1 / 3, SK_Scalar1 / 3); 46 fPts[2].set(SK_Scalar1 * 2 / 3, SK_Scalar1 * 2 / 3); 47 fPts[3].set(SK_Scalar1, SK_Scalar1); 92 path.moveTo(fPts[0]) [all...] |
SamplePatch.cpp | 56 Patch() { sk_bzero(fPts, sizeof(fPts)); } 60 memcpy(fPts, pts, 12 * sizeof(SkPoint)); 61 fPts[12] = pts[0]; // the last shall be first 69 SkPoint fPts[13]; 145 eval_patch_edge(fPts + 0, edge0, nu); 146 eval_patch_edge(fPts + 3, edge1, nv); 147 eval_patch_edge(fPts + 6, edge2, nu); 148 eval_patch_edge(fPts + 9, edge3, nv); 229 SkPoint fPts[12] [all...] |
SampleWarp.cpp | 128 set_cubic(cubic.fPts + 0, 0, 0, 100, 0, scale); 129 set_cubic(cubic.fPts + 3, 100, 0, 100, 100, scale); 130 set_cubic(cubic.fPts + 6, 100, 100, 0, 100, -scale); 131 set_cubic(cubic.fPts + 9, 0, 100, 0, 0, 0); 156 set_cubic(cubic.fPts + 0, 0, 0, 100, 0, 0); 157 set_cubic(cubic.fPts + 3, 100, 0, 100, 100, 0); 158 set_cubic(cubic.fPts + 6, 100, 100, 0, 100, 0); 159 set_cubic(cubic.fPts + 9, 0, 100, 0, 0, 0); 162 cubic.fPts[1] += p1 - p0; 163 cubic.fPts[2] += p1 - p0 [all...] |
ClockFaceView.cpp | 64 : Sk2DPathEffect(matrix), fRadius(radius), fPts(pts) {} 76 if (fPts) { 77 fPts->reset(); 84 if (fPts) { 85 *fPts->append() = loc; 93 fPts = NULL; 97 SkTDArray<SkPoint>* fPts;
|
SampleLineClipper.cpp | 155 SkPoint fPts[4]; 158 for (size_t i = 0; i < SK_ARRAY_COUNT(fPts); i++) { 159 fPts[i].set(fRand.nextUScalar1() * 640, 210 // fProcIndex = test0(fPts, &fClip); 231 gProcs[fProcIndex](fPts, fClip, canvas, paint, paint1);
|
/external/skia/gpu/include/ |
GrMesh.h | 25 return fPts[row * (fRows + 1) + col]; 34 SkPoint* fPts; 35 SkPoint* fTex; // just points into fPts, not separately allocated
|
/external/skia/include/utils/ |
SkBoundaryPatch.h | 39 SkPoint fPts[4]; 48 SkPoint fPts[13];
|
/external/skia/gpu/src/ |
GrDrawMesh.cpp | 4 GrMesh::GrMesh() : fPts(NULL), fCount(0), fIndices(NULL), fIndexCount(0) {} 7 delete[] fPts; 12 delete[] fPts; 20 fPts = new SkPoint[fCount * 2]; 21 fTex = fPts + fCount; 22 memcpy(fPts, src.fPts, fCount * 2 * sizeof(SkPoint)); 40 delete[] fPts; 42 fPts = new SkPoint[fCount * 2]; 43 fTex = fPts + fCount [all...] |
/external/skia/src/utils/ |
SkBoundaryPatch.cpp | 60 return SkPointInterp(fPts[e], fPts[(e + 1) & 3], t); 67 fPts[12] = fPts[0]; 70 SkEvalCubicAt(&fPts[e * 3], t, &loc, NULL, NULL);
|
/external/skia/src/core/ |
SkPath.cpp | 124 fPts = src.fPts; 139 (a.fFillType == b.fFillType && a.fVerbs == b.fVerbs && a.fPts == b.fPts); 147 fPts.swap(other.fPts); 165 fPts.reset(); 175 fPts.rewind(); 200 int count = fPts.count(); 202 memcpy(copy, fPts.begin(), sizeof(SkPoint) * SkMin32(max, count)) [all...] |
SkPathMeasure.cpp | 244 return &path.fPts[index];
|
/external/skia/tests/ |
BlitRowTest.cpp | 161 SkPoint fPts[4]; 167 fPts[0].set(0, 0); 168 fPts[1].set(w, 0); 169 fPts[2].set(w, h); 170 fPts[3].set(0, h); 178 canvas->drawVertices(SkCanvas::kTriangleFan_VertexMode, 4, fPts, fPts,
|
/external/skia/include/core/ |
SkPath.h | 622 const SkPoint* fPts; 655 SkTDArray<SkPoint> fPts;
|