Home
last modified time | relevance | path

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

12

/external/pdfium/core/fpdfapi/render/
Dcpdf_scaledrenderbuffer.cpp28 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()
Dcpdf_devicebuffer.cpp33 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()
Dcpdf_progressiverenderer.cpp85 if (m_pDevice->GetDeviceCaps(FXDC_DEVICE_CLASS) == FXDC_PRINTER) { in Continue()
/external/pdfium/core/fxge/win32/
Dfx_win32_print.cpp59 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 …]
Dwin32_int.h135 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;
Dfx_win32_device.cpp740 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/
Dfx_agg_driver.cpp1145 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 …]
Dfx_agg_driver.h45 int GetDeviceCaps(int caps_id) const override;
/external/swiftshader/src/D3D9/
DDirect3D9Ex.cpp211 …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()
DDirect3D9.hpp51 …long __stdcall GetDeviceCaps(unsigned int adapter, D3DDEVTYPE deviceType, D3DCAPS9 *caps) override;
DDirect3D9Ex.hpp51 …long __stdcall GetDeviceCaps(unsigned int adapter, D3DDEVTYPE deviceType, D3DCAPS9 *caps) override;
DDirect3D9.cpp996 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()
DDirect3DDevice9Ex.cpp341 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/
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/ImageMagick/coders/
Dscreenshot.c165 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/
Dscreen_capturer_win_gdi.cc126 GetDeviceCaps(desktop_dc_, LOGPIXELSX), in Capture()
127 GetDeviceCaps(desktop_dc_, LOGPIXELSY))); in Capture()
Dscreen_capturer_win_magnifier.cc161 frame->set_dpi(DesktopVector(GetDeviceCaps(desktop_dc_, LOGPIXELSX), in Capture()
162 GetDeviceCaps(desktop_dc_, LOGPIXELSY))); in Capture()
/external/swiftshader/src/D3D8/
DDirect3D8.cpp659 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()
DDirect3D8.hpp52 …long __stdcall GetDeviceCaps(unsigned int adapter, D3DDEVTYPE deviceType, D3DCAPS8 *caps) override;
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp961 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 …]
Dfx_skia_device.h38 int GetDeviceCaps(int caps_id) const override;
/external/pdfium/core/fxge/
Dcfx_renderdevice.cpp400 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()
Difx_renderdevicedriver.h32 virtual int GetDeviceCaps(int caps_id) const = 0;
Dcfx_renderdevice.h115 int GetDeviceCaps(int id) const;

12