Lines Matching refs:count
25 BPolygon::BPolygon(const BPoint* points, int32 count)
31 _AddPoints(points, count, true);
97 BPolygon::AddPoints(const BPoint* points, int32 count)
99 _AddPoints(points, count, true);
157 BPolygon::_AddPoints(const BPoint* points, int32 count, bool computeBounds)
159 if (points == NULL || count <= 0)
161 if (count > MAX_POINT_COUNT || (fCount + count) > MAX_POINT_COUNT) {
163 "\n", count);
167 BPoint* newPoints = (BPoint*)realloc((void*)fPoints, (fCount + count)
171 count);
176 memcpy((void*)(fPoints + fCount), points, count * sizeof(BPoint));
177 fCount += count;