Gorgon
Show / Hide Table of Contents

Interface IGorgonVideoOutputInfo

Provides information about an output on a IGorgonVideoAdapterInfo.

Inherited Members
IGorgonNamedObject.Name
Namespace: Gorgon.Graphics.Core
Assembly: Gorgon.Graphics.Core.dll
Syntax
public interface IGorgonVideoOutputInfo : IGorgonNamedObject
Remarks

An output is typically a physical connection between the video adapter and another device.

Properties

| Edit this page View Source

Adapter

Property to return the adapter that owns this output.

Declaration
IGorgonVideoAdapterInfo Adapter { get; }
Property Value
Type Description
IGorgonVideoAdapterInfo
| Edit this page View Source

DesktopBounds

Property to return the bounds of the output in desktop coordinates.

Declaration
Rectangle DesktopBounds { get; }
Property Value
Type Description
Rectangle
Remarks

The desktop coordinates depend on the dots per inch (DPI) of the desktop. For more information about writing DPI-aware Win32 applications, see High DPI.

| Edit this page View Source

Index

Property to return the index of the output.

Declaration
int Index { get; }
Property Value
Type Description
int
| Edit this page View Source

IsAttachedToDesktop

Property to return whether the output is attached to the desktop or not.

Declaration
bool IsAttachedToDesktop { get; }
Property Value
Type Description
bool
| Edit this page View Source

MonitorHandle

Property to return the handle to the monitor that is attached to the output.

Declaration
nint MonitorHandle { get; }
Property Value
Type Description
nint
| Edit this page View Source

Rotation

Property to return how the display image is rotated by the output.

Declaration
RotationMode Rotation { get; }
Property Value
Type Description
RotationMode
| Edit this page View Source

VideoModes

Property to return the list of video modes supported by this output.

Declaration
IReadOnlyList<GorgonVideoMode> VideoModes { get; }
Property Value
Type Description
IReadOnlyList<GorgonVideoMode>

Extension Methods

GorgonDebugExtensions.ValidateObject<T>(T, string)
GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author