Draw() static private method

static private Draw ( CGContext ctx, object layout, double x, double y ) : void
ctx MonoMac.CoreGraphics.CGContext
layout object
x double
y double
return void
Example #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);
        }
Example #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);
        }