ホーム › Web.MsHtml › ISVGRectElement
ISVGRectElement
COMIDispatch (デュアル)✅ IDispatch を実装(デュアルインターフェース)。HSP では
comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。メソッド 12
vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。
vtbl 7 HRESULT putref_x(ISVGAnimatedLength* v)
| v | ISVGAnimatedLength* | in | 矩形の左上隅の x 座標(x 属性)を表す ISVGAnimatedLength への参照を設定する。 |
vtbl 8 HRESULT get_x(ISVGAnimatedLength** p)
| p | ISVGAnimatedLength** | out | 矩形の左上隅の x 座標(x 属性)を表す ISVGAnimatedLength を受け取る出力ポインタである。 |
vtbl 9 HRESULT putref_y(ISVGAnimatedLength* v)
| v | ISVGAnimatedLength* | in | 矩形の左上隅の y 座標(y 属性)を表す ISVGAnimatedLength への参照を設定する。 |
vtbl 10 HRESULT get_y(ISVGAnimatedLength** p)
| p | ISVGAnimatedLength** | out | 矩形の左上隅の y 座標(y 属性)を表す ISVGAnimatedLength を受け取る出力ポインタである。 |
vtbl 11 HRESULT putref_width(ISVGAnimatedLength* v)
| v | ISVGAnimatedLength* | in | 矩形の幅(width 属性)を表す ISVGAnimatedLength への参照を設定する。 |
vtbl 12 HRESULT get_width(ISVGAnimatedLength** p)
| p | ISVGAnimatedLength** | out | 矩形の幅(width 属性)を表す ISVGAnimatedLength を受け取る出力ポインタである。 |
vtbl 13 HRESULT putref_height(ISVGAnimatedLength* v)
| v | ISVGAnimatedLength* | in | 矩形の高さ(height 属性)を表す ISVGAnimatedLength への参照を設定する。 |
vtbl 14 HRESULT get_height(ISVGAnimatedLength** p)
| p | ISVGAnimatedLength** | out | 矩形の高さ(height 属性)を表す ISVGAnimatedLength を受け取る出力ポインタである。 |
vtbl 15 HRESULT putref_rx(ISVGAnimatedLength* v)
| v | ISVGAnimatedLength* | in | 矩形の角の x 軸方向の丸み半径(rx 属性)を表す ISVGAnimatedLength への参照を設定する。 |
vtbl 16 HRESULT get_rx(ISVGAnimatedLength** p)
| p | ISVGAnimatedLength** | out | 矩形の角の x 軸方向の丸み半径(rx 属性)を表す ISVGAnimatedLength を受け取る出力ポインタである。 |
vtbl 17 HRESULT putref_ry(ISVGAnimatedLength* v)
| v | ISVGAnimatedLength* | in | 矩形の角の y 軸方向の丸み半径(ry 属性)を表す ISVGAnimatedLength への参照を設定する。 |
vtbl 18 HRESULT get_ry(ISVGAnimatedLength** p)
| p | ISVGAnimatedLength** | out | 矩形の角の y 軸方向の丸み半径(ry 属性)を表す ISVGAnimatedLength を受け取る出力ポインタである。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
#define global IID_ISVGRectElement "{30510513-98B5-11CF-BB82-00AA00BDCE0B}"
#usecom global ISVGRectElement IID_ISVGRectElement "{30510577-98B5-11CF-BB82-00AA00BDCE0B}"
#comfunc global ISVGRectElement_putref_x 7 sptr
#comfunc global ISVGRectElement_get_x 8 sptr
#comfunc global ISVGRectElement_putref_y 9 sptr
#comfunc global ISVGRectElement_get_y 10 sptr
#comfunc global ISVGRectElement_putref_width 11 sptr
#comfunc global ISVGRectElement_get_width 12 sptr
#comfunc global ISVGRectElement_putref_height 13 sptr
#comfunc global ISVGRectElement_get_height 14 sptr
#comfunc global ISVGRectElement_putref_rx 15 sptr
#comfunc global ISVGRectElement_get_rx 16 sptr
#comfunc global ISVGRectElement_putref_ry 17 sptr
#comfunc global ISVGRectElement_get_ry 18 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。