Win32 API 日本語リファレンス
ホームStorage.Xps › IXpsOMPath

IXpsOMPath

COM
IID37d38bb6-3ee9-4110-9312-14b194163337継承元IXpsOMVisual自前メソッド開始 vtbl30

メソッド 37

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

vtbl 30 HRESULT GetGeometry(IXpsOMGeometry** geometry)
geometryIXpsOMGeometry**outパスに適用される解決済みのジオメトリへのポインタを受け取る。
vtbl 31 HRESULT GetGeometryLocal(IXpsOMGeometry** geometry)
geometryIXpsOMGeometry**outローカルに設定されたジオメトリへのポインタを受け取る。設定されていない場合は NULL を受け取る。
vtbl 32 HRESULT SetGeometryLocal(IXpsOMGeometry* geometry)
geometryIXpsOMGeometry*in設定するローカルのジオメトリを指定する。NULL を指定するとローカルジオメトリを解除する。
vtbl 33 HRESULT GetGeometryLookup(LPWSTR* lookup)
lookupLPWSTR*out共有ジオメトリを参照するルックアップキー文字列を受け取る。
vtbl 34 HRESULT SetGeometryLookup(LPWSTR lookup)
lookupLPWSTRin設定するジオメトリのルックアップキー文字列を指定する。
vtbl 35 HRESULT GetAccessibilityShortDescription(LPWSTR* shortDescription)
shortDescriptionLPWSTR*outアクセシビリティ用の短い説明文字列を受け取る。
vtbl 36 HRESULT SetAccessibilityShortDescription(LPWSTR shortDescription)
shortDescriptionLPWSTRin設定するアクセシビリティ用の短い説明文字列を指定する。
vtbl 37 HRESULT GetAccessibilityLongDescription(LPWSTR* longDescription)
longDescriptionLPWSTR*outアクセシビリティ用の長い説明文字列を受け取る。
vtbl 38 HRESULT SetAccessibilityLongDescription(LPWSTR longDescription)
longDescriptionLPWSTRin設定するアクセシビリティ用の長い説明文字列を指定する。
vtbl 39 HRESULT GetSnapsToPixels(BOOL* snapsToPixels)
snapsToPixelsBOOL*outパスをピクセル境界にスナップするかどうかを示す BOOL 値を受け取る。
vtbl 40 HRESULT SetSnapsToPixels(BOOL snapsToPixels)
snapsToPixelsBOOLinパスをピクセル境界にスナップするかどうかを示す BOOL 値を指定する。
vtbl 41 HRESULT GetStrokeBrush(IXpsOMBrush** brush)
brushIXpsOMBrush**outストロークに適用される解決済みのブラシへのポインタを受け取る。
vtbl 42 HRESULT GetStrokeBrushLocal(IXpsOMBrush** brush)
brushIXpsOMBrush**outローカルに設定されたストロークブラシへのポインタを受け取る。設定されていない場合は NULL を受け取る。
vtbl 43 HRESULT SetStrokeBrushLocal(IXpsOMBrush* brush)
brushIXpsOMBrush*in設定するローカルのストロークブラシを指定する。NULL を指定するとローカルブラシを解除する。
vtbl 44 HRESULT GetStrokeBrushLookup(LPWSTR* lookup)
lookupLPWSTR*out共有ストロークブラシを参照するルックアップキー文字列を受け取る。
vtbl 45 HRESULT SetStrokeBrushLookup(LPWSTR lookup)
lookupLPWSTRin設定するストロークブラシのルックアップキー文字列を指定する。
vtbl 46 HRESULT GetStrokeDashes(IXpsOMDashCollection** strokeDashes)
strokeDashesIXpsOMDashCollection**outストロークの破線パターンを定義するダッシュコレクションへのポインタを受け取る。
vtbl 47 HRESULT GetStrokeDashCap(XPS_DASH_CAP* strokeDashCap)
strokeDashCapXPS_DASH_CAP*out破線の各ダッシュ端のキャップ形状(XPS_DASH_CAP)を受け取る。
vtbl 48 HRESULT SetStrokeDashCap(XPS_DASH_CAP strokeDashCap)
strokeDashCapXPS_DASH_CAPin設定する破線ダッシュ端のキャップ形状(XPS_DASH_CAP)を指定する。
vtbl 49 HRESULT GetStrokeDashOffset(FLOAT* strokeDashOffset)
strokeDashOffsetFLOAT*out破線パターンの開始オフセット値を受け取る。
vtbl 50 HRESULT SetStrokeDashOffset(FLOAT strokeDashOffset)
strokeDashOffsetFLOATin設定する破線パターンの開始オフセット値を指定する。
vtbl 51 HRESULT GetStrokeStartLineCap(XPS_LINE_CAP* strokeStartLineCap)
strokeStartLineCapXPS_LINE_CAP*outストローク開始端のラインキャップ形状(XPS_LINE_CAP)を受け取る。
vtbl 52 HRESULT SetStrokeStartLineCap(XPS_LINE_CAP strokeStartLineCap)
strokeStartLineCapXPS_LINE_CAPin設定するストローク開始端のラインキャップ形状(XPS_LINE_CAP)を指定する。
vtbl 53 HRESULT GetStrokeEndLineCap(XPS_LINE_CAP* strokeEndLineCap)
strokeEndLineCapXPS_LINE_CAP*outストローク終了端のラインキャップ形状(XPS_LINE_CAP)を受け取る。
vtbl 54 HRESULT SetStrokeEndLineCap(XPS_LINE_CAP strokeEndLineCap)
strokeEndLineCapXPS_LINE_CAPin設定するストローク終了端のラインキャップ形状(XPS_LINE_CAP)を指定する。
vtbl 55 HRESULT GetStrokeLineJoin(XPS_LINE_JOIN* strokeLineJoin)
strokeLineJoinXPS_LINE_JOIN*outストロークの線分接合形状(XPS_LINE_JOIN)を受け取る。
vtbl 56 HRESULT SetStrokeLineJoin(XPS_LINE_JOIN strokeLineJoin)
strokeLineJoinXPS_LINE_JOINin設定するストロークの線分接合形状(XPS_LINE_JOIN)を指定する。
vtbl 57 HRESULT GetStrokeMiterLimit(FLOAT* strokeMiterLimit)
strokeMiterLimitFLOAT*outマイター接合時のマイター長制限値を受け取る。
vtbl 58 HRESULT SetStrokeMiterLimit(FLOAT strokeMiterLimit)
strokeMiterLimitFLOATin設定するマイター長制限値を指定する。
vtbl 59 HRESULT GetStrokeThickness(FLOAT* strokeThickness)
strokeThicknessFLOAT*outストロークの太さを受け取る。
vtbl 60 HRESULT SetStrokeThickness(FLOAT strokeThickness)
strokeThicknessFLOATin設定するストロークの太さを指定する。
vtbl 61 HRESULT GetFillBrush(IXpsOMBrush** brush)
brushIXpsOMBrush**out塗りつぶしに適用される解決済みのブラシへのポインタを受け取る。
vtbl 62 HRESULT GetFillBrushLocal(IXpsOMBrush** brush)
brushIXpsOMBrush**outローカルに設定された塗りつぶしブラシへのポインタを受け取る。設定されていない場合は NULL を受け取る。
vtbl 63 HRESULT SetFillBrushLocal(IXpsOMBrush* brush)
brushIXpsOMBrush*in設定するローカルの塗りつぶしブラシを指定する。NULL を指定するとローカルブラシを解除する。
vtbl 64 HRESULT GetFillBrushLookup(LPWSTR* lookup)
lookupLPWSTR*out共有塗りつぶしブラシを参照するルックアップキー文字列を受け取る。
vtbl 65 HRESULT SetFillBrushLookup(LPWSTR lookup)
lookupLPWSTRin設定する塗りつぶしブラシのルックアップキー文字列を指定する。
vtbl 66 HRESULT Clone(IXpsOMPath** path)
pathIXpsOMPath**out複製された新しいパスオブジェクトへのポインタを受け取る。

HSP用 COM定義

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

出力引数:
#define global IID_IXpsOMPath "{37D38BB6-3EE9-4110-9312-14B194163337}"
#usecom global IXpsOMPath IID_IXpsOMPath "{}"
#comfunc global IXpsOMPath_GetGeometry                       30 sptr
#comfunc global IXpsOMPath_GetGeometryLocal                  31 sptr
#comfunc global IXpsOMPath_SetGeometryLocal                  32 sptr
#comfunc global IXpsOMPath_GetGeometryLookup                 33 var
#comfunc global IXpsOMPath_SetGeometryLookup                 34 wstr
#comfunc global IXpsOMPath_GetAccessibilityShortDescription  35 var
#comfunc global IXpsOMPath_SetAccessibilityShortDescription  36 wstr
#comfunc global IXpsOMPath_GetAccessibilityLongDescription   37 var
#comfunc global IXpsOMPath_SetAccessibilityLongDescription   38 wstr
#comfunc global IXpsOMPath_GetSnapsToPixels                  39 var
#comfunc global IXpsOMPath_SetSnapsToPixels                  40 int
#comfunc global IXpsOMPath_GetStrokeBrush                    41 sptr
#comfunc global IXpsOMPath_GetStrokeBrushLocal               42 sptr
#comfunc global IXpsOMPath_SetStrokeBrushLocal               43 sptr
#comfunc global IXpsOMPath_GetStrokeBrushLookup              44 var
#comfunc global IXpsOMPath_SetStrokeBrushLookup              45 wstr
#comfunc global IXpsOMPath_GetStrokeDashes                   46 sptr
#comfunc global IXpsOMPath_GetStrokeDashCap                  47 var
#comfunc global IXpsOMPath_SetStrokeDashCap                  48 int
#comfunc global IXpsOMPath_GetStrokeDashOffset               49 var
#comfunc global IXpsOMPath_SetStrokeDashOffset               50 float
#comfunc global IXpsOMPath_GetStrokeStartLineCap             51 var
#comfunc global IXpsOMPath_SetStrokeStartLineCap             52 int
#comfunc global IXpsOMPath_GetStrokeEndLineCap               53 var
#comfunc global IXpsOMPath_SetStrokeEndLineCap               54 int
#comfunc global IXpsOMPath_GetStrokeLineJoin                 55 var
#comfunc global IXpsOMPath_SetStrokeLineJoin                 56 int
#comfunc global IXpsOMPath_GetStrokeMiterLimit               57 var
#comfunc global IXpsOMPath_SetStrokeMiterLimit               58 float
#comfunc global IXpsOMPath_GetStrokeThickness                59 var
#comfunc global IXpsOMPath_SetStrokeThickness                60 float
#comfunc global IXpsOMPath_GetFillBrush                      61 sptr
#comfunc global IXpsOMPath_GetFillBrushLocal                 62 sptr
#comfunc global IXpsOMPath_SetFillBrushLocal                 63 sptr
#comfunc global IXpsOMPath_GetFillBrushLookup                64 var
#comfunc global IXpsOMPath_SetFillBrushLookup                65 wstr
#comfunc global IXpsOMPath_Clone                             66 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。