function(index, width/height) is Int->Float->Dynamic.
Regenerated externs. Fixed #15.