vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_ISVGMatrix "{305104F6-98B5-11CF-BB82-00AA00BDCE0B}"
#usecom global ISVGMatrix IID_ISVGMatrix "{}"
#comfunc global ISVGMatrix_put_a 7 float
#comfunc global ISVGMatrix_get_a 8 var
#comfunc global ISVGMatrix_put_b 9 float
#comfunc global ISVGMatrix_get_b 10 var
#comfunc global ISVGMatrix_put_c 11 float
#comfunc global ISVGMatrix_get_c 12 var
#comfunc global ISVGMatrix_put_d 13 float
#comfunc global ISVGMatrix_get_d 14 var
#comfunc global ISVGMatrix_put_e 15 float
#comfunc global ISVGMatrix_get_e 16 var
#comfunc global ISVGMatrix_put_f 17 float
#comfunc global ISVGMatrix_get_f 18 var
#comfunc global ISVGMatrix_multiply 19 sptr,sptr
#comfunc global ISVGMatrix_inverse 20 sptr
#comfunc global ISVGMatrix_translate 21 float,float,sptr
#comfunc global ISVGMatrix_scale 22 float,sptr
#comfunc global ISVGMatrix_scaleNonUniform 23 float,float,sptr
#comfunc global ISVGMatrix_rotate 24 float,sptr
#comfunc global ISVGMatrix_rotateFromVector 25 float,float,sptr
#comfunc global ISVGMatrix_flipX 26 sptr
#comfunc global ISVGMatrix_flipY 27 sptr
#comfunc global ISVGMatrix_skewX 28 float,sptr
#comfunc global ISVGMatrix_skewY 29 float,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_ISVGMatrix "{305104F6-98B5-11CF-BB82-00AA00BDCE0B}"
#usecom global ISVGMatrix IID_ISVGMatrix "{}"
#comfunc global ISVGMatrix_put_a 7 float
#comfunc global ISVGMatrix_get_a 8 sptr
#comfunc global ISVGMatrix_put_b 9 float
#comfunc global ISVGMatrix_get_b 10 sptr
#comfunc global ISVGMatrix_put_c 11 float
#comfunc global ISVGMatrix_get_c 12 sptr
#comfunc global ISVGMatrix_put_d 13 float
#comfunc global ISVGMatrix_get_d 14 sptr
#comfunc global ISVGMatrix_put_e 15 float
#comfunc global ISVGMatrix_get_e 16 sptr
#comfunc global ISVGMatrix_put_f 17 float
#comfunc global ISVGMatrix_get_f 18 sptr
#comfunc global ISVGMatrix_multiply 19 sptr,sptr
#comfunc global ISVGMatrix_inverse 20 sptr
#comfunc global ISVGMatrix_translate 21 float,float,sptr
#comfunc global ISVGMatrix_scale 22 float,sptr
#comfunc global ISVGMatrix_scaleNonUniform 23 float,float,sptr
#comfunc global ISVGMatrix_rotate 24 float,sptr
#comfunc global ISVGMatrix_rotateFromVector 25 float,float,sptr
#comfunc global ISVGMatrix_flipX 26 sptr
#comfunc global ISVGMatrix_flipY 27 sptr
#comfunc global ISVGMatrix_skewX 28 float,sptr
#comfunc global ISVGMatrix_skewY 29 float,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。