{{oldin|[[0.9.0]]|090|type=function|text=It has been merged into [[love.graphics.draw]]}}
Draw a Quad with the specified Image on screen.
== 関数 ==
=== 概要 ===
<source lang="lua">
love.graphics.drawq( image, quad, x, y, r, sx, sy, ox, oy, kx, ky )
</source>
=== 引数 ===
{{param (日本語)|Image|image|An image to texture the quad with.}}
{{param (日本語)|Quad|quad|The quad to draw on screen.}}
{{param (日本語)|number|x|The position to draw the object (x-axis).}}
{{param (日本語)|number|y|The position to draw the object (y-axis).}}
{{param (日本語)|number|r (0)|Orientation (radians).}}
{{param (日本語)|number|sx (1)|Scale factor (x-axis).}}
{{param (日本語)|number|sy (sx)|Scale factor (y-axis).}}
{{param (日本語)|number|ox (0)|Origin offset (x-axis).}}
{{param (日本語)|number|oy (0)|Origin offset (y-axis).}}
{{New feature (日本語)|0.8.0|
{{param (日本語)|number|kx (0)|Shearing factor (x-axis).}}
{{param (日本語)|number|ky (0)|Shearing factor (y-axis).}}
|080}}
=== 返値 ===
ありません。
== 関数 ==
=== 概要 ===
<source lang="lua">
love.graphics.drawq( canvas, quad, x, y, r, sx, sy, ox, oy, kx, ky )
</source>
=== 引数 ===
{{param (日本語)|Canvas|canvas|A canvas to texture the quad with.}}
{{param (日本語)|Quad|quad|The quad to draw on screen.}}
{{param (日本語)|number|x|The position to draw the object (x-axis).}}
{{param (日本語)|number|y|The position to draw the object (y-axis).}}
{{param (日本語)|number|r (0)|Orientation (radians).}}
{{param (日本語)|number|sx (1)|Scale factor (x-axis).}}
{{param (日本語)|number|sy (sx)|Scale factor (y-axis).}}
{{param (日本語)|number|ox (0)|Origin offset (x-axis).}}
{{param (日本語)|number|oy (0)|Origin offset (y-axis).}}
{{New feature (日本語)|0.8.0|
{{param (日本語)|number|kx (0)|Shearing factor (x-axis).}}
{{param (日本語)|number|ky (0)|Shearing factor (y-axis).}}
|080}}
=== 返値 ===
ありません。
== 用例 ==
=== Draw the top half of an image (the [[:File:Resource-HamsterBall.png|Hamster Ball]]) at 100 by 100 pixels. ===
<source lang="lua">
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
</source>
== 関連 ==
* [[parent::love.graphics (日本語)]]
* [[love.graphics.draw (日本語)]]
[[Category:Functions (日本語)]]
[[Sub-Category::Drawing (日本語)| ]]
{{#set:Description=Draw a Quad with the specified Image on screen.}}
{{#set:Since=000}}
== そのほかの言語 ==
{{i18n (日本語)|love.graphics.drawq}}