Table of Contents

Struct AtlasGroupBuilder.GroupSource

Namespace
KernSmith.Atlas
Assembly
KernSmith.dll

One tagged glyph-rect source to be packed as part of a shared group.

public readonly record struct AtlasGroupBuilder.GroupSource : IEquatable<AtlasGroupBuilder.GroupSource>
Implements
Inherited Members

Constructors

GroupSource(string, IReadOnlyList<GlyphRect>)

One tagged glyph-rect source to be packed as part of a shared group.

public GroupSource(string Tag, IReadOnlyList<GlyphRect> Rects)

Parameters

Tag string

Identifies this source when splitting placements back out.

Rects IReadOnlyList<GlyphRect>

This source's glyph rects, with their original (un-mangled) ids.

Properties

Rects

This source's glyph rects, with their original (un-mangled) ids.

public IReadOnlyList<GlyphRect> Rects { get; init; }

Property Value

IReadOnlyList<GlyphRect>

Tag

Identifies this source when splitting placements back out.

public string Tag { get; init; }

Property Value

string