/aoo42x/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 …]
|
/aoo42x/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 …]
|
/aoo42x/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 …]
|
/aoo42x/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 …]
|
/aoo42x/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()
|
/aoo42x/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()
|
/aoo42x/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()
|
/aoo42x/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()
|
/aoo42x/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 …]
|
/aoo42x/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 …]
|
/aoo42x/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()
|
/aoo42x/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 …]
|
/aoo42x/main/sd/source/ui/slideshow/ |
H A D | showwin.cxx | 598 VirtualDevice aVDev( *this ); in DrawPauseScene() local 601 aVDev.SetMapMode( aVMap ); in DrawPauseScene() 602 aVDev.SetBackground( Wallpaper( Color( COL_BLACK ) ) ); in DrawPauseScene() 605 aVDev.SetFont( aFont ); in DrawPauseScene() 607 const Size aVDevSize( aOutSize.Width(), aVDev.GetTextHeight() ); in DrawPauseScene() 609 if( aVDev.SetOutputSize( aVDevSize ) ) in DrawPauseScene() 618 aVDev.DrawText( Point( aOffset.Width(), 0 ), aText ); in DrawPauseScene() 619 DrawOutDev( Point( aOutOrg.X(), aOffset.Height() ), aVDevSize, Point(), aVDevSize, aVDev ); in DrawPauseScene()
|
/aoo42x/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()
|
H A D | outdev3.cxx | 7591 VirtualDevice aVDev( 1 ); in GetTextBoundRect() local 7598 aVDev.SetFont( aFont ); in GetTextBoundRect() 7599 aVDev.SetTextAlign( ALIGN_TOP ); in GetTextBoundRect() 7618 aVDev.SetTextFillColor(); in GetTextBoundRect() 7619 aVDev.ImplInitTextColor(); in GetTextBoundRect() 7620 aVDev.ImplDrawText( *pSalLayout ); in GetTextBoundRect() 7805 VirtualDevice aVDev(1); in GetTextOutlines() local 7817 aVDev.SetFont( aFont ); in GetTextOutlines() 7818 aVDev.SetTextAlign( ALIGN_TOP ); in GetTextOutlines() 7820 aVDev.SetTextFillColor(); in GetTextOutlines() [all …]
|
/aoo42x/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 …]
|
/aoo42x/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()
|
/aoo42x/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()
|
/aoo42x/main/canvas/source/cairo/ |
H A D | cairo_textlayout.cxx | 199 VirtualDevice aVDev( *pOutDev ); in queryTextBounds() local 200 aVDev.SetFont( mpFont->getVCLFont() ); in queryTextBounds() 204 const ::FontMetric& aMetric( aVDev.GetFontMetric() ); in queryTextBounds() 206 setupLayoutMode( aVDev, mnTextDirection ); in queryTextBounds() 220 aVDev.GetTextWidth( in queryTextBounds()
|
/aoo42x/main/sc/source/ui/unoobj/ |
H A D | styleuno.cxx | 883 VirtualDevice aVDev; in removeByName() local 884 Point aLogic = aVDev.LogicToPixel( Point(1000,1000), MAP_TWIP ); in removeByName() 888 pDoc->StyleSheetChanged( pStyle, sal_False, &aVDev, nPPTX, nPPTY, aZoom, aZoom ); in removeByName() 1239 VirtualDevice aVDev; in setParentStyle() local 1240 Point aLogic = aVDev.LogicToPixel( Point(1000,1000), MAP_TWIP ); in setParentStyle() 1244 pDoc->StyleSheetChanged( pStyle, sal_False, &aVDev, nPPTX, nPPTY, aZoom, aZoom ); in setParentStyle() 1608 VirtualDevice aVDev; in setAllPropertiesToDefault() local 1609 Point aLogic = aVDev.LogicToPixel( Point(1000,1000), MAP_TWIP ); in setAllPropertiesToDefault() 1613 pDoc->StyleSheetChanged( pStyle, sal_False, &aVDev, nPPTX, nPPTY, aZoom, aZoom ); in setAllPropertiesToDefault() 1979 VirtualDevice aVDev; in StyleSheetChangedUpdate() local [all …]
|