{{newin (日本語)|[[11.0 (日本語)|11.0]]|110|type=関数}}
Converts the given 2D position from global coordinates into screen-space.

This effectively applies the current graphics transformations to the given position. A similar [[Transform:transformPoint]] method exists for [[Transform]] objects.

== 関数 ==
=== 概要 ===
<source lang="lua">
screenX, screenY = love.graphics.transformPoint( globalX, globalY )
</source>
=== 引数 ===
{{param (日本語)|number|globalX|グローバル座標における x 位置の構成要素。}}
{{param (日本語)|number|globalY|グローバル座標における y 位置の構成要素。}}
=== 返値 ===
{{param (日本語)|number|screenX|The x component of the position with graphics transformations applied.}}
{{param (日本語)|number|screenY|The y component of the position with graphics transformations applied.}}

== 関連 ==
* [[parent::love.graphics (日本語)]]
* [[love.graphics.inverseTransformPoint (日本語)]]
* [[Transform (日本語)]]
[[Category:Functions (日本語)]]
{{#set:Description=Converts the given 2D position from global coordinates into screen-space.}}
{{#set:Sub-Category=Coordinate System (日本語)}}
== そのほかの言語 ==
{{i18n (日本語)|love.graphics.transformPoint}}