public RenderXwt(Xwt.Drawing.Context g, Xwt.Canvas c, float scale)
        {
            this.cxt    = g;
            this.cvs    = c;
            this.layout = new Xwt.Drawing.TextLayout(this.cvs);

            dpiX *= scale;
            dpiY *= scale;
        }
Пример #2
0
        public RenderXwt(Xwt.Drawing.Context g, Xwt.Canvas c, float scale)
		{
            this.cxt = g;
            this.cvs = c;
            this.layout = new Xwt.Drawing.TextLayout(this.cvs);
			
			dpiX *= scale;
			dpiY *= scale;
		}
 public RenderXwt(Xwt.Drawing.Context g, Xwt.Canvas c) : this(g, c, 1.0f)
 {
 }