Home
last modified time | relevance | path

Searched refs:GetDeviceCaps (Results 1 – 25 of 30) sorted by relevance

12

/external/pdfium/core/fpdfapi/render/
Dcpdf_devicebuffer.cpp36 int horz_size = pDevice->GetDeviceCaps(FXDC_HORZ_SIZE); in CalculateMatrix()
37 int vert_size = pDevice->GetDeviceCaps(FXDC_VERT_SIZE); in CalculateMatrix()
40 pDevice->GetDeviceCaps(FXDC_PIXEL_WIDTH) * 254 / (horz_size * 10); in CalculateMatrix()
42 pDevice->GetDeviceCaps(FXDC_PIXEL_HEIGHT) * 254 / (vert_size * 10); in CalculateMatrix()
74 if (m_pDevice->GetDeviceCaps(FXDC_RENDER_CAPS) & FXRC_GET_BITS) { in OutputToDevice()
Dcpdf_scaledrenderbuffer.cpp32 if (m_pDevice->GetDeviceCaps(FXDC_RENDER_CAPS) & FXRC_GET_BITS) in Initialize()
42 !!(m_pDevice->GetDeviceCaps(FXDC_RENDER_CAPS) & FXRC_ALPHA_OUTPUT); in Initialize()
/external/pdfium/core/fxge/win32/
Dfx_win32_print.cpp61 m_HorzSize(::GetDeviceCaps(m_hDC, HORZSIZE)), in CGdiPrinterDriver()
62 m_VertSize(::GetDeviceCaps(m_hDC, VERTSIZE)) {} in CGdiPrinterDriver()
66 int CGdiPrinterDriver::GetDeviceCaps(int caps_id) const { in GetDeviceCaps() function in CGdiPrinterDriver
71 return CGdiDeviceDriver::GetDeviceCaps(caps_id); in GetDeviceCaps()
355 m_HorzSize = ::GetDeviceCaps(m_hDC, HORZSIZE); in CPSPrinterDriver()
356 m_VertSize = ::GetDeviceCaps(m_hDC, VERTSIZE); in CPSPrinterDriver()
357 m_Width = ::GetDeviceCaps(m_hDC, HORZRES); in CPSPrinterDriver()
358 m_Height = ::GetDeviceCaps(m_hDC, VERTRES); in CPSPrinterDriver()
359 m_nBitsPerPixel = ::GetDeviceCaps(m_hDC, BITSPIXEL); in CPSPrinterDriver()
394 int CPSPrinterDriver::GetDeviceCaps(int caps_id) const { in GetDeviceCaps() function in CPSPrinterDriver
[all …]
Dwin32_int.h82 int GetDeviceCaps(int caps_id) const override;
144 int GetDeviceCaps(int caps_id) const override;
187 int GetDeviceCaps(int caps_id) const override;
232 int GetDeviceCaps(int caps_id) const override;
298 int GetDeviceCaps(int caps_id) const override;
Dfx_win32_device.cpp725 m_nBitsPerPixel = ::GetDeviceCaps(m_hDC, BITSPIXEL); in CGdiDeviceDriver()
726 m_Width = ::GetDeviceCaps(m_hDC, HORZRES); in CGdiDeviceDriver()
727 m_Height = ::GetDeviceCaps(m_hDC, VERTRES); in CGdiDeviceDriver()
742 int CGdiDeviceDriver::GetDeviceCaps(int caps_id) const { in GetDeviceCaps() function in CGdiDeviceDriver
1155 int CGdiDisplayDriver::GetDeviceCaps(int caps_id) const { in GetDeviceCaps() function in CGdiDisplayDriver
1158 return CGdiDeviceDriver::GetDeviceCaps(caps_id); in GetDeviceCaps()
1369 int device_type = ::GetDeviceCaps(hDC, TECHNOLOGY); in CreateDriver()
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.cpp1173 int CFX_AggDeviceDriver::GetDeviceCaps(int caps_id) const { in GetDeviceCaps() function in CFX_AggDeviceDriver
1258 GetDeviceCaps(FXDC_PIXEL_WIDTH), GetDeviceCaps(FXDC_PIXEL_HEIGHT)); in SetClip_PathFill()
1265 0, 0, static_cast<float>(GetDeviceCaps(FXDC_PIXEL_WIDTH)), in SetClip_PathFill()
1266 static_cast<float>(GetDeviceCaps(FXDC_PIXEL_HEIGHT)))); in SetClip_PathFill()
1277 static_cast<float>(GetDeviceCaps(FXDC_PIXEL_WIDTH)), in SetClip_PathFill()
1278 static_cast<float>(GetDeviceCaps(FXDC_PIXEL_HEIGHT))); in SetClip_PathFill()
1291 GetDeviceCaps(FXDC_PIXEL_WIDTH), GetDeviceCaps(FXDC_PIXEL_HEIGHT)); in SetClip_PathStroke()
1297 static_cast<float>(GetDeviceCaps(FXDC_PIXEL_WIDTH)), in SetClip_PathStroke()
1298 static_cast<float>(GetDeviceCaps(FXDC_PIXEL_HEIGHT))); in SetClip_PathStroke()
1349 static_cast<float>(GetDeviceCaps(FXDC_PIXEL_WIDTH)), in DrawPath()
[all …]
Dfx_agg_driver.h47 int GetDeviceCaps(int caps_id) const override;
/external/mesa3d/include/d3dadapter/
Dd3dadapter9.h46 HRESULT (WINAPI *GetDeviceCaps)(ID3DAdapter9 *This, D3DDEVTYPE DeviceType, D3DCAPS9 *pCaps);
67 #define ID3DAdapter9_GetDeviceCaps(p,a,b) (p)->lpVtbl->GetDeviceCaps(p,a,b)
81 HRESULT WINAPI GetDeviceCaps(D3DDEVTYPE DeviceType, D3DCAPS9 *pCaps);
/external/icu/icu4c/source/samples/layout/
DGDIFontInstance.cpp132 dpiX = (FLOAT) GetDeviceCaps(hdc, LOGPIXELSX); in GDIFontInstance()
133 dpiY = (FLOAT) GetDeviceCaps(hdc, LOGPIXELSY); in GDIFontInstance()
217 dpiX = (FLOAT) GetDeviceCaps(hdc, LOGPIXELSX); in GDIFontInstance()
218 dpiY = (FLOAT) GetDeviceCaps(hdc, LOGPIXELSY); in GDIFontInstance()
/external/webrtc/modules/desktop_capture/win/
Dscreen_capturer_win_gdi.cc91 frame->set_dpi(DesktopVector(GetDeviceCaps(desktop_dc_, LOGPIXELSX), in CaptureFrame()
92 GetDeviceCaps(desktop_dc_, LOGPIXELSY))); in CaptureFrame()
Dscreen_capturer_win_magnifier.cc114 frame->set_dpi(DesktopVector(GetDeviceCaps(desktop_dc_, LOGPIXELSX), in CaptureFrame()
115 GetDeviceCaps(desktop_dc_, LOGPIXELSY))); in CaptureFrame()
Ddxgi_duplicator_controller.cc275 dpi_.set(GetDeviceCaps(hdc, LOGPIXELSX), GetDeviceCaps(hdc, LOGPIXELSY)); in DoInitialize()
/external/webrtc/modules/desktop_capture/
Dscreen_drawer_win.cc54 DesktopRect rect = DesktopRect::MakeWH(GetDeviceCaps(hdc, HORZRES), in GetScreenRect()
55 GetDeviceCaps(hdc, VERTRES)); in GetScreenRect()
/external/tensorflow/tensorflow/core/profiler/utils/
Ddevice_caps_utils.h26 DeviceCapabilities GetDeviceCaps(const XPlane& plane);
Ddevice_caps_utils.cc51 DeviceCapabilities GetDeviceCaps(const XPlane& plane) { in GetDeviceCaps() function
/external/ImageMagick/coders/
Dscreenshot.c171 geometry.width=(size_t) GetDeviceCaps(hDC,HORZRES); in ReadSCREENSHOTImage()
172 geometry.height=(size_t) GetDeviceCaps(hDC,VERTRES); in ReadSCREENSHOTImage()
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp1037 static_cast<float>(m_pDriver->GetDeviceCaps(FXDC_PIXEL_WIDTH)), in SetClipFill()
1038 static_cast<float>(m_pDriver->GetDeviceCaps(FXDC_PIXEL_HEIGHT)))); in SetClipFill()
1808 int CFX_SkiaDeviceDriver::GetDeviceCaps(int caps_id) const { in GetDeviceCaps() function in CFX_SkiaDeviceDriver
1947 GetDeviceCaps(FXDC_PIXEL_WIDTH), GetDeviceCaps(FXDC_PIXEL_HEIGHT)); in SetClip_PathFill()
1955 (float)GetDeviceCaps(FXDC_PIXEL_WIDTH), in SetClip_PathFill()
1956 (float)GetDeviceCaps(FXDC_PIXEL_HEIGHT))); in SetClip_PathFill()
1983 FX_RECT clipBox(0, 0, GetDeviceCaps(FXDC_PIXEL_WIDTH), in SetClip_PathFill()
1984 GetDeviceCaps(FXDC_PIXEL_HEIGHT)); in SetClip_PathFill()
2001 GetDeviceCaps(FXDC_PIXEL_WIDTH), GetDeviceCaps(FXDC_PIXEL_HEIGHT)); in SetClip_PathStroke()
2017 FX_RECT clipBox(0, 0, GetDeviceCaps(FXDC_PIXEL_WIDTH), in SetClip_PathStroke()
[all …]
Dfx_skia_device.h40 int GetDeviceCaps(int caps_id) const override;
/external/OpenCL-CTS/test_conformance/extensions/cl_khr_dx9_media_sharing/
Dwrappers.cpp199 _d3d9->GetDeviceCaps(_adapterIdx - 1, D3DDEVTYPE_HAL, &caps))) in AdapterNext()
321 _d3d9Ex->GetDeviceCaps(_adapterIdx - 1, D3DDEVTYPE_HAL, &caps))) in AdapterNext()
/external/pdfium/core/fxge/
Drenderdevicedriver_iface.h40 virtual int GetDeviceCaps(int caps_id) const = 0;
Dcfx_renderdevice.cpp404 m_Width = m_pDeviceDriver->GetDeviceCaps(FXDC_PIXEL_WIDTH); in InitDeviceInfo()
405 m_Height = m_pDeviceDriver->GetDeviceCaps(FXDC_PIXEL_HEIGHT); in InitDeviceInfo()
406 m_bpp = m_pDeviceDriver->GetDeviceCaps(FXDC_BITS_PIXEL); in InitDeviceInfo()
407 m_RenderCaps = m_pDeviceDriver->GetDeviceCaps(FXDC_RENDER_CAPS); in InitDeviceInfo()
428 int CFX_RenderDevice::GetDeviceCaps(int caps_id) const { in GetDeviceCaps() function in CFX_RenderDevice
429 return m_pDeviceDriver->GetDeviceCaps(caps_id); in GetDeviceCaps()
Dcfx_renderdevice.h63 int GetDeviceCaps(int id) const;
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DVertexDeclarationCache.cpp105 device->GetDeviceCaps(&caps); in applyDeclaration()
Drenderer9_utils.cpp491 if (FAILED(d3d9->GetDeviceCaps(adapter, deviceType, &deviceCaps))) in GenerateCaps()
/external/mesa3d/include/D3D9/
Dd3d9.h96 virtual HRESULT WINAPI GetDeviceCaps(UINT Adapter, D3DDEVTYPE DeviceType, D3DCAPS9 *pCaps) = 0;
165 virtual HRESULT WINAPI GetDeviceCaps(D3DCAPS9 *pCaps) = 0;
457 …HRESULT (WINAPI *GetDeviceCaps)(IDirect3D9 *This, UINT Adapter, D3DDEVTYPE DeviceType, D3DCAPS9 *p…
482 #define IDirect3D9_GetDeviceCaps(p,a,b,c) (p)->lpVtbl->GetDeviceCaps(p,a,b,c)
504 …HRESULT (WINAPI *GetDeviceCaps)(IDirect3D9Ex *This, UINT Adapter, D3DDEVTYPE DeviceType, D3DCAPS9 …
535 #define IDirect3D9Ex_GetDeviceCaps(p,a,b,c) (p)->lpVtbl->GetDeviceCaps(p,a,b,c)
753 HRESULT (WINAPI *GetDeviceCaps)(IDirect3DDevice9 *This, D3DCAPS9 *pCaps);
880 #define IDirect3DDevice9_GetDeviceCaps(p,a) (p)->lpVtbl->GetDeviceCaps(p,a)
1004 HRESULT (WINAPI *GetDeviceCaps)(IDirect3DDevice9Ex *This, D3DCAPS9 *pCaps);
1147 #define IDirect3DDevice9Ex_GetDeviceCaps(p,a) (p)->lpVtbl->GetDeviceCaps(p,a)

12