Lines Matching refs:i
481 for( unsigned int i = 0; i < nPoly; i++ ) in DrawPolyPolygon() local
487 PSBinMoveTo( pPaths[i][0], aPoint, nColumn ); in DrawPolyPolygon()
488 for( unsigned int n = 1; n < pSizes[i]; n++ ) in DrawPolyPolygon()
489 PSBinLineTo( pPaths[i][n], aPoint, nColumn ); in DrawPolyPolygon()
490 if( pPaths[i][0] != pPaths[i][pSizes[i]-1] ) in DrawPolyPolygon()
491 PSBinLineTo( pPaths[i][0], aPoint, nColumn ); in DrawPolyPolygon()
543 for (unsigned int i=1; i<nPoints;) in DrawPolyLineBezier() local
545 … if (pFlgAry[i] != POLY_CONTROL) //If the next point is a POLY_NORMAL, we're drawing a line in DrawPolyLineBezier()
547 snprintf(pString, nBezString, "%li %li lineto\n", pPath[i].X(), pPath[i].Y()); in DrawPolyLineBezier()
548 i++; in DrawPolyLineBezier()
552 if (i+2 >= nPoints) in DrawPolyLineBezier()
554 if ((pFlgAry[i] == POLY_CONTROL) && (pFlgAry[i+1] == POLY_CONTROL) && in DrawPolyLineBezier()
555 (pFlgAry[i+2] != POLY_CONTROL)) in DrawPolyLineBezier()
558 pPath[i].X(), pPath[i].Y(), in DrawPolyLineBezier()
559 pPath[i+1].X(), pPath[i+1].Y(), in DrawPolyLineBezier()
560 pPath[i+2].X(), pPath[i+2].Y()); in DrawPolyLineBezier()
566 i+=3; in DrawPolyLineBezier()
587 for (unsigned int i=1; i < nPoints;) in DrawPolygonBezier() local
589 if (pFlgAry[i] != POLY_CONTROL) in DrawPolygonBezier()
591 snprintf(pString, nBezString, "%li %li lineto\n", pPath[i].X(), pPath[i].Y()); in DrawPolygonBezier()
593 i++; in DrawPolygonBezier()
597 if (i+2 >= nPoints) in DrawPolygonBezier()
599 if ((pFlgAry[i] == POLY_CONTROL) && (pFlgAry[i+1] == POLY_CONTROL) && in DrawPolygonBezier()
600 (pFlgAry[i+2] != POLY_CONTROL)) in DrawPolygonBezier()
603 pPath[i].X(), pPath[i].Y(), in DrawPolygonBezier()
604 pPath[i+1].X(), pPath[i+1].Y(), in DrawPolygonBezier()
605 pPath[i+2].X(), pPath[i+2].Y()); in DrawPolygonBezier()
612 i+=3; in DrawPolygonBezier()
641 for (unsigned int i=0; i<nPoly;i++) in DrawPolyPolygonBezier() local
643 sal_uInt32 nPoints = pPoints[i]; in DrawPolyPolygonBezier()
645 if( nPoints == 0 || pPtAry[i] == NULL ) in DrawPolyPolygonBezier()
648 …snprintf(pString, nBezString, "%li %li moveto\n", pPtAry[i][0].X(), pPtAry[i][0].Y()); //Move to t… in DrawPolyPolygonBezier()
654 if ( ! pFlgAry[i] || pFlgAry[i][j] != POLY_CONTROL) in DrawPolyPolygonBezier()
656 … snprintf(pString, nBezString, "%li %li lineto\n", pPtAry[i][j].X(), pPtAry[i][j].Y()); in DrawPolyPolygonBezier()
664 …if ((pFlgAry[i][j] == POLY_CONTROL) && (pFlgAry[i][j+1] == POLY_CONTROL) && (pFlgAry[i][j+2] != PO… in DrawPolyPolygonBezier()
667 pPtAry[i][j].X(), pPtAry[i][j].Y(), in DrawPolyPolygonBezier()
668 pPtAry[i][j+1].X(), pPtAry[i][j+1].Y(), in DrawPolyPolygonBezier()
669 pPtAry[i][j+2].X(), pPtAry[i][j+2].Y()); in DrawPolyPolygonBezier()
969 for (unsigned int i = 1; i < nPoints; i++) in PSBinCurrentPath() local
970 PSBinLineTo (pPath[i], aPoint, nColumn); in PSBinCurrentPath()
1055 for (int i = 0; i < nLen; i++) in PSHexString() local
1063 nChar += psp::getHexValueOf ((sal_Int32)pString[i], pHexString + nChar); in PSHexString()
1080 for (int i = 1; i < nEntries; i++) in PSDeltaArray() local
1090 nChar += psp::getValueOf (pArray[i] - pArray[i-1], pPSArray + nChar); in PSDeltaArray()