| /AOO41X/main/sfx2/source/doc/ |
| H A D | graphhelp.cxx | 235 VirtualDevice aVDev; in mergeBitmaps_Impl() local 240 if( !rBmpEx.IsEmpty() && aVDev.SetOutputSizePixel( aBmpRect.GetSize() ) ) in mergeBitmaps_Impl() 250 aVDev.DrawBitmap( aNullPt, aVDev.GetOutputSizePixel(), rBmpEx.GetBitmap() ); in mergeBitmaps_Impl() 251 aVDev.DrawBitmapEx( aOverlayRect.TopLeft(), aOverlayRect.GetSize(), rOverlay ); in mergeBitmaps_Impl() 253 Bitmap aBmp( aVDev.GetBitmap( aNullPt, aVDev.GetOutputSizePixel() ) ); in mergeBitmaps_Impl() 260 aVDev.DrawBitmap( aNullPt, aVDev.GetOutputSizePixel(), rBmpEx.GetMask() ); in mergeBitmaps_Impl() 261 … Bitmap aOverlayMergeBmp( aVDev.GetBitmap( aOverlayRect.TopLeft(), aOverlayRect.GetSize() ) ); in mergeBitmaps_Impl() 264 … aVDev.DrawBitmap( aOverlayRect.TopLeft(), aOverlayRect.GetSize(), rOverlay.GetMask() ); in mergeBitmaps_Impl() 267 aVDev.SetLineColor( COL_BLACK ); in mergeBitmaps_Impl() 268 aVDev.SetFillColor( COL_BLACK ); in mergeBitmaps_Impl() [all …]
|
| /AOO41X/main/svx/source/xoutdev/ |
| H A D | _xoutbmp.cxx | 272 VirtualDevice aVDev; in WriteGraphic() local 273 … const Size aSize( aVDev.LogicToPixel( *pMtfSize_100TH_MM, MAP_100TH_MM ) ); in WriteGraphic() 275 if( aVDev.SetOutputSizePixel( aSize ) ) in WriteGraphic() 277 const Wallpaper aWallpaper( aVDev.GetBackground() ); in WriteGraphic() 280 aVDev.SetBackground( Wallpaper( Color( COL_BLACK ) ) ); in WriteGraphic() 281 aVDev.Erase(); in WriteGraphic() 282 rGraphic.Draw( &aVDev, aPt, aSize ); in WriteGraphic() 284 const Bitmap aBitmap( aVDev.GetBitmap( aPt, aSize ) ); in WriteGraphic() 286 aVDev.SetBackground( aWallpaper ); in WriteGraphic() 287 aVDev.Erase(); in WriteGraphic() [all …]
|
| /AOO41X/main/filter/source/svg/ |
| H A D | svgfontexport.cxx | 80 VirtualDevice aVDev; in implCollectGlyphs() local 83 aVDev.EnableOutput( sal_False ); in implCollectGlyphs() 91 aVDev.Push(); in implCollectGlyphs() 130 pAction->Execute( &aVDev ); in implCollectGlyphs() 136 GlyphSet& rGlyphSet = implGetGlyphSet( aVDev.GetFont() ); in implCollectGlyphs() 167 aVDev.Pop(); in implCollectGlyphs() 191 VirtualDevice aVDev; in implEmbedFont() local 197 aVDev.SetMapMode( MAP_100TH_MM ); in implEmbedFont() 198 aVDev.SetFont( aFont ); in implEmbedFont() 225 …ort.AddAttribute( XML_NAMESPACE_NONE, "ascent", ::rtl::OUString::valueOf( aVDev.GetFontMetric().Ge… in implEmbedFont() [all …]
|
| /AOO41X/main/filter/source/graphicfilter/ieps/ |
| H A D | ieps.cxx | 138 VirtualDevice aVDev; in MakeAsMeta() local 150 aVDev.EnableOutput( sal_False ); in MakeAsMeta() 151 aMtf.Record( &aVDev ); in MakeAsMeta() 152 aVDev.DrawBitmap( Point(), aSize, rGraphic.GetBitmap() ); in MakeAsMeta() 420 VirtualDevice aVDev; in MakePreview() local 423 aVDev.EnableOutput( sal_False ); in MakePreview() 424 aMtf.Record( &aVDev ); in MakePreview() 425 aVDev.SetLineColor( Color( COL_RED ) ); in MakePreview() 426 aVDev.SetFillColor(); in MakePreview() 431 aVDev.Push( PUSH_FONT ); in MakePreview() [all …]
|
| /AOO41X/main/canvas/source/vcl/ |
| H A D | textlayout.cxx | 115 VirtualDevice aVDev( rOutDev ); in queryTextShapes() local 116 aVDev.SetFont( mpFont->getVCLFont() ); in queryTextShapes() 118 setupLayoutMode( aVDev, mnTextDirection ); in queryTextShapes() 135 if (aVDev.GetTextOutlines( in queryTextShapes() 168 VirtualDevice aVDev( rOutDev ); in queryInkMeasures() local 169 aVDev.SetFont( mpFont->getVCLFont() ); in queryInkMeasures() 171 setupLayoutMode( aVDev, mnTextDirection ); in queryInkMeasures() 188 if (aVDev.GetGlyphBoundRects( in queryInkMeasures() 248 VirtualDevice aVDev( rOutDev ); in queryTextBounds() local 249 aVDev.SetFont( mpFont->getVCLFont() ); in queryTextBounds() [all …]
|
| H A D | canvashelper_texturefill.cxx | 1096 VirtualDevice aVDev( rOutDev ); in fillTexturedPolyPolygon() local 1097 aVDev.SetOutputSizePixel( aPolygonDeviceRect.GetSize() ); in fillTexturedPolyPolygon() 1106 aVDev.SetClipRegion( aPolyClipRegion ); in fillTexturedPolyPolygon() 1107 textureFill( aVDev, in fillTexturedPolyPolygon() 1121 aVDev.GetBitmap( aEmptyPoint, in fillTexturedPolyPolygon() 1122 aVDev.GetOutputSizePixel() ) ); in fillTexturedPolyPolygon() 1126 AlphaMask aAlpha( aVDev.GetOutputSizePixel(), in fillTexturedPolyPolygon()
|
| /AOO41X/main/sd/source/ui/docshell/ |
| H A D | docshel2.cxx | 267 VirtualDevice aVDev( *Application::GetDefaultDevice() ); in GetPagePreviewBitmap() local 269 aVDev.SetMapMode( aMapMode ); in GetPagePreviewBitmap() 271 const Size aPixSize( aVDev.LogicToPixel( aSize ) ); in GetPagePreviewBitmap() 277 aVDev.SetMapMode( aMapMode ); in GetPagePreviewBitmap() 278 aVDev.SetOutputSize( aSize ); in GetPagePreviewBitmap() 284 aVDev.SetMapMode( aMapMode ); in GetPagePreviewBitmap() 286 ClientView* pView = new ClientView( this, &aVDev, NULL ); in GetPagePreviewBitmap() 338 pView->CompleteRedraw( &aVDev, Rectangle( aNullPt, aSize ) ); in GetPagePreviewBitmap() 343 aVDev.SetMapMode( MapMode() ); in GetPagePreviewBitmap() 345 Bitmap aPreview( aVDev.GetBitmap( aNullPt, aVDev.GetOutputSizePixel() ) ); in GetPagePreviewBitmap()
|
| /AOO41X/main/sd/source/ui/dlg/ |
| H A D | docprev.cxx | 229 VirtualDevice aVDev; in updateViewSettings() local 234 aVDev.SetMapMode( aMap ); in updateViewSettings() 237 aVDev.EnableOutput( sal_False ); in updateViewSettings() 239 pMtf->Record( &aVDev ); in updateViewSettings() 256 aVDev.Push(); in updateViewSettings() 258 aVDev.SetRelativeMapMode( aVMap ); in updateViewSettings() 259 aVDev.IntersectClipRegion( aClipRect ); in updateViewSettings() 265 pView->SdrPaintView::CompleteRedraw(&aVDev,aRedrawRegion,&aRedirector); in updateViewSettings() 267 aVDev.Pop(); in updateViewSettings()
|
| /AOO41X/main/sd/source/ui/annotations/ |
| H A D | annotationtag.cxx | 625 VirtualDevice aVDev; in CreateAnnotationBitmap() local 631 aVDev.SetFont( mrFont ); in CreateAnnotationBitmap() 636 maSize = Size( aVDev.GetTextWidth( sAuthor ) + 2*BORDER_X, aVDev.GetTextHeight() + 2*BORDER_Y ); in CreateAnnotationBitmap() 637 aVDev.SetOutputSizePixel( maSize, sal_False ); in CreateAnnotationBitmap() 659 aVDev.SetLineColor(aBorderColor); in CreateAnnotationBitmap() 660 aVDev.SetFillColor(maColor); in CreateAnnotationBitmap() 661 aVDev.DrawRect( aBorderRect ); in CreateAnnotationBitmap() 663 aVDev.SetTextColor( maColor.IsDark() ? COL_WHITE : COL_BLACK ); in CreateAnnotationBitmap() 664 aVDev.DrawText( Point( BORDER_X, BORDER_Y ), sAuthor ); in CreateAnnotationBitmap() 666 return aVDev.GetBitmapEx( aPos, maSize ); in CreateAnnotationBitmap()
|
| /AOO41X/main/svtools/source/filter/wmf/ |
| H A D | winmtf.cxx | 288 VirtualDevice aVDev; in WinMtfFontStyle() local 292 aVDev.SetFont( aFont ); in WinMtfFontStyle() 293 FontMetric aMetric( aVDev.GetFontMetric() ); in WinMtfFontStyle() 308 VirtualDevice aVDev; in WinMtfFontStyle() local 311 aVDev.SetFont( aFont ); in WinMtfFontStyle() 312 FontMetric aMetric( aVDev.GetFontMetric() ); in WinMtfFontStyle() 1571 VirtualDevice aVDev; in DrawText() local 1574 aVDev.SetMapMode( MapMode( MAP_100TH_MM ) ); in DrawText() 1575 aVDev.SetFont( maFont ); in DrawText() 1580 nTextWidth = aVDev.GetTextWidth( rText.GetChar( (sal_uInt16)( nLen - 1 ) ) ); in DrawText() [all …]
|
| /AOO41X/main/svx/source/unodraw/ |
| H A D | UnoGraphicExporter.cxx | 671 VirtualDevice aVDev; in GetGraphic() local 751 pLocalView.reset( new FmFormView( PTR_CAST( FmFormModel, mpDoc ), &aVDev ) ); in GetGraphic() 755 pLocalView.reset( new SdrView( mpDoc, &aVDev ) ); in GetGraphic() 774 aVDev.SetMapMode( aMap ); in GetGraphic() 776 …aVDev.SetDrawMode( aVDev.GetDrawMode() | DRAWMODE_SETTINGSLINE | DRAWMODE_SETTINGSFILL | DRAWMODE_… in GetGraphic() 777 aVDev.EnableOutput( sal_False ); in GetGraphic() 778 aMtf.Record( &aVDev ); in GetGraphic() 786 pView = new FmFormView( PTR_CAST( FmFormModel, mpDoc ), &aVDev ); in GetGraphic() 790 pView = new SdrView( mpDoc, &aVDev ); in GetGraphic() 809 aVDev.Push(); in GetGraphic() [all …]
|
| /AOO41X/main/slideshow/source/engine/shapes/ |
| H A D | gdimtftools.cxx | 354 VirtualDevice aVDev; in getAnimationFromGraphic() local 355 aVDev.SetOutputSizePixel( aAnimSize ); in getAnimationFromGraphic() 356 aVDev.EnableMapMode( sal_False ); in getAnimationFromGraphic() 397 aVDev.DrawBitmapEx(rAnimBmp.aPosPix, in getAnimationFromGraphic() 427 aVDev.DrawBitmap(rAnimBmp.aPosPix, aContent); in getAnimationFromGraphic() 445 aVDev.DrawBitmapEx(rAnimBmp.aPosPix, in getAnimationFromGraphic() 452 aVDev.DrawBitmapEx(rAnimBmp.aPosPix, in getAnimationFromGraphic() 466 aVDev.GetBitmap( in getAnimationFromGraphic()
|
| /AOO41X/main/svx/source/dialog/ |
| H A D | _contdlg.cxx | 200 VirtualDevice aVDev; in CreateAutoContour() local 207 if ( aVDev.SetOutputSizePixel( rSizePix ) ) in CreateAutoContour() 209 aVDev.SetLineColor( Color( COL_BLACK ) ); in CreateAutoContour() 210 aVDev.SetFillColor( Color( COL_BLACK ) ); in CreateAutoContour() 220 aVDev.SetMapMode( aTransMap ); in CreateAutoContour() 221 aVDev.DrawPolyPolygon( CreateAutoContour( rStepBmp.aBmpEx, pRect, nFlags ) ); in CreateAutoContour() 225 aVDev.SetMapMode( aTransMap ); in CreateAutoContour() 226 aBmp = aVDev.GetBitmap( Point(), rSizePix ); in CreateAutoContour() 241 VirtualDevice aVDev; in CreateAutoContour() local 242 … Size aSizePix( aVDev.LogicToPixel( aTmpGrf.GetPrefSize(), aTmpGrf.GetPrefMapMode() ) ); in CreateAutoContour() [all …]
|
| /AOO41X/main/sd/source/ui/slideshow/ |
| H A D | showwin.cxx | 610 VirtualDevice aVDev( *this ); in DrawPauseScene() local 613 aVDev.SetMapMode( aVMap ); in DrawPauseScene() 614 aVDev.SetBackground( Wallpaper( Color( COL_BLACK ) ) ); in DrawPauseScene() 617 aVDev.SetFont( aFont ); in DrawPauseScene() 619 const Size aVDevSize( aOutSize.Width(), aVDev.GetTextHeight() ); in DrawPauseScene() 621 if( aVDev.SetOutputSize( aVDevSize ) ) in DrawPauseScene() 630 aVDev.DrawText( Point( aOffset.Width(), 0 ), aText ); in DrawPauseScene() 631 … DrawOutDev( Point( aOutOrg.X(), aOffset.Height() ), aVDevSize, Point(), aVDevSize, aVDev ); in DrawPauseScene()
|
| /AOO41X/main/vcl/source/gdi/ |
| H A D | gdimetafiletools.cxx | 170 VirtualDevice aVDev; in handleBitmapContent() local 172 aVDev.SetOutputSizePixel(aSizePixel); in handleBitmapContent() 173 aVDev.EnableMapMode(false); in handleBitmapContent() 174 aVDev.SetFillColor(COL_WHITE); in handleBitmapContent() 175 aVDev.SetLineColor(); in handleBitmapContent() 180 aVDev.DrawBitmap(Point(0, 0), rBitmapEx.GetAlpha().GetBitmap()); in handleBitmapContent() 185 aVDev.SetBackground(Wallpaper(Color(COL_BLACK))); in handleBitmapContent() 186 aVDev.Erase(); in handleBitmapContent() 212 aVDev.DrawPolyPolygon(aInvertPixelPoly); in handleBitmapContent() 216 aVDev.GetBitmap( in handleBitmapContent()
|
| H A D | outdev6.cxx | 467 VirtualDevice aVDev( *this, 1 ); in DrawTransparent() local 474 if( aVDev.SetOutputSizePixel( aDstSz ) ) in DrawTransparent() 480 aVDev.SetLineColor( COL_BLACK ); in DrawTransparent() 481 aVDev.SetFillColor( COL_BLACK ); in DrawTransparent() 482 aVDev.DrawPolyPolygon( aPolyPoly ); in DrawTransparent() 485 Bitmap aPolyMask( aVDev.GetBitmap( Point(), aDstSz ) ); in DrawTransparent() 844 VirtualDevice aVDev( *this ); in ImplDrawBitmapWallpaper() local 845 aVDev.SetBackground( rWallpaper.GetColor() ); in ImplDrawBitmapWallpaper() 846 aVDev.SetOutputSizePixel( Size( nBmpWidth, nBmpHeight ) ); in ImplDrawBitmapWallpaper() 847 aVDev.DrawBitmapEx( Point(), aBmpEx ); in ImplDrawBitmapWallpaper() [all …]
|
| H A D | gdimtf.cxx | 995 VirtualDevice aVDev( rMapDev, 0 ); in ImplAddGradientEx() local 996 aVDev.EnableOutput( sal_False ); in ImplAddGradientEx() 999 aGradMtf.Record( &aVDev ); in ImplAddGradientEx() 1000 aVDev.DrawGradient( rPolyPoly, rGrad ); in ImplAddGradientEx() 3031 VirtualDevice aVDev; in CreateThumbnail() local 3033 const Point aTLPix( aVDev.LogicToPixel( aNullPt, GetPrefMapMode() ) ); in CreateThumbnail() 3034 …const Point aBRPix( aVDev.LogicToPixel( Point( GetPrefSize().Width() - 1, GetPrefSize().Height… in CreateThumbnail() 3035 Size aDrawSize( aVDev.LogicToPixel( GetPrefSize(), GetPrefMapMode() ) ); in CreateThumbnail() 3092 if ( aVDev.SetOutputSizePixel( aFullSize ) ) in CreateThumbnail() 3096 const_cast<GDIMetaFile *>(this)->Play( &aVDev, aBackPosPix, aDrawSize ); in CreateThumbnail() [all …]
|
| H A D | impgraph.cxx | 559 VirtualDevice aVDev; in ImplGetBitmap() local 560 … Size aDrawSize(aVDev.LogicToPixel(maMetaFile.GetPrefSize(), maMetaFile.GetPrefMapMode())); in ImplGetBitmap() 594 const Rectangle aRect(maMetaFile.GetBoundRect(aVDev, &aHairlineRect)); in ImplGetBitmap() 611 if(aVDev.SetOutputSizePixel(aPixelSize)) in ImplGetBitmap() 615 aVDev.SetAntialiasing(aVDev.GetAntialiasing() | ANTIALIASING_ENABLE_B2DDRAW); in ImplGetBitmap() 620 aVDev.SetAntialiasing(aVDev.GetAntialiasing() | ANTIALIASING_PIXELSNAPHAIRLINE); in ImplGetBitmap() 623 ImplDraw( &aVDev, Point(), aDrawSize ); in ImplGetBitmap() 626 … const_cast< ImpGraphic* >(this)->maEx = aVDev.GetBitmap( Point(), aVDev.GetOutputSizePixel() ); in ImplGetBitmap()
|
| H A D | impanmvw.cxx | 175 VirtualDevice aVDev; in ImplDrawToPos() local 178 aVDev.SetOutputSizePixel( maSzPix, sal_False ); in ImplDrawToPos() 182 ImplDraw( i, &aVDev ); in ImplDrawToPos() 187 mpOut->DrawOutDev( maDispPt, maDispSz, Point(), maSzPix, aVDev ); in ImplDrawToPos()
|
| /AOO41X/main/cppcanvas/source/mtfrenderer/ |
| H A D | transparencygroupaction.cxx | 314 VirtualDevice aVDev( in render() local 316 aVDev.SetOutputSizePixel( aBitmapSizePixel ); in render() 317 aVDev.SetMapMode(); in render() 407 aVDev.DrawTransparent( aMtf, in render() 415 aVDev.DrawTransparent( *mpGroupMtf, in render() 425 aVDev.GetBitmapEx( in render()
|
| /AOO41X/main/filter/source/graphicfilter/eos2met/ |
| H A D | eos2met.cxx | 1851 VirtualDevice aVDev; in WriteOrders() local 1854 aPt.Y()+=(long)aVDev.GetFontMetric( aGDIFont ).GetAscent(); in WriteOrders() 1856 aPt.Y()-=(long)aVDev.GetFontMetric( aGDIFont ).GetDescent(); in WriteOrders() 1880 VirtualDevice aVDev; in WriteOrders() local 1882 aPt.Y()+=(long)aVDev.GetFontMetric(aGDIFont).GetAscent(); in WriteOrders() 1884 aPt.Y()-=(long)aVDev.GetFontMetric(aGDIFont).GetDescent(); in WriteOrders() 1923 VirtualDevice aVDev; in WriteOrders() local 1933 aVDev.SetFont( aGDIFont ); in WriteOrders() 1938 aPt.Y()+=(long)aVDev.GetFontMetric().GetAscent(); in WriteOrders() 1940 aPt.Y()-=(long)aVDev.GetFontMetric().GetDescent(); in WriteOrders() [all …]
|
| /AOO41X/main/svx/source/tbxctrls/ |
| H A D | fontworkgallery.cxx | 134 VirtualDevice aVDev; in initFavorites() local 138 aVDev.SetOutputSizePixel(aSize); in initFavorites() 146 aVDev.DrawCheckered(aNull, aSize, nLen, aW, aG); in initFavorites() 150 aVDev.SetBackground(rStyleSettings.GetFieldColor()); in initFavorites() 151 aVDev.Erase(); in initFavorites() 154 aVDev.DrawBitmapEx(aNull, aThumb); in initFavorites() 155 maFavoritesHorizontal.push_back(aVDev.GetBitmap(aNull, aSize)); in initFavorites()
|
| /AOO41X/main/soldep/source/ |
| H A D | soldep.cxx | 236 VirtualDevice aVDev; in IMPL_LINK() local 237 aVDev.SetMapMode( MAP_100TH_MM ); in IMPL_LINK() 239 aVDev.EnableOutput( sal_False ); in IMPL_LINK() 240 aMtf.Record( &aVDev ); in IMPL_LINK() 242 aVDev.SetLineColor( Color( COL_BLACK ) ); in IMPL_LINK() 243 aVDev.SetTextAlign( ALIGN_TOP ); in IMPL_LINK() 262 aOffset = aVDev.PixelToLogic( aOffset ); in IMPL_LINK() 264 GetDepWin()->DrawOutput( &aVDev, aOffset ); in IMPL_LINK() 267 mpObjectList->GetObject(i)->DrawOutput( &aVDev, aOffset ); in IMPL_LINK() 271 aMtf.SetPrefMapMode( aVDev.GetMapMode() ); in IMPL_LINK() [all …]
|
| /AOO41X/main/canvas/source/cairo/ |
| H A D | cairo_textlayout.cxx | 190 VirtualDevice aVDev( *pOutDev ); in queryTextBounds() local 191 aVDev.SetFont( mpFont->getVCLFont() ); in queryTextBounds() 195 const ::FontMetric& aMetric( aVDev.GetFontMetric() ); in queryTextBounds() 197 setupLayoutMode( aVDev, mnTextDirection ); in queryTextBounds() 211 aVDev.GetTextWidth( in queryTextBounds()
|
| /AOO41X/main/chart2/source/controller/drawinglayer/ |
| H A D | ViewElementListProvider.cxx | 176 VirtualDevice aVDev; in GetSymbolGraphic() local 177 aVDev.SetMapMode(MapMode(MAP_100TH_MM)); in GetSymbolGraphic() 183 SdrView* pView = new SdrView( pModel, &aVDev ); in GetSymbolGraphic()
|