Public declaration syntax from forge-swift/Sources/ForgeIdentity/Glyph.swift Original source SHA-256: c8489cc4d8a86397b1e140c63138506b1db9c1c35741fd2d51e016fb64b05b64 Function bodies and constant values are omitted. This is not the complete implementation. Source line 35 public enum GlyphEntityKind: String, Codable, Sendable, Hashable, CaseIterable Source line 46 public static func parseKind(_ string: String) -> GlyphEntityKind? Source line 51 public var asStr: String Source line 54 public var asU8: UInt8 Source line 68 public static func fromU8(_ value: UInt8) -> GlyphEntityKind? Source line 83 public struct GlyphColor: Codable, Sendable, Hashable Source line 85 public let r: UInt8 /// Green channel (0-255). public let g: UInt8 /// Blue channel (0-255). public let b: UInt8 /// Create a color from RGB components. public static func rgb(_ r: UInt8, _ g: UInt8, _ b: UInt8) -> GlyphColor Source line 87 public let g: UInt8 /// Blue channel (0-255). public let b: UInt8 /// Create a color from RGB components. public static func rgb(_ r: UInt8, _ g: UInt8, _ b: UInt8) -> GlyphColor Source line 89 public let b: UInt8 /// Create a color from RGB components. public static func rgb(_ r: UInt8, _ g: UInt8, _ b: UInt8) -> GlyphColor Source line 92 public static func rgb(_ r: UInt8, _ g: UInt8, _ b: UInt8) -> GlyphColor Source line 97 public func toHex() -> String Source line 108 public static func lerp(_ a: GlyphColor, _ b: GlyphColor, t: Double) -> GlyphColor Source line 130 public struct GlyphPalette: Codable, Sendable Source line 132 public let primary: GlyphColor /// Secondary identity color (hue-offset from primary). public let secondary: GlyphColor /// Accent color for kind region and highlights. public let accent: GlyphColor /// Background color (dark, desaturated primary). public let background: GlyphColor } // MARK: - GlyphDescriptor /// The glyph input contract: describes what to render. public struct GlyphDescriptor: Codable, Sendable Source line 134 public let secondary: GlyphColor /// Accent color for kind region and highlights. public let accent: GlyphColor /// Background color (dark, desaturated primary). public let background: GlyphColor } // MARK: - GlyphDescriptor /// The glyph input contract: describes what to render. public struct GlyphDescriptor: Codable, Sendable Source line 136 public let accent: GlyphColor /// Background color (dark, desaturated primary). public let background: GlyphColor } // MARK: - GlyphDescriptor /// The glyph input contract: describes what to render. public struct GlyphDescriptor: Codable, Sendable Source line 138 public let background: GlyphColor } // MARK: - GlyphDescriptor /// The glyph input contract: describes what to render. public struct GlyphDescriptor: Codable, Sendable Source line 144 public struct GlyphDescriptor: Codable, Sendable Source line 146 public let did: String /// The entity kind that determines the kind-region visual motif. public let kind: GlyphEntityKind /// Optional human-readable label rendered below the glyph. public let label: String? public init(did: String, kind: GlyphEntityKind, label: String?; Source line 148 public let kind: GlyphEntityKind /// Optional human-readable label rendered below the glyph. public let label: String? public init(did: String, kind: GlyphEntityKind, label: String?; Source line 150 public let label: String? public init(did: String, kind: GlyphEntityKind, label: String?; Source line 152 public init(did: String, kind: GlyphEntityKind, label: String?; Source line 170 public func derivePalette(did: String, kind: GlyphEntityKind) -> GlyphPalette Source line 228 public func renderGlyph(_ descriptor: GlyphDescriptor, width: UInt32;