Home
last modified time | relevance | path

Searched refs:pDev (Results 26 – 50 of 130) sorted by relevance

123456

/trunk/main/svtools/source/brwbox/
H A Dbrwbox2.cxx778 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 Doutput2.cxx219 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 Dgridmerg.cxx36 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 Dgridwin4.cxx129 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 Dcombobox.cxx1233 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 Dfixbrd.cxx115 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 Dimgctrl.cxx192 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 Dspinbtn.cxx160 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 Dedit.cxx1901 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 Dctrl.cxx412 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 Dscrbar.cxx504 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 Dimpanmvw.cxx214 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 Dsvmedit.cxx1398 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 Dsvimpicn.cxx411 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 Dfixed.hxx48 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 Dbutton.hxx57 …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 Dipwin.cxx114 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 DCustomAnimationCreateDialog.cxx135 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 Ddialog.cxx963 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 Dvclxtabpagemodel.cxx54 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 Dvclxwindow.cxx2299 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 Dviewlayoutctrl.cxx123 OutputDevice* pDev = rUsrEvt.GetDevice(); in Paint() local
125 Color aOldLineColor = pDev->GetLineColor(); in Paint()
126 Color aOldFillColor = pDev->GetFillColor(); in Paint()
142pDev->DrawImage( aRect.TopLeft(), bSingleColumn ? mpImpl->maImageSingleColumn_Active : mpImpl->maI… in Paint()
146pDev->DrawImage( aRect.TopLeft(), bAutomatic ? mpImpl->maImageAutomatic_Active : mpImpl->maI… in Paint()
150pDev->DrawImage( aRect.TopLeft(), bBookMode ? mpImpl->maImageBookMode_Active : mpImpl->maI… in Paint()
/trunk/main/sc/source/core/tool/
H A Deditutil.cxx158 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 Dtable1.cxx253 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 Ddocumen8.cxx456 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()

Completed in 203 milliseconds

123456