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

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