SixelRasterExtents
Namespace: Hex1b.Sixel
Assembly: Hex1b.dll
The separate extents preserved for downstream placement and translation.
csharp
public readonly record struct SixelRasterExtents : IEquatable<SixelRasterExtents>Implements
Constructors
SixelRasterExtents(SixelExtent, SixelExtent, SixelExtent, SixelExtent, SixelBounds, SixelAspectRatio)
The separate extents preserved for downstream placement and translation.
Parameters:
Logical(SixelExtent): The unscaled canvas; six logical rows per Sixel band.Rendered(SixelExtent): The logical canvas after applying the pixel aspect ratio.Declared(SixelExtent): The DECGRAPh/Pvhint, or empty when absent.Data(SixelExtent): The unscaled extent reached by data commands.Painted(SixelBounds): The unscaled bounds of explicitly painted pixels.Aspect(SixelAspectRatio): The effective pixel aspect ratio.
csharp
public SixelRasterExtents(SixelExtent Logical, SixelExtent Rendered, SixelExtent Declared, SixelExtent Data, SixelBounds Painted, SixelAspectRatio Aspect)Properties
Aspect
The effective pixel aspect ratio.
Returns: SixelAspectRatio
csharp
public SixelAspectRatio Aspect { get; init; }Data
The unscaled extent reached by data commands.
Returns: SixelExtent
csharp
public SixelExtent Data { get; init; }Declared
The DECGRA Ph/Pv hint, or empty when absent.
Returns: SixelExtent
csharp
public SixelExtent Declared { get; init; }Empty
An empty set of extents, using the default 2:1 aspect ratio.
Returns: SixelRasterExtents
csharp
public static SixelRasterExtents Empty { get; }Logical
The unscaled canvas; six logical rows per Sixel band.
Returns: SixelExtent
csharp
public SixelExtent Logical { get; init; }Painted
The unscaled bounds of explicitly painted pixels.
Returns: SixelBounds
csharp
public SixelBounds Painted { get; init; }Rendered
The logical canvas after applying the pixel aspect ratio.
Returns: SixelExtent
csharp
public SixelExtent Rendered { get; init; }