fixed bug in rectangle painting and added example

This commit is contained in:
HW
2011-12-02 01:43:55 +01:00
parent f739baff5f
commit 1271d908dc
2 changed files with 3 additions and 0 deletions

View File

@@ -13,6 +13,8 @@ if face:hasKerning() then
print("has kerning")
end
fb.bb:paintRect(1,1,599,300,7);
renderUtf8Text(fb.bb, 100, 100, face, "h", "AV T.T: gxyt!", true)
renderUtf8Text(fb.bb, 100, 200, face, "h", "AV T.T: gxyt!", false)