| /trunk/main/vcl/source/gdi/ |
| H A D | outdev6.cxx | 675 VirtualDevice* pVDev = new VirtualDevice; in DrawTransparent() local 677 ((OutputDevice*)pVDev)->mnDPIX = mnDPIX; in DrawTransparent() 678 ((OutputDevice*)pVDev)->mnDPIY = mnDPIY; in DrawTransparent() 680 if( pVDev->SetOutputSizePixel( aDstRect.GetSize() ) ) in DrawTransparent() 689 pVDev->SetAntialiasing(GetAntialiasing()); in DrawTransparent() 695 pVDev->SetMapMode(aMap); in DrawTransparent() 702 const bool bBufferMapModeEnabled(pVDev->IsMapModeEnabled()); in DrawTransparent() 703 pVDev->EnableMapMode(false); in DrawTransparent() 706 pVDev->DrawOutDev( in DrawTransparent() 707 aPoint, pVDev->GetOutputSizePixel(), // dest in DrawTransparent() [all …]
|
| H A D | pdfwriter_impl2.cxx | 445 VirtualDevice* pVDev = new VirtualDevice; in playMetafile() local 446 if( pVDev->SetOutputSizePixel( aDstSizePixel ) ) in playMetafile() 454 pVDev->SetMapMode( aMapMode ); in playMetafile() 455 Size aDstSize( pVDev->PixelToLogic( aDstSizePixel ) ); in playMetafile() 468 aTmpMtf.Play( pVDev, aPoint, aDstSize ); in playMetafile() 471 pVDev->EnableMapMode( sal_False ); in playMetafile() 472 aPaint = pVDev->GetBitmap( aPoint, aDstSizePixel ); in playMetafile() 473 pVDev->EnableMapMode( sal_True ); in playMetafile() 476 pVDev->SetLineColor( COL_BLACK ); in playMetafile() 477 pVDev->SetFillColor( COL_BLACK ); in playMetafile() [all …]
|
| H A D | outdev4.cxx | 953 VirtualDevice* pVDev; in DrawGradient() local 960 pVDev = new VirtualDevice( *this, 0, GetAlphaBitCount() > 1 ? 0 : 1 ); in DrawGradient() 965 pVDev = new VirtualDevice(); in DrawGradient() 968 if( pVDev->SetOutputSizePixel( aDstSize) ) in DrawGradient() 975 pVDev->DrawOutDev( Point(), aDstSize, aDstRect.TopLeft(), aDstSize, *this ); in DrawGradient() 976 pVDev->SetRasterOp( ROP_XOR ); in DrawGradient() 978 pVDev->SetMapMode( aVDevMap ); in DrawGradient() 979 pVDev->DrawGradient( aBoundRect, aGradient ); in DrawGradient() 980 pVDev->SetFillColor( COL_BLACK ); in DrawGradient() 981 pVDev->SetRasterOp( ROP_0 ); in DrawGradient() [all …]
|
| H A D | impanmvw.cxx | 205 void ImplAnimView::ImplDraw( sal_uLong nPos, VirtualDevice* pVDev ) in ImplDraw() argument 249 if( !pVDev ) in ImplDraw() 256 pDev = pVDev; in ImplDraw() 292 if( !pVDev ) in ImplDraw()
|
| /trunk/main/svx/source/dialog/ |
| H A D | svxbmpnumvalueset.cxx | 136 static void lcl_PaintLevel(OutputDevice* pVDev, sal_Int16 nNumberingType, in lcl_PaintLevel() argument 144 pVDev->SetFont(rRuleFont); in lcl_PaintLevel() 145 pVDev->DrawText(rLeft, rBulletChar); in lcl_PaintLevel() 146 rLeft.X() += pVDev->GetTextWidth(rBulletChar); in lcl_PaintLevel() 150 pVDev->SetFont(rTextFont); in lcl_PaintLevel() 151 pVDev->DrawText(rLeft, rText); in lcl_PaintLevel() 152 rLeft.X() += pVDev->GetTextWidth(rText); in lcl_PaintLevel() 206 if(!pVDev) in UserDraw() 210 pVDev = new VirtualDevice(*pDev); in UserDraw() 211 pVDev->SetMapMode(pDev->GetMapMode()); in UserDraw() [all …]
|
| /trunk/main/sw/source/ui/misc/ |
| H A D | outline.cxx | 1035 sal_uInt16 lcl_DrawBullet(VirtualDevice* pVDev, in lcl_DrawBullet() argument 1039 Font aTmpFont(pVDev->GetFont()); in lcl_DrawBullet() 1044 pVDev->SetFont( aFont ); in lcl_DrawBullet() 1046 pVDev->DrawText( Point(nXStart, nYStart), aText ); in lcl_DrawBullet() 1047 sal_uInt16 nRet = (sal_uInt16)pVDev->GetTextWidth(aText); in lcl_DrawBullet() 1049 pVDev->SetFont(aTmpFont); in lcl_DrawBullet() 1055 sal_uInt16 lcl_DrawGraphic(VirtualDevice* pVDev, const SwNumFmt &rFmt, sal_uInt16 nXStart, in lcl_DrawGraphic() argument 1069 pGrf->Draw( pVDev, Point(nXStart,nYStart), in lcl_DrawGraphic() 1070 pVDev->PixelToLogic( aGSize ) ); in lcl_DrawGraphic() 1084 VirtualDevice* pVDev = new VirtualDevice(*this); in Paint() local [all …]
|
| /trunk/main/vcl/win/source/gdi/ |
| H A D | salvd.cxx | 116 WinSalVirtualDevice* pVDev = new WinSalVirtualDevice; in CreateVirtualDevice() local 133 pVDev->setHDC(hDC); in CreateVirtualDevice() 134 pVDev->mhBmp = hBmp; in CreateVirtualDevice() 136 pVDev->mhDefBmp = SelectBitmap( hDC, hBmp ); in CreateVirtualDevice() 138 pVDev->mhDefBmp = NULL; in CreateVirtualDevice() 139 pVDev->mpGraphics = pVirGraphics; in CreateVirtualDevice() 140 pVDev->mnBitCount = nBitCount; in CreateVirtualDevice() 141 pVDev->mbGraphics = FALSE; in CreateVirtualDevice() 142 pVDev->mbForeignDC = (pData != NULL); in CreateVirtualDevice() 145 pVDev->mpNext = pSalData->mpFirstVD; in CreateVirtualDevice() [all …]
|
| /trunk/main/sc/source/ui/cctrl/ |
| H A D | tbzoomsliderctrl.cxx | 449 VirtualDevice* pVDev = new VirtualDevice( *this ); in DoPaint() local 450 pVDev->SetOutputSizePixel( aSliderWindowSize ); in DoPaint() 484 pVDev->DrawGradient( aRect, g ); in DoPaint() 487 pVDev->SetLineColor( Color ( COL_GRAY ) ); in DoPaint() 488 pVDev->DrawRect( aSecondLine ); in DoPaint() 489 pVDev->DrawRect( aRight ); in DoPaint() 491 pVDev->SetLineColor( Color ( COL_GRAY ) ); in DoPaint() 492 pVDev->DrawRect( aFirstLine ); in DoPaint() 493 pVDev->DrawRect( aLeft ); in DoPaint() 501 pVDev->SetLineColor( Color( COL_GRAY ) ); in DoPaint() [all …]
|
| /trunk/main/svx/source/sidebar/tools/ |
| H A D | ValueSetWithTextControl.cxx | 250 pVDev ( NULL ) in SvxNumValueSet2() 259 delete pVDev; in ~SvxNumValueSet2() 315 if(!pVDev) in UserDraw() 319 pVDev = new VirtualDevice(*pDev); in UserDraw() 320 pVDev->SetMapMode(pDev->GetMapMode()); in UserDraw() 321 pVDev->EnableRTL( IsRTLEnabled() ); in UserDraw() 322 pVDev->SetOutputSize( aRectSize ); in UserDraw() 325 pVDev->SetLineColor( aBackColor ); in UserDraw() 326 pVDev->SetFillColor( aBackColor ); in UserDraw() 327 pVDev->DrawRect(aOrgRect); in UserDraw() [all …]
|
| /trunk/main/vcl/os2/source/gdi/ |
| H A D | salvd.cxx | 115 Os2SalVirtualDevice* pVDev = new Os2SalVirtualDevice; in CreateVirtualDevice() local 128 pVDev->mhDC = hDC; in CreateVirtualDevice() 129 pVDev->mhPS = hPS; in CreateVirtualDevice() 130 pVDev->mhBmp = hBmp; in CreateVirtualDevice() 131 pVDev->mhDefBmp = Ft2SetBitmap( hPS, hBmp ); in CreateVirtualDevice() 132 pVDev->mpGraphics = pVirGraphics; in CreateVirtualDevice() 133 pVDev->mnBitCount = nBitCount; in CreateVirtualDevice() 134 pVDev->mbGraphics = FALSE; in CreateVirtualDevice() 135 return pVDev; in CreateVirtualDevice()
|
| /trunk/main/cui/source/tabpages/ |
| H A D | numpages.cxx | 2603 sal_uInt16 lcl_DrawGraphic(VirtualDevice* pVDev, const SvxNumberFormat &rFmt, sal_uInt16 nXStart, in lcl_DrawGraphic() argument 2617 pGrf->Draw( pVDev, Point(nXStart,nYStart), in lcl_DrawGraphic() 2618 pVDev->PixelToLogic( aGSize ) ); in lcl_DrawGraphic() 2628 sal_uInt16 lcl_DrawBullet(VirtualDevice* pVDev, in lcl_DrawBullet() argument 2632 Font aTmpFont(pVDev->GetFont()); in lcl_DrawBullet() 2648 aBulletColor = Color(pVDev->GetFillColor().IsDark() ? COL_WHITE : COL_BLACK); in lcl_DrawBullet() 2649 else if(aBulletColor == pVDev->GetFillColor()) in lcl_DrawBullet() 2652 pVDev->SetFont( aFont ); in lcl_DrawBullet() 2656 pVDev->DrawText( Point(nXStart, nY), aText ); in lcl_DrawBullet() 2657 sal_uInt16 nRet = (sal_uInt16)pVDev->GetTextWidth(aText); in lcl_DrawBullet() [all …]
|
| /trunk/main/sd/source/ui/dlg/ |
| H A D | docprev.cxx | 114 void SdDocPreviewWin::ImpPaint( GDIMetaFile* pFile, OutputDevice* pVDev ) in ImpPaint() argument 117 Size aSize = pVDev->GetOutputSize(); in ImpPaint() 125 pVDev->SetLineColor(); in ImpPaint() 126 pVDev->SetFillColor( Color( aColorConfig.GetColorValue( svtools::APPBACKGROUND ).nColor ) ); in ImpPaint() 127 pVDev->DrawRect(Rectangle( Point(0,0 ), pVDev->GetOutputSize())); in ImpPaint() 130 pVDev->SetFillColor( maDocumentColor ); in ImpPaint() 131 pVDev->DrawRect(Rectangle(aPoint, aSize)); in ImpPaint() 133 pFile->Play( pVDev, aPoint, aSize ); in ImpPaint()
|
| /trunk/main/vcl/unx/generic/gdi/ |
| H A D | salvd.cxx | 47 X11SalVirtualDevice *pVDev = new X11SalVirtualDevice(); in CreateVirtualDevice() local 68 …if( !pVDev->Init( GetX11SalData()->GetDisplay(), nDX, nDY, nBitCount, nScreen, pData->hDrawable, p… in CreateVirtualDevice() 70 delete pVDev; in CreateVirtualDevice() 74 else if( !pVDev->Init( GetX11SalData()->GetDisplay(), nDX, nDY, nBitCount, in CreateVirtualDevice() 78 delete pVDev; in CreateVirtualDevice() 82 pVDev->InitGraphics( pVDev ); in CreateVirtualDevice() 83 return pVDev; in CreateVirtualDevice()
|
| /trunk/main/svx/source/unodraw/ |
| H A D | UnoGraphicExporter.cxx | 438 VirtualDevice* pVDev = new VirtualDevice(); in CreatePageVDev() local 447 const Fraction aFrac( (long) nWidthPixel, pVDev->LogicToPixel( aPageSize, aMM ).Width() ); in CreatePageVDev() 457 const Fraction aFrac( (long) nHeightPixel, pVDev->LogicToPixel( aPageSize, aMM ).Height() ); in CreatePageVDev() 465 pVDev->SetMapMode( aMM ); in CreatePageVDev() 471 bSuccess = pVDev->SetOutputSizePixel(Size(nWidthPixel, nHeightPixel)); in CreatePageVDev() 475 bSuccess = pVDev->SetOutputSize(aPageSize); in CreatePageVDev() 480 SdrView* pView = new SdrView(mpDoc, pVDev); in CreatePageVDev() 491 pView->CompleteRedraw(pVDev, aRegion, &aRedirector); in CreatePageVDev() 499 return pVDev; in CreatePageVDev() 759 VirtualDevice* pVDev = CreatePageVDev( pPage, nWidthPix, nHeightPix ); in GetGraphic() local [all …]
|
| /trunk/main/filter/source/flash/ |
| H A D | swfwriter2.cxx | 446 sal_uInt16 FlashFont::getGlyph( sal_uInt16 nChar, VirtualDevice* pVDev ) in getGlyph() argument 459 Font aOldFont( pVDev->GetFont() ); in getGlyph() 462 pVDev->SetFont( aNewFont ); in getGlyph() 467 pVDev->GetTextOutline( aPolyPoly, nChar ); in getGlyph() 498 pVDev->SetFont( aOldFont ); in getGlyph()
|
| /trunk/main/svtools/source/edit/ |
| H A D | textview.cxx | 358 VirtualDevice* pVDev = GetVirtualDevice(); in ImpPaint() local 361 if ( pVDev->GetFillColor() != rBackgroundColor ) in ImpPaint() 362 pVDev->SetFillColor( rBackgroundColor ); in ImpPaint() 363 if ( pVDev->GetBackground().GetColor() != rBackgroundColor ) in ImpPaint() 364 pVDev->SetBackground( rBackgroundColor ); in ImpPaint() 367 Size aOutSz( pVDev->GetOutputSizePixel() ); in ImpPaint() 371 bVDevValid = pVDev->SetOutputSizePixel( rRect.GetSize() ); in ImpPaint() 380 bVDevValid = pVDev->SetOutputSizePixel( rRect.GetSize() ); in ImpPaint() 384 pVDev->Erase(); in ImpPaint() 397 ImpPaint( pVDev, aStartPos, &aTmpRec, NULL, pDrawSelection ); in ImpPaint() [all …]
|
| /trunk/main/svx/source/sidebar/line/ |
| H A D | LineStyleValueSet.cxx | 33 pVDev(NULL), in LineStyleValueSet() 44 delete pVDev; in ~LineStyleValueSet()
|
| H A D | LineWidthValueSet.cxx | 32 pVDev(NULL), in LineWidthValueSet() 46 delete pVDev; in ~LineWidthValueSet()
|
| H A D | LineStyleValueSet.hxx | 42 VirtualDevice* pVDev; member in svx::sidebar::LineStyleValueSet
|
| H A D | LineWidthValueSet.hxx | 46 VirtualDevice* pVDev; member in svx::sidebar::LineWidthValueSet
|
| /trunk/main/toolkit/source/awt/ |
| H A D | vclxdevice.cxx | 127 VCLXVirtualDevice* pVDev = new VCLXVirtualDevice; in createDevice() local 130 pVDev->SetVirtualDevice( pVclVDev ); in createDevice() 131 xRef = pVDev; in createDevice()
|
| /trunk/main/sc/source/ui/sidebar/ |
| H A D | CellLineStyleValueSet.cxx | 33 pVDev(NULL), in CellLineStyleValueSet() 44 delete pVDev; in ~CellLineStyleValueSet()
|
| H A D | CellLineStyleValueSet.hxx | 33 VirtualDevice* pVDev; member in sc::sidebar::CellLineStyleValueSet
|
| /trunk/main/toolkit/inc/toolkit/awt/ |
| H A D | vclxdevice.hxx | 126 …void SetVirtualDevice( VirtualDevice* pVDev ) { SetOutputDevice( (OutputDevice*)pVDev )… in SetVirtualDevice() argument
|
| /trunk/main/editeng/source/editeng/ |
| H A D | impedit3.cxx | 2817 … VirtualDevice* pVDev = GetVirtualDevice( pRefDev->GetMapMode(), pRefDev->GetDrawMode() ); in RecalcFormatterFontMetrics() local 2818 rFont.SetPhysFont( pVDev ); in RecalcFormatterFontMetrics() 2819 aMetric = pVDev->GetFontMetric(); in RecalcFormatterFontMetrics() 3735 VirtualDevice* pVDev = GetVirtualDevice( pTarget->GetMapMode(), pTarget->GetDrawMode() ); in Paint() local 3736 pVDev->SetDigitLanguage( GetRefDevice()->GetDigitLanguage() ); in Paint() 3763 pVDev->SetBackground( aBackgroundColor ); in Paint() 3767 Size aOutSz( pVDev->GetOutputSizePixel() ); in Paint() 3771 bVDevValid = pVDev->SetOutputSizePixel( aClipRecPixel.GetSize() ); in Paint() 3780 bVDevValid = pVDev->SetOutputSizePixel( aClipRecPixel.GetSize() ); in Paint() 3784 pVDev->Erase(); in Paint() [all …]
|