/aoo4110/main/sw/source/filter/ww8/ |
H A D | ww8par2.cxx | 1410 nOrgWidth = nCenter[i+1] - nCenter[i]; in ProcessSprmTDxaCol() 1414 nCenter[j] = nCenter[j] + nDelta; in ProcessSprmTDxaCol() 1468 nCenter[nWwCols + nctc] = nCenter[nWwCols]+nctc*ndxaCol; in ProcessSprmTInsert() 1472 nCenter[i + nctc] = nCenter[i]+nctc*ndxaCol; in ProcessSprmTInsert() 1481 nCenter[i] = i ? (nCenter[i - 1]+ndxaCol) : 0; in ProcessSprmTInsert() 1607 nCenter[nitcFirst + i] = nCenter[nitcLim + i]; in ProcessSprmTDelete() 1616 nCenter[nitcFirst + i] = nCenter[nitcLim + i]; in ProcessSprmTDelete() 2173 pR->nCenter[i] = pR->nCenter[i] - pR->nCenter[0]; in CalcDefaults() 2193 int nCellWidth = pR->nCenter[i+1] - pR->nCenter[i]; in CalcDefaults() 2325 if ( pR->nCenter[i] < pR->nCenter[i+1] ) in CalcDefaults() [all …]
|
/aoo4110/main/svtools/source/control/ |
H A D | ruler.cxx | 560 long n_Y = bVertRight ? nCenter+nTxtHeight2 : nCenter-nTxtHeight2; in ImplDrawTicks() 582 nY = bVertRight ? nCenter+nTxtHeight2 : nCenter-nTxtHeight2; in ImplDrawTicks() 696 ImplVDrawLine( n1, nCenter, n3, nCenter ); in ImplDrawArrows() 697 ImplVDrawLine( n4, nCenter, n2, nCenter ); in ImplDrawArrows() 702 ImplVDrawLine( n1, nCenter, n4, nCenter ); in ImplDrawArrows() 703 ImplVDrawLine( n3, nCenter, n2, nCenter ); in ImplDrawArrows() 708 ImplVDrawLine( n1, nCenter, n2, nCenter ); in ImplDrawArrows() 709 ImplVDrawLine( n1+1, nCenter-1, n1+1, nCenter+1 ); in ImplDrawArrows() 710 ImplVDrawLine( n1+2, nCenter-2, n1+2, nCenter+2 ); in ImplDrawArrows() 711 ImplVDrawLine( n2-1, nCenter-1, n2-1, nCenter+1 ); in ImplDrawArrows() [all …]
|
/aoo4110/main/svx/source/xoutdev/ |
H A D | _xpoly.cxx | 1033 void XPolygon::CalcSmoothJoin(sal_uInt16 nCenter, sal_uInt16 nDrag, sal_uInt16 nPnt) in CalcSmoothJoin() argument 1051 Point aDiff = pPoints[nDrag] - pPoints[nCenter]; in CalcSmoothJoin() 1052 double fDiv = CalcDistance(nCenter, nDrag); in CalcSmoothJoin() 1056 double fRatio = CalcDistance(nCenter, nPnt) / fDiv; in CalcSmoothJoin() 1058 if ( GetFlags(nCenter) == XPOLY_SMOOTH || !IsControl(nDrag) ) in CalcSmoothJoin() 1063 pPoints[nPnt] = pPoints[nCenter] - aDiff; in CalcSmoothJoin() 1080 void XPolygon::CalcTangent(sal_uInt16 nCenter, sal_uInt16 nPrev, sal_uInt16 nNext) in CalcTangent() argument 1088 const Point& rCenter = pImpXPolygon->pPointAry[nCenter]; in CalcTangent() 1092 double fNextLen = CalcDistance(nCenter, nNext) / fAbsLen; in CalcTangent() 1093 double fPrevLen = CalcDistance(nCenter, nPrev) / fAbsLen; in CalcTangent() [all …]
|
/aoo4110/main/sd/source/ui/slidesorter/view/ |
H A D | SlsButtonBar.cxx | 908 const int nCenter (nHeight / 2); in CreateBackground() local 916 aDevice.DrawRect(Rectangle(0,0,nWidth-1,nCenter)); in CreateBackground() 918 aDevice.DrawRect(Rectangle(0,nCenter,nWidth-1,nHeight-1)); in CreateBackground() 923 aDevice.DrawLine(Point(0,nCenter),Point(0,0)); in CreateBackground() 925 aDevice.DrawLine(Point(nWidth-1,0),Point(nWidth-1,nCenter)); in CreateBackground() 927 aDevice.DrawLine(Point(0,nCenter),Point(0,nHeight-1)); in CreateBackground() 929 aDevice.DrawLine(Point(nWidth-1,nHeight-1),Point(nWidth-1,nCenter)); in CreateBackground()
|
/aoo4110/main/sw/source/core/text/ |
H A D | frmcrsr.cxx | 1506 SwTwips nCenter = ( nLeft + nRight ) / 2; in FillCrsrPos() local 1513 if( rFill.X() < nCenter ) in FillCrsrPos() 1515 if( rFill.X() > ( nLeft + 2 * nCenter ) / 3 ) in FillCrsrPos() 1518 rRect.Left( nCenter ); in FillCrsrPos() 1521 else if( rFill.X() > ( nRight + 2 * nCenter ) / 3 ) in FillCrsrPos() 1529 rRect.Left( nCenter ); in FillCrsrPos() 1702 if( Abs( rFill.X() - nCenter ) <= in FillCrsrPos() 1708 rRect.Left( nCenter ); in FillCrsrPos()
|
/aoo4110/main/svx/inc/svx/ |
H A D | xpoly.hxx | 119 void CalcSmoothJoin(sal_uInt16 nCenter, sal_uInt16 nDrag, sal_uInt16 nPnt); 120 void CalcTangent(sal_uInt16 nCenter, sal_uInt16 nPrev, sal_uInt16 nNext);
|
/aoo4110/main/svx/source/dialog/ |
H A D | rubydialog.cxx | 881 long nCenter = aWinSize.Width() / 2; in Paint() local 882 long nLeftStart = nCenter - (bRubyStretch ? (nBaseWidth / 2) : (nRubyWidth / 2)); in Paint() 883 long nRightEnd = nCenter + (bRubyStretch ? (nBaseWidth / 2) : (nRubyWidth / 2)); in Paint() 953 DrawText( Point( nCenter - nOutTextWidth / 2 , nYOutput), sOutputText ); in Paint()
|
/aoo4110/main/vcl/source/window/ |
H A D | splitwin.cxx | 1884 long nCenter = rRect.Center().Y(); in ImplDrawButtonRect() local 1898 DrawPixel( Point( i, nCenter-2 ), rStyleSettings.GetLightColor() ); in ImplDrawButtonRect() 1899 DrawPixel( Point( i+1, nCenter-2+1 ), rStyleSettings.GetShadowColor() ); in ImplDrawButtonRect() 1904 DrawPixel( Point( i, nCenter+2 ), rStyleSettings.GetLightColor() ); in ImplDrawButtonRect() 1905 DrawPixel( Point( i+1, nCenter+2+1 ), rStyleSettings.GetShadowColor() ); in ImplDrawButtonRect() 1914 long nCenter = rRect.Center().X(); in ImplDrawButtonRect() local 1928 DrawPixel( Point( nCenter-2, i ), rStyleSettings.GetLightColor() ); in ImplDrawButtonRect() 1929 DrawPixel( Point( nCenter-2+1, i+1 ), rStyleSettings.GetShadowColor() ); in ImplDrawButtonRect() 1934 DrawPixel( Point( nCenter+2, i ), rStyleSettings.GetLightColor() ); in ImplDrawButtonRect() 1935 DrawPixel( Point( nCenter+2+1, i+1 ), rStyleSettings.GetShadowColor() ); in ImplDrawButtonRect()
|
/aoo4110/main/svtools/inc/svtools/ |
H A D | ruler.hxx | 718 …VT_DLLPRIVATE void ImplDrawTicks( long nMin, long nMax, long nStart, long nCenter ); 719 SVT_DLLPRIVATE void ImplDrawArrows( long nCenter );
|
/aoo4110/main/sc/source/ui/view/ |
H A D | olinewin.cxx | 300 long nCenter = (rnStartPos + rnEndPos - SC_OL_BITMAPSIZE * nEntriesSign + in GetEntryPos() local 302 rnImagePos = mbMirrorEntries ? Max( rnImagePos, nCenter ) : Min( rnImagePos, nCenter ); in GetEntryPos()
|
H A D | viewdata.cxx | 1237 long nCenter = ( aArea.Left() + aArea.Right() ) / 2; in EditGrowX() local 1239 aArea.Left() = nCenter - nHalf + 1; in EditGrowX() 1240 aArea.Right() = nCenter + aSize.Width() - nHalf - 1; in EditGrowX() 1307 long nCenter = aSize.Width() / 2; in EditGrowX() local 1309 aVis.Left() = nCenter - nVisSize / 2; in EditGrowX()
|