Home
last modified time | relevance | path

Searched refs:countPoints (Results 1 – 25 of 45) sorted by relevance

12

/external/skia/tests/
DParsePathTest.cpp117 REPORTER_ASSERT(r, path.countPoints() == gTests[i].fPoints); in DEF_TEST()
128 REPORTER_ASSERT(r, path.countPoints() == 9); in DEF_TEST()
DPathBuilderTest.cpp29 REPORTER_ASSERT(reporter, p.countPoints() == 0); in is_empty()
50 REPORTER_ASSERT(reporter, p0.countPoints() == 4); in DEF_TEST()
DEmptyPathTest.cpp61 paint.isAntiAlias(), (int)path.getFillType(), path.countPoints()); in drawAndTest()
/external/skia/src/utils/
DSkShadowTessellator.cpp947 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/
DSkPathRef.h281 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/
DPath_getPoint.cpp10 for (int i= 0; i < path.countPoints(); ++i) { in draw()
DPath_countPoints.cpp8 SkDebugf("%s point count: %d\n", prefix, path.countPoints()); in draw()
DPath_getPoints.cpp22 debugster("just right", path, points, path.countPoints()); in draw()
Dstrokerect_gm.cpp58 int n = fillPath.countPoints(); in draw()
/external/skia/src/core/
DSkPath.cpp251 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 …]
DSkPathRef.cpp173 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()
DSkPath_serial.cpp104 int32_t pts = fPathRef->countPoints(); in writeToMemory()
DSkPathPriv.h401 SkASSERT(index < path->countPoints()); in UpdatePathPoint()
DSkStroke.cpp372 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/
DFuzzCommon.cpp33 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/
Dfont.js196 if (!path || !path.countPoints()) {
200 if (path.countPoints() === 1) {
/external/skia/tools/viewer/
DPathTessellatorsSlide.cpp233 canvas->drawPoints(SkCanvas::kPoints_PointMode, devPath.countPoints(), in draw()
255 for (int i = 0; i < fPath.countPoints(); ++i) { in onFindClickHandler()
DSimpleStrokerSlide.cpp59 int countPoints() const { return fPoints.size(); } in countPoints() function in __anonc7a6a1c40111::PathRecorder
307 const int numPoints = path.countPoints(); in appendPathReversed()
DDegenerateQuadsSlide.cpp77 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/
Dpathcontourstart.cpp111 const int n = path.countPoints(); in drawOneColumn()
Dstrokerect.cpp46 int n = path.countPoints(); in draw_path()
Dpatheffects.cpp315 SkASSERT(src.countPoints() == 2); in onFilterPath()
/external/skia/bench/
DTessellateBench.cpp276 : 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/
DSk1DPathEffect.cpp223 if (dst->countPoints() > 100000) { in next()
/external/skia/src/gpu/ganesh/geometry/
DGrStyledShape.cpp97 const int pointCnt = path.countPoints(); in path_key_from_data_size()
112 const int pointCnt = path.countPoints(); in write_path_key_from_data()

12