/aoo41x/main/sfx2/source/doc/ |
H A D | graphhelp.cxx | 235 VirtualDevice aVDev; in mergeBitmaps_Impl() local 250 aVDev.DrawBitmap( aNullPt, aVDev.GetOutputSizePixel(), rBmpEx.GetBitmap() ); 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() 267 aVDev.SetLineColor( COL_BLACK ); in mergeBitmaps_Impl() 268 aVDev.SetFillColor( COL_BLACK ); in mergeBitmaps_Impl() 269 aVDev.DrawRect( aOverlayRect); in mergeBitmaps_Impl() 274 rReturn = BitmapEx( aBmp, aVDev.GetBitmap( aNullPt, aVDev.GetOutputSizePixel() ) ); in mergeBitmaps_Impl() 294 VirtualDevice aVDev; in createThumb_Impl() local 353 if ( aVDev.SetOutputSizePixel( aFullSize ) ) in createThumb_Impl() [all …]
|
/aoo41x/main/svx/source/xoutdev/ |
H A D | _xoutbmp.cxx | 272 VirtualDevice aVDev; in WriteGraphic() local 275 if( aVDev.SetOutputSizePixel( aSize ) ) in WriteGraphic() 281 aVDev.Erase(); in WriteGraphic() 282 rGraphic.Draw( &aVDev, aPt, aSize ); in WriteGraphic() 286 aVDev.SetBackground( aWallpaper ); in WriteGraphic() 287 aVDev.Erase(); in WriteGraphic() 288 rGraphic.Draw( &aVDev, aPt, aSize ); in WriteGraphic() 290 aVDev.SetRasterOp( ROP_XOR ); in WriteGraphic() 305 VirtualDevice aVDev; in WriteGraphic() local 308 if( aVDev.SetOutputSizePixel( aSize ) ) 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() 420 VirtualDevice aVDev; in MakePreview() local 424 aMtf.Record( &aVDev ); in MakePreview() 426 aVDev.SetFillColor(); in MakePreview() 431 aVDev.Push( PUSH_FONT ); in MakePreview() 432 aVDev.SetFont( aFont ); in MakePreview() 435 aVDev.DrawRect( aRect ); in MakePreview() 497 aVDev.Pop(); 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() 308 VirtualDevice aVDev; in WinMtfFontStyle() local 311 aVDev.SetFont( aFont ); in WinMtfFontStyle() 1571 VirtualDevice aVDev; in DrawText() local 1575 aVDev.SetFont( maFont ); in DrawText() 1621 VirtualDevice aVDev; in DrawText() local 1625 aVDev.SetFont( maLatestFont ); in DrawText() 1642 VirtualDevice aVDev; in ImplDrawBitmap() local 1652 aVDev.SetMapMode( aMapMode ); in ImplDrawBitmap() [all …]
|
/aoo41x/main/svx/source/unodraw/ |
H A D | UnoGraphicExporter.cxx | 671 VirtualDevice aVDev; in GetGraphic() local 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() 790 pView = new SdrView( mpDoc, &aVDev ); in GetGraphic() 809 aVDev.Push(); in GetGraphic() 811 aVDev.SetRelativeMapMode( aVMap ); in GetGraphic() 812 aVDev.IntersectClipRegion( aClipRect ); 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() 225 aVDev.SetMapMode( aTransMap ); in CreateAutoContour() 226 aBmp = aVDev.GetBitmap( Point(), rSizePix ); in CreateAutoContour() 241 VirtualDevice aVDev; in CreateAutoContour() local 254 if( aVDev.SetOutputSizePixel( aSizePix ) ) in CreateAutoContour() 257 aTmpGrf.Draw( &aVDev, aPt, aSizePix ); 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 3092 if ( aVDev.SetOutputSizePixel( aFullSize ) ) in CreateThumbnail() 3103 Bitmap aBmp( aVDev.GetBitmap( aNullPt, aVDev.GetOutputSizePixel() ) ); in CreateThumbnail() 3125 aVDev.SetLineColor( COL_BLACK ); in CreateThumbnail() 3126 aVDev.SetFillColor( COL_BLACK ); in CreateThumbnail() 3127 aVDev.DrawRect( aOverlayRect); 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 1880 VirtualDevice aVDev; in WriteOrders() local 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() 1951 nNormSize = aVDev.GetTextArray( aStr, pDXAry ); in WriteOrders() 2080 VirtualDevice aVDev; in WriteOrders() local 2084 aVDev.SetMapMode( aTargetMapMode ); in WriteOrders() 2092 VirtualDevice aVDev; in WriteOrders() local [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()
|