Lines Matching refs:pointCount
216 int32_t pointCount = buffer->readS32();
217 ref->resetToSize(verbCount, pointCount);
220 SkASSERT(pointCount == ref->countPoints());
222 buffer->read(ref->fPoints, pointCount * sizeof(SkPoint));
226 static SkPathRef* CreateFromBuffer(int verbCount, int pointCount, SkRBuffer* buffer) {
229 ref->resetToSize(verbCount, pointCount);
231 SkASSERT(pointCount == ref->countPoints());
232 buffer->read(ref->fPoints, pointCount * sizeof(SkPoint));
417 /** Resets the path ref with verbCount verbs and pointCount points, all unitialized. Also
419 void resetToSize(int verbCount, int pointCount, int reserveVerbs = 0, int reservePoints = 0) {
423 size_t newSize = sizeof(uint8_t) * verbCount + sizeof(SkPoint) * pointCount;
438 fPointCnt = pointCount;
441 fPointCnt = pointCount;