Reorganized source code and directory tree.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1375 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
7
share/grafx2/scripts/_tst_GradientBrush.lua
Normal file
7
share/grafx2/scripts/_tst_GradientBrush.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
w, h = getbrushsize()
|
||||
|
||||
for x = 0, w - 1, 1 do
|
||||
for y = 0, h - 1, 1 do
|
||||
putbrushpixel(x, y, (x+y)%256);
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user