From abaee18c53857706775fcfa4012433108ac789a4 Mon Sep 17 00:00:00 2001 From: JailDoctor Date: Fri, 1 May 2026 14:53:13 +0200 Subject: [PATCH] Update draw.pixel --- surf.pixel.md => draw.pixel.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename surf.pixel.md => draw.pixel.md (78%) diff --git a/surf.pixel.md b/draw.pixel.md similarity index 78% rename from surf.pixel.md rename to draw.pixel.md index b0abaab..4c96f76 100644 --- a/surf.pixel.md +++ b/draw.pixel.md @@ -1,6 +1,6 @@ -# surf.pixel(x,y) +# draw.pixel(x,y) Obté el color del pixel a la posició (x,y) de la surface source. -# surf.pixel(x,y,color) +# draw.pixel(x,y,color) Especifica el color del pixel a la posició (x,y) de la surface destí. ### Paràmetres @@ -12,7 +12,7 @@ La posició i el color del pixel, si el que volem es escriure'l en la surface de ``` local s = surf.new(128, 128) surf.target(s) -surf.pixel(10,10,1) -- pinta el pixel (10,10) de color 1. +draw.pixel(10,10,1) -- pinta el pixel (10,10) de color 1. ``` ### Vore també