Lines Matching refs:mpFlagAry
91 mpFlagAry = new sal_uInt8[ nInitSize ]; in ImplPolygon()
95 mpFlagAry = NULL; in ImplPolygon()
110 if( rImpPoly.mpFlagAry ) in ImplPolygon()
112 mpFlagAry = new sal_uInt8[ rImpPoly.mnPoints ]; in ImplPolygon()
113 memcpy( mpFlagAry, rImpPoly.mpFlagAry, rImpPoly.mnPoints ); in ImplPolygon()
116 mpFlagAry = NULL; in ImplPolygon()
121 mpFlagAry = NULL; in ImplPolygon()
139 mpFlagAry = new sal_uInt8[ nInitSize ]; in ImplPolygon()
140 memcpy( mpFlagAry, pInitFlags, nInitSize ); in ImplPolygon()
143 mpFlagAry = NULL; in ImplPolygon()
148 mpFlagAry = NULL; in ImplPolygon()
164 if( mpFlagAry ) in ~ImplPolygon()
165 delete[] mpFlagAry; in ~ImplPolygon()
205 if( mpFlagAry ) in ImplSetSize()
220 memcpy( pNewFlagAry, mpFlagAry, mnPoints ); in ImplSetSize()
223 memcpy( pNewFlagAry, mpFlagAry, nNewSize ); in ImplSetSize()
229 delete[] mpFlagAry; in ImplSetSize()
230 mpFlagAry = pNewFlagAry; in ImplSetSize()
259 if( pInitPoly->mpFlagAry ) in ImplSplit()
260 memcpy( mpFlagAry + nPos, pInitPoly->mpFlagAry, nSpace ); in ImplSplit()
282 if( mpFlagAry ) in ImplSplit()
286 memcpy( pNewFlagAry, mpFlagAry, nPos ); in ImplSplit()
288 if( pInitPoly && pInitPoly->mpFlagAry ) in ImplSplit()
289 memcpy( pNewFlagAry + nPos, pInitPoly->mpFlagAry, nSpace ); in ImplSplit()
293 memcpy( pNewFlagAry + nSecPos, mpFlagAry + nPos, nRest ); in ImplSplit()
294 delete[] mpFlagAry; in ImplSplit()
295 mpFlagAry = pNewFlagAry; in ImplSplit()
323 if( mpFlagAry ) in ImplRemove()
327 memcpy( pNewFlagAry, mpFlagAry, nPos ); in ImplRemove()
328 memcpy( pNewFlagAry + nPos, mpFlagAry + nSecPos, nRest ); in ImplRemove()
329 delete[] mpFlagAry; in ImplRemove()
330 mpFlagAry = pNewFlagAry; in ImplRemove()
342 if( !mpFlagAry ) in ImplCreateFlagArray()
344 mpFlagAry = new sal_uInt8[ mnPoints ]; in ImplCreateFlagArray()
345 memset( mpFlagAry, 0, mnPoints ); in ImplCreateFlagArray()
694 return mpImplPolygon->mpFlagAry; in ImplGetFlagAry()
710 return mpImplPolygon->mpFlagAry; in GetConstFlagAry()
739 mpImplPolygon->mpFlagAry[ nPos ] = (sal_uInt8) eFlags; in SetFlags()
761 return( mpImplPolygon->mpFlagAry ? in GetFlags()
762 (PolyFlags) mpImplPolygon->mpFlagAry[ nPos ] : in GetFlags()
770 return mpImplPolygon->mpFlagAry != NULL; in HasFlags()
780 PolyFlags eFlags = mpImplPolygon->mpFlagAry ? in IsControl()
781 (PolyFlags) mpImplPolygon->mpFlagAry[ nPos ] : POLY_NORMAL; in IsControl()
793 PolyFlags eFlags = mpImplPolygon->mpFlagAry ? in IsSmooth()
794 (PolyFlags) mpImplPolygon->mpFlagAry[ nPos ] : POLY_NORMAL; in IsSmooth()
804 if ( mpImplPolygon->mpFlagAry == NULL ) in IsRect()
880 DBG_ASSERT( !mpImplPolygon->mpFlagAry, "Optimizing could fail with beziers!" ); in Optimize()
1044 if( !mpImplPolygon->mpFlagAry ) in AdaptiveSubdivide()
1060 sal_uInt8 P1( mpImplPolygon->mpFlagAry[ i ] ); in AdaptiveSubdivide()
1061 sal_uInt8 P4( mpImplPolygon->mpFlagAry[ i + 3 ] ); in AdaptiveSubdivide()
1064 ( POLY_CONTROL == mpImplPolygon->mpFlagAry[ i + 1 ] ) && in AdaptiveSubdivide()
1065 ( POLY_CONTROL == mpImplPolygon->mpFlagAry[ i + 2 ] ) && in AdaptiveSubdivide()
1680 DBG_ASSERT( !mpImplPolygon->mpFlagAry, "GetArea could fail with beziers!" ); in GetSignedArea()
1708 DBG_ASSERT( !mpImplPolygon->mpFlagAry, "IsInside could fail with beziers!" ); in IsInside()
1779 mpImplPolygon->mpFlagAry[ nPos ] = (sal_uInt8) eFlags; in Insert()
1797 if( rPoly.mpImplPolygon->mpFlagAry ) in Insert()
2086 mpImplPolygon->mpFlagAry = new sal_uInt8[ mpImplPolygon->mnPoints ]; in ImplRead()
2087 rIStream.Read( mpImplPolygon->mpFlagAry, mpImplPolygon->mnPoints ); in ImplRead()
2104 sal_uInt8 bHasPolyFlags = mpImplPolygon->mpFlagAry != NULL; in ImplWrite()
2109 rOStream.Write( mpImplPolygon->mpFlagAry, mpImplPolygon->mnPoints ); in ImplWrite()
2189 if(mpImplPolygon->mpFlagAry) in getB2DPolygon()
2193 sal_uInt8 nPointFlag(mpImplPolygon->mpFlagAry[0]); in getB2DPolygon()
2202 if(POLY_CONTROL == mpImplPolygon->mpFlagAry[a]) in getB2DPolygon()
2208 if(a < nCount && POLY_CONTROL == mpImplPolygon->mpFlagAry[a]) in getB2DPolygon()
2237 nPointFlag = mpImplPolygon->mpFlagAry[a++]; in getB2DPolygon()
2248 impCorrectContinuity(aRetval, 0, mpImplPolygon->mpFlagAry[0]); in getB2DPolygon()
2314 mpImplPolygon->mpFlagAry[nStartPointIndex] = (sal_uInt8)POLY_NORMAL; in Polygon()
2327 mpImplPolygon->mpFlagAry[nArrayInsert] = (sal_uInt8)POLY_CONTROL; in Polygon()
2331 mpImplPolygon->mpFlagAry[nArrayInsert] = (sal_uInt8)POLY_CONTROL; in Polygon()
2342 mpImplPolygon->mpFlagAry[nStartPointIndex] = (sal_uInt8)POLY_SMOOTH; in Polygon()
2346 mpImplPolygon->mpFlagAry[nStartPointIndex] = (sal_uInt8)POLY_SYMMTR; in Polygon()
2358 mpImplPolygon->mpFlagAry[nArrayInsert] = (sal_uInt8)POLY_NORMAL; in Polygon()
2367 mpImplPolygon->mpFlagAry[nArrayInsert] = (sal_uInt8)POLY_NORMAL; in Polygon()