ホーム › Graphics.DirectComposition › IDCompositionRectangleClip
IDCompositionRectangleClip
COM公式ドキュメント
ビジュアルのサブツリーの描画を、指定した矩形領域内に制限するクリップオブジェクトを表します。必要に応じて、クリップオブジェクトに角丸を指定することもできます。
メソッド 24
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 3 HRESULT SetLeft(IDCompositionAnimation* animation)
| animation | IDCompositionAnimation* | in | クリップ矩形の左端座標を時間変化させるアニメーションオブジェクト。NULL不可。 |
| left | FLOAT | in | クリップ矩形の左端のX座標。DIP単位で指定する浮動小数点値である。 |
vtbl 5 HRESULT SetTop(IDCompositionAnimation* animation)
| animation | IDCompositionAnimation* | in | クリップ矩形の上端座標を時間変化させるアニメーションオブジェクト。NULL不可。 |
| top | FLOAT | in | クリップ矩形の上端のY座標。DIP単位で指定する浮動小数点値である。 |
vtbl 7 HRESULT SetRight(IDCompositionAnimation* animation)
| animation | IDCompositionAnimation* | in | クリップ矩形の右端座標を時間変化させるアニメーションオブジェクト。NULL不可。 |
| right | FLOAT | in | クリップ矩形の右端のX座標。DIP単位で指定する浮動小数点値である。 |
vtbl 9 HRESULT SetBottom(IDCompositionAnimation* animation)
| animation | IDCompositionAnimation* | in | クリップ矩形の下端座標を時間変化させるアニメーションオブジェクト。NULL不可。 |
| bottom | FLOAT | in | クリップ矩形の下端のY座標。DIP単位で指定する浮動小数点値である。 |
vtbl 11 HRESULT SetTopLeftRadiusX(IDCompositionAnimation* animation)
| animation | IDCompositionAnimation* | in | 左上角の角丸半径Xを時間変化させるアニメーションオブジェクト。NULL不可。 |
| radius | FLOAT | in | 左上角の角丸の水平方向(X)半径。DIP単位で指定する浮動小数点値である。 |
vtbl 13 HRESULT SetTopLeftRadiusY(IDCompositionAnimation* animation)
| animation | IDCompositionAnimation* | in | 左上角の角丸半径Yを時間変化させるアニメーションオブジェクト。NULL不可。 |
| radius | FLOAT | in | 左上角の角丸の垂直方向(Y)半径。DIP単位で指定する浮動小数点値である。 |
vtbl 15 HRESULT SetTopRightRadiusX(IDCompositionAnimation* animation)
| animation | IDCompositionAnimation* | in | 右上角の角丸半径Xを時間変化させるアニメーションオブジェクト。NULL不可。 |
| radius | FLOAT | in | 右上角の角丸の水平方向(X)半径。DIP単位で指定する浮動小数点値である。 |
vtbl 17 HRESULT SetTopRightRadiusY(IDCompositionAnimation* animation)
| animation | IDCompositionAnimation* | in | 右上角の角丸半径Yを時間変化させるアニメーションオブジェクト。NULL不可。 |
| radius | FLOAT | in | 右上角の角丸の垂直方向(Y)半径。DIP単位で指定する浮動小数点値である。 |
vtbl 19 HRESULT SetBottomLeftRadiusX(IDCompositionAnimation* animation)
| animation | IDCompositionAnimation* | in | 左下角の角丸半径Xを時間変化させるアニメーションオブジェクト。NULL不可。 |
| radius | FLOAT | in | 左下角の角丸の水平方向(X)半径。DIP単位で指定する浮動小数点値である。 |
vtbl 21 HRESULT SetBottomLeftRadiusY(IDCompositionAnimation* animation)
| animation | IDCompositionAnimation* | in | 左下角の角丸半径Yを時間変化させるアニメーションオブジェクト。NULL不可。 |
| radius | FLOAT | in | 左下角の角丸の垂直方向(Y)半径。DIP単位で指定する浮動小数点値である。 |
vtbl 23 HRESULT SetBottomRightRadiusX(IDCompositionAnimation* animation)
| animation | IDCompositionAnimation* | in | 右下角の角丸半径Xを時間変化させるアニメーションオブジェクト。NULL不可。 |
| radius | FLOAT | in | 右下角の角丸の水平方向(X)半径。DIP単位で指定する浮動小数点値である。 |
vtbl 25 HRESULT SetBottomRightRadiusY(IDCompositionAnimation* animation)
| animation | IDCompositionAnimation* | in | 右下角の角丸半径Yを時間変化させるアニメーションオブジェクト。NULL不可。 |
| radius | FLOAT | in | 右下角の角丸の垂直方向(Y)半径。DIP単位で指定する浮動小数点値である。 |
出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
#define global IID_IDCompositionRectangleClip "{9842AD7D-D9CF-4908-AED7-48B51DA5E7C2}"
#usecom global IDCompositionRectangleClip IID_IDCompositionRectangleClip "{}"
#comfunc global IDCompositionRectangleClip_SetLeft 3 sptr
#comfunc global IDCompositionRectangleClip_SetLeft 4 float
#comfunc global IDCompositionRectangleClip_SetTop 5 sptr
#comfunc global IDCompositionRectangleClip_SetTop 6 float
#comfunc global IDCompositionRectangleClip_SetRight 7 sptr
#comfunc global IDCompositionRectangleClip_SetRight 8 float
#comfunc global IDCompositionRectangleClip_SetBottom 9 sptr
#comfunc global IDCompositionRectangleClip_SetBottom 10 float
#comfunc global IDCompositionRectangleClip_SetTopLeftRadiusX 11 sptr
#comfunc global IDCompositionRectangleClip_SetTopLeftRadiusX 12 float
#comfunc global IDCompositionRectangleClip_SetTopLeftRadiusY 13 sptr
#comfunc global IDCompositionRectangleClip_SetTopLeftRadiusY 14 float
#comfunc global IDCompositionRectangleClip_SetTopRightRadiusX 15 sptr
#comfunc global IDCompositionRectangleClip_SetTopRightRadiusX 16 float
#comfunc global IDCompositionRectangleClip_SetTopRightRadiusY 17 sptr
#comfunc global IDCompositionRectangleClip_SetTopRightRadiusY 18 float
#comfunc global IDCompositionRectangleClip_SetBottomLeftRadiusX 19 sptr
#comfunc global IDCompositionRectangleClip_SetBottomLeftRadiusX 20 float
#comfunc global IDCompositionRectangleClip_SetBottomLeftRadiusY 21 sptr
#comfunc global IDCompositionRectangleClip_SetBottomLeftRadiusY 22 float
#comfunc global IDCompositionRectangleClip_SetBottomRightRadiusX 23 sptr
#comfunc global IDCompositionRectangleClip_SetBottomRightRadiusX 24 float
#comfunc global IDCompositionRectangleClip_SetBottomRightRadiusY 25 sptr
#comfunc global IDCompositionRectangleClip_SetBottomRightRadiusY 26 float
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。