Public declaration syntax from forge-go/identity/glyph.go Original source SHA-256: 472615561d190cb48e0339857a9f3181dd6720e99f21536e31a98f588bbae157 Function bodies and constant values are omitted. This is not the complete implementation. Source line 19 type GlyphEntityKind string const ( GlyphEntityKindHmr GlyphEntityKind; Source line 31 func ParseGlyphEntityKind(s string) (GlyphEntityKind, bool) Source line 49 func (k GlyphEntityKind) AsU8() uint8 Source line 68 func GlyphEntityKindFromU8(v uint8) (GlyphEntityKind, bool) Source line 86 type GlyphDescriptor struct Source line 96 type GlyphRenderTarget string const ( // GlyphRenderTargetWeb produces a self-contained SVG string. GlyphRenderTargetWeb GlyphRenderTarget; Source line 106 type GlyphRenderOptions struct Source line 118 type GlyphColor struct Source line 125 type GlyphPalette struct Source line 137 type GlyphRenderFormat string const ( GlyphRenderFormatSvg GlyphRenderFormat; Source line 148 type GlyphRenderResult struct Source line 162 func (r *GlyphRenderResult) SvgData() (string, bool) Source line 177 func RenderGlyph(desc *GlyphDescriptor, opts *GlyphRenderOptions) (*GlyphRenderResult, error)