/third_party/skia/tests/ |
H A D | ParsePathTest.cpp | 128 REPORTER_ASSERT(r, path.countPoints() == gTests[i].fPoints); in DEF_TEST() 139 REPORTER_ASSERT(r, path.countPoints() == 9); in DEF_TEST()
|
H A D | PathBuilderTest.cpp | 15 REPORTER_ASSERT(reporter, p.countPoints() == 0); in is_empty() 36 REPORTER_ASSERT(reporter, p0.countPoints() == 4); in DEF_TEST()
|
H A D | EmptyPathTest.cpp | 52 paint.isAntiAlias(), path.getFillType(), path.countPoints()); in drawAndTest()
|
/third_party/skia/include/private/ |
H A D | SkPathRef.h | 300 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 D | SkShadowTessellator.cpp | 927 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 D | SkPath.cpp | 244 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 D | SkPathRef.cpp | 175 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 D | SkScan_AntiPath.cpp | 614 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 D | SkPathPriv.h | 390 SkASSERT(index < path->countPoints());
|
H A D | SkPath_serial.cpp | 103 int32_t pts = fPathRef->countPoints(); in writeToMemory()
|
H A D | SkStroke.cpp | 372 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 D | Path_getPoint.cpp | 10 for (int i= 0; i < path.countPoints(); ++i) { in REG_FIDDLE()
|
H A D | Path_countPoints.cpp | 8 SkDebugf("%s point count: %d\n", prefix, path.countPoints()); in REG_FIDDLE()
|
H A D | Path_getPoints.cpp | 22 debugster("just right", path, points, path.countPoints()); in REG_FIDDLE()
|
H A D | strokerect_gm.cpp | 57 int n = fillPath.countPoints(); in REG_FIDDLE()
|
/third_party/skia/gm/ |
H A D | strokerect.cpp | 43 int n = path.countPoints(); in draw_path()
|
H A D | pathcontourstart.cpp | 109 const int n = path.countPoints(); in drawOneColumn()
|
/third_party/skia/samplecode/ |
H A D | SampleSimpleStroker.cpp | 58 int countPoints() const { return fPoints.size(); } in countPoints() function in __anon18654::PathRecorder 306 const int numPoints = path.countPoints(); in appendPathReversed()
|
H A D | SamplePathTessellators.cpp | 263 canvas->drawPoints(SkCanvas::kPoints_PointMode, devPath.countPoints(), in onDrawContent() 285 for (int i = 0; i < fPath.countPoints(); ++i) { in onFindClickHandler()
|
H A D | SampleDegenerateQuads.cpp | 78 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 D | FuzzCommon.cpp | 32 if (maxOps <= 0 || fuzz->exhausted() || path->countPoints() > 100000) { in FuzzNicePath() 43 if (path->countPoints() > 100000) { in FuzzNicePath()
|
/third_party/skia/bench/ |
H A D | TessellateBench.cpp | 291 : 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 D | Sk1DPathEffect.cpp | 212 if (dst->countPoints() > 100000) { in next()
|
/third_party/skia/src/gpu/geometry/ |
H A 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()
|
/third_party/skia/src/gpu/ops/ |
H A D | AAConvexPathRenderer.cpp | 53 int countPoints() { in countPoints() function 146 int n = segb.countPoints(); in compute_vectors()
|