Update renderd7.hpp

This commit is contained in:
tobid7 2021-07-25 16:44:12 +02:00 committed by GitHub
parent af296546ff
commit 0cd8eaa423
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@ extern std::string dspststus;
namespace RenderD7 namespace RenderD7
{ {
/// Set current RenderScreen /// Set current RenderScreen
/// @param target The RenderTarget Top, Bottom /// \param target The RenderTarget Top, Bottom
void OnScreen(C3D_RenderTarget *target); void OnScreen(C3D_RenderTarget *target);
/** The Spritesheet Class */ /** The Spritesheet Class */
class Sheet class Sheet
@ -72,15 +72,15 @@ namespace RenderD7
/// Draw the Image directly /// Draw the Image directly
/// \param x The x position /// \param x The x position
/// \param y the y position /// \param y the y position
/// @param scaleX x scale from 0.0 to 1.0 /// \param scaleX x scale from 0.0 to 1.0
/// @param scaleY y scale from 0.0 to 1.0 /// \param scaleY y scale from 0.0 to 1.0
bool Draw(float x, float y, float scaleX = 1.0f, float scaleY = 1.0f); bool Draw(float x, float y, float scaleX = 1.0f, float scaleY = 1.0f);
/// @brief Get The Image /// \brief Get The Image
/// @return C2D_Image /// \return C2D_Image
C2D_Image Get(){return this->img;} C2D_Image Get(){return this->img;}
/// @img this is the C2D_Image /// \img this is the C2D_Image
C2D_Image img; C2D_Image img;
/// @loadet whether the image is loadet or not /// \loadet whether the image is loadet or not
bool loadet = false; bool loadet = false;
}; };
/// Sprite Class /// Sprite Class