HomeSort by relevance Sort by last modified time
    Searched defs:fPts (Results 1 - 25 of 32) sorted by null

1 2

  /external/chromium_org/third_party/skia/src/pathops/
SkPathOpsTriangle.h 14 SkDPoint fPts[3];
SkPathOpsLine.h 13 SkDPoint fPts[2];
15 const SkDPoint& operator[](int n) const { SkASSERT(n >= 0 && n < 2); return fPts[n]; }
16 SkDPoint& operator[](int n) { SkASSERT(n >= 0 && n < 2); return fPts[n]; }
19 fPts[0] = pts[0];
20 fPts[1] = pts[1];
45 SkDVector tangent() const { return fPts[0] - fPts[1]; }
SkPathOpsCubic.h 22 SkDPoint fPts[4];
25 fPts[0] = pts[0];
26 fPts[1] = pts[1];
27 fPts[2] = pts[2];
28 fPts[3] = pts[3];
33 const SkDPoint& operator[](int n) const { SkASSERT(n >= 0 && n < 4); return fPts[n]; }
34 SkDPoint& operator[](int n) { SkASSERT(n >= 0 && n < 4); return fPts[n]; }
SkPathOpsQuad.h 20 SkDPoint fPts[3];
23 SkDQuad result = {{fPts[2], fPts[1], fPts[0]}};
28 fPts[0] = pts[0];
29 fPts[1] = pts[1];
30 fPts[2] = pts[2];
33 const SkDPoint& operator[](int n) const { SkASSERT(n >= 0 && n < 3); return fPts[n]; }
34 SkDPoint& operator[](int n) { SkASSERT(n >= 0 && n < 3); return fPts[n]; }
SkOpContour.h 21 SkPoint fPts[2];
SkOpSegment.h 64 return (*CurveDPointAtT[SkPathOpsVerbToPoints(fVerb)])(fPts, mid);
68 return (*CurveSlopeAtT[SkPathOpsVerbToPoints(fVerb)])(fPts, fTs[index].fT);
96 return (*CurveIsVertical[SkPathOpsVerbToPoints(fVerb)])(fPts, start, end);
140 return (*CurvePointAtT[SkPathOpsVerbToPoints(fVerb)])(fPts, mid);
144 return fPts;
199 fPts = pts;
434 const SkPoint* fPts;
  /external/skia/src/pathops/
SkPathOpsTriangle.h 14 SkDPoint fPts[3];
SkPathOpsLine.h 13 SkDPoint fPts[2];
15 const SkDPoint& operator[](int n) const { SkASSERT(n >= 0 && n < 2); return fPts[n]; }
16 SkDPoint& operator[](int n) { SkASSERT(n >= 0 && n < 2); return fPts[n]; }
19 fPts[0] = pts[0];
20 fPts[1] = pts[1];
45 SkDVector tangent() const { return fPts[0] - fPts[1]; }
SkPathOpsCubic.h 22 SkDPoint fPts[4];
25 fPts[0] = pts[0];
26 fPts[1] = pts[1];
27 fPts[2] = pts[2];
28 fPts[3] = pts[3];
33 const SkDPoint& operator[](int n) const { SkASSERT(n >= 0 && n < 4); return fPts[n]; }
34 SkDPoint& operator[](int n) { SkASSERT(n >= 0 && n < 4); return fPts[n]; }
SkPathOpsQuad.h 20 SkDPoint fPts[3];
23 SkDQuad result = {{fPts[2], fPts[1], fPts[0]}};
28 fPts[0] = pts[0];
29 fPts[1] = pts[1];
30 fPts[2] = pts[2];
33 const SkDPoint& operator[](int n) const { SkASSERT(n >= 0 && n < 3); return fPts[n]; }
34 SkDPoint& operator[](int n) { SkASSERT(n >= 0 && n < 3); return fPts[n]; }
SkOpContour.h 21 SkPoint fPts[2];
SkOpSegment.h 64 return (*CurveDPointAtT[SkPathOpsVerbToPoints(fVerb)])(fPts, mid);
68 return (*CurveSlopeAtT[SkPathOpsVerbToPoints(fVerb)])(fPts, fTs[index].fT);
96 return (*CurveIsVertical[SkPathOpsVerbToPoints(fVerb)])(fPts, start, end);
140 return (*CurvePointAtT[SkPathOpsVerbToPoints(fVerb)])(fPts, mid);
144 return fPts;
199 fPts = pts;
434 const SkPoint* fPts;
  /external/skia/bench/
LineBench.cpp 26 SkPoint fPts[PTS];
36 fPts[i].set(rand.nextUScalar1() * 640, rand.nextUScalar1() * 480);
54 canvas->drawPoints(SkCanvas::kLines_PointMode, PTS, fPts, paint);
ScalarBench.cpp 140 SkPoint fPts[PTS];
146 fPts[i].fX = rand.nextSScalar1();
147 fPts[i].fY = rand.nextSScalar1();
163 r.set(fPts, PTS);
VertBench.cpp 31 SkPoint fPts[PTS];
46 SkPoint* pts = fPts;
67 SkASSERT(PTS == pts - fPts);
86 fPts, NULL, fColors, NULL, fIdx, IDX, paint);
DashBench.cpp 37 SkPoint fPts[2];
51 fPts[0].set(SkIntToScalar(10), SkIntToScalar(10));
52 fPts[1].set(SkIntToScalar(600), SkIntToScalar(10));
91 // canvas->drawPoints(SkCanvas::kLines_PointMode, 2, fPts, paint);
302 SkPoint fPts[2];
352 matrix.mapPoints(fPts, pts, 2);
368 canvas->drawPoints(SkCanvas::kLines_PointMode, 2, fPts, p);
  /external/chromium_org/third_party/skia/include/utils/
SkBoundaryPatch.h 51 SkPoint fPts[4];
60 SkPoint fPts[13];
  /external/skia/include/utils/
SkBoundaryPatch.h 51 SkPoint fPts[4];
60 SkPoint fPts[13];
  /external/chromium_org/third_party/skia/include/core/
SkGeometry.h 217 SkPoint fPts[3];
221 memcpy(fPts, pts, 3 * sizeof(SkPoint));
SkPathMeasure.h 90 unsigned fPtIndex : 15; // index into the fPts array
97 SkTDArray<SkPoint> fPts; // Points used to define the segments
  /external/skia/include/core/
SkGeometry.h 217 SkPoint fPts[3];
221 memcpy(fPts, pts, 3 * sizeof(SkPoint));
SkPathMeasure.h 90 unsigned fPtIndex : 15; // index into the fPts array
97 SkTDArray<SkPoint> fPts; // Points used to define the segments
  /external/chromium_org/third_party/skia/src/effects/
SkDashPathEffect.cpp 167 if (rec->isHairlineStyle() || !src.isLine(fPts)) {
176 SkScalar pathLength = SkPoint::Distance(fPts[0], fPts[1]);
178 fTangent = fPts[1] - fPts[0];
210 SkScalar x0 = fPts[0].fX + SkScalarMul(fTangent.fX, d0);
211 SkScalar x1 = fPts[0].fX + SkScalarMul(fTangent.fX, d1);
212 SkScalar y0 = fPts[0].fY + SkScalarMul(fTangent.fY, d0);
213 SkScalar y1 = fPts[0].fY + SkScalarMul(fTangent.fY, d1);
225 SkPoint fPts[2]
    [all...]
  /external/skia/src/effects/
SkDashPathEffect.cpp 167 if (rec->isHairlineStyle() || !src.isLine(fPts)) {
176 SkScalar pathLength = SkPoint::Distance(fPts[0], fPts[1]);
178 fTangent = fPts[1] - fPts[0];
210 SkScalar x0 = fPts[0].fX + SkScalarMul(fTangent.fX, d0);
211 SkScalar x1 = fPts[0].fX + SkScalarMul(fTangent.fX, d1);
212 SkScalar y0 = fPts[0].fY + SkScalarMul(fTangent.fY, d0);
213 SkScalar y1 = fPts[0].fY + SkScalarMul(fTangent.fY, d1);
225 SkPoint fPts[2]
    [all...]
  /external/skia/tests/
BlitRowTest.cpp 165 SkPoint fPts[4];
170 fPts[0].set(0, 0);
171 fPts[1].set(w, 0);
172 fPts[2].set(w, h);
173 fPts[3].set(0, h);
181 canvas->drawVertices(SkCanvas::kTriangleFan_VertexMode, 4, fPts, fPts,

Completed in 367 milliseconds

1 2