Ejemplo n.º 1
0
        float Rate2ViewPort;         /////图形到ViewPort的比例
        #endregion

        #region Initialize
        /// <summary>
        /// Initializes a new instance of the <see cref="RenderControl" /> class.
        /// </summary>
        public RenderControl(IWRender_GUI Father)
        {
            this.Father = Father;
            SetStyle(ControlStyles.ResizeRedraw, true);

            trans   = new ScreenTrans(true);
            context = new BufferedGraphicsContext();
            data    = new RenderData();
        }
Ejemplo n.º 2
0
 public void CreateDefaultControl(IWRender_GUI Father)
 {
     this.RenderControl = new RenderControl(Father);
 }