{{newin (日本語)|[[11.0 (日本語)|11.0]]|110|type=関数}}
Applies the given [[Transform]] object to the current coordinate transformation.

This effectively multiplies the existing coordinate transformation's matrix with the Transform object's internal matrix to produce the new coordinate transformation.

== 関数 ==
=== 概要 ===
<source lang="lua">
love.graphics.applyTransform( transform )
</source>
=== 引数 ===
{{param (日本語)|Transform|transform|The Transform object to apply to the current graphics coordinate transform.}}
=== 返値 ===
ありません。


== 用例 ==
<source lang="lua">
local transform = love.math.newTransform()
transform:translate(200, 0)

function love.draw()
    love.graphics.translate(100, 100)
    love.graphics.rectangle("fill", 0, 0, 50, 50)

    love.graphics.applyTransform(transform)
    love.graphics.rectangle("fill", 0, 0, 50, 50)
end
</source>

== 関連 ==
* [[parent::love.graphics (日本語)]]
* [[love.math.newTransform (日本語)]]
* [[love.graphics.replaceTransform (日本語)]]
* [[love.graphics.push (日本語)]]
* [[love.graphics.pop (日本語)]]
[[Category:Functions (日本語)]]
{{#set:Description=Applies the given [[Transform]] object to the current coordinate transformation.}}
{{#set:Sub-Category=Coordinate System (日本語)}}
== そのほかの言語 ==
{{i18n (日本語)|love.graphics.applyTransform}}