Closed smourier closed 5 months ago
The metadata looks correct to me. I don't see what's wrong.
[Documentation("https://learn.microsoft.com/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomgeometryfigure-setsegments")]
unsafe HRESULT SetSegments([In] uint segmentCount, [In] uint segmentDataCount, [In][Const] XPS_SEGMENT_TYPE* segmentTypes, [In][Const] float* segmentData, [In][Const] BOOL* segmentStrokes);
The metadata looks correct to me. I don't see what's wrong.
Absolutely, sorry for that, I must have been observing something else!
IXpsOMGeometryFigure::SetSegments
method definition is wrong.It's currently defined as
while it should be
Reference: https://learn.microsoft.com/en-us/windows/win32/api/xpsobjectmodel/nf-xpsobjectmodel-ixpsomgeometryfigure-setsegments