Code: Select all
function printOutline(x,y,text, color)
local x2, y2
for x2 = 0,2 do
for y2 = 0,2 do
screen:print(x+x2, y+y2, text)
end
end
screen:print(x+1,y+1,text,color)
end
Code: Select all
function printBold(x,y,text,color)
screen:print(x,y,text,color)
screen:print(x+1,y,text, color)
end
Code: Select all
function strech(x,y,text,color)
local buffer=Image.createEmpty(480,272)
buffer:print(0,0,text,color)
local b2 = Image.createEmpty(480,272)
for x1 = 0, 240 do
for y1 = 0, 136 do
b2:blit(x1*2,y1*2,buffer,x1,y1,1,1)
end
end
screen:blit(x,y,b2)
screen:blit(x,y+1,b2)
screen:blit(x+1,y,b2)
screen:blit(x+1,y+1,b2)
end