void CreateNativePathBackend(VectorBackend b)
 {
     if (b.NativeBackend == null)
     {
         b.NativeBackend = b.CreateNativeBackend();
         Draw(b.NativePathHandler, b.NativeBackend, b.ToVectorImageData());
     }
 }
Beispiel #2
0
		public ImageBuilder (double width, double height)
		{
			backend = new VectorContextBackend (ToolkitEngine, width, height);
			ctx = new Context (backend, ToolkitEngine, ToolkitEngine.VectorImageRecorderContextHandler);
			ctx.Reset (null);
			this.width = width;
			this.height = height;
		}
 public ImageBuilder(double width, double height)
 {
     backend = new VectorContextBackend(ToolkitEngine, width, height);
     ctx     = new Context(backend, ToolkitEngine, ToolkitEngine.VectorImageRecorderContextHandler);
     ctx.Reset(null);
     this.width  = width;
     this.height = height;
 }
Beispiel #4
0
        public ImageBuilder(double width, double height)
        {
            backend = new VectorContextBackend (ToolkitEngine, width, height);

            // Don't set the global styles to the context. The global styles will be used when rendering the image
            ctx = new Context (backend, ToolkitEngine, ToolkitEngine.VectorImageRecorderContextHandler, false);

            ctx.Reset (null);
            this.width = width;
            this.height = height;
        }
        public ImageBuilder(double width, double height)
        {
            backend = new VectorContextBackend(ToolkitEngine, width, height);

            // Don't set the global styles to the context. The global styles will be used when rendering the image
            ctx = new Context(backend, ToolkitEngine, ToolkitEngine.VectorImageRecorderContextHandler, false);

            ctx.Reset(null);
            this.width  = width;
            this.height = height;
        }
Beispiel #6
0
 void CreateNativePathBackend(VectorBackend b)
 {
     if (b.NativeBackend == null) {
         b.NativeBackend = b.CreateNativeBackend ();
         Draw (b.NativePathHandler, b.NativeBackend, b.ToVectorImageData ());
     }
 }