Function
Quad:setViewport( x, y, w, h )
Sets the texture coordinates according to a viewport.
Synopsis
Quad:setViewport( x, y, w, h )
Parameters
x number The top-left corner along the x-axis.
y number The top-right corner along the y-axis.
w number The width of the viewport.
h number The height of the viewport.
Copyright © 2006-2010 LÖVE Development Team.