/trunk/main/sdext/source/presenter/ |
H A D | PresenterHelpView.cxx | 345 double nY (gnVerticalBorder); in Paint() local 354 nY, in Paint() 365 nY, in Paint() 372 nY += ::std::max(nLeftHeight,nRightHeight); in Paint() 437 double nY (gnVerticalBorder); in CheckFontSize() local 441 nY += ::std::max( in CheckFontSize() 445 const double nHeightDifference (nY - (aWindowBox.Height-gnVerticalBorder)); in CheckFontSize() 457 const double nScale (double(aWindowBox.Height-gnVerticalBorder) / nY); in CheckFontSize() 652 double nY (rBBox.Y1); in Paint() local 672 nY += iLine->maSize.Height * 1.2; in Paint() [all …]
|
H A D | PresenterPaneBorderPainter.cxx | 617 if (nY >= rInnerBox.Y) in PaintTitle() 618 nY = rInnerBox.Y - 1; in PaintTitle() 633 nY += rpStyle->mnFontYOffset; in PaintTitle() 636 || rUpdateBox.Y >= nY+nTextHeight in PaintTitle() 638 || rUpdateBox.Y+rUpdateBox.Height <= nY) in PaintTitle() 644 geometry::AffineMatrix2D(1,0,nX, 0,1,nY), in PaintTitle() 750 sal_Int32 nY = 0; in PaintBitmap() local 778 nY = rBox.Y + nStartOffset; in PaintBitmap() 786 || nY >= rUpdateBox.Y + rUpdateBox.Height in PaintBitmap() 787 || nY+nH <= rUpdateBox.Y) in PaintBitmap() [all …]
|
H A D | PresenterScrollBar.cxx | 704 const geometry::RealPoint2D aPoint(nX, nY); in GetArea() 808 const double nDistance (nY - maDragAnchor.Y); in GetDragDistance() 857 double PresenterVerticalScrollBar::GetMajor (const double nX, const double nY) const in GetMajor() 860 return nY; in GetMajor() 866 double PresenterVerticalScrollBar::GetMinor (const double nX, const double nY) const in GetMinor() 868 (void)nY; in GetMinor() 1028 (void)nY; in GetDragDistance() 1079 double PresenterHorizontalScrollBar::GetMajor (const double nX, const double nY) const in GetMajor() 1081 (void)nY; in GetMajor() 1088 double PresenterHorizontalScrollBar::GetMinor (const double nX, const double nY) const in GetMinor() [all …]
|
/trunk/main/sc/source/ui/view/ |
H A D | viewdata.cxx | 1592 SCROW nY; in GetScrPos() local 1596 for (nY=nPosY; nY<nWhereY && (bAllowNeg || nScrPosY<=aScrSize.Height()); nY++) in GetScrPos() 1620 for (nY=nPosY; nY>nWhereY;) in GetScrPos() 1622 --nY; in GetScrPos() 1697 SCROW nY; in CellsAtY() local 1707 nY += (nY == MAXROW ? 2 : 1); in CellsAtY() 1718 nY -= (nY == 0 ? 2 : 1); in CellsAtY() 1719 nY = (nPosY-1)-nY; in CellsAtY() 1722 if (nY>0) --nY; in CellsAtY() 1723 return nY; in CellsAtY() [all …]
|
/trunk/main/svtools/source/edit/ |
H A D | texteng.cxx | 957 long nY = 0; in PaMtoEditCursor() local 998 long nY = 0; in GetEditCursor() local 1011 nY += mnCharHeight; in GetEditCursor() 1026 nY += mnCharHeight; in GetEditCursor() 1149 long nY = 0; in GetPaM() local 1154 nY += nTmpHeight; in GetPaM() 1157 nY -= nTmpHeight; in GetPaM() 1180 long nY = 0; in ImpFindIndex() local 1308 sal_uLong nY = 0; in CalcTextHeight() local 1311 return nY; in CalcTextHeight() [all …]
|
/trunk/main/svx/source/table/ |
H A D | viewcontactoftableobj.cxx | 500 …aLine, const sdr::table::TableLayouter& rLayouter, sal_Int32 nX, sal_Int32 nY, bool bHorizontal, s… in impGetLine() argument 502 if(nX >= 0 && nX <= nColCount && nY >= 0 && nY <= nRowCount) in impGetLine() 504 const SvxBorderLine* pLine = rLayouter.getBorderLine(nX, nY, bHorizontal); in impGetLine() 520 bMirror = (0 != nY); in impGetLine() 640 const sal_Int32 nY(aCellPos.mnRow); in createViewIndependentPrimitive2DSequence() local 646 const sal_Int32 nYBottom(nY + nYSpan); in createViewIndependentPrimitive2DSequence() 649 impGetLine(aLeftLine, rTableLayouter, nX, nY, false, nColCount, nRowCount, bIsRTL); in createViewIndependentPrimitive2DSequence() 651 impGetLine(aRightLine, rTableLayouter, nXRight, nY, false, nColCount, nRowCount, bIsRTL); in createViewIndependentPrimitive2DSequence() 652 impGetLine(aTopLine, rTableLayouter, nX, nY, true, nColCount, nRowCount, bIsRTL); in createViewIndependentPrimitive2DSequence() 665 0 == nY, in createViewIndependentPrimitive2DSequence()
|
/trunk/main/vcl/inc/unx/ |
H A D | pspgraphics.h | 129 virtual void drawPixel( long nX, long nY ); 130 virtual void drawPixel( long nX, long nY, SalColor nSalColor ); 132 virtual void drawRect( long nX, long nY, long nWidth, long nHeight ); 175 virtual SalBitmap* getBitmap( long nX, long nY, long nWidth, long nHeight ); 176 virtual SalColor getPixel( long nX, long nY ); 177 virtual void invert( long nX, long nY, long nWidth, long nHeight, SalInvert nFlags ); 180 …virtual sal_Bool drawEPS( long nX, long nY, long nWidth, long nHeight, void* pPtr, sal_uIntPtr n… 192 …virtual bool drawAlphaRect( long nX, long nY, long nWidth, long nHeight, sal_uInt8 nTra…
|
/trunk/main/drawinglayer/source/texture/ |
H A D | texture3d.cxx | 186 sal_Int32 nX, nY; in modifyBColor() local 188 if(impIsValid(rUV, nX, nY)) in modifyBColor() 191 const BitmapColor aBMCol(mpReadBitmap->GetColor(nY, nX)); in modifyBColor() 202 const sal_uInt8 aLuminance(impGetTransparence(nX, nY)); in modifyBColor() 219 sal_Int32 nX, nY; in modifyOpacity() local 221 if(impIsValid(rUV, nX, nY)) in modifyOpacity() 226 const sal_uInt8 aLuminance(impGetTransparence(nX, nY)); in modifyOpacity() 234 const BitmapColor aBMCol(mpReadBitmap->GetColor(nY, nX)); in modifyOpacity()
|
/trunk/main/vcl/win/source/gdi/ |
H A D | salgdi2.cxx | 617 bool WinSalGraphics::drawAlphaRect( long nX, long nY, long nWidth, in drawAlphaRect() argument 635 bool bRet = AlphaBlend( getHDC(), nX, nY, nWidth, nHeight, in drawAlphaRect() 681 SalBitmap* WinSalGraphics::getBitmap( long nX, long nY, long nDX, long nDY ) in getBitmap() argument 696 …bRet = BitBlt( hBmpDC, 0, 0, (int) nDX, (int) nDY, hDC, (int) nX, (int) nY, SRCCOPY ) ? TRUE : FAL… in getBitmap() 721 SalColor WinSalGraphics::getPixel( long nX, long nY ) in getPixel() argument 723 COLORREF aWinCol = ::GetPixel( getHDC(), (int) nX, (int) nY ); in getPixel() 735 void WinSalGraphics::invert( long nX, long nY, long nWidth, long nHeight, SalInvert nFlags ) in invert() argument 744 WIN_Rectangle( getHDC(), (int)nX, (int)nY, (int)(nX+nWidth), (int)(nY+nHeight) ); in invert() 763 PatBlt( getHDC(), nX, nY, nWidth, nHeight, PATINVERT ); in invert() 771 aRect.top = (int)nY; in invert() [all …]
|
/trunk/main/svtools/workben/ |
H A D | svdem.cxx | 734 long nY = aBox.GetSizePixel().Height()+10; in MyWin() local 736 aHeadBar.SetPosPixel( Point( 0, nY ) ); in MyWin() 744 nY += aHeadBar.GetSizePixel().Height() += 10; in MyWin() 748 aColorList.SetPosSizePixel( Point( 10, nY ), Size( 130, 180 ) ); in MyWin() 772 aLineList.SetPosSizePixel( Point( 150, nY ), Size( 130, 180 ) ); in MyWin() 834 nY += 200; in MyWin() 836 aTabBar.SetPosSizePixel( Point( 10, nY ), in MyWin() 872 nY += 35; in MyWin() 874 aPrgsBar.SetPosPixel( Point( 10, nY ) ); in MyWin() 878 nY += 40; in MyWin() [all …]
|
/trunk/main/vcl/source/gdi/ |
H A D | octree.cxx | 129 for( long nY = 0; nY < nHeight; nY++ ) in ImplCreateOctree() local 133 pColor = &(BitmapColor&) pAcc->GetPaletteColor( pAcc->GetPixelIndex( nY, nX ) ); in ImplCreateOctree() 148 for( long nY = 0; nY < nHeight; nY++ ) in ImplCreateOctree() local 152 aColor = pAcc->GetPixel( nY, nX ); in ImplCreateOctree()
|
H A D | outdev3.cxx | 3165 long nY = nDistY; in ImplDrawTextRect() local 3176 nX = nY; in ImplDrawTextRect() 3186 nY = -nY; in ImplDrawTextRect() 3193 nX = -nY; in ImplDrawTextRect() 3204 nY += nBaseY; in ImplDrawTextRect() 3215 nY += nBaseY; in ImplDrawTextRect() 3247 long nY = aPoint.Y(); in ImplGetTextBoundRect() local 3719 const long nY = nDistY; in ImplDrawStraightTextLine() local 3950 long nY = nDistY; in ImplDrawStrikeoutLine() local 4401 nY -= mnOutOffY; in ImplDrawEmphasisMark() [all …]
|
/trunk/main/vcl/unx/headless/ |
H A D | svpframe.cxx | 213 void SvpSalFrame::SetPosSize( long nX, long nY, long nWidth, long nHeight, sal_uInt16 nFlags ) in SetPosSize() argument 218 maGeometry.nY = nY; in SetPosSize() 290 long nY = maGeometry.nY; in SetWindowState() local 298 nY = pState->mnY; in SetWindowState() 304 SetPosSize( nX, nY, nWidth, nHeight, in SetWindowState() 314 pState->mnY = maGeometry.nY; in GetWindowState()
|
/trunk/main/sd/source/ui/dlg/ |
H A D | tpoption.cxx | 398 sal_Int32 nX, nY; in DeactivatePage() local 399 if( SetScale( aCbScale.GetText(), nX, nY ) ) in DeactivatePage() 476 sal_Int32 nX, nY; in FillItemSet() local 477 if( SetScale( aCbScale.GetText(), nX, nY ) ) in FillItemSet() 551 sal_Int32 nY = ( (const SfxInt32Item&) rAttrs. in Reset() local 558 aCbScale.SetText( GetScale( nX, nY ) ); in Reset() 705 sal_Int32 nX, nY; in IMPL_LINK() local 706 if( SetScale( aCbScale.GetText(), nX, nY ) ) in IMPL_LINK() 708 sal_Int32 nW = nWidth * nY / nX; in IMPL_LINK() 709 sal_Int32 nH = nHeight * nY / nX; in IMPL_LINK() [all …]
|
H A D | vectdlg.cxx | 204 const long nY = nTY * nTileY; in Calculate() local 210 AddTile( pRAcc, aNewMtf, nCountX * nTileX, nY, nRestX, nTileY ); in Calculate() 215 const long nY = nCountY * nTileY; in Calculate() local 218 AddTile( pRAcc, aNewMtf, nTX * nTileX, nY, nTileX, nRestY ); in Calculate() 252 for( long nY = nPosY; nY <= nBottom; nY++ ) in AddTile() local 256 const BitmapColor aPixel( pRAcc->GetColor( nY, nX ) ); in AddTile()
|
/trunk/main/vcl/os2/source/window/ |
H A D | salframe.cxx | 176 LONG nX = 0, nY = 0; in _WinSetWindowPos() local 512 LONG nY; in ImplSalFrameFullScreenPos() local 1126 if ( nY+nHeight > nScreenHeight ) in SetPosSize() 1127 nY = nScreenHeight - nHeight; in SetPosSize() 1130 if ( nY < 0 ) in SetPosSize() 1131 nY = 0; in SetPosSize() 1223 LONG nY; in SetWindowState() local 1287 if ( nY+nHeight > nScreenHeight ) in SetWindowState() 1288 nY = (nScreenHeight) - nHeight; in SetWindowState() 1291 if ( nY < 0 ) in SetWindowState() [all …]
|
/trunk/main/vcl/inc/aqua/ |
H A D | salgdi.h | 213 …void ImplDrawPixel( long nX, long nY, const RGBAColor& ); // helper to draw single … 231 virtual void drawPixel( long nX, long nY ); 232 virtual void drawPixel( long nX, long nY, SalColor nSalColor ); 234 virtual void drawRect( long nX, long nY, long nWidth, long nHeight ); 267 virtual SalBitmap* getBitmap( long nX, long nY, long nWidth, long nHeight ); 268 virtual SalColor getPixel( long nX, long nY ); 271 virtual void invert( long nX, long nY, long nWidth, long nHeight, SalInvert nFlags); 274 …virtual sal_Bool drawEPS( long nX, long nY, long nWidth, long nHeight, void* pPtr, sal_uLong nSiz… 286 virtual bool drawAlphaRect( long nX, long nY, long nWidth,
|
/trunk/main/vcl/inc/os2/ |
H A D | salgdi.h | 161 virtual void drawPixel( long nX, long nY ); 162 virtual void drawPixel( long nX, long nY, SalColor nSalColor ); 164 virtual void drawRect( long nX, long nY, long nWidth, long nHeight ); 197 virtual SalBitmap* getBitmap( long nX, long nY, long nWidth, long nHeight ); 198 virtual SalColor getPixel( long nX, long nY ); 201 virtual void invert( long nX, long nY, long nWidth, long nHeight, SalInvert nFlags); 204 … virtual sal_Bool drawEPS( long nX, long nY, long nWidth, long nHeight, void* pPtr, ULONG nSize ); 230 …virtual bool drawAlphaRect( long nX, long nY, long nWidth, long nHeight, sal_uInt8 nTransparency …
|
/trunk/main/vcl/win/source/window/ |
H A D | salframe.cxx | 947 int nY; in ImplSalFrameFullScreenPos() local 1502 aPt.y = nY; in SetPosSize() 1518 nY = aPt.y; in SetPosSize() 1627 nY = nScreenY; in SetPosSize() 1846 int nY; in SetWindowState() local 1888 nY = aWinRect.top; in SetWindowState() 1911 if ( nY < nScreenY ) in SetWindowState() 1912 nY = nScreenY; in SetWindowState() 2408 aPt.y = (int)nY; in SetPointerPos() 3263 pBoundRect->top = nY; in UnionClipRegion() [all …]
|
/trunk/main/sw/source/core/text/ |
H A D | itrcrsr.cxx | 760 SwTwips nOldY = nY; in _GetCharRect() 922 nY = nOldY; in _GetCharRect() 1593 nTmpY -= nY; in GetCrsrOfst() 1795 SwTwips nLastY = nY; in FillSelection() 1798 nLastY = nY; in FillSelection() 1799 nY = aLine.Y(); in FillSelection() 1812 nY = nBottom; in FillSelection() 1815 nLastY += nY; in FillSelection() 1857 nLastY = nY; in FillSelection() 1858 nY = aLine.Y(); in FillSelection() [all …]
|
/trunk/main/vcl/inc/win/ |
H A D | salgdi.h | 189 virtual void drawPixel( long nX, long nY ); 190 virtual void drawPixel( long nX, long nY, SalColor nSalColor ); 192 virtual void drawRect( long nX, long nY, long nWidth, long nHeight ); 225 virtual SalBitmap* getBitmap( long nX, long nY, long nWidth, long nHeight ); 226 virtual SalColor getPixel( long nX, long nY ); 229 virtual void invert( long nX, long nY, long nWidth, long nHeight, SalInvert nFlags); 232 …virtual sal_Bool drawEPS( long nX, long nY, long nWidth, long nHeight, void* pPtr, sal_uIntPtr nS… 256 …virtual bool drawAlphaRect( long nX, long nY, long nWidth, long nHeight, sal_uInt8 nTransparency …
|
/trunk/main/vcl/source/window/ |
H A D | btndlg.cxx | 206 long nY; in ImplPosControls() local 219 nY = aDlgSize.Height()-maCtrlSize.Height()-IMPL_DIALOG_OFFSET; in ImplPosControls() 226 nY = aDlgSize.Height()-mnButtonSize-IMPL_DIALOG_OFFSET; in ImplPosControls() 228 nY = (aDlgSize.Height()-mnButtonSize)/2; in ImplPosControls() 230 nY = IMPL_DIALOG_OFFSET; in ImplPosControls() 243 nY += pItem->mnSepSize; in ImplPosControls() 244 pItem->mpPushButton->SetPosSizePixel( Point( nX, nY ), maCtrlSize ); in ImplPosControls() 249 nY += maCtrlSize.Height()+IMPL_SEP_BUTTON_Y; in ImplPosControls()
|
/trunk/main/svtools/source/control/ |
H A D | toolbarmenu.cxx | 728 int nY = BORDER_Y; in implCalcSize() local 748 pEntry->maRect = Rectangle( Point( 0, nY ), pEntry->maSize ); in implCalcSize() 751 nY += pEntry->maSize.Height(); in implCalcSize() 755 nY += SEPARATOR_HEIGHT; in implCalcSize() 759 aSz.Height() += nY + BORDER_Y; in implCalcSize() 878 long nX = 0, nY = 0; in implHighlightEntry() local 1011 long nY = 0; in implHighlightEntry() local 1025 long nOldY = nY; in implHighlightEntry() 1026 nY += pEntry->maSize.Height(); in implHighlightEntry() 1030 if ( ( nOldY <= nMouseY ) && ( nY > nMouseY ) ) in implHighlightEntry() [all …]
|
/trunk/main/sc/source/core/data/ |
H A D | fillinfo.cxx | 84 void lcl_GetMergeRange( SCsCOL nX, SCsROW nY, SCSIZE nArrY, in lcl_GetMergeRange() argument 92 rStartY = nY; in lcl_GetMergeRange() 179 SCROW nY; in FillInfo() local 223 nY = (SCROW) nSignedY; in FillInfo() 225 nY = MAXROW+1; // ungueltig in FillInfo() 227 if (nY > nDocHeightEndRow) in FillInfo() 229 if (ValidRow(nY)) in FillInfo() 235 if ( nArrY==0 || nDocHeight || nY > MAXROW ) in FillInfo() 244 pThisRowInfo->nRowNo = nY; //! Fall < 0 ? in FillInfo() 301 nY = pThisRowInfo->nRowNo; in FillInfo() [all …]
|
/trunk/main/sc/source/ui/dbgui/ |
H A D | csvruler.cxx | 126 long nX, long nY, long nWidth, long nHeight, sal_uInt16 nFlags ) in SetPosSizePixel() argument 130 ScCsvControl::SetPosSizePixel( nX, nY, nWidth, nHeight, nFlags ); in SetPosSizePixel() 571 sal_Int32 nY = GetHeight() - 1; in ImplDrawArea() local 572 maBackgrDev.DrawLine( Point( nPosX, nY ), Point( nPosX + nWidth - 1, nY ) ); in ImplDrawArea() 586 sal_Int32 nY = (maActiveRect.Top() + maActiveRect.Bottom()) / 2; in ImplDrawBackgrDev() local 591 maBackgrDev.DrawPixel( Point( nX, nY ) ); in ImplDrawBackgrDev() 593 maBackgrDev.DrawLine( Point( nX, nY - 1 ), Point( nX, nY + 1 ) ); in ImplDrawBackgrDev()
|