コード例 #1
0
ファイル: DrawingContext.cs プロジェクト: redbadger/XPF
        public DrawingContext(IElement element, IPrimitivesService primitivesService)
        {
            if (element == null)
            {
                throw new ArgumentNullException("element");
            }

            if (primitivesService == null)
            {
                throw new ArgumentNullException("primitivesService");
            }

            this.element = element;
            this.primitivesService = primitivesService;
        }
コード例 #2
0
        public DrawingContext(IElement element, IPrimitivesService primitivesService)
        {
            if (element == null)
            {
                throw new ArgumentNullException("element");
            }

            if (primitivesService == null)
            {
                throw new ArgumentNullException("primitivesService");
            }

            this.element           = element;
            this.primitivesService = primitivesService;
        }
コード例 #3
0
ファイル: Renderer.cs プロジェクト: redbadger/XPF
 public Renderer(ISpriteBatch spriteBatch, IPrimitivesService primitivesService)
 {
     this.spriteBatch = spriteBatch;
     this.primitivesService = primitivesService;
 }
コード例 #4
0
ファイル: Renderer.cs プロジェクト: Xbox-dev/XPF
 public Renderer(ISpriteBatch spriteBatch, IPrimitivesService primitivesService)
 {
     this.spriteBatch       = spriteBatch;
     this.primitivesService = primitivesService;
 }