WindowRectOp(win.."held", 2, 0, 0, voy.dimensions.window.x, voy.dimensions.font[1], col.window.transparent)
WindowText(win.."held", "f", text, 0, 0, 0, 0, voy.colours.objects.held, false)
WindowImageFromWindow(win, "held", win.."held")
-- copied from the documentation:
local angle = 90
local radians = math.rad (angle)
local sine = math.sin (radians)
local cosine = math.cos (radians)
-- rotate clockwise
WindowTransformImage(win, "held", voy.dimensions.font[1], voy.dimensions.window.y, 3, cosine, sine, -sine, cosine)
I've also tried:
WindowTransformImage(win, "held", voy.dimensions.font[1], voy.dimensions.window.y, 3, 0, 1, -1, 0)As well as different arbitrary coordinates. There must be something I don't understand.
[EDIT] I've been playing around with it further and found that reflections and stretching work fine. However, I can't get it to do any sort of sheering or rotation (copying examples from the documentation). When I try, I just end up with a reflection and/or stretch.
