Lines Matching refs:nCount
70 explicit CoordinateDataArray2D(sal_uInt32 nCount) in CoordinateDataArray2D() argument
71 : maVector(nCount) in CoordinateDataArray2D()
80 CoordinateDataArray2D(const CoordinateDataArray2D& rOriginal, sal_uInt32 nIndex, sal_uInt32 nCount) in CoordinateDataArray2D() argument
81 : maVector(rOriginal.maVector.begin() + nIndex, rOriginal.maVector.begin() + (nIndex + nCount)) in CoordinateDataArray2D()
105 void reserve(sal_uInt32 nCount) in reserve() argument
107 maVector.reserve(nCount); in reserve()
115 void insert(sal_uInt32 nIndex, const CoordinateData2D& rValue, sal_uInt32 nCount) in insert() argument
117 if(nCount) in insert()
122 maVector.insert(aIndex, nCount, rValue); in insert()
128 const sal_uInt32 nCount(rSource.maVector.size()); in insert() local
130 if(nCount) in insert()
141 void remove(sal_uInt32 nIndex, sal_uInt32 nCount) in remove() argument
143 if(nCount) in remove()
148 const CoordinateData2DVector::iterator aEnd(aStart + nCount); in remove()
300 explicit ControlVectorArray2D(sal_uInt32 nCount) in ControlVectorArray2D() argument
301 : maVector(nCount), in ControlVectorArray2D()
305 ControlVectorArray2D(const ControlVectorArray2D& rOriginal, sal_uInt32 nIndex, sal_uInt32 nCount) in ControlVectorArray2D() argument
312 aEnd += nCount; in ControlVectorArray2D()
313 maVector.reserve(nCount); in ControlVectorArray2D()
417 void insert(sal_uInt32 nIndex, const ControlVectorPair2D& rValue, sal_uInt32 nCount) in insert() argument
419 if(nCount) in insert()
424 maVector.insert(aIndex, nCount, rValue); in insert()
427 mnUsedVectors += nCount; in insert()
430 mnUsedVectors += nCount; in insert()
436 const sal_uInt32 nCount(rSource.maVector.size()); in insert() local
438 if(nCount) in insert()
458 void remove(sal_uInt32 nIndex, sal_uInt32 nCount) in remove() argument
460 if(nCount) in remove()
463 const ControlVectorPair2DVector::iterator aDeleteEnd(aDeleteStart + nCount); in remove()
679 ImplB2DPolygon(const ImplB2DPolygon& rToBeCopied, sal_uInt32 nIndex, sal_uInt32 nCount) in ImplB2DPolygon() argument
680 : maPoints(rToBeCopied.maPoints, nIndex, nCount), in ImplB2DPolygon()
688 mpControlVector.reset( new ControlVectorArray2D(*rToBeCopied.mpControlVector, nIndex, nCount) ); in ImplB2DPolygon()
778 void reserve(sal_uInt32 nCount) in reserve() argument
780 maPoints.reserve(nCount); in reserve()
796 void insert(sal_uInt32 nIndex, const basegfx::B2DPoint& rPoint, sal_uInt32 nCount) in insert() argument
798 if(nCount) in insert()
802 maPoints.insert(nIndex, aCoordinate, nCount); in insert()
807 mpControlVector->insert(nIndex, aVectorPair, nCount); in insert()
904 const sal_uInt32 nCount(maPoints.count()); in appendBezierSegment() local
906 if(nCount) in appendBezierSegment()
908 setNextControlVector(nCount - 1, rNext); in appendBezierSegment()
911 insert(nCount, rPoint, 1); in appendBezierSegment()
912 setPrevControlVector(nCount, rPrev); in appendBezierSegment()
917 const sal_uInt32 nCount(rSource.maPoints.count()); in insert() local
919 if(nCount) in insert()
940 mpControlVector->insert(nIndex, aVectorPair, nCount); in insert()
945 void remove(sal_uInt32 nIndex, sal_uInt32 nCount) in remove() argument
947 if(nCount) in remove()
950 maPoints.remove(nIndex, nCount); in remove()
954 mpControlVector->remove(nIndex, nCount); in remove()
1209 B2DPolygon::B2DPolygon(const B2DPolygon& rPolygon, sal_uInt32 nIndex, sal_uInt32 nCount) in B2DPolygon() argument
1210 : mpPolygon(ImplB2DPolygon(*rPolygon.mpPolygon, nIndex, nCount)) in B2DPolygon()
1214 …OSL_ENSURE(nIndex + nCount <= rPolygon.mpPolygon->count(), "B2DPolygon constructor outside range (… in B2DPolygon()
1267 void B2DPolygon::reserve(sal_uInt32 nCount) in reserve() argument
1269 mpPolygon->reserve(nCount); in reserve()
1272 void B2DPolygon::insert(sal_uInt32 nIndex, const B2DPoint& rPoint, sal_uInt32 nCount) in insert() argument
1276 if(nCount) in insert()
1278 mpPolygon->insert(nIndex, rPoint, nCount); in insert()
1282 void B2DPolygon::append(const B2DPoint& rPoint, sal_uInt32 nCount) in append() argument
1284 if(nCount) in append()
1286 mpPolygon->insert(mpPolygon->count(), rPoint, nCount); in append()
1524 …DPolygon::insert(sal_uInt32 nIndex, const B2DPolygon& rPoly, sal_uInt32 nIndex2, sal_uInt32 nCount) in insert() argument
1530 if(!nCount) in insert()
1532 nCount = rPoly.count(); in insert()
1535 if(0 == nIndex2 && nCount == rPoly.count()) in insert()
1541 OSL_ENSURE(nIndex2 + nCount <= rPoly.mpPolygon->count(), "B2DPolygon Insert outside range (!)"); in insert()
1542 ImplB2DPolygon aTempPoly(*rPoly.mpPolygon, nIndex2, nCount); in insert()
1548 void B2DPolygon::append(const B2DPolygon& rPoly, sal_uInt32 nIndex, sal_uInt32 nCount) in append() argument
1552 if(!nCount) in append()
1554 nCount = rPoly.count(); in append()
1557 if(0 == nIndex && nCount == rPoly.count()) in append()
1563 OSL_ENSURE(nIndex + nCount <= rPoly.mpPolygon->count(), "B2DPolygon Append outside range (!)"); in append()
1564 ImplB2DPolygon aTempPoly(*rPoly.mpPolygon, nIndex, nCount); in append()
1570 void B2DPolygon::remove(sal_uInt32 nIndex, sal_uInt32 nCount) in remove() argument
1572 OSL_ENSURE(nIndex + nCount <= mpPolygon->count(), "B2DPolygon Remove outside range (!)"); in remove()
1574 if(nCount) in remove()
1576 mpPolygon->remove(nIndex, nCount); in remove()