Home
last modified time | relevance | path

Searched refs:nPoints (Results 1 – 25 of 64) sorted by relevance

123

/trunk/main/svx/source/xoutdev/
H A D_xpoly.cxx94 nPoints = rImpXPoly.nPoints; in ImpXPolygon()
129 return nPoints==rImpXPoly.nPoints && in operator ==()
235 nPoints = nPoints + nCount; in InsertSpace()
265 nPoints = nPoints - nCount; in Remove()
537 if ( nPoints < pImpXPolygon->nPoints ) in SetPointCount()
539 sal_uInt16 nSize = pImpXPolygon->nPoints - nPoints; in SetPointCount()
543 pImpXPolygon->nPoints = nPoints; in SetPointCount()
575 if (nPos>pImpXPolygon->nPoints) nPos=pImpXPolygon->nPoints; in Insert()
594 if (nPos>pImpXPolygon->nPoints) nPos=pImpXPolygon->nPoints; in Insert()
605 nPoints ); in Insert()
[all …]
/trunk/main/vcl/source/gdi/
H A Dsalgdilayout.cxx205 for( i=0, j=nPoints-1; i<nPoints; i++,j-- ) in mirror()
215 for( i=0, j=nPoints-1; i<nPoints; i++,j-- ) in mirror()
229 for( i=0, j=nPoints-1; i<nPoints; i++,j-- ) in mirror()
239 for( i=0, j=nPoints-1; i<nPoints; i++,j-- ) in mirror()
251 for( i=0, j=nPoints-1; i<nPoints; i++,j-- ) in mirror()
352 sal_Int32 nPoints = i_rPoly.count(); in mirror() local
447 SalPoint* pPtAry2 = new SalPoint[nPoints]; in DrawPolyLine()
453 drawPolyLine( nPoints, pPtAry ); in DrawPolyLine()
466 drawPolygon( nPoints, pPtAry ); in DrawPolygon()
478 sal_uLong nPoints = pPoints[i]; in DrawPolyPolygon() local
[all …]
H A Dcvtsvm.cxx104 sal_uInt16 nPoints = 0; in ImplWritePolyPolyAction() local
108 nPoints = sal::static_int_cast<sal_uInt16>(nPoints + rPolyPoly[ n ].GetSize()); in ImplWritePolyPolyAction()
1606 rOStm << (sal_Int32) ( 8 + ( nPoints << 3 ) ); in ImplWriteActions()
1607 rOStm << (sal_Int32) nPoints; in ImplWriteActions()
1609 for( sal_uInt16 n = 0; n < nPoints; n++ ) in ImplWriteActions()
1663 rOStm << (sal_Int32) ( 8 + ( nPoints << 3 ) ); in ImplWriteActions()
1664 rOStm << (sal_Int32) nPoints; in ImplWriteActions()
1666 for( sal_uInt16 n = 0; n < nPoints; n++ ) in ImplWriteActions()
1713 rOStm << (sal_Int32) ( 8 + ( nPoints << 3 ) ); in ImplWriteActions()
1714 rOStm << (sal_Int32) nPoints; in ImplWriteActions()
[all …]
/trunk/main/vcl/unx/generic/gdi/
H A Dsalgdi.cxx74 : pFirst_( nPoints+1 > STATIC_POINTS ? new XPoint[nPoints+1] : Points_ ) in SalPolyLine()
78 : pFirst_( nPoints+1 > STATIC_POINTS ? new XPoint[nPoints+1] : Points_ ) in SalPolyLine()
398 if( nMaxLines > nPoints ) nMaxLines = nPoints; in DrawLines()
410 if( n < nPoints ) in DrawLines()
415 nPoints - n, in DrawLines()
419 if( rPoints[nPoints-1].x != rPoints[0].x || rPoints[nPoints-1].y != rPoints[0].y ) in DrawLines()
865 if( nPoints == 0 ) in drawPolygon()
868 if( nPoints < 3 ) in drawPolygon()
872 if( 1 == nPoints ) in drawPolygon()
883 nPoints++; in drawPolygon()
[all …]
/trunk/main/tools/source/generic/
H A Dpoly.cxx396 if( nPoints ) in Polygon()
500 if( !nPoints ) in Polygon()
505 nPoints = (sal_uInt16) MinMax( nPoints, 32, 256 ); in Polygon()
508 nPoints >>= 1; in Polygon()
512 mpImplPolygon = new ImplPolygon( nPoints = (nPoints + 3) & ~3 ); in Polygon()
559 sal_uInt16 nPoints; in Polygon() local
564 nPoints = (sal_uInt16) MinMax( nPoints, 32, 256 ); in Polygon()
567 nPoints >>= 1; in Polygon()
604 nEnd = nPoints; in Polygon()
630 nPoints = ( 0 == nPoints ) ? 25 : ( ( nPoints < 2 ) ? 2 : nPoints ); in Polygon()
[all …]
/trunk/main/svtools/source/filter/wmf/
H A Denhwmf.cxx284 *pWMF >> nPoints; in ReadEnhWMF()
289 nPoints++; in ReadEnhWMF()
304 *pWMF >> nPoints; in ReadEnhWMF()
320 *pWMF >> nPoints; in ReadEnhWMF()
325 nPoints++; in ReadEnhWMF()
354 *pWMF >> nPoints; in ReadEnhWMF()
1137 *pWMF >> nPoints; in ReadEnhWMF()
1142 nPoints++; in ReadEnhWMF()
1157 *pWMF >> nPoints; in ReadEnhWMF()
1173 *pWMF >> nPoints; in ReadEnhWMF()
[all …]
H A Dwinwmf.cxx321 sal_uInt16 i,nPoints; in ReadRecordParams() local
322 *pWMF >> nPoints; in ReadRecordParams()
323 Polygon aPoly( nPoints ); in ReadRecordParams()
324 for( i = 0; i < nPoints; i++ ) in ReadRecordParams()
370 sal_uInt16 i,nPoints; in ReadRecordParams() local
371 *pWMF >> nPoints; in ReadRecordParams()
372 Polygon aPoly( nPoints ); in ReadRecordParams()
373 for( i = 0; i < nPoints; i++ ) in ReadRecordParams()
1300 *pStm >> nPoints; in GetPlaceableBound()
1314 nPoints = nPoints + nP; in GetPlaceableBound()
[all …]
/trunk/main/vcl/win/source/gdi/
H A Dsalgdi.cxx696 if( nPoints ) in ImplRenderPath()
712 else if( nPoints - i > 2 ) in ImplRenderPath()
1433 if ( !Polyline( getHDC(), pWinPtAry, (int)nPoints ) && (nPoints > MAX_64KSALPOINTS) ) in drawPolyLine()
1448 if ( !WIN_Polygon( getHDC(), pWinPtAry, (int)nPoints ) && (nPoints > MAX_64KSALPOINTS) ) in drawPolygon()
1460 UINT nPoints; in drawPolyPolygon() local
1470 nPoints = (UINT)pPoints[i]+1; in drawPolyPolygon()
1471 pWinPointAry[i] = nPoints; in drawPolyPolygon()
1472 nPolyPolyPoints += nPoints; in drawPolyPolygon()
1488 nPoints = pWinPointAry[i]; in drawPolyPolygon()
1492 n += nPoints; in drawPolyPolygon()
[all …]
/trunk/main/vcl/unx/headless/
H A Dsvpgdi.cxx346 if( m_bUseLineColor && nPoints ) in drawPolyLine()
349 aPoly.append( B2DPoint( pPtAry->mnX, pPtAry->mnY ), nPoints ); in drawPolyLine()
350 for( sal_uLong i = 1; i < nPoints; i++ ) in drawPolyLine()
360 if( ( m_bUseLineColor || m_bUseFillColor ) && nPoints ) in drawPolygon()
363 aPoly.append( B2DPoint( pPtAry->mnX, pPtAry->mnY ), nPoints ); in drawPolygon()
364 for( sal_uLong i = 1; i < nPoints; i++ ) in drawPolygon()
389 sal_uInt32 nPoints = pPointCounts[nPolygon]; in drawPolyPolygon() local
390 if( nPoints ) in drawPolyPolygon()
395 for( sal_uInt32 i = 1; i < nPoints; i++ ) in drawPolyPolygon()
581 aPoly.append( B2DPoint( pPtAry->mnX, pPtAry->mnY ), nPoints ); in invert()
[all …]
H A Dsvpgdi.hxx130 virtual void drawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAry );
131 virtual void drawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry );
135 virtual sal_Bool drawPolyLineBezier( sal_uInt32 nPoints,
138 virtual sal_Bool drawPolygonBezier( sal_uInt32 nPoints,
169 virtual void invert( sal_uInt32 nPoints, const SalPoint* pPtAry, SalInvert nFlags );
H A Dsvppspgraphics.hxx142 virtual void drawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAry );
143 virtual void drawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry );
154 virtual sal_Bool drawPolyLineBezier( sal_uInt32 nPoints,
157 virtual sal_Bool drawPolygonBezier( sal_uInt32 nPoints,
188 virtual void invert( sal_uInt32 nPoints, const SalPoint* pPtAry, SalInvert nFlags );
/trunk/main/filter/source/graphicfilter/icgm/
H A Dclass4.cxx134 Polygon aPolygon( (sal_uInt16)nPoints ); in ImplDoClass4()
135 for ( sal_uInt16 i = 0; i < nPoints; i++) in ImplDoClass4()
152 if ( ! ( nPoints & 1 ) ) in ImplDoClass4()
154 nPoints >>= 1; in ImplDoClass4()
158 Polygon aPolygon( nPoints ); in ImplDoClass4()
159 for ( sal_uInt16 i = 0; i < nPoints; i++ ) in ImplDoClass4()
271 Polygon aPolygon( nPoints ); in ImplDoClass4()
272 for ( sal_uInt16 i = 0; i < nPoints; i++) in ImplDoClass4()
287 sal_uInt16 nPoints = 0; in ImplDoClass4() local
300 Polygon aPolygon( nPoints ); in ImplDoClass4()
[all …]
H A Doutact.cxx109 sal_uInt16 nPoints = rPolygon.GetSize(); in RegPolyLine() local
110 if ( nPoints ) in RegPolyLine()
114 for ( sal_uInt16 i = 0; i < nPoints; i++ ) in RegPolyLine()
116 mpPoints[ mnIndex + i ] = rPolygon.GetPoint( nPoints - i - 1 ); in RegPolyLine()
117 mpFlags[ mnIndex + i ] = (sal_Int8)rPolygon.GetFlags( nPoints - i - 1 ); in RegPolyLine()
122 for ( sal_uInt16 i = 0; i < nPoints; i++ ) in RegPolyLine()
128 mnIndex = mnIndex + nPoints; in RegPolyLine()
H A Dactimpr.cxx678 sal_uInt16 nPoints = rPoly.GetSize(); in DrawPolygon() local
691 pOuterSequence->realloc((sal_Int32)nPoints); in DrawPolygon()
696 for( sal_uInt16 n = 0; n < nPoints; n++ ) in DrawPolygon()
711 sal_uInt16 nPoints = rPoly.GetSize(); in DrawPolyLine() local
713 …if ( ( nPoints > 1 ) && ImplCreateShape( rtl::OUString::createFromAscii("com.sun.star.drawing.Poly… in DrawPolyLine()
724 pOuterSequence->realloc((sal_Int32)nPoints); in DrawPolyLine()
729 for( sal_uInt16 n = 0; n < nPoints; n++ ) in DrawPolyLine()
743 sal_uInt16 nPoints = rPolygon.GetSize(); in DrawPolybezier() local
756 pOuterSequence->realloc( nPoints ); in DrawPolybezier()
757 pOuterFlags->realloc( nPoints ); in DrawPolybezier()
[all …]
/trunk/main/vcl/unx/generic/printergfx/
H A Dcommon_gfx.cxx414 if( maLineColor.Is() && nPoints && pPath ) in DrawPolyLine()
420 PSBinCurrentPath (nPoints, pPath); in DrawPolyLine()
439 for( unsigned int n = 1; n < nPoints; n++ ) in DrawPolygon()
441 if( pPath[0] != pPath[nPoints-1] ) in DrawPolygon()
543 for (unsigned int i=1; i<nPoints;) in DrawPolyLineBezier()
587 for (unsigned int i=1; i < nPoints;) in DrawPolygonBezier()
597 if (i+2 >= nPoints) in DrawPolygonBezier()
643 sal_uInt32 nPoints = pPoints[i]; in DrawPolyPolygonBezier() local
650 for (unsigned int j=1; j < nPoints;) in DrawPolyPolygonBezier()
662 if (j+2 >= nPoints) in DrawPolyPolygonBezier()
[all …]
/trunk/main/filter/source/graphicfilter/idxf/
H A Ddxf2mtf.cxx303 sal_uInt16 nPoints,i; in DrawCircleEntity() local
314 nPoints=OptPointsPerCircle; in DrawCircleEntity()
315 Polygon aPoly(nPoints); in DrawCircleEntity()
316 for (i=0; i<nPoints; i++) { in DrawCircleEntity()
325 Polygon aPoly2(nPoints); in DrawCircleEntity()
326 for (i=0; i<nPoints; i++) { in DrawCircleEntity()
344 sal_uInt16 nPoints,i; in DrawArcEntity() local
377 if (nPoints<2) nPoints=2; in DrawArcEntity()
378 Polygon aPoly(nPoints); in DrawArcEntity()
379 for (i=0; i<nPoints; i++) { in DrawArcEntity()
[all …]
/trunk/main/vcl/inc/
H A Dsalgdi.hxx120 virtual void drawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAry ) = 0;
121 virtual void drawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry ) = 0;
130 …virtual sal_Bool drawPolyLineBezier( sal_uInt32 nPoints, const SalPoint* pPtAry, const sal_uInt8* …
131 …virtual sal_Bool drawPolygonBezier( sal_uInt32 nPoints, const SalPoint* pPtAry, const sal_uInt8* p…
157 virtual void invert( sal_uInt32 nPoints, const SalPoint* pPtAry, SalInvert nFlags ) = 0;
356 …sal_Bool mirror( sal_uInt32 nPoints, const SalPoint *pPtAry, SalPoint *pPtAry2, const OutputDe…
373 …void DrawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAry, const OutputDevi…
374 …void DrawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry, const OutputDevic…
389 sal_Bool DrawPolyLineBezier( sal_uInt32 nPoints,
393 sal_Bool DrawPolygonBezier( sal_uInt32 nPoints,
[all …]
/trunk/main/canvas/source/directx/
H A Ddx_impltools.cxx193 const sal_uInt32 nPoints( rPoly.count() ); in graphicsPathFromB2DPolygon() local
195 if( nPoints < 2 ) in graphicsPathFromB2DPolygon()
211 rPoints.resize( 3*nPoints + bClosedPolygon ); in graphicsPathFromB2DPolygon()
214 for( sal_uInt32 nCurrPoint=0; nCurrPoint<nPoints; ++nCurrPoint ) in graphicsPathFromB2DPolygon()
224 …onst ::basegfx::B2DPoint& rControlPointB( rPoly.getPrevControlPoint( (nCurrPoint + 1) % nPoints) ); in graphicsPathFromB2DPolygon()
279 rPoints.resize( nPoints ); in graphicsPathFromB2DPolygon()
281 for( sal_uInt32 nCurrPoint=0; nCurrPoint<nPoints; ++nCurrPoint ) in graphicsPathFromB2DPolygon()
288 if(bNoLineJoin && nPoints > 2) in graphicsPathFromB2DPolygon()
290 for(sal_uInt32 a(1); a < nPoints; a++) in graphicsPathFromB2DPolygon()
299 rOutput->AddLine(rPoints[nPoints - 1], rPoints[0]); in graphicsPathFromB2DPolygon()
[all …]
/trunk/main/vcl/aqua/source/gdi/
H A Dsalgdi.cxx743 for( sal_uInt32 n = 1; n < nPoints; ++n ) in getBoundRect()
769 if( nPoints < 1 ) in drawPolyLine()
775 getBoundRect( nPoints, pPtAry, nX, nY, nWidth, nHeight ); in drawPolyLine()
797 if( nPoints <= 1 ) in drawPolygon()
803 getBoundRect( nPoints, pPtAry, nX, nY, nWidth, nHeight ); in drawPolygon()
890 const sal_uInt32 nPoints = pPoints[nPoly]; in drawPolyPolygon() local
891 if( nPoints > 1 ) in drawPolyPolygon()
911 const sal_uInt32 nPoints = pPoints[nPoly]; in drawPolyPolygon() local
912 if( nPoints > 1 ) in drawPolyPolygon()
1418 CGpoints = makeCGptArray(nPoints,pPtAry); in invert()
[all …]
/trunk/main/editeng/source/editeng/
H A Deehtml.cxx648 long nPoints = 10; in ImpSetStyleSheet() local
650 nPoints = 22; in ImpSetStyleSheet()
652 nPoints = 16; in ImpSetStyleSheet()
654 nPoints = 12; in ImpSetStyleSheet()
656 nPoints = 11; in ImpSetStyleSheet()
658 nPoints = OutputDevice::LogicToLogic( nPoints, MAP_POINT, eUnit ); in ImpSetStyleSheet()
659 SvxFontHeightItem aHeightItem( nPoints, 100, EE_CHAR_FONTHEIGHT ); in ImpSetStyleSheet()
/trunk/main/vcl/inc/unx/
H A Dsalgdi.h146 void DrawLines( sal_uIntPtr nPoints,
280 void drawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAry, bool bClose );
281 virtual void drawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAry );
282 virtual void drawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry );
296 virtual sal_Bool drawPolyLineBezier( sal_uInt32 nPoints,
299 virtual sal_Bool drawPolygonBezier( sal_uInt32 nPoints,
331 virtual void invert( sal_uInt32 nPoints, const SalPoint* pPtAry, SalInvert nFlags );
H A Dpspgraphics.h133 virtual void drawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAry );
134 virtual void drawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry );
145 virtual sal_Bool drawPolyLineBezier( sal_uInt32 nPoints,
148 virtual sal_Bool drawPolygonBezier( sal_uInt32 nPoints,
178 virtual void invert( sal_uInt32 nPoints, const SalPoint* pPtAry, SalInvert nFlags );
/trunk/main/vcl/os2/source/gdi/
H A Dsalgdi.cxx507 void Os2SalGraphics::drawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAry ) in drawPolyLine() argument
510 POINTL* pOS2PtAry = new POINTL[ nPoints ]; in drawPolyLine()
513 sal_uInt32 nTempPoints = nPoints; in drawPolyLine()
525 GpiPolyLine( mhPS, nPoints, pOS2PtAry ); in drawPolyLine()
531 void Os2SalGraphics::drawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry ) in drawPolygon() argument
536 aPolygon.aPointl = new POINTL[ nPoints ]; in drawPolygon()
537 aPolygon.ulPoints = nPoints; in drawPolygon()
542 sal_uInt32 nTempPoints = nPoints; in drawPolygon()
590 GpiPolyLine( mhPS, nPoints, aPolygon.aPointl ); in drawPolygon()
/trunk/main/vcl/inc/aqua/
H A Dsalgdi.h235 virtual void drawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAry );
236 virtual void drawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry );
239 …virtual sal_Bool drawPolyLineBezier( sal_uInt32 nPoints, const SalPoint* pPtAry, const sal_uInt8* …
240 …virtual sal_Bool drawPolygonBezier( sal_uInt32 nPoints, const SalPoint* pPtAry, const sal_uInt8* p…
272 virtual void invert( sal_uInt32 nPoints, const SalPoint* pPtAry, SalInvert nFlags );
289 CGPoint* makeCGptArray(sal_uLong nPoints, const SalPoint* pPtAry);
/trunk/main/slideshow/source/engine/transitions/
H A Dfigurewipe.cxx101 FigureWipe * FigureWipe::createStarWipe( sal_Int32 nPoints ) in createStarWipe() argument
103 const double v = (M_PI / nPoints); in createStarWipe()
106 for ( sal_Int32 pos = 0; pos < nPoints; ++pos ) { in createStarWipe()
107 const double w = (pos * 2.0 * M_PI / nPoints); in createStarWipe()

Completed in 184 milliseconds

123