|
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149 | ||||||
FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
CefBaseRefCounted | +--CefDisplayin cef_display.h
This class 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 pixels (DIP) unless otherwise indicated. Methods must be called on the browser process UI thread unless otherwise indicated.
Method Summary | |
virtual void |
ConvertPointFromPixels( CefPoint& point )= 0
Convert |point| from pixel coordinates to density independent pixels (DIP) using this Display's device scale factor. |
virtual void |
ConvertPointToPixels( CefPoint& point )= 0
Convert |point| from density independent pixels (DIP) to pixel coordinates using this Display's device scale factor. |
static void |
GetAllDisplays( std::vector< CefRefPtr< CefDisplay > >& displays )
Returns all Displays. |
virtual CefRect |
GetBounds()= 0
Returns this Display's bounds. |
virtual float |
GetDeviceScaleFactor()= 0
Returns this Display's device pixel scale factor. |
static size_t |
GetDisplayCount()
Returns the total number of Displays. |
static CefRefPtr< CefDisplay > |
GetDisplayMatchingBounds( const CefRect& bounds, bool input_pixel_coords )
Returns the Display that most closely intersects |bounds|. |
static CefRefPtr< CefDisplay > |
GetDisplayNearestPoint( const CefPoint& point, bool input_pixel_coords )
Returns the Display nearest |point|. |
virtual int64 |
GetID()= 0
Returns the unique identifier for this Display. |
static CefRefPtr< CefDisplay > |
GetPrimaryDisplay()
Returns the primary Display. |
virtual int |
GetRotation()= 0
Returns this Display's rotation in degrees. |
virtual CefRect |
GetWorkArea()= 0
Returns this Display's work area. |
Methods inherited from class CefBaseRefCounted |
AddRef, Release, HasOneRef, HasAtLeastOneRef |
Method Detail |
public virtual void ConvertPointFromPixels( CefPoint& point )= 0;
public virtual void ConvertPointToPixels( CefPoint& point )= 0;
public static void GetAllDisplays( std::vector< CefRefPtr< CefDisplay > >& displays );
public virtual CefRect GetBounds()= 0;
public virtual float GetDeviceScaleFactor()= 0;
public static size_t GetDisplayCount();
public static CefRefPtr< CefDisplay > GetDisplayMatchingBounds( const CefRect& bounds, bool input_pixel_coords );
public static CefRefPtr< CefDisplay > GetDisplayNearestPoint( const CefPoint& point, bool input_pixel_coords );
public virtual int64 GetID()= 0;
public static CefRefPtr< CefDisplay > GetPrimaryDisplay();
public virtual int GetRotation()= 0;
public virtual CefRect GetWorkArea()= 0;
|
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149 | ||||||
FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |