// Copyright © 2014 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. namespace CefSharp.Structs { /// /// Class representing the virtual screen information for use when window /// rendering is disabled. /// /// /// See also Chrome Source /// public struct ScreenInfo { /// /// Device scale factor. Specifies the ratio between physical and logical pixels. /// public float DeviceScaleFactor { get; set; } /// /// The screen depth in bits per pixel. /// public int Depth { get; set; } /// /// The bits per color component. This assumes that the colors are balanced equally. /// public int DepthPerComponent { get; set; } /// /// This can be true for black and white printers. /// public bool IsMonochrome { get; set; } /// /// 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 AvailableRect properties are used to determine the /// available surface for rendering popup views. /// public Rect? Rect { get; set; } /// /// 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 AvailableRect properties are used to determine the /// available surface for rendering popup views. /// public Rect? AvailableRect { get; set; } } }