protected override void Draw(GameTime gameTime) { graphics.GraphicsDevice.Clear(Color.WhiteSmoke); G.spriteBatch.Begin(SpriteSortMode.Deferred, BlendState.AlphaBlend, null, null, null, null, cam.GetMatrix()); Drawed?.Invoke(); G.spriteBatch.End(); }
private void UnprocessedInput_PointerReleased(InkUnprocessedInput sender, PointerEventArgs args) { Drawed?.Invoke(BuildInkPoint(args.CurrentPoint), args.CurrentPoint); }
private void Draw(DrawingEventArgs e) { Drawed?.Invoke(e); }
public void Draw() { Drawed?.Invoke(new DrawingEventArgs(spriteBatch)); }
private void OnDrawed() { Drawed?.Invoke(this, new UIDrawEventArgs(spriteBatch)); }