Example #1
0
 public DrawContext(DrawContext context, int surfaceType)
 {
     this.device = context.device;
     this.root = context.root;
     this.renderingInstance = context.renderingInstance;
     this.context = context.context;
     this.width = context.width;
     this.height = context.height;
     this.renderer = context.renderer;
     this.surfaceType = surfaceType;
     this.AAFilter = context.AAFilter;
     this.pathError = context.pathError;
 }
Example #2
0
 public DrawContext(Render.IRendererCallback callbacks)
 {
     renderer = new Renderer(callbacks);
 }