Home
last modified time | relevance | path

Searched refs:nPoints (Results 1 – 25 of 64) sorted by last modified time

123

/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/filter/source/graphicfilter/eps/
H A Deps.cxx700 const sal_uInt16 nPoints(aPoly.GetSize()); in ImplWriteActions() local
703 for(sal_uInt16 a(0); a + 1 < nPoints; a++) in ImplWriteActions()
707 && a + 2 < nPoints in ImplWriteActions()
709 && a + 3 < nPoints) in ImplWriteActions()
/trunk/main/sc/source/ui/vba/
H A Dvbarange.cxx196 double nPoints = nVal; in lcl_TwipsToPoints() local
197 return nPoints / 20; in lcl_TwipsToPoints()
3722 double nPoints = lcl_TwipsToPoints( nWidth ); in getCalcColWidth() local
3723 nPoints = lcl_Round2DecPlaces( nPoints ); in getCalcColWidth()
3724 return nPoints; in getCalcColWidth()
3732 double nPoints = lcl_TwipsToPoints( nWidth ); in getCalcRowHeight() local
3733 nPoints = lcl_Round2DecPlaces( nPoints ); in getCalcRowHeight()
3734 return nPoints; in getCalcRowHeight()
/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/source/gdi/
H A Dregion.cxx1721 sal_uInt16 nPoints = rPoly.GetSize(); in ImplPolygonRectTest() local
1723 if( nPoints == 4 || (nPoints == 5 && pPoints[0] == pPoints[4]) ) in ImplPolygonRectTest()
H A Dpdfwriter_impl.cxx1461 sal_uInt16 nPoints = rPoly.GetSize(); in appendPolygon() local
1466 if( nPoints > 0 ) in appendPolygon()
1523 sal_uInt32 nPoints = aPoly.count(); in appendPolygon() local
1524 if( nPoints > 0 ) in appendPolygon()
8454 int nPoints = rPoly.GetSize(); in drawPolygon() local
8455 OStringBuffer aLine( 20 * nPoints ); in drawPolygon()
9020 sal_uInt16 nPoints = rPoly.GetSize(); in drawPolyLine() local
9021 if( nPoints < 2 ) in drawPolyLine()
9029 OStringBuffer aLine( 20 * nPoints ); in drawPolyLine()
9301 sal_uInt16 nPoints = rPoints.GetSize(); in drawPixel() local
[all …]
H A Dpdfwriter_impl2.cxx621 const sal_uInt16 nPoints(aPath.GetSize()); in playMetafile() local
624 for(sal_uInt16 a(0); a + 1 < nPoints; a++) in playMetafile()
628 && a + 2 < nPoints in playMetafile()
630 && a + 3 < nPoints) in playMetafile()
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 Doutmap.cxx688 sal_uInt16 nPoints = rLogicPoly.GetSize(); in ImplLogicToDevicePixel() local
696 for ( i = 0; i < nPoints; i++ ) in ImplLogicToDevicePixel()
711 for ( i = 0; i < nPoints; i++ ) in ImplLogicToDevicePixel()
1207 sal_uInt16 nPoints = rLogicPoly.GetSize(); in LogicToPixel() local
1213 for ( i = 0; i < nPoints; i++ ) in LogicToPixel()
1415 sal_uInt16 nPoints = rLogicPoly.GetSize(); in LogicToPixel() local
1421 for ( i = 0; i < nPoints; i++ ) in LogicToPixel()
1602 sal_uInt16 nPoints = rDevicePoly.GetSize(); in PixelToLogic() local
1608 for ( i = 0; i < nPoints; i++ ) in PixelToLogic()
1814 sal_uInt16 nPoints = rDevicePoly.GetSize(); in PixelToLogic() local
[all …]
H A Doutdev.cxx1791 sal_uInt16 nPoints = rPoly.GetSize(); in DrawPolyLine() local
1793 if ( !IsDeviceOutputNecessary() || !mbLineColor || (nPoints < 2) || ImplIsRecordLayout() ) in DrawPolyLine()
1842 if( !mpGraphics->DrawPolyLineBezier( nPoints, pPtAry, pFlgAry, this ) ) in DrawPolyLine()
1851 mpGraphics->DrawPolyLine( nPoints, pPtAry, this ); in DrawPolyLine()
1889 sal_uInt16 nPoints(rPoly.GetSize()); in ImpDrawPolyLineWithLineInfo() local
1940 nPoints = aPoly.GetSize(); in ImpDrawPolyLineWithLineInfo()
1943 mpGraphics->DrawPolyLine(nPoints, (const SalPoint*)aPoly.GetConstPointAry(), this); in ImpDrawPolyLineWithLineInfo()
1961 sal_uInt16 nPoints = rPoly.GetSize(); in DrawPolygon() local
1963 …if ( !IsDeviceOutputNecessary() || (!mbLineColor && !mbFillColor) || (nPoints < 2) || ImplIsRecord… in DrawPolygon()
2031 if( !mpGraphics->DrawPolygonBezier( nPoints, pPtAry, pFlgAry, this ) ) in DrawPolygon()
[all …]
/trunk/main/vcl/inc/win/
H A Dsalgdi.h193 virtual void drawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAry );
194 virtual void drawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry );
203 …virtual sal_Bool drawPolyLineBezier( sal_uInt32 nPoints, const SalPoint* pPtAry, const sal_uInt8* …
204 …virtual sal_Bool drawPolygonBezier( sal_uInt32 nPoints, const SalPoint* pPtAry, const sal_uInt8* p…
230 virtual void invert( sal_uInt32 nPoints, const SalPoint* pPtAry, SalInvert nFlags );
/trunk/main/slideshow/source/engine/
H A Dslideshowimpl.cxx1513 sal_uInt32 nPoints = aPoly.count(); in registerUserPaintPolygons() local
1515 if( nPoints > 1) in registerUserPaintPolygons()
1534 pOuterSequence->realloc(nPoints); in registerUserPaintPolygons()
1537 for( sal_uInt32 n = 0; n < nPoints; n++ ) in registerUserPaintPolygons()
/trunk/main/svtools/source/filter/wmf/
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 …]
H A Dsalgdi2.cxx780 void WinSalGraphics::invert( sal_uInt32 nPoints, const SalPoint* pPtAry, SalInvert nSalFlags ) in invert() argument
825 if ( !Polyline( getHDC(), pWinPtAry, (int)nPoints ) && (nPoints > MAX_64KSALPOINTS) ) in invert()
830 if ( !WIN_Polygon( getHDC(), pWinPtAry, (int)nPoints ) && (nPoints > MAX_64KSALPOINTS) ) in invert()
/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 Dsvpprn.cxx69 inline int PtTo10Mu( int nPoints ) { return (int)((((double)nPoints)*35.27777778)+0.5); } in PtTo10Mu() argument
H A Dsvppspgraphics.cxx338 void PspGraphics::drawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAry ) in drawPolyLine() argument
340 m_pPrinterGfx->DrawPolyLine (nPoints, (Point*)pPtAry); in drawPolyLine()
343 void PspGraphics::drawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry ) in drawPolygon() argument
346 m_pPrinterGfx->DrawPolygon (nPoints, (Point*)pPtAry); in drawPolygon()
365 sal_Bool PspGraphics::drawPolyLineBezier( sal_uInt32 nPoints, const SalPoint* pPtAry, const sal_uIn… in drawPolyLineBezier() argument
367 m_pPrinterGfx->DrawPolyLineBezier (nPoints, (Point*)pPtAry, pFlgAry); in drawPolyLineBezier()
371 sal_Bool PspGraphics::drawPolygonBezier( sal_uInt32 nPoints, const SalPoint* pPtAry, const sal_uInt… in drawPolygonBezier() argument
373 m_pPrinterGfx->DrawPolygonBezier (nPoints, (Point*)pPtAry, pFlgAry); in drawPolygonBezier()
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/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/vcl/unx/generic/gdi/
H A Dpspgraphics.cxx404 void PspGraphics::drawPolyLine( sal_uInt32 nPoints, const SalPoint *pPtAry ) in drawPolyLine() argument
406 m_pPrinterGfx->DrawPolyLine (nPoints, (Point*)pPtAry); in drawPolyLine()
409 void PspGraphics::drawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry ) in drawPolygon() argument
412 m_pPrinterGfx->DrawPolygon (nPoints, (Point*)pPtAry); in drawPolygon()
439 sal_Bool PspGraphics::drawPolyLineBezier( sal_uInt32 nPoints, const SalPoint* pPtAry, const sal_uIn… in drawPolyLineBezier() argument
441 m_pPrinterGfx->DrawPolyLineBezier (nPoints, (Point*)pPtAry, pFlgAry); in drawPolyLineBezier()
445 sal_Bool PspGraphics::drawPolygonBezier( sal_uInt32 nPoints, const SalPoint* pPtAry, const sal_uInt… in drawPolygonBezier() argument
447 m_pPrinterGfx->DrawPolygonBezier (nPoints, (Point*)pPtAry, pFlgAry); in drawPolygonBezier()
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 …]
H A Dsalprnpsp.cxx120 inline int PtTo10Mu( int nPoints ) { return (int)((((double)nPoints)*35.27777778)+0.5); } in PtTo10Mu() argument
/trunk/main/vcl/source/window/
H A Dwindow2.cxx477 sal_uInt16 nPoints = rPoly.GetSize(); in Invert() local
479 if ( nPoints < 2 ) in Invert()
503 mpGraphics->Invert( nPoints, pPtAry, nSalFlags, this ); in Invert()
622 sal_uInt16 nPoints = rPoly.GetSize(); in InvertTracking() local
624 if ( nPoints < 2 ) in InvertTracking()
666 pGraphics->Invert( nPoints, pPtAry, SAL_INVERT_TRACKFRAME, this ); in InvertTracking()

Completed in 284 milliseconds

123