using Avalonia.Media.TextFormatting;
using Avalonia.Metadata;
using Avalonia.Utilities;
namespace Avalonia.Platform
{
///
/// An abstraction that is used produce shaped text.
///
[Unstable]
public interface ITextShaperImpl
{
///
/// Shapes the specified region within the text and returns a shaped buffer.
///
/// The text.
/// Text shaper options to customize the shaping process.
/// A shaped glyph run.
ShapedBuffer ShapeText(ReadOnlySlice text, TextShaperOptions options);
}
}