PHPマニュアル/PEARマニュアル | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot

CairoContext::deviceToUser - Transform a coordinate | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

CairoContext::deviceToUser

cairo_device_to_user

(PECL cairo >= 0.1.0)

CairoContext::deviceToUser -- cairo_device_to_userTransform a coordinate

説明

オブジェクト指向型 (method):

public array CairoContext::deviceToUser ( float $x , float $y )

手続き型:

array cairo_device_to_user ( CairoContext $context , float $x , float $y )

Transform a coordinate from device space to user space by multiplying the given point by the inverse of the current transformation matrix (CTM).

パラメータ

context

A valid CairoContext object created with CairoContext::__construct() or cairo_create()

x

x value of the coordinate

y

y value of the coordinate

返り値

An array containing the x and y coordinates in the user-space

参考


忘却曲線を使ってこの知識を確実に記憶に残す

フォーラムで「CairoContext::deviceToUser - Transform a coordinate」について話す
各種マニュアル: PHPマニュアル | PEARマニュアル | Smarty(英語)マニュアル | PHP-GTKマニュアル | CairoContext::deviceToUser - Transform a coordinate」をGoogle検索
copyright © 1997-2024 PHP ドキュメント作成グループ(ライセンス). provided by php spot. マニュアル: