2
Vote

SpriteBatch.Draw Scale problems

description

Some overloads of the SpriteBatch.Draw method are not scalling correctly:
public void Draw(Texture2D texture, Rectangle destinationRectangle, Rectangle? sourceRectangle, Color color)
public void Draw(Texture2D texture, Rectangle destinationRectangle, Color color)
public void Draw(Texture2D texture, Rectangle destinationRectangle, Rectangle? sourceRectangle, Color color, float rotation, Vector2 origin, SpriteEffects effects, float layerDepth)

comments