示例#1
0
        public IGraphicsControl Internal_CreateGraphicsControl()
        {
            var ret = new GLControlWrapper_GdiPlus(this);

            //create a render target for this control
            RenderTargetWrapper rtw = new RenderTargetWrapper(this);

            rtw.Control             = ret;
            ret.RenderTargetWrapper = rtw;

            return(ret);
        }
示例#2
0
 public void EndControl(GLControlWrapper_GdiPlus control)
 {
     CurrentControl = null;
 }
示例#3
0
 public void SwapControl(GLControlWrapper_GdiPlus control)
 {
 }
示例#4
0
 public void BeginControl(GLControlWrapper_GdiPlus control)
 {
     CurrentControl = control;
 }