Home
last modified time | relevance | path

Searched refs:pDevice (Results 1 – 25 of 59) sorted by relevance

123

/aoo41x/main/basebmp/test/
H A Dbasictest.cxx111 pDevice->getPalette() ); in testConstruction()
128 pDevice->setPixel( aPt, aCol, DrawMode_PAINT ); in testPixelFuncs()
134 pDevice->setPixel( aPt2, aCol2, DrawMode_PAINT ); in testPixelFuncs()
140 pDevice->setPixel( aPt3, aCol3, DrawMode_PAINT ); in testPixelFuncs()
153 sal_Int32 nPixel(countPixel(pDevice, aCol2)); in testPixelFuncs()
164 pDevice = createBitmapDevice( aSize, in testPixelFuncs()
189 pDevice = createBitmapDevice( aSize, in testPixelFuncs()
211 pDevice = createBitmapDevice( aSize, in testPixelFuncs()
215 pDevice->clear( aCol7 ); in testPixelFuncs()
235 pDevice = createBitmapDevice( aSize, in testPixelFuncs()
[all …]
H A Dbmpdemo.cxx1067 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 Dctrltool.cxx251 if ( pDevice->GetOutDevType() != OUTDEV_PRINTER ) in ImplInsertFonts()
257 int n = pDevice->GetDevFontCount(); in ImplInsertFonts()
261 FontInfo aFontInfo = pDevice->GetDevFont( i ); in ImplInsertFonts()
347 mpDev = pDevice; in FontList()
361 ImplInsertFonts( pDevice, bAll, sal_True ); in FontList()
814 OutputDevice* pDevice = mpDev; in GetSizeAry() local
817 pDevice = pData->mpFirst->GetDevice(); in GetSizeAry()
824 MapMode aOldMapMode = pDevice->GetMapMode(); in GetSizeAry()
826 pDevice->SetMapMode( aMap ); in GetSizeAry()
834 Size aSize = pDevice->GetDevFontSize( rInfo, i ); in GetSizeAry()
[all …]
H A Druler.cxx1023 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()
1107 pDevice->SetLineColor(); in ImplDrawTab()
1115 ImplDrawRulerTab( pDevice, rPos, nStyle, GetStyle()); in ImplDrawTab()
3155 pDevice->Push( PUSH_LINECOLOR | PUSH_FILLCOLOR ); in DrawTab()
3156 pDevice->SetLineColor(); in DrawTab()
3157 pDevice->SetFillColor( pDevice->GetSettings().GetStyleSettings().GetWindowTextColor() ); in DrawTab()
3159 ImplDrawRulerTab( pDevice, aPos, nTabStyle, nStyle ); in DrawTab()
[all …]
/aoo41x/main/basctl/source/dlged/
H A Ddlgedobj.cxx166 OutputDevice* pDevice = Application::GetDefaultDevice(); in TransformSdrToControlCoordinates() local
168 if ( !pDevice ) in TransformSdrToControlCoordinates()
170 aPos = pDevice->LogicToPixel( aPos, MapMode( MAP_100TH_MM ) ); in TransformSdrToControlCoordinates()
193 aPos = pDevice->PixelToLogic( aPos, MapMode( MAP_APPFONT ) ); in TransformSdrToControlCoordinates()
216 OutputDevice* pDevice = Application::GetDefaultDevice(); in TransformSdrToFormCoordinates() local
218 if ( !pDevice ) in TransformSdrToFormCoordinates()
243 aPos = pDevice->PixelToLogic( aPos, MapMode( MAP_APPFONT ) ); in TransformSdrToFormCoordinates()
282 OutputDevice* pDevice = Application::GetDefaultDevice(); in TransformControlToSdrCoordinates() local
284 if ( !pDevice ) in TransformControlToSdrCoordinates()
328 OutputDevice* pDevice = Application::GetDefaultDevice(); in TransformFormToSdrCoordinates() local
[all …]
/aoo41x/main/sc/source/ui/docshell/
H A Dsizedev.cxx44 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 Dsalvd.cxx86 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 DWindowUpdater.cxx111 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 Dobjwin.cxx478 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 Dconnctr.cxx159 void Connector::DrawOutput( OutputDevice* pDevice, const Point& rOffset ) in DrawOutput() argument
164pDevice->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 Ddepwin.cxx112 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 Dfile_volume.cxx130 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 DSlsPageObjectPainter.cxx282 ::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 Ddx_9rm.cxx333 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 Dsdmod.cxx111 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 DConnectionLine.hxx90 OutputDevice* pDevice; member
93 pDevice = _pDevice; in TConnectionLineDrawFunctor()
97 _pLine->Draw(pDevice); in operator ()()
/aoo41x/main/svx/source/sdr/contact/
H A Dviewcontactofunocontrol.cxx119 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 Dbasicrenderable.cxx95 VCLXDevice* pDevice = VCLXDevice::GetImplementation(xRenderDevice); in getPrinter() local
96 OutputDevice* pOut = pDevice ? pDevice->GetOutputDevice() : NULL; in getPrinter()
/aoo41x/main/basic/source/runtime/
H A Dmethods1.cxx714 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 Dsizedev.hxx34 OutputDevice* pDevice; member in ScSizeDeviceProvider
44 OutputDevice* GetDevice() const { return pDevice; } in GetDevice()
/aoo41x/main/sd/source/ui/inc/
H A DWindowUpdater.hxx107 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 DSlsPageObjectViewObjectContact.hxx115 OutputDevice* pDevice,
125 OutputDevice* pDevice,
/aoo41x/main/uui/source/
H A Dfltdlg.cxx196 StringCalculator( const OutputDevice* pDevice ) in StringCalculator() argument
197 : m_pDevice( pDevice ) in StringCalculator()
/aoo41x/main/sw/source/core/view/
H A Dprintdata.cxx528 VCLXDevice* pDevice = VCLXDevice::GetImplementation( xRenderDevice ); in processPropertiesAndCheckFormat() local
529 pOut = pDevice ? pDevice->GetOutputDevice() : 0; in processPropertiesAndCheckFormat()
/aoo41x/main/vcl/os2/source/gdi/
H A Dsalvd.cxx140 void Os2SalInstance::DestroyVirtualDevice( SalVirtualDevice* pDevice ) in DestroyVirtualDevice() argument
142 delete pDevice; in DestroyVirtualDevice()

Completed in 129 milliseconds

123