Struct ViewportTransformationMatrices
Represents a set of transformation matrices for converting between world coordinates and screen coordinates, applying visual effects, and handling window and region-specific offsets.
Implements
Inherited Members
Namespace: EyeAuras.OpenCVAuras.Triggers.WindowCapture
Assembly: EyeAuras.OpenCVAuras.Shared.dll
Syntax
public readonly struct ViewportTransformationMatrices : IEquatable<ViewportTransformationMatrices>
Properties
Name | Description |
---|---|
ScreenToWorld | The matrix for converting screen coordinates back to world coordinates.
Use this matrix for operations such as determining the world space position of a mouse click on the screen.
|
VisualEffects | The matrix used for applying visual effects such as scaling, rotation, etc.,
to a specified window region. This matrix should be used to transform coordinates
within the region after applying the WindowRegion and WindowOffset transformations.
|
WindowOffset | The matrix representing the offset of a window on the screen.
Use this matrix to convert coordinates from the application's local space to screen space,
taking into account the position of the window.
|
WindowRegion | The matrix representing the transformation applied to a specified region within the window.
This transformation should be applied to points within the region before applying WindowOffset,
especially when the region does not encompass the entire window.
|
WorldToScreen | The matrix for converting world coordinates to screen coordinates.
This matrix encompasses the transformations required to project points from
the application's world space to the physical screen space.
|
Methods
Name | Description |
---|---|
Equals(ViewportTransformationMatrices) | |
Equals(object) | |
GetHashCode() | |
ToString() |
Operators
Name | Description |
---|---|
operator ==(ViewportTransformationMatrices, ViewportTransformationMatrices) | |
operator !=(ViewportTransformationMatrices, ViewportTransformationMatrices) |