ホーム › Web.MsHtml › ISVGUseElement
ISVGUseElement
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 | use 要素の x 属性(参照内容を配置する x 座標)を表す ISVGAnimatedLength への参照を設定する。 |
vtbl 8 HRESULT get_x(ISVGAnimatedLength** p)
| p | ISVGAnimatedLength** | out | use 要素の x 属性(参照内容を配置する x 座標)を表す ISVGAnimatedLength を受け取る出力ポインタである。 |
vtbl 9 HRESULT putref_y(ISVGAnimatedLength* v)
| v | ISVGAnimatedLength* | in | use 要素の y 属性(参照内容を配置する y 座標)を表す ISVGAnimatedLength への参照を設定する。 |
vtbl 10 HRESULT get_y(ISVGAnimatedLength** p)
| p | ISVGAnimatedLength** | out | use 要素の y 属性(参照内容を配置する y 座標)を表す ISVGAnimatedLength を受け取る出力ポインタである。 |
vtbl 11 HRESULT putref_width(ISVGAnimatedLength* v)
| v | ISVGAnimatedLength* | in | use 要素の width 属性(参照内容の幅)を表す ISVGAnimatedLength への参照を設定する。 |
vtbl 12 HRESULT get_width(ISVGAnimatedLength** p)
| p | ISVGAnimatedLength** | out | use 要素の width 属性(参照内容の幅)を表す ISVGAnimatedLength を受け取る出力ポインタである。 |
vtbl 13 HRESULT putref_height(ISVGAnimatedLength* v)
| v | ISVGAnimatedLength* | in | use 要素の height 属性(参照内容の高さ)を表す ISVGAnimatedLength への参照を設定する。 |
vtbl 14 HRESULT get_height(ISVGAnimatedLength** p)
| p | ISVGAnimatedLength** | out | use 要素の height 属性(参照内容の高さ)を表す ISVGAnimatedLength を受け取る出力ポインタである。 |
vtbl 15 HRESULT putref_instanceRoot(ISVGElementInstance* v)
| v | ISVGElementInstance* | in | use 要素が生成するインスタンスツリーのルートを表す ISVGElementInstance への参照を設定する。 |
vtbl 16 HRESULT get_instanceRoot(ISVGElementInstance** p)
| p | ISVGElementInstance** | out | use 要素が生成するインスタンスツリーのルートを表す ISVGElementInstance を受け取る出力ポインタである。 |
vtbl 17 HRESULT putref_animatedInstanceRoot(ISVGElementInstance* v)
| v | ISVGElementInstance* | in | アニメーション適用後のインスタンスツリーのルートを表す ISVGElementInstance への参照を設定する。 |
vtbl 18 HRESULT get_animatedInstanceRoot(ISVGElementInstance** p)
| p | ISVGElementInstance** | out | アニメーション適用後のインスタンスツリーのルートを表す ISVGElementInstance を受け取る出力ポインタである。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
#define global IID_ISVGUseElement "{305104ED-98B5-11CF-BB82-00AA00BDCE0B}"
#usecom global ISVGUseElement IID_ISVGUseElement "{30510590-98B5-11CF-BB82-00AA00BDCE0B}"
#comfunc global ISVGUseElement_putref_x 7 sptr
#comfunc global ISVGUseElement_get_x 8 sptr
#comfunc global ISVGUseElement_putref_y 9 sptr
#comfunc global ISVGUseElement_get_y 10 sptr
#comfunc global ISVGUseElement_putref_width 11 sptr
#comfunc global ISVGUseElement_get_width 12 sptr
#comfunc global ISVGUseElement_putref_height 13 sptr
#comfunc global ISVGUseElement_get_height 14 sptr
#comfunc global ISVGUseElement_putref_instanceRoot 15 sptr
#comfunc global ISVGUseElement_get_instanceRoot 16 sptr
#comfunc global ISVGUseElement_putref_animatedInstanceRoot 17 sptr
#comfunc global ISVGUseElement_get_animatedInstanceRoot 18 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。