Removed in LÖVE 0.9.0
It has been merged into love.graphics.draw.
Draw a Quad with the specified Image on screen.
love.graphics.drawq( image, quad, x, y, r, sx, sy, ox, oy, kx, ky )
Image image
Quad quad
number x
number y
number r (0)
number sx (1)
number sy (sx)
number ox (0)
number oy (0)
number kx (0)
Available since 0.8.0
number ky (0)
Available since 0.8.0
Nothing.
love.graphics.drawq( canvas, quad, x, y, r, sx, sy, ox, oy, kx, ky )
Canvas canvas
Quad quad
number x
number y
number r (0)
number sx (1)
number sy (sx)
number ox (0)
number oy (0)
number kx (0)
Available since 0.8.0
number ky (0)
Available since 0.8.0
Nothing.
image = love.graphics.newImage("hamster.png") quad = love.graphics.newQuad(0, 0, 128, 64, image:getWidth(), image:getHeight()) function love.draw() love.graphics.drawq(image, quad, 100, 100) end
Version | Description |
---|
0.8.0 | Added shearing factors kx and ky |
© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.graphics.drawq