ホーム › Graphics.DirectComposition › IDCompositionRotateTransform
IDCompositionRotateTransform
COMメソッド 6
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 3 HRESULT SetAngle(IDCompositionAnimation* animation)
| animation | IDCompositionAnimation* | in | 回転角を駆動するアニメーションへのポインタ。 |
| angle | FLOAT | in | 回転角度(度)。時計回りが正。 |
vtbl 5 HRESULT SetCenterX(IDCompositionAnimation* animation)
| animation | IDCompositionAnimation* | in | 回転中心X座標を駆動するアニメーションへのポインタ。 |
| centerX | FLOAT | in | 回転中心点のX座標(DIP)。 |
vtbl 7 HRESULT SetCenterY(IDCompositionAnimation* animation)
| animation | IDCompositionAnimation* | in | 回転中心Y座標を駆動するアニメーションへのポインタ。 |
| centerY | FLOAT | in | 回転中心点のY座標(DIP)。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
#define global IID_IDCompositionRotateTransform "{641ED83C-AE96-46C5-90DC-32774CC5C6D5}"
#usecom global IDCompositionRotateTransform IID_IDCompositionRotateTransform "{}"
#comfunc global IDCompositionRotateTransform_SetAngle 3 sptr
#comfunc global IDCompositionRotateTransform_SetAngle 4 float
#comfunc global IDCompositionRotateTransform_SetCenterX 5 sptr
#comfunc global IDCompositionRotateTransform_SetCenterX 6 float
#comfunc global IDCompositionRotateTransform_SetCenterY 7 sptr
#comfunc global IDCompositionRotateTransform_SetCenterY 8 float
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。