Chromium Embedded Framework (CEF)
126.2.0+g5c56e98+chromium-126.0.6478.62
|
Screen information used when window rendering is disabled. More...
#include "include/internal/cef_types.h"
Public Attributes | |
float | device_scale_factor |
Device scale factor. More... | |
int | depth |
The screen depth in bits per pixel. More... | |
int | depth_per_component |
The bits per color component. More... | |
int | is_monochrome |
This can be true for black and white printers. More... | |
cef_rect_t | rect |
This is set from the rcMonitor member of MONITORINFOEX, to whit: "A RECT structure that specifies the display monitor rectangle, expressed in virtual-screen coordinates. More... | |
cef_rect_t | available_rect |
This is set from the rcWork member of MONITORINFOEX, to whit: "A RECT structure that specifies the work area rectangle of the display monitor that can be used by applications, expressed in virtual-screen coordinates. More... | |
Screen information used when window rendering is disabled.
This structure is passed as a parameter to CefRenderHandler::GetScreenInfo and should be filled in by the client.
cef_rect_t cef_screen_info_t::available_rect |
This is set from the rcWork member of MONITORINFOEX, to whit: "A RECT structure that specifies the work area rectangle of the display monitor that can be used by applications, expressed in virtual-screen coordinates.
Windows uses this rectangle to maximize an application on the monitor. The rest of the area in rcMonitor contains system windows such as the task bar and side bars. Note that if the monitor is not the primary display monitor, some of the rectangle's coordinates may be negative values". The |rect| and |available_rect| properties are used to determine the available surface for rendering popup views.
int cef_screen_info_t::depth |
The screen depth in bits per pixel.
int cef_screen_info_t::depth_per_component |
The bits per color component.
This assumes that the colors are balanced equally.
float cef_screen_info_t::device_scale_factor |
Device scale factor.
Specifies the ratio between physical and logical pixels.
int cef_screen_info_t::is_monochrome |
This can be true for black and white printers.
cef_rect_t cef_screen_info_t::rect |
This is set from the rcMonitor member of MONITORINFOEX, to whit: "A RECT structure that specifies the display monitor rectangle, expressed in virtual-screen coordinates.
Note that if the monitor is not the primary display monitor, some of the rectangle's coordinates may be negative values." The |rect| and |available_rect| properties are used to determine the available surface for rendering popup views.