/external/pdfium/core/fpdfapi/render/ |
D | cpdf_scaledrenderbuffer.cpp | 28 if (m_pDevice->GetDeviceCaps(FXDC_RENDER_CAPS) & FXRC_GET_BITS) in Initialize() 35 int horz_size = pDevice->GetDeviceCaps(FXDC_HORZ_SIZE); in Initialize() 36 int vert_size = pDevice->GetDeviceCaps(FXDC_VERT_SIZE); in Initialize() 39 pDevice->GetDeviceCaps(FXDC_PIXEL_WIDTH) * 254 / (horz_size * 10); in Initialize() 41 pDevice->GetDeviceCaps(FXDC_PIXEL_HEIGHT) * 254 / (vert_size * 10); in Initialize() 50 if (m_pDevice->GetDeviceCaps(FXDC_RENDER_CAPS) & FXRC_ALPHA_OUTPUT) { in Initialize()
|
D | cpdf_devicebuffer.cpp | 33 int horz_size = pDevice->GetDeviceCaps(FXDC_HORZ_SIZE); in Initialize() 34 int vert_size = pDevice->GetDeviceCaps(FXDC_VERT_SIZE); in Initialize() 37 pDevice->GetDeviceCaps(FXDC_PIXEL_WIDTH) * 254 / (horz_size * 10); in Initialize() 39 pDevice->GetDeviceCaps(FXDC_PIXEL_HEIGHT) * 254 / (vert_size * 10); in Initialize() 57 if (m_pDevice->GetDeviceCaps(FXDC_RENDER_CAPS) & FXRC_GET_BITS) { in OutputToDevice()
|
D | cpdf_progressiverenderer.cpp | 85 if (m_pDevice->GetDeviceCaps(FXDC_DEVICE_CLASS) == FXDC_PRINTER) { in Continue()
|
/external/pdfium/core/fxge/win32/ |
D | fx_win32_print.cpp | 59 m_HorzSize(::GetDeviceCaps(m_hDC, HORZSIZE)), in CGdiPrinterDriver() 60 m_VertSize(::GetDeviceCaps(m_hDC, VERTSIZE)) {} in CGdiPrinterDriver() 64 int CGdiPrinterDriver::GetDeviceCaps(int caps_id) const { in GetDeviceCaps() function in CGdiPrinterDriver 69 return CGdiDeviceDriver::GetDeviceCaps(caps_id); in GetDeviceCaps() 335 m_HorzSize = ::GetDeviceCaps(m_hDC, HORZSIZE); in CPSPrinterDriver() 336 m_VertSize = ::GetDeviceCaps(m_hDC, VERTSIZE); in CPSPrinterDriver() 337 m_Width = ::GetDeviceCaps(m_hDC, HORZRES); in CPSPrinterDriver() 338 m_Height = ::GetDeviceCaps(m_hDC, VERTRES); in CPSPrinterDriver() 339 m_nBitsPerPixel = ::GetDeviceCaps(m_hDC, BITSPIXEL); in CPSPrinterDriver() 372 int CPSPrinterDriver::GetDeviceCaps(int caps_id) const { in GetDeviceCaps() function in CPSPrinterDriver [all …]
|
D | win32_int.h | 135 int GetDeviceCaps(int caps_id) const override; 236 int GetDeviceCaps(int caps_id) const override; 277 int GetDeviceCaps(int caps_id) const override; 342 int GetDeviceCaps(int caps_id) const override;
|
D | fx_win32_device.cpp | 740 m_nBitsPerPixel = ::GetDeviceCaps(m_hDC, BITSPIXEL); in CGdiDeviceDriver() 741 m_Width = ::GetDeviceCaps(m_hDC, HORZRES); in CGdiDeviceDriver() 742 m_Height = ::GetDeviceCaps(m_hDC, VERTRES); in CGdiDeviceDriver() 753 int CGdiDeviceDriver::GetDeviceCaps(int caps_id) const { in GetDeviceCaps() function in CGdiDeviceDriver 1357 int device_type = ::GetDeviceCaps(hDC, TECHNOLOGY); in CreateDriver()
|
/external/pdfium/core/fxge/agg/ |
D | fx_agg_driver.cpp | 1145 int CFX_AggDeviceDriver::GetDeviceCaps(int caps_id) const { in GetDeviceCaps() function in CFX_AggDeviceDriver 1227 GetDeviceCaps(FXDC_PIXEL_WIDTH), GetDeviceCaps(FXDC_PIXEL_HEIGHT)); in SetClip_PathFill() 1234 0, 0, static_cast<float>(GetDeviceCaps(FXDC_PIXEL_WIDTH)), in SetClip_PathFill() 1235 static_cast<float>(GetDeviceCaps(FXDC_PIXEL_HEIGHT)))); in SetClip_PathFill() 1246 static_cast<float>(GetDeviceCaps(FXDC_PIXEL_WIDTH)), in SetClip_PathFill() 1247 static_cast<float>(GetDeviceCaps(FXDC_PIXEL_HEIGHT))); in SetClip_PathFill() 1262 GetDeviceCaps(FXDC_PIXEL_WIDTH), GetDeviceCaps(FXDC_PIXEL_HEIGHT)); in SetClip_PathStroke() 1268 static_cast<float>(GetDeviceCaps(FXDC_PIXEL_WIDTH)), in SetClip_PathStroke() 1269 static_cast<float>(GetDeviceCaps(FXDC_PIXEL_HEIGHT))); in SetClip_PathStroke() 1317 static_cast<float>(GetDeviceCaps(FXDC_PIXEL_WIDTH)), in DrawPath() [all …]
|
D | fx_agg_driver.h | 45 int GetDeviceCaps(int caps_id) const override;
|
/external/swiftshader/src/D3D9/ |
D | Direct3D9Ex.cpp | 211 …long Direct3D9Ex::GetDeviceCaps(unsigned int adapter, D3DDEVTYPE deviceType, D3DCAPS9 *capabilitie… in GetDeviceCaps() function in D3D9::Direct3D9Ex 221 return d3d9ex->GetDeviceCaps(adapter, deviceType, capabilities); in GetDeviceCaps() 225 return GetDeviceCaps(adapter, D3DDEVTYPE_HAL, capabilities); in GetDeviceCaps() 229 long result = Direct3D9::GetDeviceCaps(adapter, deviceType, capabilities); in GetDeviceCaps()
|
D | Direct3D9.hpp | 51 …long __stdcall GetDeviceCaps(unsigned int adapter, D3DDEVTYPE deviceType, D3DCAPS9 *caps) override;
|
D | Direct3D9Ex.hpp | 51 …long __stdcall GetDeviceCaps(unsigned int adapter, D3DDEVTYPE deviceType, D3DCAPS9 *caps) override;
|
D | Direct3D9.cpp | 996 mode->Width = ::GetDeviceCaps(deviceContext, HORZRES); in GetAdapterDisplayMode() 997 mode->Height = ::GetDeviceCaps(deviceContext, VERTRES); in GetAdapterDisplayMode() 998 mode->RefreshRate = ::GetDeviceCaps(deviceContext, VREFRESH); in GetAdapterDisplayMode() 999 unsigned int bpp = ::GetDeviceCaps(deviceContext, BITSPIXEL); in GetAdapterDisplayMode() 1185 long Direct3D9::GetDeviceCaps(unsigned int adapter, D3DDEVTYPE deviceType, D3DCAPS9 *capabilities) in GetDeviceCaps() function in D3D9::Direct3D9 1195 return d3d9->GetDeviceCaps(adapter, deviceType, capabilities); in GetDeviceCaps() 1199 return GetDeviceCaps(adapter, D3DDEVTYPE_HAL, capabilities); in GetDeviceCaps()
|
D | Direct3DDevice9Ex.cpp | 341 long Direct3DDevice9Ex::GetDeviceCaps(D3DCAPS9 *caps) in GetDeviceCaps() function in D3D9::Direct3DDevice9Ex 345 return d3d9ex->GetDeviceCaps(D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, caps); in GetDeviceCaps()
|
/external/mesa3d/include/d3dadapter/ |
D | d3dadapter9.h | 46 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/ |
D | GDIFontInstance.cpp | 132 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/ImageMagick/coders/ |
D | screenshot.c | 165 screen->columns=(size_t) GetDeviceCaps(hDC,HORZRES); in ReadSCREENSHOTImage() 166 screen->rows=(size_t) GetDeviceCaps(hDC,VERTRES); in ReadSCREENSHOTImage()
|
/external/webrtc/webrtc/modules/desktop_capture/win/ |
D | screen_capturer_win_gdi.cc | 126 GetDeviceCaps(desktop_dc_, LOGPIXELSX), in Capture() 127 GetDeviceCaps(desktop_dc_, LOGPIXELSY))); in Capture()
|
D | screen_capturer_win_magnifier.cc | 161 frame->set_dpi(DesktopVector(GetDeviceCaps(desktop_dc_, LOGPIXELSX), in Capture() 162 GetDeviceCaps(desktop_dc_, LOGPIXELSY))); in Capture()
|
/external/swiftshader/src/D3D8/ |
D | Direct3D8.cpp | 659 mode->Width = ::GetDeviceCaps(deviceContext, HORZRES); in GetAdapterDisplayMode() 660 mode->Height = ::GetDeviceCaps(deviceContext, VERTRES); in GetAdapterDisplayMode() 661 mode->RefreshRate = ::GetDeviceCaps(deviceContext, VREFRESH); in GetAdapterDisplayMode() 662 unsigned int bpp = ::GetDeviceCaps(deviceContext, BITSPIXEL); in GetAdapterDisplayMode() 730 long Direct3D8::GetDeviceCaps(unsigned int adapter, D3DDEVTYPE deviceType, D3DCAPS8 *capabilities) in GetDeviceCaps() function in D3D8::Direct3D8 740 return d3d8->GetDeviceCaps(adapter, deviceType, capabilities); in GetDeviceCaps() 744 return GetDeviceCaps(adapter, D3DDEVTYPE_HAL, capabilities); in GetDeviceCaps()
|
D | Direct3D8.hpp | 52 …long __stdcall GetDeviceCaps(unsigned int adapter, D3DDEVTYPE deviceType, D3DCAPS8 *caps) override;
|
/external/pdfium/core/fxge/skia/ |
D | fx_skia_device.cpp | 961 static_cast<float>(m_pDriver->GetDeviceCaps(FXDC_PIXEL_WIDTH)), in SetClipFill() 962 static_cast<float>(m_pDriver->GetDeviceCaps(FXDC_PIXEL_HEIGHT)))); in SetClipFill() 1673 int CFX_SkiaDeviceDriver::GetDeviceCaps(int caps_id) const { in GetDeviceCaps() function in CFX_SkiaDeviceDriver 1811 GetDeviceCaps(FXDC_PIXEL_WIDTH), GetDeviceCaps(FXDC_PIXEL_HEIGHT)); in SetClip_PathFill() 1819 (float)GetDeviceCaps(FXDC_PIXEL_WIDTH), in SetClip_PathFill() 1820 (float)GetDeviceCaps(FXDC_PIXEL_HEIGHT))); in SetClip_PathFill() 1849 FX_RECT clipBox(0, 0, GetDeviceCaps(FXDC_PIXEL_WIDTH), in SetClip_PathFill() 1850 GetDeviceCaps(FXDC_PIXEL_HEIGHT)); in SetClip_PathFill() 1867 GetDeviceCaps(FXDC_PIXEL_WIDTH), GetDeviceCaps(FXDC_PIXEL_HEIGHT)); in SetClip_PathStroke() 1883 FX_RECT clipBox(0, 0, GetDeviceCaps(FXDC_PIXEL_WIDTH), in SetClip_PathStroke() [all …]
|
D | fx_skia_device.h | 38 int GetDeviceCaps(int caps_id) const override;
|
/external/pdfium/core/fxge/ |
D | cfx_renderdevice.cpp | 400 m_Width = m_pDeviceDriver->GetDeviceCaps(FXDC_PIXEL_WIDTH); in InitDeviceInfo() 401 m_Height = m_pDeviceDriver->GetDeviceCaps(FXDC_PIXEL_HEIGHT); in InitDeviceInfo() 402 m_bpp = m_pDeviceDriver->GetDeviceCaps(FXDC_BITS_PIXEL); in InitDeviceInfo() 403 m_RenderCaps = m_pDeviceDriver->GetDeviceCaps(FXDC_RENDER_CAPS); in InitDeviceInfo() 404 m_DeviceClass = m_pDeviceDriver->GetDeviceCaps(FXDC_DEVICE_CLASS); in InitDeviceInfo() 424 int CFX_RenderDevice::GetDeviceCaps(int caps_id) const { in GetDeviceCaps() function in CFX_RenderDevice 425 return m_pDeviceDriver->GetDeviceCaps(caps_id); in GetDeviceCaps()
|
D | ifx_renderdevicedriver.h | 32 virtual int GetDeviceCaps(int caps_id) const = 0;
|
D | cfx_renderdevice.h | 115 int GetDeviceCaps(int id) const;
|