Lines Matching refs:pDevice
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()
218 if ( !pDevice ) in TransformSdrToFormCoordinates()
220 aPos = pDevice->LogicToPixel( aPos, MapMode( MAP_100TH_MM ) ); in TransformSdrToFormCoordinates()
221 aSize = pDevice->LogicToPixel( aSize, MapMode( MAP_100TH_MM ) ); in TransformSdrToFormCoordinates()
243 aPos = pDevice->PixelToLogic( aPos, MapMode( MAP_APPFONT ) ); in TransformSdrToFormCoordinates()
244 aSize = pDevice->PixelToLogic( aSize, MapMode( MAP_APPFONT ) ); in TransformSdrToFormCoordinates()
282 OutputDevice* pDevice = Application::GetDefaultDevice(); in TransformControlToSdrCoordinates() local
283 DBG_ASSERT( pDevice, "DlgEdObj::TransformControlToSdrCoordinates: missing default device!" ); in TransformControlToSdrCoordinates()
284 if ( !pDevice ) in TransformControlToSdrCoordinates()
286 aPos = pDevice->LogicToPixel( aPos, MapMode( MAP_APPFONT ) ); in TransformControlToSdrCoordinates()
287 aSize = pDevice->LogicToPixel( aSize, MapMode( MAP_APPFONT ) ); in TransformControlToSdrCoordinates()
288 aFormPos = pDevice->LogicToPixel( aFormPos, MapMode( MAP_APPFONT ) ); in TransformControlToSdrCoordinates()
305 aPos = pDevice->PixelToLogic( aPos, MapMode( MAP_100TH_MM ) ); in TransformControlToSdrCoordinates()
306 aSize = pDevice->PixelToLogic( aSize, MapMode( MAP_100TH_MM ) ); in TransformControlToSdrCoordinates()
328 OutputDevice* pDevice = Application::GetDefaultDevice(); in TransformFormToSdrCoordinates() local
329 DBG_ASSERT( pDevice, "DlgEdObj::TransformFormToSdrCoordinates: missing default device!" ); in TransformFormToSdrCoordinates()
330 if ( !pDevice ) in TransformFormToSdrCoordinates()
332 aPos = pDevice->LogicToPixel( aPos, MapMode( MAP_APPFONT ) ); in TransformFormToSdrCoordinates()
333 aSize = pDevice->LogicToPixel( aSize, MapMode( MAP_APPFONT ) ); in TransformFormToSdrCoordinates()
355 aPos = pDevice->PixelToLogic( aPos, MapMode( MAP_100TH_MM ) ); in TransformFormToSdrCoordinates()
356 aSize = pDevice->PixelToLogic( aSize, MapMode( MAP_100TH_MM ) ); in TransformFormToSdrCoordinates()