Ejemplo n.º 1
0
        public ExportForm(Flow.FlowElement flowElement)
        {
            InitializeComponent();

            LayerFlowElement lfw = flowElement as LayerFlowElement;

            this.m_Layer = lfw.Layer;
            if (this.m_Layer is Layer2D)
            {
                this.m_Bitmap = new Bitmap(1024, 1024);
            }
            else
            {
                this.m_Bitmap = new Bitmap(1024 + 32, 1024 + 256);
            }
            this.c_RenderBox.Image = this.m_Bitmap;
            this.c_Timer.Start();
        }
Ejemplo n.º 2
0
 public LayerFlowConnector(LayerFlowElement owner, string name, bool isInput, Layer layer)
     : base(owner, name, isInput)
 {
     this.m_Layer = layer;
     this.m_LayerOwner = owner;
 }