2024-02-24 12:01:31 +01:00
<!DOCTYPE html>
< html lang = "en" >
< head >
< title > cef4delphi: uCEFInterfaces: Interface ICefDisplay< / title >
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
2026-04-04 18:01:24 +02:00
< meta name = "generator" content = "PasDoc 1.0.4" >
2024-02-24 12:01:31 +01:00
< meta http-equiv = "content-type" content = "text/html; charset=utf-8" >
2026-03-19 13:17:28 +01:00
< link rel = "StyleSheet" type = "text/css" href = "bootstrap.min.css" >
2024-02-24 12:01:31 +01:00
< link rel = "StyleSheet" type = "text/css" href = "pasdoc.css" >
2026-03-30 18:44:20 +02:00
< style type = "text/css" >
body { margin : 0.5 em ; }
. badge { padding : 0.1 em 0.5 em ; color : white ; }
< / style > < / head >
2024-02-24 12:01:31 +01:00
< body >
< span id = "ICefDisplay" > < / span > < h1 class = "cio" > Interface ICefDisplay< / h1 >
< div class = "sections" >
2026-03-19 13:17:28 +01:00
< div class = "one_section" > < a class = "section" href = "#PasDoc-Description" > Description< / a > < / div > < div class = "one_section" > < a class = "section" href = "#PasDoc-Hierarchy" > Hierarchy< / a > < / div > < div class = "one_section" > < a class = "section" href = "#PasDoc-Methods" > Methods< / a > < / div > < div class = "one_section" > < a class = "section" href = "#PasDoc-Properties" > Properties< / a > < / div > < / div >
2024-02-24 12:01:31 +01:00
< span id = "PasDoc-Description" > < / span > < h2 class = "unit" > Unit< / h2 >
< p class = "unitlink" >
< a href = "uCEFInterfaces.html" > uCEFInterfaces< / a > < / p >
< h2 class = "declaration" > Declaration< / h2 >
< p class = "declaration" >
< code > type ICefDisplay = interface(< a class = "normal" href = "uCEFInterfaces.ICefBaseRefCounted.html" > ICefBaseRefCounted< / a > )< / code > < / p >
< h2 class = "description" > Description< / h2 >
< p >
2025-05-30 16:54:28 +02:00
< p > 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.
2026-03-19 13:17:28 +01:00
< p > For details on coordinate systems and usage see < a href = "https://chromiumembedded.github.io/cef/general_usage#coordinate-systems" > https://chromiumembedded.github.io/cef/general_usage#coordinate-systems< / a >
2025-05-30 16:54:28 +02:00
< p > < / p >
2024-02-24 12:01:31 +01:00
< p >
< p > UNKNOWN
< p > < see href=" < a href = "https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/views/cef_display_capi.h" > https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/views/cef_display_capi.h< / a > " > CEF source file: /include/capi/views/cef_display_capi.h (cef_display_t))< / p >
< span id = "PasDoc-Hierarchy" > < / span > < h2 class = "hierarchy" > Hierarchy< / h2 >
< ul class = "hierarchy" > < li class = "ancestor" > IInterface< / li >
< li class = "ancestor" > < a class = "normal" href = "uCEFInterfaces.ICefBaseRefCounted.html" > ICefBaseRefCounted< / a > < / li >
< li class = "thisitem" > ICefDisplay< / li > < / ul > < h2 class = "overview" > Overview< / h2 >
< span id = "PasDoc-Methods" > < / span > < h3 class = "summary" > Methods< / h3 >
< table class = "summary wide_list" >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > function < strong > < a href = "uCEFInterfaces.ICefDisplay.html#GetID" > GetID< / a > < / strong > : int64;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > function < strong > < a href = "uCEFInterfaces.ICefDisplay.html#GetDeviceScaleFactor" > GetDeviceScaleFactor< / a > < / strong > : Single;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > procedure < strong > < a href = "uCEFInterfaces.ICefDisplay.html#ConvertPointToPixels-TCefPoint-" > ConvertPointToPixels< / a > < / strong > (var point: < a href = "uCEFTypes.TCefPoint.html" > TCefPoint< / a > );< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > procedure < strong > < a href = "uCEFInterfaces.ICefDisplay.html#ConvertPointFromPixels-TCefPoint-" > ConvertPointFromPixels< / a > < / strong > (var point: < a href = "uCEFTypes.TCefPoint.html" > TCefPoint< / a > );< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > function < strong > < a href = "uCEFInterfaces.ICefDisplay.html#GetBounds" > GetBounds< / a > < / strong > : < a href = "uCEFTypes.TCefRect.html" > TCefRect< / a > ;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > function < strong > < a href = "uCEFInterfaces.ICefDisplay.html#GetWorkArea" > GetWorkArea< / a > < / strong > : < a href = "uCEFTypes.TCefRect.html" > TCefRect< / a > ;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > function < strong > < a href = "uCEFInterfaces.ICefDisplay.html#GetRotation" > GetRotation< / a > < / strong > : Integer;< / code > < / td >
< / tr >
< / table >
< span id = "PasDoc-Properties" > < / span > < h3 class = "summary" > Properties< / h3 >
< table class = "summary wide_list" >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > property < strong > < a href = "uCEFInterfaces.ICefDisplay.html#ID" > ID< / a > < / strong > : int64 read < a href = "uCEFInterfaces.ICefDisplay.html#GetID" > GetID< / a > ;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > property < strong > < a href = "uCEFInterfaces.ICefDisplay.html#DeviceScaleFactor" > DeviceScaleFactor< / a > < / strong > : Single read < a href = "uCEFInterfaces.ICefDisplay.html#GetDeviceScaleFactor" > GetDeviceScaleFactor< / a > ;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > property < strong > < a href = "uCEFInterfaces.ICefDisplay.html#Bounds" > Bounds< / a > < / strong > : < a href = "uCEFTypes.TCefRect.html" > TCefRect< / a > read < a href = "uCEFInterfaces.ICefDisplay.html#GetBounds" > GetBounds< / a > ;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > property < strong > < a href = "uCEFInterfaces.ICefDisplay.html#WorkArea" > WorkArea< / a > < / strong > : < a href = "uCEFTypes.TCefRect.html" > TCefRect< / a > read < a href = "uCEFInterfaces.ICefDisplay.html#GetWorkArea" > GetWorkArea< / a > ;< / code > < / td >
< / tr >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < code > property < strong > < a href = "uCEFInterfaces.ICefDisplay.html#Rotation" > Rotation< / a > < / strong > : Integer read < a href = "uCEFInterfaces.ICefDisplay.html#GetRotation" > GetRotation< / a > ;< / code > < / td >
< / tr >
< / table >
< h2 class = "description" > Description< / h2 >
< h3 class = "detail" > Methods< / h3 >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "GetID" > < / span > < code > function < strong > GetID< / strong > : int64;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p >
Returns the unique identifier for this Display. < / p >
< h6 class = "description_section" > Attributes< / h6 >
< dl class = "attributes" >
< dt > GUID['{EC2D3606-DB4C-4894-8D38-B8F99E091965}']< / dt >
< dd > < / dd >
< / dl >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "GetDeviceScaleFactor" > < / span > < code > function < strong > GetDeviceScaleFactor< / strong > : Single;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p >
2025-05-30 16:54:28 +02:00
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. Windowed browsers with 1.0 zoom will have a JavaScript `window.devicePixelRatio` value matching the associated Display's get_device_scale_factor() value. < / p >
2024-02-24 12:01:31 +01:00
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "ConvertPointToPixels-TCefPoint-" > < / span > < code > procedure < strong > ConvertPointToPixels< / strong > (var point: < a href = "uCEFTypes.TCefPoint.html" > TCefPoint< / a > );< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p >
Convert |point| from DIP coordinates to pixel coordinates using this Display's device scale factor. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "ConvertPointFromPixels-TCefPoint-" > < / span > < code > procedure < strong > ConvertPointFromPixels< / strong > (var point: < a href = "uCEFTypes.TCefPoint.html" > TCefPoint< / a > );< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p >
Convert |point| from pixel coordinates to DIP coordinates using this Display's device scale factor. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "GetBounds" > < / span > < code > function < strong > GetBounds< / strong > : < a href = "uCEFTypes.TCefRect.html" > TCefRect< / a > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p >
Returns this Display's bounds in DIP screen coordinates. This is the full size of the display. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "GetWorkArea" > < / span > < code > function < strong > GetWorkArea< / strong > : < a href = "uCEFTypes.TCefRect.html" > TCefRect< / a > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p >
Returns this Display's work area in DIP screen coordinates. This excludes areas of the display that are occupied with window manager toolbars, etc. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "GetRotation" > < / span > < code > function < strong > GetRotation< / strong > : Integer;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p >
Returns this Display's rotation in degrees. < / p >
< / td > < / tr >
< / table >
< h3 class = "detail" > Properties< / h3 >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "ID" > < / span > < code > property < strong > ID< / strong > : int64 read < a href = "uCEFInterfaces.ICefDisplay.html#GetID" > GetID< / a > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p >
Returns the unique identifier for this Display. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "DeviceScaleFactor" > < / span > < code > property < strong > DeviceScaleFactor< / strong > : Single read < a href = "uCEFInterfaces.ICefDisplay.html#GetDeviceScaleFactor" > GetDeviceScaleFactor< / a > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p >
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. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "Bounds" > < / span > < code > property < strong > Bounds< / strong > : < a href = "uCEFTypes.TCefRect.html" > TCefRect< / a > read < a href = "uCEFInterfaces.ICefDisplay.html#GetBounds" > GetBounds< / a > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p >
Returns this Display's bounds in DIP screen coordinates. This is the full size of the display. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "WorkArea" > < / span > < code > property < strong > WorkArea< / strong > : < a href = "uCEFTypes.TCefRect.html" > TCefRect< / a > read < a href = "uCEFInterfaces.ICefDisplay.html#GetWorkArea" > GetWorkArea< / a > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p >
Returns this Display's work area in DIP screen coordinates. This excludes areas of the display that are occupied with window manager toolbars, etc. < / p >
< / td > < / tr >
< / table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" > < span class = "badge vis-public" > Public< / span > < / td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" > < span id = "Rotation" > < / span > < code > property < strong > Rotation< / strong > : Integer read < a href = "uCEFInterfaces.ICefDisplay.html#GetRotation" > GetRotation< / a > ;< / code > < / td >
< / tr >
< tr > < td colspan = "2" >
< p >
Returns this Display's rotation in degrees. < / p >
< / td > < / tr >
< / table >
2026-04-04 18:01:24 +02:00
< hr > < span class = "appinfo" > < em > Generated by < a href = "https://pasdoc.github.io/" > PasDoc 1.0.4< / a > . < / em >
2024-02-24 12:01:31 +01:00
< / span >
< / body > < / html >