Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
Another use for matrices — Gideros Forum

Another use for matrices

ScouserScouser Guru
edited April 2012 in Code snippets
Very simple but effective way of italicising your text using a matrix.
rar
rar
SimpleItalicsDemo.rar
236K

Likes: atilim

+1 -1 (+1 / -0 )Share on Facebook

Comments

  • Ok so I should read what I've written before showing the world how incompetent I am.
    On or near line 32 of italicsScreen.lua replace the 2 lines
    local matrix = sItalic:getMatrix()
    matrix:setElements(1, -.5, 0, 1, xpos, 300)
    with the single line
    local matrix = Matrix.new(1, -.5, 0, 1, xpos, 300)
Sign In or Register to comment.