/trunk/main/svtools/source/brwbox/ |
H A D | brwbox2.cxx | 778 Size aRealSize = pDev->LogicToPixel(rSize); in Draw() 779 Point aRealPos = pDev->LogicToPixel(rPos); in Draw() 789 pDev->Push(); in Draw() 790 pDev->SetMapMode(); in Draw() 791 pDev->SetFont( aFont ); in Draw() 865 aButtonFrame.Draw( *pDev ); in Draw() 867 pDev->Push( PUSH_LINECOLOR ); in Draw() 875 pDev->Pop(); in Draw() 884 pDev->SetClipRegion( pDev->PixelToLogic( aRegion ) ); in Draw() 892 pDev->DrawRect( aRect ); in Draw() [all …]
|
/trunk/main/sc/source/ui/view/ |
H A D | output2.cxx | 219 OutputDevice* pDev = pOutput->pDev; in SetShrinkScale() local 236 pDev->SetFont( aFont ); in SetShrinkScale() 270 OutputDevice* pDev = pOutput->pDev; in SetPattern() local 357 pDev->SetFont( aFont ); in SetPattern() 487 OutputDevice* pDev = pOutput->pDev; in SetText() local 1320 pDev->Push(); in GetOutputArea() 1321 pDev->SetLineColor(); in GetOutputArea() 1323 pDev->DrawRect( pDev->PixelToLogic(rParam.maClipRect) ); in GetOutputArea() 1325 pDev->Pop(); in GetOutputArea() 1806 pDev->Push(); in DrawStrings() [all …]
|
H A D | gridmerg.cxx | 36 pDev( pOutDev ), in ScGridMerger() 45 bOptimize = ( pDev->GetMapMode().GetMapUnit() == MAP_PIXEL ); in ScGridMerger() 108 pDev->DrawLine( Point( nX1, nY ), Point( nX2, nY ) ); in AddHorLine() 123 pDev->DrawLine( Point( nX, nY1 ), Point( nX, nY2 ) ); in AddVerLine() 133 pDev->DrawLine( Point( nVarStart, nFixStart ), Point( nVarStart, nFixEnd ) ); in Flush() 148 pDev->DrawGrid( Rectangle( nVarStart, nFixStart, nVarEnd, nFixEnd ), in Flush() 156 pDev->DrawLine( Point( nFixStart, nVarStart ), Point( nFixEnd, nVarStart ) ); in Flush() 160 pDev->DrawGrid( Rectangle( nFixStart, nVarStart, nFixEnd, nVarEnd ), in Flush()
|
H A D | gridwin4.cxx | 129 pDev->SetFont( aAppFont ); in lcl_DrawOneFrame() 131 Size aTextSize( pDev->GetTextWidth( rTitle ), pDev->GetTextHeight() ); in lcl_DrawOneFrame() 138 pDev->SetLineColor(); in lcl_DrawOneFrame() 139 pDev->SetFillColor( rColor ); in lcl_DrawOneFrame() 166 if (pDev->IsClipRegion()) in lcl_DrawOneFrame() 182 pDev->SetClipRegion(aOldClip); in lcl_DrawOneFrame() 184 pDev->SetClipRegion(); in lcl_DrawOneFrame() 187 pDev->SetFillColor(); in lcl_DrawOneFrame() 188 pDev->SetLineColor( COL_BLACK ); in lcl_DrawOneFrame() 189 pDev->DrawRect( aInner ); in lcl_DrawOneFrame() [all …]
|
/trunk/main/vcl/source/control/ |
H A D | combobox.cxx | 1233 Point aPos = pDev->LogicToPixel( rPos ); in Draw() 1238 pDev->Push(); in Draw() 1239 pDev->SetMapMode(); in Draw() 1240 pDev->SetFont( aFont ); in Draw() 1241 pDev->SetTextFillColor(); in Draw() 1244 pDev->SetLineColor(); in Draw() 1245 pDev->SetFillColor(); in Draw() 1254 ImplDrawFrame( pDev, aRect ); in Draw() 1259 pDev->DrawRect( aRect ); in Draw() 1300 pDev->IntersectClipRegion( aClip ); in Draw() [all …]
|
H A D | fixbrd.cxx | 115 void FixedBorder::ImplDraw( OutputDevice* pDev, sal_uLong nDrawFlags, in ImplDraw() argument 143 DecorationView aDecoView( pDev ); in ImplDraw() 157 void FixedBorder::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, in Draw() argument 160 Point aPos = pDev->LogicToPixel( rPos ); in Draw() 161 Size aSize = pDev->LogicToPixel( rSize ); in Draw() 163 pDev->Push(); in Draw() 164 pDev->SetMapMode(); in Draw() 165 ImplDraw( pDev, nFlags, aPos, aSize ); in Draw() 166 pDev->Pop(); in Draw()
|
H A D | imgctrl.cxx | 192 void ImageControl::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, sal_uLong nFlags… in Draw() argument 194 const Point aPos = pDev->LogicToPixel( rPos ); in Draw() 195 const Size aSize = pDev->LogicToPixel( rSize ); in Draw() 198 pDev->Push(); in Draw() 199 pDev->SetMapMode(); in Draw() 204 ImplDrawFrame( pDev, aRect ); in Draw() 206 pDev->IntersectClipRegion( aRect ); in Draw() 207 ImplDraw( *pDev, nFlags, aRect.TopLeft(), aRect.GetSize() ); in Draw() 209 pDev->Pop(); in Draw()
|
H A D | spinbtn.cxx | 160 void SpinButton::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, sal_uLong nFlags ) in Draw() argument 162 Point aPos = pDev->LogicToPixel( rPos ); in Draw() 163 Size aSize = pDev->LogicToPixel( rSize ); in Draw() 165 pDev->Push(); in Draw() 166 pDev->SetMapMode(); in Draw() 170 AllSettings aSettings = pDev->GetSettings(); in Draw() 178 pDev->SetSettings( aSettings ); in Draw() 197 ImplDrawSpinButton( pDev, aUpperRect, aLowerRect, sal_False, sal_False, in Draw() 200 pDev->Pop(); in Draw()
|
H A D | edit.cxx | 1901 Font aFont = GetDrawPixelFont( pDev ); in Draw() 1904 pDev->Push(); in Draw() 1905 pDev->SetMapMode(); in Draw() 1906 pDev->SetFont( aFont ); in Draw() 1907 pDev->SetTextFillColor(); in Draw() 1910 pDev->SetLineColor(); in Draw() 1911 pDev->SetFillColor(); in Draw() 1924 pDev->DrawRect( aRect ); in Draw() 1940 pDev->SetTextColor( GetTextColor() ); in Draw() 1959 pDev->IntersectClipRegion( aClip ); in Draw() [all …]
|
H A D | ctrl.cxx | 412 void Control::ImplDrawFrame( OutputDevice* pDev, Rectangle& rRect ) in ImplDrawFrame() argument 417 AllSettings aOriginalSettings( pDev->GetSettings() ); in ImplDrawFrame() 431 pDev->OutputDevice::SetSettings( aNewSettings ); in ImplDrawFrame() 433 DecorationView aDecoView( pDev ); in ImplDrawFrame() 436 pDev->OutputDevice::SetSettings( aOriginalSettings ); in ImplDrawFrame()
|
H A D | scrbar.cxx | 504 void ScrollBar::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, sal_uLong nFlags ) in Draw() argument 506 Point aPos = pDev->LogicToPixel( rPos ); in Draw() 507 Size aSize = pDev->LogicToPixel( rSize ); in Draw() 510 pDev->Push(); in Draw() 511 pDev->SetMapMode(); in Draw() 515 AllSettings aSettings = pDev->GetSettings(); in Draw() 523 pDev->SetSettings( aSettings ); in Draw() 542 ImplDraw( SCRBAR_DRAW_ALL, pDev ); in Draw() 543 pDev->Pop(); in Draw()
|
/trunk/main/vcl/source/gdi/ |
H A D | impanmvw.cxx | 214 VirtualDevice* pDev; in ImplDraw() local 251 pDev = new VirtualDevice; in ImplDraw() 252 pDev->SetOutputSizePixel( maSzPix, sal_False ); in ImplDraw() 253 pDev->DrawOutDev( Point(), maSzPix, maDispPt, maDispSz, *mpOut ); in ImplDraw() 256 pDev = pVDev; in ImplDraw() 270 pDev->DrawOutDev( maRestPt, maRestSz, maRestPt, maRestSz, *mpBackground ); in ImplDraw() 272 pDev->DrawOutDev( maRestPt, maRestSz, Point(), maRestSz, *mpRestore ); in ImplDraw() 287 mpRestore->DrawOutDev( Point(), maRestSz, aPosPix, aSizePix, *pDev ); in ImplDraw() 290 pDev->DrawBitmapEx( aBmpPosPix, aBmpSizePix, rAnm.aBmpEx ); in ImplDraw() 299 mpOut->DrawOutDev( maDispPt, maDispSz, Point(), maSzPix, *pDev ); in ImplDraw() [all …]
|
/trunk/main/svtools/source/edit/ |
H A D | svmedit.cxx | 1398 pDev->Push(); in Draw() 1399 pDev->SetMapMode(); in Draw() 1400 pDev->SetFont( aFont ); in Draw() 1401 pDev->SetTextFillColor(); in Draw() 1404 pDev->SetLineColor(); in Draw() 1405 pDev->SetFillColor(); in Draw() 1413 DecorationView aDecoView( pDev ); in Draw() 1419 pDev->DrawRect( aRect ); in Draw() 1440 Size aTextSz( pDev->GetTextWidth( aText ), pDev->GetTextHeight() ); in Draw() 1455 pDev->IntersectClipRegion( aClip ); in Draw() [all …]
|
/trunk/main/svtools/source/contnr/ |
H A D | svimpicn.cxx | 411 nTextHeight = pDev->GetTextHeight(); in GetTextRect() 526 pDev->SetClipRegion( aRegion ); in DrawText() 558 pDev->DrawText( aPos, aLastLine ); in DrawText() 564 pDev->SetClipRegion( aOldRegion ); in DrawText() 566 pDev->SetClipRegion(); in DrawText() 572 Size aTextSize(pDev->GetTextWidth( aStr ), pDev->GetTextHeight()); in DrawText() 615 pDev->DrawText( aPos, aStr ); in DrawText() 621 pDev->SetClipRegion( aRegion ); in DrawText() 622 pDev->DrawText( aPos, aStr ); in DrawText() 623 pDev->SetClipRegion(); in DrawText() [all …]
|
/trunk/main/vcl/inc/vcl/ |
H A D | fixed.hxx | 48 SAL_DLLPRIVATE void ImplDraw( OutputDevice* pDev, sal_uLong nDrawFlags, 66 …virtual void Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, sal_uLong nFlags ); 102 …virtual void Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, sal_uLong nFlags ); 125 SAL_DLLPRIVATE void ImplDraw( OutputDevice* pDev, sal_uLong nDrawFlags, 137 …virtual void Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, sal_uLong nFlags ); 168 SAL_DLLPRIVATE void ImplDraw( OutputDevice* pDev, sal_uLong nDrawFlags, 178 …virtual void Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, sal_uLong nFlags );
|
H A D | button.hxx | 57 …SAL_DLLPRIVATE void ImplDrawAlignedImage( OutputDevice* pDev, Point& rPos, Size& rSize, 129 …SAL_DLLPRIVATE void ImplDrawPushButtonContent( OutputDevice* pDev, sal_uLong nDrawFlags, 147 …SAL_DLLPRIVATE static void ImplDrawPushButtonFrame( Window* pDev, Rectangle& rRect, sal_uInt16… 148 SAL_DLLPRIVATE static sal_Bool ImplHitTestPushButton( Window* pDev, const Point& rPos ); 169 …virtual void Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, sal_uLong nFlags ); 306 SAL_DLLPRIVATE void ImplDraw( OutputDevice* pDev, sal_uLong nDrawFlags, 356 …virtual void Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, sal_uLong nFlags ); 423 SAL_DLLPRIVATE void ImplDraw( OutputDevice* pDev, sal_uLong nDrawFlags, 459 …virtual void Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, sal_uLong nFlags );
|
/trunk/main/svtools/source/hatchwindow/ |
H A D | ipwin.cxx | 114 void SvResizeHelper::Draw( OutputDevice * pDev ) in Draw() argument 116 pDev->Push(); in Draw() 117 pDev->SetMapMode( MapMode() ); in Draw() 121 pDev->SetFillColor( aFillColor ); in Draw() 122 pDev->SetLineColor(); in Draw() 128 pDev->DrawRect( aMoveRects[ i ] ); in Draw() 132 pDev->SetFillColor( aColBlack ); in Draw() 136 pDev->DrawRect( aRects[ i ] ); in Draw() 138 pDev->Pop(); in Draw()
|
/trunk/main/sd/source/ui/animations/ |
H A D | CustomAnimationCreateDialog.cxx | 135 OutputDevice* pDev = rUDEvt.GetDevice(); in UserDraw() local 140 pDev->SetFillColor (aColor); in UserDraw() 141 pDev->SetLineColor (); in UserDraw() 142 pDev->DrawRect(aOutRect); in UserDraw() 145 pDev->SetLineColor( GetSettings().GetStyleSettings().GetWindowColor()); in UserDraw() 146 pDev->DrawPixel( aOutRect.TopLeft()); in UserDraw() 147 pDev->DrawPixel( Point(aOutRect.Right(), aOutRect.Top())); in UserDraw() 148 pDev->DrawPixel( Point(aOutRect.Left(), aOutRect.Bottom())); in UserDraw() 149 pDev->DrawPixel( Point(aOutRect.Right(), aOutRect.Bottom())); in UserDraw() 152 pDev->DrawText (aOutRect, GetEntry(nItem), TEXT_DRAW_CENTER ); in UserDraw()
|
/trunk/main/vcl/source/window/ |
H A D | dialog.cxx | 963 void Dialog::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, sal_uLong ) in Draw() argument 965 Point aPos = pDev->LogicToPixel( rPos ); in Draw() 966 Size aSize = pDev->LogicToPixel( rSize ); in Draw() 972 pDev->Push(); in Draw() 973 pDev->SetMapMode(); in Draw() 974 pDev->SetLineColor(); in Draw() 977 pDev->DrawBitmapEx( aPos, aSize, aWallpaper.GetBitmap() ); in Draw() 980 pDev->SetFillColor( aWallpaper.GetColor() ); in Draw() 981 pDev->DrawRect( Rectangle( aPos, aSize ) ); in Draw() 992 aImplWin.Draw( Rectangle( aPos, aSize ), pDev, aPos ); in Draw() [all …]
|
/trunk/main/toolkit/source/awt/ |
H A D | vclxtabpagemodel.cxx | 54 OutputDevice* pDev = VCLUnoHelper::GetOutputDevice( getGraphics() ); in draw() local 55 if ( !pDev ) in draw() 56 pDev = pWindow->GetParent(); in draw() 58 Size aSize = pDev->PixelToLogic( pWindow->GetSizePixel() ); in draw() 59 Point aPos = pDev->PixelToLogic( Point( nX, nY ) ); in draw() 61 pWindow->Draw( pDev, aPos, aSize, WINDOW_DRAW_NOCONTROLS ); in draw()
|
H A D | vclxwindow.cxx | 2299 aPos = pDev->PixelToLogic( aPos ); in draw() 2300 aSize = pDev->PixelToLogic( aSize ); in draw() 2302 pTabPage->Draw( pDev, aPos, aSize, 0 ); in draw() 2309 if ( !pDev ) in draw() 2310 pDev = pWindow->GetParent(); in draw() 2351 else if ( pDev ) in draw() 2354 aSz = pDev->PixelToLogic( aSz ); in draw() 2355 Point aP = pDev->PixelToLogic( aPos ); in draw() 2358 bool bDrawSimple = ( pDev->GetOutDevType() == OUTDEV_PRINTER ) in draw() 2363 pWindow->Draw( pDev, aP, aSz, WINDOW_DRAW_NOCONTROLS ); in draw() [all …]
|
/trunk/main/sw/source/ui/utlui/ |
H A D | viewlayoutctrl.cxx | 123 OutputDevice* pDev = rUsrEvt.GetDevice(); in Paint() local 125 Color aOldLineColor = pDev->GetLineColor(); in Paint() 126 Color aOldFillColor = pDev->GetFillColor(); in Paint() 142 …pDev->DrawImage( aRect.TopLeft(), bSingleColumn ? mpImpl->maImageSingleColumn_Active : mpImpl->maI… in Paint() 146 …pDev->DrawImage( aRect.TopLeft(), bAutomatic ? mpImpl->maImageAutomatic_Active : mpImpl->maI… in Paint() 150 …pDev->DrawImage( aRect.TopLeft(), bBookMode ? mpImpl->maImageBookMode_Active : mpImpl->maI… in Paint()
|
/trunk/main/sc/source/core/tool/ |
H A D | editutil.cxx | 158 MapMode aMode = pDev->GetMapMode(); in GetEditArea() 159 pDev->SetMapMode( MAP_PIXEL ); in GetEditArea() 162 pDev, nPPTX, nPPTY, aZoomX, aZoomY, sal_False ); in GetEditArea() 167 pPattern->GetFont( aFont, SC_AUTOCOL_BLACK, pDev, &aZoomY ); in GetEditArea() 168 pDev->SetFont(aFont); in GetEditArea() 169 nTextHeight = pDev->GetTextHeight() + nTopMargin + in GetEditArea() 173 pDev->SetMapMode(aMode); in GetEditArea()
|
/trunk/main/sc/source/core/data/ |
H A D | table1.cxx | 253 sal_uInt16 ScTable::GetOptimalColWidth( SCCOL nCol, OutputDevice* pDev, in GetOptimalColWidth() argument 259 return aCol[nCol].GetOptimalColWidth( pDev, nPPTX, nPPTY, rZoomX, rZoomY, in GetOptimalColWidth() 264 OutputDevice* pDev, in GetNeededSize() argument 274 ( nRow, pDev, nPPTX, nPPTY, rZoomX, rZoomY, bWidth, aOptions ); in GetNeededSize() 278 OutputDevice* pDev, in SetOptimalHeight() argument 308 nStartRow, nEndRow, pHeight, pDev, nPPTX, nPPTY, rZoomX, rZoomY, bForce, 0, 0 ); in SetOptimalHeight() 322 nStartRow, nEndRow, pHeight, pDev, nPPTX, nPPTY, rZoomX, rZoomY, bForce, in SetOptimalHeight() 1400 void ScTable::ExtendPrintArea( OutputDevice* pDev, in ExtendPrintArea() argument 1409 Point aPix1000 = pDev->LogicToPixel( Point(1000,1000), MAP_TWIP ); in ExtendPrintArea() 1471 MaybeAddExtraColumn(nNewCol, nRow, pDev, nPPTX, nPPTY); in ExtendPrintArea() [all …]
|
H A D | documen8.cxx | 456 OutputDevice* pDev = NULL; in IdleCalcTextWidth() local 510 if ( !pDev ) in IdleCalcTextWidth() 512 pDev = GetPrinter(); in IdleCalcTextWidth() 513 aOldMap = pDev->GetMapMode(); in IdleCalcTextWidth() 514 pDev->SetMapMode( MAP_PIXEL ); // wichtig fuer GetNeededSize in IdleCalcTextWidth() 516 Point aPix1000 = pDev->LogicToPixel( Point(1000,1000), MAP_TWIP ); in IdleCalcTextWidth() 531 pDev, nPPTX, nPPTY, in IdleCalcTextWidth() 622 if (pDev) in IdleCalcTextWidth() 623 pDev->SetMapMode(aOldMap); in IdleCalcTextWidth()
|