- [NEW] SetViewport() i resetViewport()

This commit is contained in:
2023-10-06 16:40:10 +02:00
parent 1c76e406ca
commit d185c4f20b
2 changed files with 40 additions and 11 deletions

View File

@@ -58,6 +58,9 @@ namespace draw
void pushSource();
void popSource();
void setViewport(const int x, const int y, const int w, const int h);
void resetViewport();
/// @brief Estableix la paleta del sistema carregant-la d'un GIF
/// @param filename nom de l'arxiu GIF d'on carregar la paleta
void loadPalette(const std::string &filename);