Draw() статический приватный Метод

static private Draw ( CGContext ctx, object layout, double x, double y ) : void
ctx MonoMac.CoreGraphics.CGContext
layout object
x double
y double
Результат void
Пример #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);
        }
Пример #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);
        }