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; }
public Renderer(ISpriteBatch spriteBatch, IPrimitivesService primitivesService) { this.spriteBatch = spriteBatch; this.primitivesService = primitivesService; }