public override void DrawTextLayout(object backend, TextLayout layout, double x, double y) { CGContext ctx = ((CGContextBackend)backend).Context; SetupContextForDrawing(ctx); MacTextLayoutBackendHandler.Draw(ctx, Toolkit.GetBackend(layout), x, y); }
public override void DrawTextLayout(object backend, TextLayout layout, double x, double y) { CGContext ctx = ((CGContextBackend)backend).Context; SetupContextForDrawing(ctx); var li = ApplicationContext.Toolkit.GetSafeBackend(layout); MacTextLayoutBackendHandler.Draw(ctx, li, x, y); }