// Copyright (c) Six Labors. // Licensed under the Six Labors Split License. namespace SixLabors.Fonts.Rendering { /// /// Supplies painted glyphs (layers + commands + paints) and canvas metadata for a glyph id. /// Interpreters (e.g., COLR v1, OT-SVG) implement this interface. /// internal interface IPaintedGlyphSource { /// /// Attempts to get a painted glyph and its canvas metadata. /// /// The glyph id. /// The painted glyph. /// The canvas metadata. /// if the glyph is available; otherwise . public bool TryGetPaintedGlyph(ushort glyphId, out PaintedGlyph glyph, out PaintedCanvasMetadata canvas); } }