Lines Matching refs:nX

2393     long            nX;  in ImplFormat()  local
2564 nX = nLeft; // top-left offset in ImplFormat()
2735 nX = nLeft; in ImplFormat()
2745 nX += nLineSize+TB_LINESPACING; in ImplFormat()
2747 nX += nLineSize; in ImplFormat()
2768 it->maCalcRect.Left() = nX; in ImplFormat()
2770 it->maCalcRect.Right() = nX+aCurrentItemSize.Width()-1; in ImplFormat()
2772 nX += aCurrentItemSize.Width(); in ImplFormat()
2776 it->maCalcRect.Left() = nX+(nLineSize-aCurrentItemSize.Width())/2; in ImplFormat()
2813 rIt.maRect.Left() = nX+TB_MENUBUTTON_OFFSET; in ImplFormat()
2817 nX += rIt.maItemSize.Width(); in ImplFormat()
2821 rIt.maRect.Left() = nX; in ImplFormat()
2823 rIt.maRect.Right() = nX+nLineSize-1; in ImplFormat()
3060 void ToolBox::ImplDrawToolArrow( ToolBox* pBox, long nX, long nY, sal_Bool bBlack, sal_Bool bColTra… in ImplDrawToolArrow() argument
3081 pBox->DrawRect( Rectangle( nX+n, nY+n, nX+n, nY+nSize-n ) ); in ImplDrawToolArrow()
3090 pBox->DrawRect( Rectangle( nX+n, nY+1+n, nX+n, nY+nSize-1-n ) ); in ImplDrawToolArrow()
3100 pBox->DrawRect( Rectangle( nX+n, nY+n, nX+nSize-n, nY+n ) ); in ImplDrawToolArrow()
3109 pBox->DrawRect( Rectangle( nX+1+n, nY+n, nX+nSize-1-n, nY+n ) ); in ImplDrawToolArrow()
3119 pBox->DrawRect( Rectangle( nX+nHalfSize-n, nY+n, nX+nHalfSize-n, nY+nSize-n ) ); in ImplDrawToolArrow()
3128 … pBox->DrawRect( Rectangle( nX+nHalfSize-n, nY+1+n, nX+nHalfSize-n, nY+nSize-1-n ) ); in ImplDrawToolArrow()
3138 pBox->DrawRect( Rectangle( nX+n, nY+nHalfSize-n, nX+nSize-n, nY+nHalfSize-n ) ); in ImplDrawToolArrow()
3147 … pBox->DrawRect( Rectangle( nX+1+n, nY+nHalfSize-n, nX+nSize-1-n, nY+nHalfSize-n ) ); in ImplDrawToolArrow()
3155 void ToolBox::SetToolArrowClipregion( ToolBox* pBox, long nX, long nY, in SetToolArrowClipregion() argument
3172 p[0].X() = nX-1; p[0].Y() = nY-1; in SetToolArrowClipregion()
3173 p[1].X() = nX-1; p[1].Y() = nY+nSize+1; in SetToolArrowClipregion()
3174 p[2].X() = nX+1; p[2].Y() = nY+nSize+1; in SetToolArrowClipregion()
3175 p[3].X() = nX+nHalfSize+1; p[3].Y() = nY+nHalfSize+1; in SetToolArrowClipregion()
3176 p[4].X() = nX+nHalfSize+1; p[4].Y() = nY+nHalfSize-1; in SetToolArrowClipregion()
3177 p[5].X() = nX+1; p[5].Y() = nY-1; in SetToolArrowClipregion()
3180 p[0].X() = nX-1; p[0].Y() = nY-1; in SetToolArrowClipregion()
3181 p[1].X() = nX-1; p[1].Y() = nY+1; in SetToolArrowClipregion()
3182 p[2].X() = nX+nHalfSize-1; p[2].Y() = nY+nHalfSize+1; in SetToolArrowClipregion()
3183 p[3].X() = nX+nHalfSize+1; p[3].Y() = nY+nHalfSize+1; in SetToolArrowClipregion()
3184 p[4].X() = nX+nSize+1; p[4].Y() = nY+1; in SetToolArrowClipregion()
3185 p[5].X() = nX+nSize+1; p[5].Y() = nY-1; in SetToolArrowClipregion()
3188 p[0].X() = nX+nHalfSize-1; p[0].Y() = nY-1; in SetToolArrowClipregion()
3189 p[1].X() = nX-1; p[1].Y() = nY+nHalfSize-1; in SetToolArrowClipregion()
3190 p[2].X() = nX-1; p[2].Y() = nY+nHalfSize+1; in SetToolArrowClipregion()
3191 p[3].X() = nX+nHalfSize-1; p[3].Y() = nY+nSize+1; in SetToolArrowClipregion()
3192 p[4].X() = nX+nHalfSize+1; p[4].Y() = nY+nSize+1; in SetToolArrowClipregion()
3193 p[5].X() = nX+nHalfSize+1; p[5].Y() = nY-1; in SetToolArrowClipregion()
3196 p[0].X() = nX-1; p[0].Y() = nY+nHalfSize-1; in SetToolArrowClipregion()
3197 p[1].X() = nX-1; p[1].Y() = nY+nHalfSize+1; in SetToolArrowClipregion()
3198 p[2].X() = nX+nSize+1; p[2].Y() = nY+nHalfSize+1; in SetToolArrowClipregion()
3199 p[3].X() = nX+nSize+1; p[3].Y() = nY+nHalfSize-1; in SetToolArrowClipregion()
3200 p[4].X() = nX+nHalfSize+1; p[4].Y() = nY-1; in SetToolArrowClipregion()
3201 p[5].X() = nX+nHalfSize-1; p[5].Y() = nY-1; in SetToolArrowClipregion()
3362 long nX = SMALLBUTTON_OFF_NORMAL_X; in ImplDrawNext() local
3368 nX = SMALLBUTTON_OFF_PRESSED_X; in ImplDrawNext()
3379 nX += (maNextToolRect.GetWidth()-6)/2-4; in ImplDrawNext()
3386 nX += (maNextToolRect.GetWidth()-6)/2-6; in ImplDrawNext()
3389 nX += maNextToolRect.Left(); in ImplDrawNext()
3393 ImplDrawToolArrow( this, nX, nY, sal_True, sal_False, bLeft, bTop, 10 ); in ImplDrawNext()