/external/chromium_org/third_party/skia/src/core/ |
SkGeometry.cpp | [all...] |
SkPathMeasure.cpp | 160 fPts.append(1, pts); 179 fPts.append(1, pts + 1); 189 fPts.append(2, pts + 1); 199 fPts.append(3, pts + 1); 373 fPts.reset(); 444 compute_pos_tan(&fPts[seg->fPtIndex], seg->fType, t, pos, tangent); 496 compute_pos_tan(&fPts[seg->fPtIndex], seg->fType, startT, &p, NULL); 501 seg_to(&fPts[seg->fPtIndex], seg->fType, startT, stopT, dst); 504 seg_to(&fPts[seg->fPtIndex], seg->fType, startT, SK_Scalar1, dst); 508 seg_to(&fPts[seg->fPtIndex], seg->fType, 0, stopT, dst) [all...] |
SkPath.cpp | [all...] |
/external/skia/src/core/ |
SkGeometry.cpp | [all...] |
SkPathMeasure.cpp | 160 fPts.append(1, pts); 179 fPts.append(1, pts + 1); 189 fPts.append(2, pts + 1); 199 fPts.append(3, pts + 1); 373 fPts.reset(); 444 compute_pos_tan(&fPts[seg->fPtIndex], seg->fType, t, pos, tangent); 496 compute_pos_tan(&fPts[seg->fPtIndex], seg->fType, startT, &p, NULL); 501 seg_to(&fPts[seg->fPtIndex], seg->fType, startT, stopT, dst); 504 seg_to(&fPts[seg->fPtIndex], seg->fType, startT, SK_Scalar1, dst); 508 seg_to(&fPts[seg->fPtIndex], seg->fType, 0, stopT, dst) [all...] |
SkPath.cpp | [all...] |
/external/chromium_org/third_party/skia/src/pathops/ |
SkOpContour.cpp | 31 coincidence.fPts[0] = pt0; 32 coincidence.fPts[1] = pt1; 98 const SkPoint& startPt = coincidence.fPts[startSwapped]; 103 const SkPoint& oStartPt = coincidence.fPts[oStartSwapped]; 109 const SkPoint& startPt = coincidence.fPts[startSwapped]; 114 const SkPoint& oEndPt = coincidence.fPts[!oStartSwapped]; 146 coincidence.fPts[0] = pt0; 147 coincidence.fPts[1] = pt1; 245 const SkPoint* startPt = &coincidence.fPts[0]; 246 const SkPoint* endPt = &coincidence.fPts[1] [all...] |
SkOpSegment.cpp | 138 SkPoint curveTop = (*CurveTop[SkPathOpsVerbToPoints(fVerb)])(fPts, lastT, span.fT); 337 ePtr = fPts; 344 bool reverse = ePtr == fPts && start != 0; 420 const SkPoint& firstPt = fPts[0]; 421 const SkPoint& lastPt = fPts[SkPathOpsVerbToPoints(fVerb)]; 483 SkDPoint midPt = dcubic_xy_at_t(fPts, tMid); 525 SkDPoint midEndPt = dcubic_xy_at_t(fPts, tMid); [all...] |
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/ |
SkOpContour.cpp | 31 coincidence.fPts[0] = pt0; 32 coincidence.fPts[1] = pt1; 98 const SkPoint& startPt = coincidence.fPts[startSwapped]; 103 const SkPoint& oStartPt = coincidence.fPts[oStartSwapped]; 109 const SkPoint& startPt = coincidence.fPts[startSwapped]; 114 const SkPoint& oEndPt = coincidence.fPts[!oStartSwapped]; 146 coincidence.fPts[0] = pt0; 147 coincidence.fPts[1] = pt1; 245 const SkPoint* startPt = &coincidence.fPts[0]; 246 const SkPoint* endPt = &coincidence.fPts[1] [all...] |
SkOpSegment.cpp | 138 SkPoint curveTop = (*CurveTop[SkPathOpsVerbToPoints(fVerb)])(fPts, lastT, span.fT); 337 ePtr = fPts; 344 bool reverse = ePtr == fPts && start != 0; 420 const SkPoint& firstPt = fPts[0]; 421 const SkPoint& lastPt = fPts[SkPathOpsVerbToPoints(fVerb)]; 483 SkDPoint midPt = dcubic_xy_at_t(fPts, tMid); 525 SkDPoint midEndPt = dcubic_xy_at_t(fPts, tMid); [all...] |
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/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,
|
ScalarTest.cpp | 17 const SkPoint* fPts; 45 const SkPoint* fPts; 60 r.set(gSets[i].fPts, gSets[i].fCount);
|
PathOpsDTriangleTest.cpp | 63 bool result = triangle.contains(triangle.fPts[inner]);
|
PathOpsTestCommon.cpp | 97 if (!ValidPoint(triangle.fPts[index])) {
|
/external/chromium_org/third_party/skia/include/core/ |
SkPathMeasure.h | 90 unsigned fPtIndex : 15; // index into the fPts array 97 SkTDArray<SkPoint> fPts; // Points used to define the segments
|
SkGeometry.h | 217 SkPoint fPts[3]; 221 memcpy(fPts, pts, 3 * sizeof(SkPoint));
|
/external/skia/include/core/ |
SkPathMeasure.h | 90 unsigned fPtIndex : 15; // index into the fPts array 97 SkTDArray<SkPoint> fPts; // Points used to define the segments
|
SkGeometry.h | 217 SkPoint fPts[3]; 221 memcpy(fPts, pts, 3 * sizeof(SkPoint));
|
/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/bench/ |
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/src/gpu/ |
GrAAConvexPathRenderer.cpp | 38 GrPoint fPts[2]; 51 return fPts[fType]; 139 segb.fNorms[p] = segb.fPts[p] - *prevPt; 142 prevPt = &segb.fPts[p]; 229 segments->back().fPts[0] = pt; 249 segments->back().fPts[0] = pts[1]; 250 segments->back().fPts[1] = pts[2]; 406 verts[*v + 2].fPos = segb.fPts[0]; 442 GrPoint qpts[] = {sega.endPt(), segb.fPts[0], segb.fPts[1]} [all...] |
/external/skia/src/gpu/ |
GrAAConvexPathRenderer.cpp | 38 GrPoint fPts[2]; 51 return fPts[fType]; 139 segb.fNorms[p] = segb.fPts[p] - *prevPt; 142 prevPt = &segb.fPts[p]; 229 segments->back().fPts[0] = pt; 249 segments->back().fPts[0] = pts[1]; 250 segments->back().fPts[1] = pts[2]; 406 verts[*v + 2].fPos = segb.fPts[0]; 442 GrPoint qpts[] = {sega.endPt(), segb.fPts[0], segb.fPts[1]} [all...] |