MonoGame.Extended
MonoGame.Extended copied to clipboard
ClipRectangles does not work when clipping textures from the top down
I noticed that when BitmapFontExtensions.DrawString and SpriteBatchExtensions.Draw and passing in a ClippingRectangle parameter, there are unexpected artifacts that are rendered when the ClippingRectangle passed in is clipping the BitmapFont or Texture from the Top.
I don't notice any issues when the ClippingRectangle intersects the BitmapFont/Texture from the bottom. Here is a screenshot.
I have pushed a pull request that has a fix for this: https://github.com/craftworkgames/MonoGame.Extended/pull/995