Chromium Embedded Framework (CEF)  130.1.2+g48f3ef6+chromium-130.0.6723.44
cef_screen_info_t Struct Reference

Screen information used when window rendering is disabled. More...

#include "include/internal/cef_types.h"

Inheritance diagram for cef_screen_info_t:
CefScreenInfo

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...
 

Detailed Description

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.

Member Data Documentation

◆ available_rect

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.

◆ depth

int cef_screen_info_t::depth

The screen depth in bits per pixel.

◆ depth_per_component

int cef_screen_info_t::depth_per_component

The bits per color component.

This assumes that the colors are balanced equally.

◆ device_scale_factor

float cef_screen_info_t::device_scale_factor

Device scale factor.

Specifies the ratio between physical and logical pixels.

◆ is_monochrome

int cef_screen_info_t::is_monochrome

This can be true for black and white printers.

◆ rect

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.


The documentation for this struct was generated from the following file: