| /AOO41X/main/basebmp/test/ |
| H A D | basictest.cxx | 99 BitmapDeviceSharedPtr pDevice( createBitmapDevice( aSize, in testConstruction() local 103 pDevice->getSize() == aSize2 ); in testConstruction() 105 pDevice->isTopDown() == true ); in testConstruction() 107 pDevice->getScanlineFormat() == Format::ONE_BIT_MSB_PAL ); in testConstruction() 109 pDevice->getScanlineStride() == (aSize2.getY() + 7)/8 ); in testConstruction() 111 pDevice->getPalette() ); in testConstruction() 113 (*pDevice->getPalette())[0] == Color(0) ); in testConstruction() 115 (*pDevice->getPalette())[1] == Color(0xFFFFFFFF) ); in testConstruction() 122 BitmapDeviceSharedPtr pDevice( createBitmapDevice( aSize, in testPixelFuncs() local 128 pDevice->setPixel( aPt, aCol, DrawMode_PAINT ); in testPixelFuncs() [all …]
|
| H A D | bmpdemo.cxx | 1067 basebmp::BitmapDeviceSharedPtr pDevice( basebmp::createBitmapDevice( aTestSize, in Paint() local 1082 pDevice->fillPolyPolygon( in Paint() 1111 basebmp::subsetBitmapDevice( pDevice, in Paint() 1117 pDevice->drawLine( aPt1, aPt2, aCol, basebmp::DrawMode_PAINT, pMask ); in Paint() 1124 pDevice->drawPolygon( aRect, aCol, basebmp::DrawMode_PAINT ); in Paint() 1128 pDevice->drawLine( aPt1, aPt2, aCol, basebmp::DrawMode_PAINT ); in Paint() 1131 pDevice->drawLine( aPt1, aPt3, aCol, basebmp::DrawMode_PAINT ); in Paint() 1136 pDevice->clear(basebmp::Color(0)); in Paint() 1169 pDevice->fillPolyPolygon( in Paint() 1198 Color(pDevice->getPixelData(basegfx::B2IPoint(x,y))) ); in Paint()
|
| /AOO41X/main/svtools/source/control/ |
| H A D | ctrltool.cxx | 245 void FontList::ImplInsertFonts( OutputDevice* pDevice, sal_Bool bAll, in ImplInsertFonts() argument 251 if ( pDevice->GetOutDevType() != OUTDEV_PRINTER ) in ImplInsertFonts() 257 int n = pDevice->GetDevFontCount(); in ImplInsertFonts() 261 FontInfo aFontInfo = pDevice->GetDevFont( i ); in ImplInsertFonts() 278 ImplFontListFontInfo* pNewInfo = new ImplFontListFontInfo( aFontInfo, pDevice ); in ImplInsertFonts() 293 ImplFontListFontInfo* pNewInfo = new ImplFontListFontInfo( aFontInfo, pDevice ); in ImplInsertFonts() 343 FontList::FontList( OutputDevice* pDevice, OutputDevice* pDevice2, sal_Bool bAll ) : in FontList() argument 344 List( 4096, sal::static_int_cast< sal_uInt16 >(pDevice->GetDevFontCount()), 32 ) in FontList() 347 mpDev = pDevice; in FontList() 361 ImplInsertFonts( pDevice, bAll, sal_True ); in FontList() [all …]
|
| H A D | ruler.cxx | 1023 static void ImplDrawRulerTab( OutputDevice* pDevice, in ImplDrawRulerTab() argument 1093 pDevice->DrawRect( aRect1 ); in ImplDrawRulerTab() 1094 pDevice->DrawRect( aRect2 ); in ImplDrawRulerTab() 1096 pDevice->DrawRect( aRect3 ); in ImplDrawRulerTab() 1102 void Ruler::ImplDrawTab( OutputDevice* pDevice, const Point& rPos, sal_uInt16 nStyle ) in ImplDrawTab() argument 1107 pDevice->SetLineColor(); in ImplDrawTab() 1109 pDevice->SetFillColor( GetSettings().GetStyleSettings().GetFaceColor() ); in ImplDrawTab() 1111 pDevice->SetFillColor( GetSettings().GetStyleSettings().GetWindowTextColor() ); in ImplDrawTab() 1115 ImplDrawRulerTab( pDevice, rPos, nStyle, GetStyle()); in ImplDrawTab() 3149 void Ruler::DrawTab( OutputDevice* pDevice, const Point& rPos, sal_uInt16 nStyle ) in DrawTab() argument [all …]
|
| /AOO41X/main/basctl/source/dlged/ |
| H A D | dlgedobj.cxx | 166 OutputDevice* pDevice = Application::GetDefaultDevice(); in TransformSdrToControlCoordinates() local 167 DBG_ASSERT( pDevice, "DlgEdObj::TransformSdrToControlCoordinates: missing default device!" ); in TransformSdrToControlCoordinates() 168 if ( !pDevice ) in TransformSdrToControlCoordinates() 170 aPos = pDevice->LogicToPixel( aPos, MapMode( MAP_100TH_MM ) ); in TransformSdrToControlCoordinates() 171 aSize = pDevice->LogicToPixel( aSize, MapMode( MAP_100TH_MM ) ); in TransformSdrToControlCoordinates() 172 aFormPos = pDevice->LogicToPixel( aFormPos, MapMode( MAP_100TH_MM ) ); in TransformSdrToControlCoordinates() 193 aPos = pDevice->PixelToLogic( aPos, MapMode( MAP_APPFONT ) ); in TransformSdrToControlCoordinates() 194 aSize = pDevice->PixelToLogic( aSize, MapMode( MAP_APPFONT ) ); in TransformSdrToControlCoordinates() 216 OutputDevice* pDevice = Application::GetDefaultDevice(); in TransformSdrToFormCoordinates() local 217 DBG_ASSERT( pDevice, "DlgEdObj::TransformSdrToFormCoordinates: missing default device!" ); in TransformSdrToFormCoordinates() [all …]
|
| /AOO41X/main/sc/source/ui/docshell/ |
| H A D | sizedev.cxx | 44 pDevice = pDocSh->GetPrinter(); in ScSizeDeviceProvider() 47 aOldMapMode = pDevice->GetMapMode(); in ScSizeDeviceProvider() 48 pDevice->SetMapMode( MAP_PIXEL ); // GetNeededSize needs pixel MapMode in ScSizeDeviceProvider() 53 pDevice = new VirtualDevice; in ScSizeDeviceProvider() 54 pDevice->SetDigitLanguage( SC_MOD()->GetOptDigitLanguage() ); in ScSizeDeviceProvider() 58 Point aLogic = pDevice->LogicToPixel( Point(1000,1000), MAP_TWIP ); in ScSizeDeviceProvider() 69 delete pDevice; in ~ScSizeDeviceProvider() 71 pDevice->SetMapMode( aOldMapMode ); in ~ScSizeDeviceProvider()
|
| /AOO41X/main/vcl/unx/generic/gdi/ |
| H A D | salvd.cxx | 86 void X11SalInstance::DestroyVirtualDevice( SalVirtualDevice* pDevice ) in DestroyVirtualDevice() argument 88 delete pDevice; in DestroyVirtualDevice() 93 void X11SalGraphics::Init( X11SalVirtualDevice *pDevice, SalColormap* pColormap, bool bDeleteColorm… in Init() argument 97 SalDisplay *pDisplay = pDevice->GetDisplay(); in Init() 98 m_nScreen = pDevice->GetScreenNumber(); in Init() 101 int nDeviceDepth = pDevice->GetDepth(); in Init() 119 const Drawable aVdevDrawable = pDevice->GetDrawable(); in Init() 122 m_pVDev = pDevice; in Init()
|
| /AOO41X/main/sd/source/ui/view/ |
| H A D | WindowUpdater.cxx | 111 OutputDevice* pDevice, in Update() argument 114 if (pDevice != NULL) in Update() 116 UpdateWindow (pDevice); in Update() 125 void WindowUpdater::UpdateWindow (OutputDevice* pDevice) const in UpdateWindow() 127 if (pDevice != NULL) in UpdateWindow() 152 pDevice->SetDigitLanguage (aLanguage); in UpdateWindow()
|
| /AOO41X/main/soldep/source/ |
| H A D | objwin.cxx | 478 void ObjectWin::DrawOutput( OutputDevice* pDevice, const Point& rOffset ) in DrawOutput() argument 490 aPos = pDevice->PixelToLogic( aPos ) - rOffset; in DrawOutput() 491 aTextPos = pDevice->PixelToLogic( aTextPos ) - rOffset; in DrawOutput() 494 pDevice->SetFillColor( GetBackground().GetColor() ); in DrawOutput() 495 pDevice->DrawRect( Rectangle( aPos, pDevice->PixelToLogic( GetSizePixel() ) ) ); in DrawOutput() 498 aSize = pDevice->PixelToLogic( aSize ); in DrawOutput() 500 pDevice->SetFont( aFont ); in DrawOutput() 501 pDevice->SetTextColor( GetTextColor() ); in DrawOutput() 502 pDevice->DrawText( aTextPos, String( sbt, RTL_TEXTENCODING_UTF8 ) ); in DrawOutput()
|
| H A D | connctr.cxx | 159 void Connector::DrawOutput( OutputDevice* pDevice, const Point& rOffset ) in DrawOutput() argument 164 …pDevice->DrawLine( pDevice->PixelToLogic( mEnd ) - rOffset, pDevice->PixelToLogic( mStart ) - rOff… in DrawOutput() 165 … Rectangle aRect( pDevice->PixelToLogic( Rectangle( mEnd - Point( 2, 2), mEnd + Point( 2, 2) ) ) ); in DrawOutput() 167 pDevice->DrawEllipse( aRect ); in DrawOutput()
|
| H A D | depwin.cxx | 112 void DepWin::DrawOutput( OutputDevice* pDevice, const Point& rOffset ) in DrawOutput() argument 119 ConList.GetObject( i )->DrawOutput( pDevice, rOffset ); in DrawOutput() 123 pDevice->DrawLine( maNewConStart, maNewConEnd ); in DrawOutput()
|
| /AOO41X/main/sal/osl/unx/ |
| H A D | file_volume.cxx | 130 static sal_Bool osl_isFloppyMounted(oslVolumeDeviceHandleImpl* pDevice); 614 const char *pDevice = aMountEnt.mnt_special; in osl_isFloppyDrive() local 680 const char *pDevice = aMountEnt.mnt_special; in osl_mountFloppy() local 740 const char *pDevice = aMountEnt.mnt_special; in osl_unmountFloppy() local 1067 osl_isFloppyMounted (oslVolumeDeviceHandleImpl* pDevice) in osl_isFloppyMounted() argument 1071 if ( osl_getFloppyMountEntry (pDevice->pszMountPoint, &aItem) in osl_isFloppyMounted() 1072 && strcmp (aItem.pszMountPoint, pDevice->pszMountPoint) == 0 in osl_isFloppyMounted() 1073 && strcmp (aItem.pszDevice, pDevice->pszDevice) == 0) in osl_isFloppyMounted() 1120 static sal_Bool osl_isFloppyMounted(oslVolumeDeviceHandleImpl* pDevice) in osl_isFloppyMounted() argument
|
| /AOO41X/main/sd/source/ui/slidesorter/view/ |
| H A D | SlsPageObjectPainter.cxx | 282 ::boost::scoped_ptr<VirtualDevice> pDevice; in CreateMarkedPreview() 284 pDevice.reset(new VirtualDevice(*pReferenceDevice)); in CreateMarkedPreview() 286 pDevice.reset(new VirtualDevice()); in CreateMarkedPreview() 287 pDevice->SetOutputSizePixel(rSize); in CreateMarkedPreview() 289 pDevice->DrawBitmap(Point(0,0), rSize, rPreview); in CreateMarkedPreview() 298 pDevice->DrawBitmapEx(Point(nX,nY), rOverlay); in CreateMarkedPreview() 300 return pDevice->GetBitmap(Point(0,0), rSize); in CreateMarkedPreview()
|
| /AOO41X/main/canvas/source/directx/ |
| H A D | dx_9rm.cxx | 333 COMReference<IDirect3DDevice9> pDevice(rRenderModule.getDevice()); in DXSurface() local 336 if(FAILED(pDevice->CreateTexture( in DXSurface() 369 COMReference<IDirect3DDevice9> pDevice(mrRenderModule.getDevice()); in selectTexture() local 371 if( FAILED(pDevice->SetTexture(0,mpTexture.get())) ) in selectTexture() 854 IDirect3DDevice9 *pDevice(NULL); in createDevice() local 861 &pDevice))) in createDevice() 868 &pDevice))) in createDevice() 872 mpDevice=COMReference<IDirect3DDevice9>(pDevice); in createDevice() 876 pDevice->GetSwapChain(0,&pSwapChain); in createDevice()
|
| /AOO41X/main/sd/source/ui/app/ |
| H A D | sdmod.cxx | 111 VirtualDevice* pDevice = new VirtualDevice; in SdModule() local 112 mpVirtualRefDevice = pDevice; in SdModule() 113 pDevice->SetMapMode( MAP_100TH_MM ); in SdModule() 114 pDevice->SetReferenceDevice ( VirtualDevice::REFDEV_MODE06 ); in SdModule()
|
| /AOO41X/main/dbaccess/source/ui/inc/ |
| H A D | ConnectionLine.hxx | 90 OutputDevice* pDevice; member 93 pDevice = _pDevice; in TConnectionLineDrawFunctor() 97 _pLine->Draw(pDevice); in operator ()()
|
| /AOO41X/main/svx/source/sdr/contact/ |
| H A D | viewcontactofunocontrol.cxx | 119 const OutputDevice* pDevice = _rObjectContact.TryToGetOutputDevice(); in CreateObjectSpecificViewObjectContact() local 120 … bool bPrintOrPreview = ( pDevice != NULL ) && ( pDevice->GetOutDevType() == OUTDEV_PRINTER ); in CreateObjectSpecificViewObjectContact()
|
| /AOO41X/main/basctl/source/basicide/ |
| H A D | basicrenderable.cxx | 95 VCLXDevice* pDevice = VCLXDevice::GetImplementation(xRenderDevice); in getPrinter() local 96 OutputDevice* pOut = pDevice ? pDevice->GetOutputDevice() : NULL; in getPrinter()
|
| /AOO41X/main/basic/source/runtime/ |
| H A D | methods1.cxx | 714 OutputDevice* pDevice = Application::GetDefaultDevice(); in RTLFUNC() local 715 if( pDevice ) in RTLFUNC() 717 aSize = pDevice->PixelToLogic( aSize, aMap ); in RTLFUNC() 731 OutputDevice* pDevice = Application::GetDefaultDevice(); in RTLFUNC() local 732 if( pDevice ) in RTLFUNC() 734 aSize = pDevice->PixelToLogic( aSize, aMap ); in RTLFUNC() 1291 OutputDevice* pDevice = Application::GetDefaultDevice(); in GetDialogZoomFactor() local 1293 if( pDevice ) in GetDialogZoomFactor() 1299 Size aScaledSize = pDevice->LogicToPixel( aRefSize, aMap ); in GetDialogZoomFactor() 1300 aRefSize = pDevice->LogicToPixel( aRefSize, MapMode(MAP_TWIP) ); in GetDialogZoomFactor()
|
| /AOO41X/main/sc/source/ui/inc/ |
| H A D | sizedev.hxx | 34 OutputDevice* pDevice; member in ScSizeDeviceProvider 44 OutputDevice* GetDevice() const { return pDevice; } in GetDevice()
|
| /AOO41X/main/sd/source/ui/inc/ |
| H A D | WindowUpdater.hxx | 107 void Update (OutputDevice* pDevice, SdDrawDocument* pDocument=0) const; 143 SD_DLLPRIVATE void UpdateWindow (OutputDevice* pDevice) const;
|
| /AOO41X/main/sd/source/ui/slidesorter/inc/view/ |
| H A D | SlsPageObjectViewObjectContact.hxx | 115 OutputDevice* pDevice, 125 OutputDevice* pDevice,
|
| /AOO41X/main/uui/source/ |
| H A D | fltdlg.cxx | 196 StringCalculator( const OutputDevice* pDevice ) in StringCalculator() argument 197 : m_pDevice( pDevice ) in StringCalculator()
|
| /AOO41X/main/sw/source/core/view/ |
| H A D | printdata.cxx | 528 VCLXDevice* pDevice = VCLXDevice::GetImplementation( xRenderDevice ); in processPropertiesAndCheckFormat() local 529 pOut = pDevice ? pDevice->GetOutputDevice() : 0; in processPropertiesAndCheckFormat()
|
| /AOO41X/main/vcl/os2/source/gdi/ |
| H A D | salvd.cxx | 140 void Os2SalInstance::DestroyVirtualDevice( SalVirtualDevice* pDevice ) in DestroyVirtualDevice() argument 142 delete pDevice; in DestroyVirtualDevice()
|