Home
last modified time | relevance | path

Searched refs:countPoints (Results 1 - 25 of 41) sorted by relevance

12

/third_party/skia/tests/
H A DParsePathTest.cpp128 REPORTER_ASSERT(r, path.countPoints() == gTests[i].fPoints); in DEF_TEST()
139 REPORTER_ASSERT(r, path.countPoints() == 9); in DEF_TEST()
H A DPathBuilderTest.cpp15 REPORTER_ASSERT(reporter, p.countPoints() == 0); in is_empty()
36 REPORTER_ASSERT(reporter, p0.countPoints() == 4); in DEF_TEST()
H A DEmptyPathTest.cpp52 paint.isAntiAlias(), path.getFillType(), path.countPoints()); in drawAndTest()
/third_party/skia/include/private/
H A DSkPathRef.h300 int countPoints() const { return fPoints.count(); } in countPoints() function in final
322 * Shortcut for this->points() + this->countPoints()
324 const SkPoint* pointsEnd() const { return this->points() + this->countPoints(); } in pointsEnd()
390 return bounds->setBoundsCheck(ref.points(), ref.countPoints()); in ComputePtBounds()
/third_party/skia/src/utils/
H A DSkShadowTessellator.cpp927 fPositions.setReserve(4 * path.countPoints()); in SkAmbientShadowTessellator()
928 fColors.setReserve(4 * path.countPoints()); in SkAmbientShadowTessellator()
931 fIndices.setReserve(12 * path.countPoints()); in SkAmbientShadowTessellator()
941 fPathPolygon.setReserve(path.countPoints()); in computePathPolygon()
1030 fPositions.setReserve(5 * path.countPoints()); in SkSpotShadowTessellator()
1031 fColors.setReserve(5 * path.countPoints()); in SkSpotShadowTessellator()
1034 fIndices.setReserve(15 * path.countPoints()); in SkSpotShadowTessellator()
1052 fPathPolygon.setReserve(path.countPoints()); in computeClipAndPathPolygons()
1053 fClipPolygon.setReserve(path.countPoints()); in computeClipAndPathPolygons()
/third_party/skia/src/core/
H A DSkPath.cpp244 int pointCount = fPathRef->countPoints(); in interpolate()
245 if (pointCount != ending.fPathRef->countPoints()) { in interpolate()
389 SkASSERT(2 == fPathRef->countPoints()); in isLine()
466 int SkPath::countPoints() const { in countPoints() function in SkPath
467 return fPathRef->countPoints(); in countPoints()
475 int count = std::min(max, fPathRef->countPoints()); in getPoints()
477 return fPathRef->countPoints(); in getPoints()
481 if ((unsigned)index < (unsigned)fPathRef->countPoints()) { in getPoint()
514 int count = fPathRef->countPoints(); in getLastPt()
530 int count = fPathRef->countPoints(); in setPt()
[all...]
H A DSkPathRef.cpp175 bool canXformBounds = !src.fBoundsIsDirty && matrix.rectStaysRect() && src.countPoints() > 1;
239 int oldPCnt = (*pathRef)->countPoints();
331 int count = out->countPoints() * 2;
353 if (int numPts = path.countPoints()) {
H A DSkScan_AntiPath.cpp614 int n = path.countPoints();
668 return path.countPoints() < std::max(bounds.width(), bounds.height()) / 2 - 10;
671 if (path.countPoints() >= path.getBounds().height()) {
H A DSkPathPriv.h390 SkASSERT(index < path->countPoints());
H A DSkPath_serial.cpp103 int32_t pts = fPathRef->countPoints(); in writeToMemory()
H A DSkStroke.cpp372 fFirstOuterPtIndexInContour = fOuter.countPoints(); in finishContour()
409 fOuter.incReserve(src.countPoints() * 3); in SkPathStroker()
411 fInner.incReserve(src.countPoints()); in SkPathStroker()
1528 if (2 == src.countPoints()) {
/third_party/skia/docs/examples/
H A DPath_getPoint.cpp10 for (int i= 0; i < path.countPoints(); ++i) { in REG_FIDDLE()
H A DPath_countPoints.cpp8 SkDebugf("%s point count: %d\n", prefix, path.countPoints()); in REG_FIDDLE()
H A DPath_getPoints.cpp22 debugster("just right", path, points, path.countPoints()); in REG_FIDDLE()
H A Dstrokerect_gm.cpp57 int n = fillPath.countPoints(); in REG_FIDDLE()
/third_party/skia/gm/
H A Dstrokerect.cpp43 int n = path.countPoints(); in draw_path()
H A Dpathcontourstart.cpp109 const int n = path.countPoints(); in drawOneColumn()
/third_party/skia/samplecode/
H A DSampleSimpleStroker.cpp58 int countPoints() const { return fPoints.size(); } in countPoints() function in __anon18654::PathRecorder
306 const int numPoints = path.countPoints(); in appendPathReversed()
H A DSamplePathTessellators.cpp263 canvas->drawPoints(SkCanvas::kPoints_PointMode, devPath.countPoints(), in onDrawContent()
285 for (int i = 0; i < fPath.countPoints(); ++i) { in onFindClickHandler()
H A DSampleDegenerateQuads.cpp78 for (int i = 0; i < intersection.countPoints(); ++i) { in get_area_coverage()
80 SkPoint p1 = intersection.getPoint((i + 1) % intersection.countPoints()); in get_area_coverage()
/third_party/skia/fuzz/
H A DFuzzCommon.cpp32 if (maxOps <= 0 || fuzz->exhausted() || path->countPoints() > 100000) { in FuzzNicePath()
43 if (path->countPoints() > 100000) { in FuzzNicePath()
/third_party/skia/bench/
H A DTessellateBench.cpp291 : SkPathPriv::PointData(path)[path.countPoints() - 1]; in make_motionmark_paths()
302 ? 0 : SkPathPriv::PointData(path)[path.countPoints() - 1].fY; in make_motionmark_paths()
/third_party/skia/src/effects/
H A DSk1DPathEffect.cpp212 if (dst->countPoints() > 100000) { in next()
/third_party/skia/src/gpu/geometry/
H A 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()
/third_party/skia/src/gpu/ops/
H A DAAConvexPathRenderer.cpp53 int countPoints() { in countPoints() function
146 int n = segb.countPoints(); in compute_vectors()

Completed in 22 milliseconds

12