/external/skia/tests/ |
D | ParsePathTest.cpp | 117 REPORTER_ASSERT(r, path.countPoints() == gTests[i].fPoints); in DEF_TEST() 128 REPORTER_ASSERT(r, path.countPoints() == 9); in DEF_TEST()
|
D | PathBuilderTest.cpp | 29 REPORTER_ASSERT(reporter, p.countPoints() == 0); in is_empty() 50 REPORTER_ASSERT(reporter, p0.countPoints() == 4); in DEF_TEST()
|
D | EmptyPathTest.cpp | 61 paint.isAntiAlias(), (int)path.getFillType(), path.countPoints()); in drawAndTest()
|
/external/skia/src/utils/ |
D | SkShadowTessellator.cpp | 947 fPositions.reserve(4 * path.countPoints()); in SkAmbientShadowTessellator() 948 fColors.reserve(4 * path.countPoints()); in SkAmbientShadowTessellator() 951 fIndices.reserve(12 * path.countPoints()); in SkAmbientShadowTessellator() 961 fPathPolygon.reserve(path.countPoints()); in computePathPolygon() 1050 fPositions.reserve(5 * path.countPoints()); in SkSpotShadowTessellator() 1051 fColors.reserve(5 * path.countPoints()); in SkSpotShadowTessellator() 1054 fIndices.reserve(15 * path.countPoints()); in SkSpotShadowTessellator() 1072 fPathPolygon.reserve(path.countPoints()); in computeClipAndPathPolygons() 1073 fClipPolygon.reserve(path.countPoints()); in computeClipAndPathPolygons()
|
/external/skia/include/private/ |
D | SkPathRef.h | 281 int countPoints() const { return fPoints.size(); } in countPoints() function 305 const SkPoint* pointsEnd() const { return this->points() + this->countPoints(); } in pointsEnd() 375 return bounds->setBoundsCheck(ref.points(), ref.countPoints()); in ComputePtBounds()
|
/external/skia/docs/examples/ |
D | Path_getPoint.cpp | 10 for (int i= 0; i < path.countPoints(); ++i) { in draw()
|
D | Path_countPoints.cpp | 8 SkDebugf("%s point count: %d\n", prefix, path.countPoints()); in draw()
|
D | Path_getPoints.cpp | 22 debugster("just right", path, points, path.countPoints()); in draw()
|
D | strokerect_gm.cpp | 58 int n = fillPath.countPoints(); in draw()
|
/external/skia/src/core/ |
D | SkPath.cpp | 251 int pointCount = fPathRef->countPoints(); in interpolate() 252 if (pointCount != ending.fPathRef->countPoints()) { in interpolate() 395 SkASSERT(2 == fPathRef->countPoints()); in isLine() 522 int SkPath::countPoints() const { in countPoints() function in SkPath 523 return fPathRef->countPoints(); in countPoints() 531 int count = std::min(max, fPathRef->countPoints()); in getPoints() 533 return fPathRef->countPoints(); in getPoints() 537 if ((unsigned)index < (unsigned)fPathRef->countPoints()) { in getPoint() 570 int count = fPathRef->countPoints(); in getLastPt() 586 int count = fPathRef->countPoints(); in setPt() [all …]
|
D | SkPathRef.cpp | 173 bool canXformBounds = !src.fBoundsIsDirty && matrix.rectStaysRect() && src.countPoints() > 1; in CreateTransformedCopy() 237 int oldPCnt = (*pathRef)->countPoints(); in Rewind() 295 int count = out->countPoints() * 2; in interpolate() 317 if (int numPts = path.countPoints()) { in growForVerbsInPath()
|
D | SkPath_serial.cpp | 104 int32_t pts = fPathRef->countPoints(); in writeToMemory()
|
D | SkPathPriv.h | 401 SkASSERT(index < path->countPoints()); in UpdatePathPoint()
|
D | SkStroke.cpp | 372 fFirstOuterPtIndexInContour = fOuter.countPoints(); in finishContour() 409 fOuter.incReserve(src.countPoints() * 3); in SkPathStroker() 411 fInner.incReserve(src.countPoints()); in SkPathStroker() 1527 if (2 == src.countPoints()) { in strokePath()
|
/external/skia/fuzz/ |
D | FuzzCommon.cpp | 33 if (maxOps <= 0 || fuzz->exhausted() || path->countPoints() > 100000) { in FuzzNicePath() 44 if (path->countPoints() > 100000) { in FuzzNicePath() 210 if (p.countPoints() <= 100000) { in FuzzNicePath()
|
/external/skia/modules/canvaskit/ |
D | font.js | 196 if (!path || !path.countPoints()) { 200 if (path.countPoints() === 1) {
|
/external/skia/tools/viewer/ |
D | PathTessellatorsSlide.cpp | 233 canvas->drawPoints(SkCanvas::kPoints_PointMode, devPath.countPoints(), in draw() 255 for (int i = 0; i < fPath.countPoints(); ++i) { in onFindClickHandler()
|
D | SimpleStrokerSlide.cpp | 59 int countPoints() const { return fPoints.size(); } in countPoints() function in __anonc7a6a1c40111::PathRecorder 307 const int numPoints = path.countPoints(); in appendPathReversed()
|
D | DegenerateQuadsSlide.cpp | 77 for (int i = 0; i < intersection.countPoints(); ++i) { in get_area_coverage() 79 SkPoint p1 = intersection.getPoint((i + 1) % intersection.countPoints()); in get_area_coverage()
|
/external/skia/gm/ |
D | pathcontourstart.cpp | 111 const int n = path.countPoints(); in drawOneColumn()
|
D | strokerect.cpp | 46 int n = path.countPoints(); in draw_path()
|
D | patheffects.cpp | 315 SkASSERT(src.countPoints() == 2); in onFilterPath()
|
/external/skia/bench/ |
D | TessellateBench.cpp | 276 : SkPathPriv::PointData(path)[path.countPoints() - 1]; in make_motionmark_paths() 287 ? 0 : SkPathPriv::PointData(path)[path.countPoints() - 1].fY; in make_motionmark_paths()
|
/external/skia/src/effects/ |
D | Sk1DPathEffect.cpp | 223 if (dst->countPoints() > 100000) { in next()
|
/external/skia/src/gpu/ganesh/geometry/ |
D | GrStyledShape.cpp | 97 const int pointCnt = path.countPoints(); in path_key_from_data_size() 112 const int pointCnt = path.countPoints(); in write_path_key_from_data()
|