コード例 #1
0
 void CreateNativePathBackend(VectorBackend b)
 {
     if (b.NativeBackend == null)
     {
         b.NativeBackend = b.CreateNativeBackend();
         Draw(b.NativePathHandler, b.NativeBackend, b.ToVectorImageData());
     }
 }
コード例 #2
0
ファイル: ImageBuilder.cs プロジェクト: m13253/xwt
		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;
		}
コード例 #3
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;
 }
コード例 #4
0
ファイル: ImageBuilder.cs プロジェクト: akrisiun/xwt
        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;
        }
コード例 #5
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;
        }
コード例 #6
0
ファイル: VectorImage.cs プロジェクト: nite2006/xwt
 void CreateNativePathBackend(VectorBackend b)
 {
     if (b.NativeBackend == null) {
         b.NativeBackend = b.CreateNativeBackend ();
         Draw (b.NativePathHandler, b.NativeBackend, b.ToVectorImageData ());
     }
 }