Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkPathRef.cpp81 SkASSERT((*dst)->countPoints() == src.countPoints()); in CreateTransformedCopy()
86 bool canXformBounds = !src.fBoundsIsDirty && matrix.rectStaysRect() && src.countPoints() > 1; in CreateTransformedCopy()
158 SkASSERT(pointCount == ref->countPoints()); in CreateFromBuffer()
193 int oldPCnt = (*pathRef)->countPoints(); in Rewind()
306 int count = out->countPoints() * 2; in interpolate()
DSkPath.cpp366 SkASSERT(2 == fPathRef->countPoints()); in isLine()
587 pts = fPathRef->points() + fPathRef->countPoints(); in isNestedFillRects()
616 int SkPath::countPoints() const { in countPoints() function in SkPath
617 return fPathRef->countPoints(); in countPoints()
625 int count = SkMin32(max, fPathRef->countPoints()); in getPoints()
627 return fPathRef->countPoints(); in getPoints()
631 if ((unsigned)index < (unsigned)fPathRef->countPoints()) { in getPoint()
662 int count = fPathRef->countPoints(); in getLastPt()
678 int count = fPathRef->countPoints(); in setPt()
690 int count = fPathRef->countPoints(); in setLastPt()
[all …]
DSkEdgeBuilder.cpp149 int maxEdgeCount = path.countPoints(); in buildPoly()
DSkStroke.cpp351 fOuter.incReserve(src.countPoints() * 3); in SkPathStroker()
353 fInner.incReserve(src.countPoints()); in SkPathStroker()
1449 if (2 == src.countPoints()) { in strokePath()
DSkGlyphCache.cpp227 fMemoryUsed += sizeof(SkPath) + path->countPoints() * sizeof(SkPoint); in findPath()
/external/skia/include/core/
DSkPathRef.h223 int countPoints() const { SkDEBUGCODE(this->validate();) return fPointCnt; } in countPoints() function
245 const SkPoint* pointsEnd() const { return this->points() + this->countPoints(); } in pointsEnd()
319 return bounds->setBoundsCheck(ref.points(), ref.countPoints()); in ComputePtBounds()
DSkPath.h279 int countPoints() const;
/external/skia/tools/lua/
Dcount_reduced_clipstacks.lua27 info = info .. ", convex_poly " .. element["path"]:countPoints() .. " points"
/external/skia/src/gpu/gl/
DGrGLPath.cpp95 int pointCnt = skPath.countPoints(); in init_path_object_for_general_path()
215 int pointCnt = skPath.countPoints(); in InitPathObjectPathData()
/external/skia/gm/
Dstrokerect.cpp32 int n = path.countPoints(); in draw_path()
Dpathcontourstart.cpp118 const int n = path.countPoints(); in drawOneColumn()
/external/skia/tests/
DEmptyPathTest.cpp51 paint.isAntiAlias(), path.getFillType(), path.countPoints()); in drawAndTest()
DPathTest.cpp2444 REPORTER_ASSERT(reporter, gZeroLengthTests[i].numResultPts == (size_t)p.countPoints()); in test_zero_length_paths()
3162 REPORTER_ASSERT(reporter, 0 == p.countPoints()); in test_empty()
3696 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countPoints()); in TestPathRef()
3707 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countPoints()); in TestPathRef()
3718 REPORTER_ASSERT(reporter, 2*kRepeatCnt == pathRef->countPoints()); in TestPathRef()
3730 REPORTER_ASSERT(reporter, 2*kRepeatCnt == pathRef->countPoints()); in TestPathRef()
3743 REPORTER_ASSERT(reporter, 3*kRepeatCnt == pathRef->countPoints()); in TestPathRef()
DPathOpsOpTest.cpp24 for (int index = 0; index < path->countPoints(); ++index) { in path_edit()
/external/skia/src/gpu/
DGrPath.cpp76 const int pointCnt = path.countPoints(); in compute_key_for_simple_path()
/external/skia/src/gpu/batches/
DGrAAConvexTessellator.cpp290 this->reservePts(5*path.countPoints()); in extractFromPath()
294 fIndices.setReserve(18*path.countPoints() + 6); in extractFromPath()
296 fNorms.setReserve(path.countPoints()); in extractFromPath()
DGrAAConvexPathRenderer.cpp53 int countPoints() { in countPoints() function
144 int n = segb.countPoints(); in compute_vectors()
/external/skia/src/gpu/effects/
DGrConvexPolyEffect.cpp249 if (path.countPoints() > kMaxEdges) { in Create()
/external/skia/tools/debugger/
DSkObjectParser.cpp178 mPath->appendS32(path.countPoints()); in PathToString()
/external/skia/experimental/SimpleCocoaApp/
DSimpleApp.mm163 int points = path.countPoints();
/external/skia/samplecode/
DSampleQuadStroker.cpp282 int n = path.countPoints(); in draw_points()
/external/skia/src/utils/
DSkLua.cpp1580 lua_pushinteger(L, get_obj<SkPath>(L, 1)->countPoints()); in lpath_countPoints()