Interface ICefDisplay

Description
Hierarchy
Fields
Methods
Properties

Unit

Declaration

type ICefDisplay = interface(ICefBaseRefCounted)

Description

This interface typically, but not always, corresponds to a physical display connected to the system. A fake Display may exist on a headless system, or a Display may correspond to a remote, virtual display. All size and position values are in density independent pixel (DIP) coordinates unless otherwise indicated. Methods must be called on the browser process UI thread unless otherwise indicated.

UNKNOWN

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/views/cef_display_capi.h">CEF source file: /include/capi/views/cef_display_capi.h (cef_display_t))

Hierarchy

Overview

Methods

Public function GetID: int64;
Public function GetDeviceScaleFactor: Single;
Public procedure ConvertPointToPixels(var point: TCefPoint);
Public procedure ConvertPointFromPixels(var point: TCefPoint);
Public function GetBounds: TCefRect;
Public function GetWorkArea: TCefRect;
Public function GetRotation: Integer;

Properties

Public property ID : int64 read GetID;
Public property DeviceScaleFactor : Single read GetDeviceScaleFactor;
Public property Bounds : TCefRect read GetBounds;
Public property WorkArea : TCefRect read GetWorkArea;
Public property Rotation : Integer read GetRotation;

Description

Methods

Public function GetID: int64;

Returns the unique identifier for this Display.

Attributes
GUID['{EC2D3606-DB4C-4894-8D38-B8F99E091965}']
Public function GetDeviceScaleFactor: Single;

Returns this Display's device pixel scale factor. This specifies how much the UI should be scaled when the actual output has more pixels than standard displays (which is around 100~120dpi). The potential return values differ by platform.

Public procedure ConvertPointToPixels(var point: TCefPoint);

Convert |point| from DIP coordinates to pixel coordinates using this Display's device scale factor.

Public procedure ConvertPointFromPixels(var point: TCefPoint);

Convert |point| from pixel coordinates to DIP coordinates using this Display's device scale factor.

Public function GetBounds: TCefRect;

Returns this Display's bounds in DIP screen coordinates. This is the full size of the display.

Public function GetWorkArea: TCefRect;

Returns this Display's work area in DIP screen coordinates. This excludes areas of the display that are occupied with window manager toolbars, etc.

Public function GetRotation: Integer;

Returns this Display's rotation in degrees.

Properties

Public property ID : int64 read GetID;

Returns the unique identifier for this Display.

Public property DeviceScaleFactor : Single read GetDeviceScaleFactor;

Returns this Display's device pixel scale factor. This specifies how much the UI should be scaled when the actual output has more pixels than standard displays (which is around 100~120dpi). The potential return values differ by platform.

Public property Bounds : TCefRect read GetBounds;

Returns this Display's bounds in DIP screen coordinates. This is the full size of the display.

Public property WorkArea : TCefRect read GetWorkArea;

Returns this Display's work area in DIP screen coordinates. This excludes areas of the display that are occupied with window manager toolbars, etc.

Public property Rotation : Integer read GetRotation;

Returns this Display's rotation in degrees.


Generated by PasDoc 0.16.0-snapshot.