- [NEW] draw::putPixel()

This commit is contained in:
2023-10-22 10:46:30 +02:00
parent 76b440667b
commit cc862d2952
2 changed files with 7 additions and 0 deletions

View File

@@ -315,6 +315,11 @@ namespace draw
return 0;
}
void putPixel(const int x, const int y, const uint8_t color)
{
pset(screen, x, y, color);
}
// Pinta un troç de la superficie "source" en la superficie "destination".
void draw(const int dx, const int dy, const int w, const int h, const int sx, const int sy, const int flip)
{