void CreateNativePathBackend(VectorBackend b) { if (b.NativeBackend == null) { b.NativeBackend = b.CreateNativeBackend(); Draw(b.NativePathHandler, b.NativeBackend, b.ToVectorImageData()); } }
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; }
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; }
void CreateNativePathBackend(VectorBackend b) { if (b.NativeBackend == null) { b.NativeBackend = b.CreateNativeBackend (); Draw (b.NativePathHandler, b.NativeBackend, b.ToVectorImageData ()); } }