terrafx / terrafx.interop.windows

Interop bindings for Windows.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doc comment on ID2DSvgElement::SetAttributeValue() is wrong

rickbrew opened this issue · comments

ID2D1SvgElement has a bunch of overloads for SetAttributeValue() that are from inline methods in the header file, but it looks like they all got concatenated together into the doc comment for a few of the actualy COM interface methods, e.g. HRESULT SetAttributeValue(ushort* name, ID2D1SvgAttribute* value) , and HRESULT SetAttributeValue(ushort* name, D2D1_SVG_ATTRIBUTE_POD_TYPE type, void* value, uint valueSizeInBytes), and HRESULT SetAttributeValue(ushort* name, D2D1_SVG_ATTRIBUTE_STRING_TYPE type, ushort* value):

	/// <summary>
	///       <para>Sets an attribute of this element as a color.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b>const D2D1_COLOR_F</b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element as a matrix value. This method can be used to set the value of a transform or gradientTransform attribute.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b>const D2D1_MATRIX_3X2_F</b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element as a length value.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b>const <see cref="T:TerraFX.Interop.DirectX.D2D1_SVG_LENGTH" /></b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element as a preserve aspect ratio value. This method can be used to set the value of a preserveAspectRatio attribute.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b>const <see cref="T:TerraFX.Interop.DirectX.D2D1_SVG_PRESERVE_ASPECT_RATIO" /></b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element as an extend mode value. This method can be used to set the value of a spreadMethod attribute.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b><see cref="T:TerraFX.Interop.DirectX.D2D1_EXTEND_MODE" /></b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element as a fill mode. This method can be used to set the value of the 'fill-rule' or 'clip-rule' properties.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b><see cref="T:TerraFX.Interop.DirectX.D2D1_FILL_MODE" /></b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element using a POD type.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="type">
	///       <para>Type: <b><see cref="T:TerraFX.Interop.DirectX.D2D1_SVG_ATTRIBUTE_POD_TYPE" /></b></para>
	///       <para>The POD type of the attribute.</para>
	///     </param><param name="value">
	///       <para>Type: <b>const void*</b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><param name="valueSizeInBytes">
	///       <para>Type: <b>UINT32</b></para>
	///       <para>The size of the new value in bytes.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code. Returns an error if the attribute name is not valid on this element. Returns an error if the attribute
	/// cannot be expressed as the specified type.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element using a string.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="type">
	///       <para>Type: <b><see cref="T:TerraFX.Interop.DirectX.D2D1_SVG_ATTRIBUTE_STRING_TYPE" /></b></para>
	///       <para>The type of the string.</para>
	///     </param><param name="value">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code. Returns an error if the
	/// attribute name is not valid on this element. Returns an error if the attribute
	/// cannot be expressed as the specified type.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Gets an attribute of this element as a display value. This method can be used to get the value of the display property.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b><see cref="T:TerraFX.Interop.DirectX.D2D1_SVG_DISPLAY" /></b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element as a line cap value. This method can be used to set the value of the stroke-linecap property.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b><see cref="T:TerraFX.Interop.DirectX.D2D1_SVG_LINE_CAP" /></b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element as a line join value. This method can be used to set the value of the stroke-linejoin property.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b><see cref="T:TerraFX.Interop.DirectX.D2D1_SVG_LINE_JOIN" /></b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element as an overflow value. This method can be used to set the value of the overflow property.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b><see cref="T:TerraFX.Interop.DirectX.D2D1_SVG_OVERFLOW" /></b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element as a unit type value. This method can be used to set the value of a gradientUnits or clipPathUnits attribute.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b><see cref="T:TerraFX.Interop.DirectX.D2D1_SVG_UNIT_TYPE" /></b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element as a visibility value. This method can be used to set the value of the visibility property.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b><see cref="T:TerraFX.Interop.DirectX.D2D1_SVG_VISIBILITY" /></b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element using a float.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b>FLOAT</b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element using an interface.</para>
	///       <para>A given attribute object may only be set on one element in one attribute location at a time.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b>ID2D1SvgAttribute*</b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.    Returns an error if the attribute name is not valid on this element.
	/// Returns an error if the attribute cannot be expressed as the specified interface type.
	/// Returns an error if the attribute object is already set on an element.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" />
	[MethodImpl(MethodImplOptions.AggressiveInlining)]
	public unsafe HRESULT SetAttributeValue(ushort* name, ID2D1SvgAttribute* value)
	{
		return ((delegate* unmanaged<ID2D1SvgElement*, ushort*, ID2D1SvgAttribute*, int>)lpVtbl[27])((ID2D1SvgElement*)Unsafe.AsPointer(ref this), name, value);
	}

	/// <summary>
	///       <para>Sets an attribute of this element as a color.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b>const D2D1_COLOR_F</b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element as a matrix value. This method can be used to set the value of a transform or gradientTransform attribute.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b>const D2D1_MATRIX_3X2_F</b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element as a length value.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b>const <see cref="T:TerraFX.Interop.DirectX.D2D1_SVG_LENGTH" /></b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element as a preserve aspect ratio value. This method can be used to set the value of a preserveAspectRatio attribute.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b>const <see cref="T:TerraFX.Interop.DirectX.D2D1_SVG_PRESERVE_ASPECT_RATIO" /></b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element as an extend mode value. This method can be used to set the value of a spreadMethod attribute.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b><see cref="T:TerraFX.Interop.DirectX.D2D1_EXTEND_MODE" /></b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element as a fill mode. This method can be used to set the value of the 'fill-rule' or 'clip-rule' properties.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b><see cref="T:TerraFX.Interop.DirectX.D2D1_FILL_MODE" /></b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element using a POD type.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="type">
	///       <para>Type: <b><see cref="T:TerraFX.Interop.DirectX.D2D1_SVG_ATTRIBUTE_POD_TYPE" /></b></para>
	///       <para>The POD type of the attribute.</para>
	///     </param><param name="value">
	///       <para>Type: <b>const void*</b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><param name="valueSizeInBytes">
	///       <para>Type: <b>UINT32</b></para>
	///       <para>The size of the new value in bytes.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code. Returns an error if the attribute name is not valid on this element. Returns an error if the attribute
	/// cannot be expressed as the specified type.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element using a string.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="type">
	///       <para>Type: <b><see cref="T:TerraFX.Interop.DirectX.D2D1_SVG_ATTRIBUTE_STRING_TYPE" /></b></para>
	///       <para>The type of the string.</para>
	///     </param><param name="value">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code. Returns an error if the
	/// attribute name is not valid on this element. Returns an error if the attribute
	/// cannot be expressed as the specified type.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Gets an attribute of this element as a display value. This method can be used to get the value of the display property.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b><see cref="T:TerraFX.Interop.DirectX.D2D1_SVG_DISPLAY" /></b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element as a line cap value. This method can be used to set the value of the stroke-linecap property.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b><see cref="T:TerraFX.Interop.DirectX.D2D1_SVG_LINE_CAP" /></b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element as a line join value. This method can be used to set the value of the stroke-linejoin property.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b><see cref="T:TerraFX.Interop.DirectX.D2D1_SVG_LINE_JOIN" /></b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element as an overflow value. This method can be used to set the value of the overflow property.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b><see cref="T:TerraFX.Interop.DirectX.D2D1_SVG_OVERFLOW" /></b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element as a unit type value. This method can be used to set the value of a gradientUnits or clipPathUnits attribute.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b><see cref="T:TerraFX.Interop.DirectX.D2D1_SVG_UNIT_TYPE" /></b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element as a visibility value. This method can be used to set the value of the visibility property.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b><see cref="T:TerraFX.Interop.DirectX.D2D1_SVG_VISIBILITY" /></b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element using a float.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b>FLOAT</b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element using an interface.</para>
	///       <para>A given attribute object may only be set on one element in one attribute location at a time.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b>ID2D1SvgAttribute*</b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.    Returns an error if the attribute name is not valid on this element.
	/// Returns an error if the attribute cannot be expressed as the specified interface type.
	/// Returns an error if the attribute object is already set on an element.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" />
	[MethodImpl(MethodImplOptions.AggressiveInlining)]
	public unsafe HRESULT SetAttributeValue(ushort* name, D2D1_SVG_ATTRIBUTE_POD_TYPE type, void* value, uint valueSizeInBytes)
	{
		return ((delegate* unmanaged<ID2D1SvgElement*, ushort*, D2D1_SVG_ATTRIBUTE_POD_TYPE, void*, uint, int>)lpVtbl[28])((ID2D1SvgElement*)Unsafe.AsPointer(ref this), name, type, value, valueSizeInBytes);
	}

	/// <summary>
	///       <para>Sets an attribute of this element as a color.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b>const D2D1_COLOR_F</b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element as a matrix value. This method can be used to set the value of a transform or gradientTransform attribute.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b>const D2D1_MATRIX_3X2_F</b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element as a length value.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b>const <see cref="T:TerraFX.Interop.DirectX.D2D1_SVG_LENGTH" /></b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element as a preserve aspect ratio value. This method can be used to set the value of a preserveAspectRatio attribute.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b>const <see cref="T:TerraFX.Interop.DirectX.D2D1_SVG_PRESERVE_ASPECT_RATIO" /></b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element as an extend mode value. This method can be used to set the value of a spreadMethod attribute.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b><see cref="T:TerraFX.Interop.DirectX.D2D1_EXTEND_MODE" /></b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element as a fill mode. This method can be used to set the value of the 'fill-rule' or 'clip-rule' properties.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b><see cref="T:TerraFX.Interop.DirectX.D2D1_FILL_MODE" /></b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element using a POD type.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="type">
	///       <para>Type: <b><see cref="T:TerraFX.Interop.DirectX.D2D1_SVG_ATTRIBUTE_POD_TYPE" /></b></para>
	///       <para>The POD type of the attribute.</para>
	///     </param><param name="value">
	///       <para>Type: <b>const void*</b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><param name="valueSizeInBytes">
	///       <para>Type: <b>UINT32</b></para>
	///       <para>The size of the new value in bytes.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code. Returns an error if the attribute name is not valid on this element. Returns an error if the attribute
	/// cannot be expressed as the specified type.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element using a string.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="type">
	///       <para>Type: <b><see cref="T:TerraFX.Interop.DirectX.D2D1_SVG_ATTRIBUTE_STRING_TYPE" /></b></para>
	///       <para>The type of the string.</para>
	///     </param><param name="value">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code. Returns an error if the
	/// attribute name is not valid on this element. Returns an error if the attribute
	/// cannot be expressed as the specified type.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Gets an attribute of this element as a display value. This method can be used to get the value of the display property.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b><see cref="T:TerraFX.Interop.DirectX.D2D1_SVG_DISPLAY" /></b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element as a line cap value. This method can be used to set the value of the stroke-linecap property.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b><see cref="T:TerraFX.Interop.DirectX.D2D1_SVG_LINE_CAP" /></b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element as a line join value. This method can be used to set the value of the stroke-linejoin property.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b><see cref="T:TerraFX.Interop.DirectX.D2D1_SVG_LINE_JOIN" /></b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element as an overflow value. This method can be used to set the value of the overflow property.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b><see cref="T:TerraFX.Interop.DirectX.D2D1_SVG_OVERFLOW" /></b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element as a unit type value. This method can be used to set the value of a gradientUnits or clipPathUnits attribute.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b><see cref="T:TerraFX.Interop.DirectX.D2D1_SVG_UNIT_TYPE" /></b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element as a visibility value. This method can be used to set the value of the visibility property.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b><see cref="T:TerraFX.Interop.DirectX.D2D1_SVG_VISIBILITY" /></b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element using a float.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b>FLOAT</b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" /><summary>
	///       <para>Sets an attribute of this element using an interface.</para>
	///       <para>A given attribute object may only be set on one element in one attribute location at a time.</para>
	///     </summary><param name="name">
	///       <para>Type: <b>PCWSTR</b></para>
	///       <para>Name of the attribute to set.</para>
	///     </param><param name="value">
	///       <para>Type: <b>ID2D1SvgAttribute*</b></para>
	///       <para>The new value of the attribute.</para>
	///     </param><returns>
	///       <para>Type: <b><a href="https://docs.microsoft.com//windows/win32/com/structure-of-com-error-codes">HRESULT</a></b></para>
	///       <para>This method returns an HRESULT success or error code.    Returns an error if the attribute name is not valid on this element.
	/// Returns an error if the attribute cannot be expressed as the specified interface type.
	/// Returns an error if the attribute object is already set on an element.</para>
	///     </returns><seealso cref="T:TerraFX.Interop.DirectX.ID2D1SvgElement" />
	[MethodImpl(MethodImplOptions.AggressiveInlining)]
	public unsafe HRESULT SetAttributeValue(ushort* name, D2D1_SVG_ATTRIBUTE_STRING_TYPE type, ushort* value)
	{
		return ((delegate* unmanaged<ID2D1SvgElement*, ushort*, D2D1_SVG_ATTRIBUTE_STRING_TYPE, ushort*, int>)lpVtbl[29])((ID2D1SvgElement*)Unsafe.AsPointer(ref this), name, type, value);
	}

Looks like this has been fixed :)

image