Hex1b.Surfaces
Assembly: Hex1b.dll
Classes
CellEffects
Provides factory methods for common computed cell effects.
public static class CellEffectsCompositeSurface
A surface composed of multiple layered surface sources with deferred resolution.
public sealed class CompositeSurface : ISurfaceSourceKgpVisibility
Tracks visibility of a KGP image placement after occlusion by other content.
public sealed class KgpVisibilitySixelEncoder
Encodes pixel data to Sixel graphics format.
public static class SixelEncoderSixelFragment
Represents a fragment of a sixel image after clipping or occlusion.
public sealed class SixelFragmentSixelPixelBuffer
Represents a decoded sixel image as RGBA pixels.
public sealed class SixelPixelBufferSixelVisibility
Tracks visibility information for a sixel during compositing.
public sealed class SixelVisibilitySurface
A 2D grid of cells representing a rectangular area of terminal content.
public sealed class Surface : ISurfaceSourceSurfaceCells
Provides commonly used values.
public static class SurfaceCellsSurfaceComparer
Provides methods for comparing surfaces and generating output.
public static class SurfaceComparerSurfaceDiff
Represents the difference between two surface states.
public sealed class SurfaceDiffSurfaceRenderContext
A render context that writes to a instead of emitting ANSI strings.
public class SurfaceRenderContext : Hex1bRenderContextStructs
CellMetrics
Represents the pixel dimensions of a terminal cell.
public readonly record struct CellMetrics : IEquatable<CellMetrics>ChangedCell
Represents a cell that has changed between two surface states.
public readonly record struct ChangedCell : IEquatable<ChangedCell>ComputeContext
Provides context for computing a cell value during layer resolution.
public readonly ref struct ComputeContextKgpCellAccess
Provides read-only access to KGP image metadata at a specific cell position.
public readonly struct KgpCellAccessPixelRect
Represents a rectangle in pixel coordinates.
public readonly record struct PixelRect : IEquatable<PixelRect>Rgba32
Represents an RGBA pixel color.
public readonly record struct Rgba32 : IEquatable<Rgba32>SixelPixelAccess
Provides read-only access to sixel pixel data at a specific cell position.
public readonly struct SixelPixelAccessSurfaceCell
Represents a single cell in a surface - the atomic unit of terminal rendering.
public readonly record struct SurfaceCell : IEquatable<SurfaceCell>Interfaces
ISurfaceSource
Common interface for any source that can provide terminal cells.
public interface ISurfaceSourceDelegates
CellCompute
Delegate for computing a cell value dynamically.
Parameters:
context(ComputeContext): The context providing position and cell access.
Returns: SurfaceCell
The computed cell value.
public delegate SurfaceCell CellCompute(ComputeContext context)