namespace XFESystem.Desktop;
/// <summary>Immutable native glyph coverage prepared by the page worker. Painting
/// must not access a font, run scripts, allocate masks or query text metrics.</summary>
public interface IDesktopPreparedWebText
{
int ScalePercent { get; }
double LineHeight { get; }
void Paint(IDesktopCoverageCanvas target, uint rgb, double x, double y);
}
public interface IDesktopWebTextPreparationCanvas
{
IDesktopPreparedWebText PrepareWebText(string text, double fontSize, string fontFamily, int fontWeight, double opacity);
}
namespace XFESystem.Desktop;
/// <summary>Immutable native glyph coverage prepared by the page worker. Painting
/// must not access a font, run scripts, allocate masks or query text metrics.</summary>
public interface IDesktopPreparedWebText
{
int ScalePercent { get; }
double LineHeight { get; }
void Paint(IDesktopCoverageCanvas target, uint rgb, double x, double y);
}
public interface IDesktopWebTextPreparationCanvas
{
IDesktopPreparedWebText PrepareWebText(string text, double fontSize, string fontFamily, int fontWeight, double opacity);
}