Example #1
0
        public object Create(ICanvasBackend canvas)
        {
            LayoutBackend       b  = new LayoutBackend();
            CairoContextBackend ba = new CairoContextBackend();

            ba.Context = SharedContext;
            b.Context  = ba;
            return(b);
        }
 public object Create(ICanvasBackend canvas)
 {
     return new LayoutInfo {
         Font = (NSFont)canvas.Font
     };
 }
Example #3
0
 public abstract object Create(ICanvasBackend canvas);
Example #4
0
 public override object Create(ICanvasBackend canvas)
 {
     var drawingContext = new DrawingContext (Graphics.FromImage (new Bitmap (1, 1)));
     return new TextLayoutContext (drawingContext);
 }
Example #5
0
 public override object Create(ICanvasBackend canvas)
 {
     return Pango.CairoHelper.CreateLayout (SharedContext);
 }
 public override object Create(ICanvasBackend canvas)
 {
     LayoutBackend b = new LayoutBackend ();
     CairoContextBackend ba = new CairoContextBackend ();
     ba.Context = SharedContext;
     b.Context = ba;
     return b;
 }
 public object Create(ICanvasBackend canvas)
 {
     return new LayoutInfo ();
 }
        public object Create(ICanvasBackend canvas)
        {
            var drawingContext = new DrawingContext(Graphics.FromImage(new Bitmap(1, 1)));

            return(new TextLayoutContext(drawingContext));
        }
Example #9
0
 public object Create(ICanvasBackend canvas)
 {
     return(Pango.CairoHelper.CreateLayout(SharedContext));
 }
Example #10
0
 public object Create(ICanvasBackend canvas)
 {
     return(new LayoutInfo());
 }