cef_screen_info_t

Type Alias cef_screen_info_t 

Source
pub type cef_screen_info_t = _cef_screen_info_t;
Expand 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.

Aliased Type§

#[repr(C)]
pub struct cef_screen_info_t { pub size: usize, pub device_scale_factor: f32, pub depth: i32, pub depth_per_component: i32, pub is_monochrome: i32, pub rect: _cef_rect_t, pub available_rect: _cef_rect_t, }

Fields§

§size: usize

Size of this structure.

§device_scale_factor: f32

Device scale factor. Specifies the ratio between physical and logical pixels.

§depth: i32

The screen depth in bits per pixel.

§depth_per_component: i32

The bits per color component. This assumes that the colors are balanced equally.

§is_monochrome: i32

This can be true for black and white printers.

§rect: _cef_rect_t

The |rect| and |available_rect| properties are used to determine the available surface for rendering popup views.

§available_rect: _cef_rect_t

The |rect| and |available_rect| properties are used to determine the available surface for rendering popup views.