HomeSort by relevance Sort by last modified time
    Searched full:fpts (Results 1 - 15 of 15) sorted by null

  /external/skia/samplecode/
SampleUnitMapper.cpp 38 SkPoint fPts[4];
43 set_scalar(fViews[0], fPts[1].fX);
44 set_scalar(fViews[1], fPts[1].fY);
45 set_scalar(fViews[2], fPts[2].fX);
46 set_scalar(fViews[3], fPts[2].fY);
51 fPts[0].set(0, 0);
52 fPts[1].set(SK_Scalar1 / 3, SK_Scalar1 / 3);
53 fPts[2].set(SK_Scalar1 * 2 / 3, SK_Scalar1 * 2 / 3);
54 fPts[3].set(SK_Scalar1, SK_Scalar1);
99 path.moveTo(fPts[0])
    [all...]
SamplePatch.cpp 63 Patch() { sk_bzero(fPts, sizeof(fPts)); }
67 memcpy(fPts, pts, 12 * sizeof(SkPoint));
68 fPts[12] = pts[0]; // the last shall be first
76 SkPoint fPts[13];
152 eval_patch_edge(fPts + 0, edge0, nu);
153 eval_patch_edge(fPts + 3, edge1, nv);
154 eval_patch_edge(fPts + 6, edge2, nu);
155 eval_patch_edge(fPts + 9, edge3, nv);
236 SkPoint fPts[12]
    [all...]
SampleWarp.cpp 135 set_cubic(cubic.fPts + 0, 0, 0, 100, 0, scale);
136 set_cubic(cubic.fPts + 3, 100, 0, 100, 100, scale);
137 set_cubic(cubic.fPts + 6, 100, 100, 0, 100, -scale);
138 set_cubic(cubic.fPts + 9, 0, 100, 0, 0, 0);
163 set_cubic(cubic.fPts + 0, 0, 0, 100, 0, 0);
164 set_cubic(cubic.fPts + 3, 100, 0, 100, 100, 0);
165 set_cubic(cubic.fPts + 6, 100, 100, 0, 100, 0);
166 set_cubic(cubic.fPts + 9, 0, 100, 0, 0, 0);
169 cubic.fPts[1] += p1 - p0;
170 cubic.fPts[2] += p1 - p0
    [all...]
ClockFaceView.cpp 71 : Sk2DPathEffect(matrix), fRadius(radius), fPts(pts) {}
83 if (fPts) {
84 fPts->reset();
91 if (fPts) {
92 *fPts->append() = loc;
100 fPts = NULL;
104 SkTDArray<SkPoint>* fPts;
SampleLineClipper.cpp 162 SkPoint fPts[4];
165 for (size_t i = 0; i < SK_ARRAY_COUNT(fPts); i++) {
166 fPts[i].set(fRand.nextUScalar1() * 640,
211 // fProcIndex = test0(fPts, &fClip);
232 gProcs[fProcIndex](fPts, fClip, canvas, paint, paint1);
  /external/skia/src/utils/
SkBoundaryPatch.cpp 67 return SkPointInterp(fPts[e], fPts[(e + 1) & 3], t);
74 fPts[12] = fPts[0];
77 SkEvalCubicAt(&fPts[e * 3], t, &loc, NULL, NULL);
  /external/skia/bench/
VertBench.cpp 32 SkPoint fPts[PTS];
48 SkPoint* pts = fPts;
69 SkASSERT(PTS == pts - fPts);
88 fPts, NULL, fColors, NULL, fIdx, IDX, paint);
  /external/skia/include/utils/
SkBoundaryPatch.h 46 SkPoint fPts[4];
55 SkPoint fPts[13];
  /external/skia/src/core/
SkPath.cpp 147 fPts = src.fPts;
170 a.fVerbs == b.fVerbs && a.fPts == b.fPts);
178 fPts.swap(other.fPts);
206 fPts.reset();
218 fPts.rewind();
281 const SkPoint* pts = fPts.begin();
285 pts = fPts.begin()
    [all...]
SkPathMeasure.cpp 161 fPts.append(1, pts);
178 fPts.append(1, pts + 1);
185 fPts.append(2, pts + 1);
192 fPts.append(3, pts + 1);
368 fPts.reset();
441 compute_pos_tan(fPts, seg->fPtIndex, seg->fType, t, pos, tangent);
489 compute_pos_tan(fPts, seg->fPtIndex, seg->fType, startT, &p, NULL);
494 seg_to(fPts, seg->fPtIndex, seg->fType, startT, stopT, dst);
497 seg_to(fPts, seg->fPtIndex, seg->fType, startT, SK_Scalar1, dst);
501 seg_to(fPts, seg->fPtIndex, seg->fType, 0, stopT, dst)
    [all...]
  /external/skia/tests/
BlitRowTest.cpp 168 SkPoint fPts[4];
174 fPts[0].set(0, 0);
175 fPts[1].set(w, 0);
176 fPts[2].set(w, h);
177 fPts[3].set(0, h);
185 canvas->drawVertices(SkCanvas::kTriangleFan_VertexMode, 4, fPts, fPts,
  /external/skia/src/gpu/
GrAAConvexPathRenderer.cpp 29 GrPoint fPts[2];
40 return (kLine == fType) ? fPts[0] : fPts[1];
128 segb.fNorms[p] = segb.fPts[p] - *prevPt;
131 prevPt = &segb.fPts[p];
225 segments->back().fPts[0] = pts[1];
233 segments->back().fPts[0] = pts[1];
234 segments->back().fPts[1] = pts[2];
246 segments->back().fPts[0] = quads[q + 1];
247 segments->back().fPts[1] = quads[q + 2]
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/android/
PathAndroid.cpp 249 FloatPoint fpts[3]; local
256 elem.points = setfpts(fpts, &pts[0], 1);
260 elem.points = setfpts(fpts, &pts[1], 1);
264 elem.points = setfpts(fpts, &pts[1], 2);
268 elem.points = setfpts(fpts, &pts[1], 3);
272 elem.points = setfpts(fpts, 0, 0);
  /external/skia/include/core/
SkPathMeasure.h 88 unsigned fPtIndex : 15; // index into the fPts array
95 SkTDArray<SkPoint> fPts; // Points used to define the segments
SkPath.h 687 const SkPoint* fPts;
720 const SkPoint* fPts;
742 SkTDArray<SkPoint> fPts;

Completed in 3967 milliseconds