{{newin|[[11.0]]|110|type=function}}
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.

== Function ==
=== Synopsis ===
<source lang="lua">
love.graphics.applyTransform( transform )
</source>
=== Arguments ===
{{param|Transform|transform|The Transform object to apply to the current graphics coordinate transform.}}
=== Returns ===
Nothing.


== Examples ==
<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>

== See Also ==
* [[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}}
== Other Languages ==
{{i18n|love.graphics.applyTransform}}