Пример #1
0
        /// <summary>
        /// Init.
        /// </summary>
        protected RGraphics(RAdapter adapter, RRect initialClip)
        {
            ArgChecker.AssertArgNotNull(adapter, "global");

            this._adapter = adapter;
            this._clipStack.Push(initialClip);
        }
Пример #2
0
 /// <summary>
 /// Init control with platform adapter.
 /// </summary>
 protected RControl(RAdapter adapter)
 {
     ArgChecker.AssertArgNotNull(adapter, "adapter");
     this._adapter = adapter;
 }