Inheritance: TextLayoutBackendHandler
Exemple #1
0
        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);
        }
Exemple #2
0
        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);
        }