/// <summary> /// Draws the RenderImage to a CluwneSprite and then to the current RenderTarget /// </summary> /// <param name="posX"> Position X of CluwneSprite</param> /// <param name="posY"> Position Y of CluwneSprite </param> /// <param name="widthX"> Width of CluwneSprite </param> /// <param name="heightY"> Height of CluwneSprite </param> /// <param name="color"> Color of CluwneSprite</param> /// <param name="state"> RenderState </param> public void Blit(int posX, int posY, uint width, uint height, Color color, BlitterSizeMode state) { throw new NotImplementedException("The API makes no sense, use a different blit overload."); // This interface is nonsensical for Crop, since Crop needs a rectangle and not two points. // the Crop+Scale overload is what you actually want to use. }
/// <summary> /// Draws the RenderImage Texture to the screen /// </summary> /// <param name="posX"> Position X of Texture </param> /// <param name="posY"> Position Y of Texture </param> /// <param name="widthX"> Width of Texture </param> /// <param name="heightY"> Height of Texture </param> /// <param name="color"> Color of Texture </param> /// <param name="state"> Crop Or Scale </param> public void Blit(float posX, float posY, uint width, uint height, Color color, BlitterSizeMode state) { Mode = state; Blit(new Vector2f(posX, posY), new Vector2f(width, height), color); }
/// <summary> /// Draws the RenderImage Texture to the screen /// </summary> /// <param name="posX"> Position X of CluwneSprite</param> /// <param name="posY"> Position Y of CluwneSprite </param> /// <param name="widthX"> Width of CluwneSprite </param> /// <param name="heightY"> Height of CluwneSprite </param> /// <param name="mode"> Crop or scale </param> public void Blit(float posX, float posY, uint widthX, uint heightY, BlitterSizeMode mode) { Mode = mode; Blit(new Vector2f(posX, posY), new Vector2f(widthX, heightY), Color.White); }
/// <summary> /// Draws the RenderImage Texture to the screen /// </summary> /// <param name="posX"> Position X of CluwneSprite</param> /// <param name="posY"> Position Y of CluwneSprite </param> /// <param name="widthX"> Width of CluwneSprite </param> /// <param name="heightY"> Height of CluwneSprite </param> /// <param name="mode"> Crop or scale </param> public void Blit(float posX, float posY, uint widthX, uint heightY, BlitterSizeMode mode) { Mode = mode; Blit(new Vector2f(posX, posY), new Vector2f(widthX, heightY), Color.White); }
/// <summary> /// Draws the RenderImage Texture to the screen /// </summary> /// <param name="posX"> Position X of Texture </param> /// <param name="posY"> Position Y of Texture </param> /// <param name="widthX"> Width of Texture </param> /// <param name="heightY"> Height of Texture </param> /// <param name="color"> Color of Texture </param> /// <param name="state"> Crop Or Scale </param> public void Blit(float posX, float posY, uint width, uint height, Color color, BlitterSizeMode state) { Mode = state; Blit(new Vector2f(posX, posY), new Vector2f(width, height), color); }
/// <summary> /// Draws the RenderImage to a CluwneSprite and then to the current RenderTarget /// </summary> /// <param name="posX"> Position X of CluwneSprite</param> /// <param name="posY"> Position Y of CluwneSprite </param> /// <param name="widthX"> Width of CluwneSprite </param> /// <param name="heightY"> Height of CluwneSprite </param> /// <param name="color"> Color of CluwneSprite</param> /// <param name="state"> RenderState </param> public void Blit(int posX, int posY, uint width, uint height, Color color, BlitterSizeMode state) { throw new NotImplementedException("The API makes no sense, use a different blit overload."); // This interface is nonsensical for Crop, since Crop needs a rectangle and not two points. // the Crop+Scale overload is what you actually want to use. }
/// <summary> /// Draws the RenderImage Texture to the screen /// </summary> /// <param name="posX"> Position X of Texture </param> /// <param name="posY"> Position Y of Texture </param> /// <param name="widthX"> Width of Texture </param> /// <param name="heightY"> Height of Texture </param> /// <param name="mode"> Crop or scale </param> public void Blit(int posX, int posY, uint widthX, uint heightY, BlitterSizeMode mode) { Mode = mode; Blit(new Vector2(posX, posY), new Vector2(widthX, heightY), SystemColor.White); }
/// <summary> /// Draws the RenderImage Texture to the screen /// </summary> /// <param name="posX"> Position X of Texture </param> /// <param name="posY"> Position Y of Texture </param> /// <param name="widthX"> Width of Texture </param> /// <param name="heightY"> Height of Texture </param> /// <param name="color"> Color of Texture</param> /// <param name="state"> Crop Or Scale </param> public void Blit(int posX, int posY, uint width, uint height, SystemColor color, BlitterSizeMode state) { Mode = state; Blit(new Vector2(posX, posY), new Vector2(width, height), color); }