Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkPathRef.cpp68 SkASSERT((*dst)->countPoints() == src.countPoints()); in CreateTransformedCopy()
73 bool canXformBounds = !src.fBoundsIsDirty && matrix.rectStaysRect() && src.countPoints() > 1; in CreateTransformedCopy()
136 SkASSERT(pointCount == ref->countPoints()); in CreateFromBuffer()
168 int oldPCnt = (*pathRef)->countPoints(); in Rewind()
DSkPath.cpp323 SkASSERT(2 == fPathRef->countPoints()); in isLine()
544 pts = fPathRef->points() + fPathRef->countPoints(); in isNestedFillRects()
573 int SkPath::countPoints() const { in countPoints() function in SkPath
574 return fPathRef->countPoints(); in countPoints()
582 int count = SkMin32(max, fPathRef->countPoints()); in getPoints()
584 return fPathRef->countPoints(); in getPoints()
588 if ((unsigned)index < (unsigned)fPathRef->countPoints()) { in getPoint()
619 int count = fPathRef->countPoints(); in getLastPt()
635 int count = fPathRef->countPoints(); in setPt()
647 int count = fPathRef->countPoints(); in setLastPt()
[all …]
DSkEdgeBuilder.cpp88 int maxEdgeCount = path.countPoints(); in buildPoly()
DSkStroke.cpp391 fOuter.incReserve(src.countPoints() * 3); in SkPathStroker()
393 fInner.incReserve(src.countPoints()); in SkPathStroker()
1655 if (2 == src.countPoints()) { in strokePath()
DSkGlyphCache.cpp341 glyph.fPath->countPoints() * sizeof(SkPoint); in findPath()
/external/skia/include/core/
DSkPathRef.h198 int countPoints() const { SkDEBUGCODE(this->validate();) return fPointCnt; } in countPoints() function
220 const SkPoint* pointsEnd() const { return this->points() + this->countPoints(); } in pointsEnd()
283 int count = ref.countPoints(); in ComputePtBounds()
DSkPath.h247 int countPoints() const;
/external/skia/tools/lua/
Dcount_reduced_clipstacks.lua27 info = info .. ", convex_poly " .. element["path"]:countPoints() .. " points"
/external/skia/experimental/StrokePathRenderer/
DGrStrokePathRenderer.cpp70 const int maxNbVerts = (path.countPoints() + 1) * 5;
109 const int nbQuads = origPath.countPoints() + 1; // Could be "-1" if path is not closed
/external/skia/gm/
Dstrokerect.cpp32 int n = path.countPoints(); in draw_path()
/external/skia/tests/
DEmptyPathTest.cpp51 paint.isAntiAlias(), path.getFillType(), path.countPoints()); in drawAndTest()
DPathTest.cpp2324 REPORTER_ASSERT(reporter, gZeroLengthTests[i].numResultPts == (size_t)p.countPoints()); in test_zero_length_paths()
3046 REPORTER_ASSERT(reporter, 0 == p.countPoints()); in test_empty()
3490 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countPoints()); in TestPathRef()
3501 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countPoints()); in TestPathRef()
3512 REPORTER_ASSERT(reporter, 2*kRepeatCnt == pathRef->countPoints()); in TestPathRef()
3524 REPORTER_ASSERT(reporter, 2*kRepeatCnt == pathRef->countPoints()); in TestPathRef()
3537 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/
DGrAAConvexTessellator.cpp237 this->reservePts(5*path.countPoints()); in extractFromPath()
241 fIndices.setReserve(18*path.countPoints() + 6); in extractFromPath()
243 fNorms.setReserve(path.countPoints()); in extractFromPath()
DGrAAConvexPathRenderer.cpp50 int countPoints() { in countPoints() function
142 int n = segb.countPoints(); in compute_vectors()
/external/skia/src/gpu/gl/
DGrGLPath.cpp97 int pointCnt = skPath.countPoints(); in InitPathObject()
/external/skia/src/utils/debugger/
DSkObjectParser.cpp137 mPath->appendS32(path.countPoints()); in PathToString()
/external/skia/src/gpu/effects/
DGrConvexPolyEffect.cpp275 if (path.countPoints() > kMaxEdges) { in Create()
/external/skia/experimental/SimpleCocoaApp/
DSimpleApp.mm158 int points = path.countPoints();
/external/skia/samplecode/
DSampleQuadStroker.cpp264 int n = path.countPoints(); in draw_points()
/external/skia/src/utils/
DSkLua.cpp1516 lua_pushinteger(L, get_obj<SkPath>(L, 1)->countPoints()); in lpath_countPoints()