Win32 API 日本語リファレンス
ホームGraphics.DirectComposition › IDCompositionScaleTransform3D

IDCompositionScaleTransform3D

COM
IID2a9e9ead-364b-4b15-a7c4-a1997f78b389継承元IDCompositionTransform3D自前メソッド開始 vtbl3

メソッド 12

vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。

vtbl 3 HRESULT SetScaleX(IDCompositionAnimation* animation)
animationIDCompositionAnimation*inX軸方向の拡大率を時間変化させるアニメーションオブジェクト。NULL不可。
vtbl 4 HRESULT SetScaleX(FLOAT scaleX)
scaleXFLOATinX軸方向の拡大縮小率。1.0で等倍、負値で反転を表す浮動小数点値である。
vtbl 5 HRESULT SetScaleY(IDCompositionAnimation* animation)
animationIDCompositionAnimation*inY軸方向の拡大率を時間変化させるアニメーションオブジェクト。NULL不可。
vtbl 6 HRESULT SetScaleY(FLOAT scaleY)
scaleYFLOATinY軸方向の拡大縮小率。1.0で等倍、負値で反転を表す浮動小数点値である。
vtbl 7 HRESULT SetScaleZ(IDCompositionAnimation* animation)
animationIDCompositionAnimation*inZ軸方向の拡大率を時間変化させるアニメーションオブジェクト。NULL不可。
vtbl 8 HRESULT SetScaleZ(FLOAT scaleZ)
scaleZFLOATinZ軸方向の拡大縮小率。1.0で等倍、負値で反転を表す浮動小数点値である。
vtbl 9 HRESULT SetCenterX(IDCompositionAnimation* animation)
animationIDCompositionAnimation*in拡大中心点のX座標を時間変化させるアニメーションオブジェクト。NULL不可。
vtbl 10 HRESULT SetCenterX(FLOAT centerX)
centerXFLOATin拡大縮小の中心点のX座標。原点からのDIP単位のオフセットを指定する。
vtbl 11 HRESULT SetCenterY(IDCompositionAnimation* animation)
animationIDCompositionAnimation*in拡大中心点のY座標を時間変化させるアニメーションオブジェクト。NULL不可。
vtbl 12 HRESULT SetCenterY(FLOAT centerY)
centerYFLOATin拡大縮小の中心点のY座標。原点からのDIP単位のオフセットを指定する。
vtbl 13 HRESULT SetCenterZ(IDCompositionAnimation* animation)
animationIDCompositionAnimation*in拡大中心点のZ座標を時間変化させるアニメーションオブジェクト。NULL不可。
vtbl 14 HRESULT SetCenterZ(FLOAT centerZ)
centerZFLOATin拡大縮小の中心点のZ座標。原点からのDIP単位のオフセットを指定する。

HSP用 COM定義

#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"

#define global IID_IDCompositionScaleTransform3D "{2A9E9EAD-364B-4B15-A7C4-A1997F78B389}"
#usecom global IDCompositionScaleTransform3D IID_IDCompositionScaleTransform3D "{}"
#comfunc global IDCompositionScaleTransform3D_SetScaleX   3 sptr
#comfunc global IDCompositionScaleTransform3D_SetScaleX   4 float
#comfunc global IDCompositionScaleTransform3D_SetScaleY   5 sptr
#comfunc global IDCompositionScaleTransform3D_SetScaleY   6 float
#comfunc global IDCompositionScaleTransform3D_SetScaleZ   7 sptr
#comfunc global IDCompositionScaleTransform3D_SetScaleZ   8 float
#comfunc global IDCompositionScaleTransform3D_SetCenterX  9 sptr
#comfunc global IDCompositionScaleTransform3D_SetCenterX  10 float
#comfunc global IDCompositionScaleTransform3D_SetCenterY  11 sptr
#comfunc global IDCompositionScaleTransform3D_SetCenterY  12 float
#comfunc global IDCompositionScaleTransform3D_SetCenterZ  13 sptr
#comfunc global IDCompositionScaleTransform3D_SetCenterZ  14 float
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。