mirror of
https://github.com/amerkoleci/Vortice.Win32.git
synced 2026-01-14 16:16:04 +08:00
Add initial Numerics support and Color4 and replace different ColorF, DXGI_RGBA to use this type.
This commit is contained in:
@@ -42,12 +42,6 @@ public sealed class CodeWriter : IDisposable
|
|||||||
_builder.AppendLine("// ------------------------------------------------------------------------------");
|
_builder.AppendLine("// ------------------------------------------------------------------------------");
|
||||||
_builder.AppendLine();
|
_builder.AppendLine();
|
||||||
|
|
||||||
_builder.AppendLine($"using System;");
|
|
||||||
_builder.AppendLine($"using System.Numerics;");
|
|
||||||
_builder.AppendLine($"using System.Diagnostics;");
|
|
||||||
_builder.AppendLine($"using System.Runtime.CompilerServices;");
|
|
||||||
_builder.AppendLine($"using System.Diagnostics.CodeAnalysis;");
|
|
||||||
|
|
||||||
foreach (string usingNamespace in usingNamespaces)
|
foreach (string usingNamespace in usingNamespaces)
|
||||||
{
|
{
|
||||||
_builder.AppendLine($"using {usingNamespace};");
|
_builder.AppendLine($"using {usingNamespace};");
|
||||||
|
|||||||
@@ -89,9 +89,9 @@ public static class Program
|
|||||||
{ "Graphics.Direct3D.D3DVECTOR", "Vector3" },
|
{ "Graphics.Direct3D.D3DVECTOR", "Vector3" },
|
||||||
{ "Graphics.Direct3D.D3DMATRIX", "Matrix4x4" },
|
{ "Graphics.Direct3D.D3DMATRIX", "Matrix4x4" },
|
||||||
{ "Graphics.Direct2D.Common.D2D_MATRIX_3X2_F", "Matrix3x2" },
|
{ "Graphics.Direct2D.Common.D2D_MATRIX_3X2_F", "Matrix3x2" },
|
||||||
{ "Graphics.Direct2D.Common.D2D_MATRIX_4X3_F", "Win32.Graphics.Direct2D.Common.Matrix4x3" },
|
{ "Graphics.Direct2D.Common.D2D_MATRIX_4X3_F", "Matrix4x3" },
|
||||||
{ "Graphics.Direct2D.Common.D2D_MATRIX_4X4_F", "Matrix4x4" },
|
{ "Graphics.Direct2D.Common.D2D_MATRIX_4X4_F", "Matrix4x4" },
|
||||||
{ "Graphics.Direct2D.Common.D2D_MATRIX_5X4_F", "Win32.Graphics.Direct2D.Common.Matrix5x4" },
|
{ "Graphics.Direct2D.Common.D2D_MATRIX_5X4_F", "Matrix5x4" },
|
||||||
{ "Graphics.Direct2D.Common.D2D_POINT_2F", "System.Drawing.PointF" },
|
{ "Graphics.Direct2D.Common.D2D_POINT_2F", "System.Drawing.PointF" },
|
||||||
{ "Graphics.Direct2D.Common.D2D_VECTOR_2F", "Vector2" },
|
{ "Graphics.Direct2D.Common.D2D_VECTOR_2F", "Vector2" },
|
||||||
{ "Graphics.Direct2D.Common.D2D_VECTOR_3F", "Vector3" },
|
{ "Graphics.Direct2D.Common.D2D_VECTOR_3F", "Vector3" },
|
||||||
@@ -102,10 +102,12 @@ public static class Program
|
|||||||
|
|
||||||
{ "Graphics.Imaging.WICRect", "System.Drawing.Rectangle" },
|
{ "Graphics.Imaging.WICRect", "System.Drawing.Rectangle" },
|
||||||
|
|
||||||
{ "Graphics.DirectWrite.DWRITE_COLOR_F", "Win32.Graphics.Direct2D.Common.ColorF" },
|
{ "Graphics.Dxgi.DXGI_RGBA", "Color4" },
|
||||||
{ "Graphics.Direct2D.Matrix4x3F", "Win32.Graphics.Direct2D.Common.Matrix4x3" },
|
{ "Graphics.Direct2D.Common.D2D1_COLOR_F", "Color4" },
|
||||||
|
{ "Graphics.DirectWrite.DWRITE_COLOR_F", "Color4" },
|
||||||
|
{ "Graphics.Direct2D.Matrix4x3F", "Matrix4x3" },
|
||||||
{ "Graphics.Direct2D.Matrix4x4F", "Matrix4x4" },
|
{ "Graphics.Direct2D.Matrix4x4F", "Matrix4x4" },
|
||||||
{ "Graphics.Direct2D.Matrix5x4F", "Win32.Graphics.Direct2D.Common.Matrix5x4" },
|
{ "Graphics.Direct2D.Matrix5x4F", "Matrix5x4" },
|
||||||
|
|
||||||
// TODO: Understand those ->
|
// TODO: Understand those ->
|
||||||
{ "Foundation.RECT", "RawRect" },
|
{ "Foundation.RECT", "RawRect" },
|
||||||
@@ -2664,8 +2666,8 @@ public static class Program
|
|||||||
case "Matrix4x4":
|
case "Matrix4x4":
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
case "Win32.Graphics.Direct2D.Common.Matrix4x3":
|
case "Matrix4x3":
|
||||||
case "Win32.Graphics.Direct2D.Common.Matrix5x4":
|
case "Matrix5x4":
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
@@ -262,23 +257,6 @@ public enum CompositeMode : uint
|
|||||||
#endregion Enums
|
#endregion Enums
|
||||||
|
|
||||||
#region Structs
|
#region Structs
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="D2D1_COLOR_F"]/*' />
|
|
||||||
/// <unmanaged>D2D1_COLOR_F</unmanaged>
|
|
||||||
public partial struct ColorF
|
|
||||||
{
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="D2D1_COLOR_F::r"]/*' />
|
|
||||||
public float r;
|
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="D2D1_COLOR_F::g"]/*' />
|
|
||||||
public float g;
|
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="D2D1_COLOR_F::b"]/*' />
|
|
||||||
public float b;
|
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="D2D1_COLOR_F::a"]/*' />
|
|
||||||
public float a;
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="D2D1_PIXEL_FORMAT"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="D2D1_PIXEL_FORMAT"]/*' />
|
||||||
/// <unmanaged>D2D1_PIXEL_FORMAT</unmanaged>
|
/// <unmanaged>D2D1_PIXEL_FORMAT</unmanaged>
|
||||||
public partial struct PixelFormat
|
public partial struct PixelFormat
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
@@ -4663,7 +4658,7 @@ public partial struct GradientStop
|
|||||||
public float position;
|
public float position;
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="D2D1_GRADIENT_STOP::color"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="D2D1_GRADIENT_STOP::color"]/*' />
|
||||||
public Common.ColorF color;
|
public Color4 color;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="D2D1_BRUSH_PROPERTIES"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="D2D1_BRUSH_PROPERTIES"]/*' />
|
||||||
@@ -5437,16 +5432,16 @@ public partial struct GradientMeshPatch
|
|||||||
public System.Drawing.PointF point33;
|
public System.Drawing.PointF point33;
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="D2D1_GRADIENT_MESH_PATCH::color00"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="D2D1_GRADIENT_MESH_PATCH::color00"]/*' />
|
||||||
public Common.ColorF color00;
|
public Color4 color00;
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="D2D1_GRADIENT_MESH_PATCH::color03"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="D2D1_GRADIENT_MESH_PATCH::color03"]/*' />
|
||||||
public Common.ColorF color03;
|
public Color4 color03;
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="D2D1_GRADIENT_MESH_PATCH::color30"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="D2D1_GRADIENT_MESH_PATCH::color30"]/*' />
|
||||||
public Common.ColorF color30;
|
public Color4 color30;
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="D2D1_GRADIENT_MESH_PATCH::color33"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="D2D1_GRADIENT_MESH_PATCH::color33"]/*' />
|
||||||
public Common.ColorF color33;
|
public Color4 color33;
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="D2D1_GRADIENT_MESH_PATCH::topEdgeMode"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="D2D1_GRADIENT_MESH_PATCH::topEdgeMode"]/*' />
|
||||||
public PatchEdgeMode topEdgeMode;
|
public PatchEdgeMode topEdgeMode;
|
||||||
@@ -5511,7 +5506,7 @@ public static unsafe partial class Apis
|
|||||||
public static extern HResult D2D1CreateDeviceContext(Graphics.Dxgi.IDXGISurface* dxgiSurface, CreationProperties* creationProperties, ID2D1DeviceContext* d2dDeviceContext);
|
public static extern HResult D2D1CreateDeviceContext(Graphics.Dxgi.IDXGISurface* dxgiSurface, CreationProperties* creationProperties, ID2D1DeviceContext* d2dDeviceContext);
|
||||||
|
|
||||||
[DllImport("d2d1", ExactSpelling = true)]
|
[DllImport("d2d1", ExactSpelling = true)]
|
||||||
public static extern Graphics.Direct2D.Common.ColorF D2D1ConvertColorSpace(ColorSpace sourceColorSpace, ColorSpace destinationColorSpace, Common.ColorF* color);
|
public static extern Color4 D2D1ConvertColorSpace(ColorSpace sourceColorSpace, ColorSpace destinationColorSpace, Color4* color);
|
||||||
|
|
||||||
[DllImport("d2d1", ExactSpelling = true)]
|
[DllImport("d2d1", ExactSpelling = true)]
|
||||||
public static extern void D2D1SinCos(float angle, float* s, float* c);
|
public static extern void D2D1SinCos(float angle, float* s, float* c);
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
@@ -123,9 +118,9 @@ public unsafe partial struct ID2D1BitmapRenderTarget
|
|||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateSolidColorBrush" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateSolidColorBrush" />
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CreateSolidColorBrush(Common.ColorF* color, BrushProperties* brushProperties, ID2D1SolidColorBrush** solidColorBrush)
|
public HResult CreateSolidColorBrush(Color4* color, BrushProperties* brushProperties, ID2D1SolidColorBrush** solidColorBrush)
|
||||||
{
|
{
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, Common.ColorF*, BrushProperties*, ID2D1SolidColorBrush**, int>)(lpVtbl[8]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
|
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, Color4*, BrushProperties*, ID2D1SolidColorBrush**, int>)(lpVtbl[8]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateGradientStopCollection" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateGradientStopCollection" />
|
||||||
@@ -435,9 +430,9 @@ public unsafe partial struct ID2D1BitmapRenderTarget
|
|||||||
/// <inheritdoc cref="ID2D1RenderTarget.Clear" />
|
/// <inheritdoc cref="ID2D1RenderTarget.Clear" />
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
[VtblIndex(47)]
|
[VtblIndex(47)]
|
||||||
public void Clear(Common.ColorF* clearColor)
|
public void Clear(Color4* clearColor)
|
||||||
{
|
{
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, Common.ColorF*, void>)(lpVtbl[47]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), clearColor);
|
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, Color4*, void>)(lpVtbl[47]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), clearColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.BeginDraw" />
|
/// <inheritdoc cref="ID2D1RenderTarget.BeginDraw" />
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
@@ -155,9 +150,9 @@ public unsafe partial struct ID2D1CommandSink
|
|||||||
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::Clear"]/*' />
|
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::Clear"]/*' />
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public HResult Clear(Common.ColorF* color)
|
public HResult Clear(Color4* color)
|
||||||
{
|
{
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink*, Common.ColorF*, int>)(lpVtbl[12]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), color);
|
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink*, Color4*, int>)(lpVtbl[12]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), color);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::DrawGlyphRun"]/*' />
|
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::DrawGlyphRun"]/*' />
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
@@ -155,9 +150,9 @@ public unsafe partial struct ID2D1CommandSink1
|
|||||||
/// <inheritdoc cref="ID2D1CommandSink.Clear" />
|
/// <inheritdoc cref="ID2D1CommandSink.Clear" />
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public HResult Clear(Common.ColorF* color)
|
public HResult Clear(Color4* color)
|
||||||
{
|
{
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, Common.ColorF*, int>)(lpVtbl[12]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), color);
|
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, Color4*, int>)(lpVtbl[12]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), color);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawGlyphRun" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawGlyphRun" />
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
@@ -155,9 +150,9 @@ public unsafe partial struct ID2D1CommandSink2
|
|||||||
/// <inheritdoc cref="ID2D1CommandSink.Clear" />
|
/// <inheritdoc cref="ID2D1CommandSink.Clear" />
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public HResult Clear(Common.ColorF* color)
|
public HResult Clear(Color4* color)
|
||||||
{
|
{
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, Common.ColorF*, int>)(lpVtbl[12]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), color);
|
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, Color4*, int>)(lpVtbl[12]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), color);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawGlyphRun" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawGlyphRun" />
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
@@ -155,9 +150,9 @@ public unsafe partial struct ID2D1CommandSink3
|
|||||||
/// <inheritdoc cref="ID2D1CommandSink.Clear" />
|
/// <inheritdoc cref="ID2D1CommandSink.Clear" />
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public HResult Clear(Common.ColorF* color)
|
public HResult Clear(Color4* color)
|
||||||
{
|
{
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, Common.ColorF*, int>)(lpVtbl[12]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), color);
|
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, Color4*, int>)(lpVtbl[12]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), color);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawGlyphRun" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawGlyphRun" />
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
@@ -155,9 +150,9 @@ public unsafe partial struct ID2D1CommandSink4
|
|||||||
/// <inheritdoc cref="ID2D1CommandSink.Clear" />
|
/// <inheritdoc cref="ID2D1CommandSink.Clear" />
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public HResult Clear(Common.ColorF* color)
|
public HResult Clear(Color4* color)
|
||||||
{
|
{
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, Common.ColorF*, int>)(lpVtbl[12]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), color);
|
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, Color4*, int>)(lpVtbl[12]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), color);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawGlyphRun" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawGlyphRun" />
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
@@ -155,9 +150,9 @@ public unsafe partial struct ID2D1CommandSink5
|
|||||||
/// <inheritdoc cref="ID2D1CommandSink.Clear" />
|
/// <inheritdoc cref="ID2D1CommandSink.Clear" />
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public HResult Clear(Common.ColorF* color)
|
public HResult Clear(Color4* color)
|
||||||
{
|
{
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, Common.ColorF*, int>)(lpVtbl[12]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), color);
|
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, Color4*, int>)(lpVtbl[12]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), color);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawGlyphRun" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawGlyphRun" />
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
@@ -123,9 +118,9 @@ public unsafe partial struct ID2D1DCRenderTarget
|
|||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateSolidColorBrush" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateSolidColorBrush" />
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CreateSolidColorBrush(Common.ColorF* color, BrushProperties* brushProperties, ID2D1SolidColorBrush** solidColorBrush)
|
public HResult CreateSolidColorBrush(Color4* color, BrushProperties* brushProperties, ID2D1SolidColorBrush** solidColorBrush)
|
||||||
{
|
{
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, Common.ColorF*, BrushProperties*, ID2D1SolidColorBrush**, int>)(lpVtbl[8]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
|
return ((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, Color4*, BrushProperties*, ID2D1SolidColorBrush**, int>)(lpVtbl[8]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateGradientStopCollection" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateGradientStopCollection" />
|
||||||
@@ -435,9 +430,9 @@ public unsafe partial struct ID2D1DCRenderTarget
|
|||||||
/// <inheritdoc cref="ID2D1RenderTarget.Clear" />
|
/// <inheritdoc cref="ID2D1RenderTarget.Clear" />
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
[VtblIndex(47)]
|
[VtblIndex(47)]
|
||||||
public void Clear(Common.ColorF* clearColor)
|
public void Clear(Color4* clearColor)
|
||||||
{
|
{
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, Common.ColorF*, void>)(lpVtbl[47]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), clearColor);
|
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, Color4*, void>)(lpVtbl[47]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), clearColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.BeginDraw" />
|
/// <inheritdoc cref="ID2D1RenderTarget.BeginDraw" />
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
@@ -123,9 +118,9 @@ public unsafe partial struct ID2D1DeviceContext
|
|||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateSolidColorBrush" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateSolidColorBrush" />
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CreateSolidColorBrush(Common.ColorF* color, BrushProperties* brushProperties, ID2D1SolidColorBrush** solidColorBrush)
|
public HResult CreateSolidColorBrush(Color4* color, BrushProperties* brushProperties, ID2D1SolidColorBrush** solidColorBrush)
|
||||||
{
|
{
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext*, Common.ColorF*, BrushProperties*, ID2D1SolidColorBrush**, int>)(lpVtbl[8]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
|
return ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext*, Color4*, BrushProperties*, ID2D1SolidColorBrush**, int>)(lpVtbl[8]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateGradientStopCollection" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateGradientStopCollection" />
|
||||||
@@ -435,9 +430,9 @@ public unsafe partial struct ID2D1DeviceContext
|
|||||||
/// <inheritdoc cref="ID2D1RenderTarget.Clear" />
|
/// <inheritdoc cref="ID2D1RenderTarget.Clear" />
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
[VtblIndex(47)]
|
[VtblIndex(47)]
|
||||||
public void Clear(Common.ColorF* clearColor)
|
public void Clear(Color4* clearColor)
|
||||||
{
|
{
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DeviceContext*, Common.ColorF*, void>)(lpVtbl[47]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), clearColor);
|
((delegate* unmanaged[Stdcall]<ID2D1DeviceContext*, Color4*, void>)(lpVtbl[47]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), clearColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.BeginDraw" />
|
/// <inheritdoc cref="ID2D1RenderTarget.BeginDraw" />
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
@@ -123,9 +118,9 @@ public unsafe partial struct ID2D1DeviceContext1
|
|||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateSolidColorBrush" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateSolidColorBrush" />
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CreateSolidColorBrush(Common.ColorF* color, BrushProperties* brushProperties, ID2D1SolidColorBrush** solidColorBrush)
|
public HResult CreateSolidColorBrush(Color4* color, BrushProperties* brushProperties, ID2D1SolidColorBrush** solidColorBrush)
|
||||||
{
|
{
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext1*, Common.ColorF*, BrushProperties*, ID2D1SolidColorBrush**, int>)(lpVtbl[8]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
|
return ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext1*, Color4*, BrushProperties*, ID2D1SolidColorBrush**, int>)(lpVtbl[8]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateGradientStopCollection" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateGradientStopCollection" />
|
||||||
@@ -435,9 +430,9 @@ public unsafe partial struct ID2D1DeviceContext1
|
|||||||
/// <inheritdoc cref="ID2D1RenderTarget.Clear" />
|
/// <inheritdoc cref="ID2D1RenderTarget.Clear" />
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
[VtblIndex(47)]
|
[VtblIndex(47)]
|
||||||
public void Clear(Common.ColorF* clearColor)
|
public void Clear(Color4* clearColor)
|
||||||
{
|
{
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DeviceContext1*, Common.ColorF*, void>)(lpVtbl[47]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), clearColor);
|
((delegate* unmanaged[Stdcall]<ID2D1DeviceContext1*, Color4*, void>)(lpVtbl[47]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), clearColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.BeginDraw" />
|
/// <inheritdoc cref="ID2D1RenderTarget.BeginDraw" />
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
@@ -123,9 +118,9 @@ public unsafe partial struct ID2D1DeviceContext2
|
|||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateSolidColorBrush" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateSolidColorBrush" />
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CreateSolidColorBrush(Common.ColorF* color, BrushProperties* brushProperties, ID2D1SolidColorBrush** solidColorBrush)
|
public HResult CreateSolidColorBrush(Color4* color, BrushProperties* brushProperties, ID2D1SolidColorBrush** solidColorBrush)
|
||||||
{
|
{
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext2*, Common.ColorF*, BrushProperties*, ID2D1SolidColorBrush**, int>)(lpVtbl[8]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
|
return ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext2*, Color4*, BrushProperties*, ID2D1SolidColorBrush**, int>)(lpVtbl[8]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateGradientStopCollection" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateGradientStopCollection" />
|
||||||
@@ -435,9 +430,9 @@ public unsafe partial struct ID2D1DeviceContext2
|
|||||||
/// <inheritdoc cref="ID2D1RenderTarget.Clear" />
|
/// <inheritdoc cref="ID2D1RenderTarget.Clear" />
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
[VtblIndex(47)]
|
[VtblIndex(47)]
|
||||||
public void Clear(Common.ColorF* clearColor)
|
public void Clear(Color4* clearColor)
|
||||||
{
|
{
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DeviceContext2*, Common.ColorF*, void>)(lpVtbl[47]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), clearColor);
|
((delegate* unmanaged[Stdcall]<ID2D1DeviceContext2*, Color4*, void>)(lpVtbl[47]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), clearColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.BeginDraw" />
|
/// <inheritdoc cref="ID2D1RenderTarget.BeginDraw" />
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
@@ -123,9 +118,9 @@ public unsafe partial struct ID2D1DeviceContext3
|
|||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateSolidColorBrush" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateSolidColorBrush" />
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CreateSolidColorBrush(Common.ColorF* color, BrushProperties* brushProperties, ID2D1SolidColorBrush** solidColorBrush)
|
public HResult CreateSolidColorBrush(Color4* color, BrushProperties* brushProperties, ID2D1SolidColorBrush** solidColorBrush)
|
||||||
{
|
{
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext3*, Common.ColorF*, BrushProperties*, ID2D1SolidColorBrush**, int>)(lpVtbl[8]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
|
return ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext3*, Color4*, BrushProperties*, ID2D1SolidColorBrush**, int>)(lpVtbl[8]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateGradientStopCollection" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateGradientStopCollection" />
|
||||||
@@ -435,9 +430,9 @@ public unsafe partial struct ID2D1DeviceContext3
|
|||||||
/// <inheritdoc cref="ID2D1RenderTarget.Clear" />
|
/// <inheritdoc cref="ID2D1RenderTarget.Clear" />
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
[VtblIndex(47)]
|
[VtblIndex(47)]
|
||||||
public void Clear(Common.ColorF* clearColor)
|
public void Clear(Color4* clearColor)
|
||||||
{
|
{
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DeviceContext3*, Common.ColorF*, void>)(lpVtbl[47]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), clearColor);
|
((delegate* unmanaged[Stdcall]<ID2D1DeviceContext3*, Color4*, void>)(lpVtbl[47]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), clearColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.BeginDraw" />
|
/// <inheritdoc cref="ID2D1RenderTarget.BeginDraw" />
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
@@ -123,9 +118,9 @@ public unsafe partial struct ID2D1DeviceContext4
|
|||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateSolidColorBrush" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateSolidColorBrush" />
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CreateSolidColorBrush(Common.ColorF* color, BrushProperties* brushProperties, ID2D1SolidColorBrush** solidColorBrush)
|
public HResult CreateSolidColorBrush(Color4* color, BrushProperties* brushProperties, ID2D1SolidColorBrush** solidColorBrush)
|
||||||
{
|
{
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext4*, Common.ColorF*, BrushProperties*, ID2D1SolidColorBrush**, int>)(lpVtbl[8]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
|
return ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext4*, Color4*, BrushProperties*, ID2D1SolidColorBrush**, int>)(lpVtbl[8]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateGradientStopCollection" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateGradientStopCollection" />
|
||||||
@@ -435,9 +430,9 @@ public unsafe partial struct ID2D1DeviceContext4
|
|||||||
/// <inheritdoc cref="ID2D1RenderTarget.Clear" />
|
/// <inheritdoc cref="ID2D1RenderTarget.Clear" />
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
[VtblIndex(47)]
|
[VtblIndex(47)]
|
||||||
public void Clear(Common.ColorF* clearColor)
|
public void Clear(Color4* clearColor)
|
||||||
{
|
{
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DeviceContext4*, Common.ColorF*, void>)(lpVtbl[47]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), clearColor);
|
((delegate* unmanaged[Stdcall]<ID2D1DeviceContext4*, Color4*, void>)(lpVtbl[47]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), clearColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.BeginDraw" />
|
/// <inheritdoc cref="ID2D1RenderTarget.BeginDraw" />
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
@@ -123,9 +118,9 @@ public unsafe partial struct ID2D1DeviceContext5
|
|||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateSolidColorBrush" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateSolidColorBrush" />
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CreateSolidColorBrush(Common.ColorF* color, BrushProperties* brushProperties, ID2D1SolidColorBrush** solidColorBrush)
|
public HResult CreateSolidColorBrush(Color4* color, BrushProperties* brushProperties, ID2D1SolidColorBrush** solidColorBrush)
|
||||||
{
|
{
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext5*, Common.ColorF*, BrushProperties*, ID2D1SolidColorBrush**, int>)(lpVtbl[8]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
|
return ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext5*, Color4*, BrushProperties*, ID2D1SolidColorBrush**, int>)(lpVtbl[8]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateGradientStopCollection" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateGradientStopCollection" />
|
||||||
@@ -435,9 +430,9 @@ public unsafe partial struct ID2D1DeviceContext5
|
|||||||
/// <inheritdoc cref="ID2D1RenderTarget.Clear" />
|
/// <inheritdoc cref="ID2D1RenderTarget.Clear" />
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
[VtblIndex(47)]
|
[VtblIndex(47)]
|
||||||
public void Clear(Common.ColorF* clearColor)
|
public void Clear(Color4* clearColor)
|
||||||
{
|
{
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DeviceContext5*, Common.ColorF*, void>)(lpVtbl[47]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), clearColor);
|
((delegate* unmanaged[Stdcall]<ID2D1DeviceContext5*, Color4*, void>)(lpVtbl[47]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), clearColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.BeginDraw" />
|
/// <inheritdoc cref="ID2D1RenderTarget.BeginDraw" />
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
@@ -123,9 +118,9 @@ public unsafe partial struct ID2D1DeviceContext6
|
|||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateSolidColorBrush" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateSolidColorBrush" />
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CreateSolidColorBrush(Common.ColorF* color, BrushProperties* brushProperties, ID2D1SolidColorBrush** solidColorBrush)
|
public HResult CreateSolidColorBrush(Color4* color, BrushProperties* brushProperties, ID2D1SolidColorBrush** solidColorBrush)
|
||||||
{
|
{
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext6*, Common.ColorF*, BrushProperties*, ID2D1SolidColorBrush**, int>)(lpVtbl[8]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
|
return ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext6*, Color4*, BrushProperties*, ID2D1SolidColorBrush**, int>)(lpVtbl[8]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateGradientStopCollection" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateGradientStopCollection" />
|
||||||
@@ -435,9 +430,9 @@ public unsafe partial struct ID2D1DeviceContext6
|
|||||||
/// <inheritdoc cref="ID2D1RenderTarget.Clear" />
|
/// <inheritdoc cref="ID2D1RenderTarget.Clear" />
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
[VtblIndex(47)]
|
[VtblIndex(47)]
|
||||||
public void Clear(Common.ColorF* clearColor)
|
public void Clear(Color4* clearColor)
|
||||||
{
|
{
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DeviceContext6*, Common.ColorF*, void>)(lpVtbl[47]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), clearColor);
|
((delegate* unmanaged[Stdcall]<ID2D1DeviceContext6*, Color4*, void>)(lpVtbl[47]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), clearColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.BeginDraw" />
|
/// <inheritdoc cref="ID2D1RenderTarget.BeginDraw" />
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
@@ -123,9 +118,9 @@ public unsafe partial struct ID2D1HwndRenderTarget
|
|||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateSolidColorBrush" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateSolidColorBrush" />
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CreateSolidColorBrush(Common.ColorF* color, BrushProperties* brushProperties, ID2D1SolidColorBrush** solidColorBrush)
|
public HResult CreateSolidColorBrush(Color4* color, BrushProperties* brushProperties, ID2D1SolidColorBrush** solidColorBrush)
|
||||||
{
|
{
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, Common.ColorF*, BrushProperties*, ID2D1SolidColorBrush**, int>)(lpVtbl[8]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
|
return ((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, Color4*, BrushProperties*, ID2D1SolidColorBrush**, int>)(lpVtbl[8]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateGradientStopCollection" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateGradientStopCollection" />
|
||||||
@@ -435,9 +430,9 @@ public unsafe partial struct ID2D1HwndRenderTarget
|
|||||||
/// <inheritdoc cref="ID2D1RenderTarget.Clear" />
|
/// <inheritdoc cref="ID2D1RenderTarget.Clear" />
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
[VtblIndex(47)]
|
[VtblIndex(47)]
|
||||||
public void Clear(Common.ColorF* clearColor)
|
public void Clear(Color4* clearColor)
|
||||||
{
|
{
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, Common.ColorF*, void>)(lpVtbl[47]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), clearColor);
|
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, Color4*, void>)(lpVtbl[47]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), clearColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.BeginDraw" />
|
/// <inheritdoc cref="ID2D1RenderTarget.BeginDraw" />
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
@@ -123,9 +118,9 @@ public unsafe partial struct ID2D1RenderTarget
|
|||||||
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::CreateSolidColorBrush"]/*' />
|
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::CreateSolidColorBrush"]/*' />
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CreateSolidColorBrush(Common.ColorF* color, BrushProperties* brushProperties, ID2D1SolidColorBrush** solidColorBrush)
|
public HResult CreateSolidColorBrush(Color4* color, BrushProperties* brushProperties, ID2D1SolidColorBrush** solidColorBrush)
|
||||||
{
|
{
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, Common.ColorF*, BrushProperties*, ID2D1SolidColorBrush**, int>)(lpVtbl[8]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
|
return ((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, Color4*, BrushProperties*, ID2D1SolidColorBrush**, int>)(lpVtbl[8]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::CreateGradientStopCollection"]/*' />
|
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::CreateGradientStopCollection"]/*' />
|
||||||
@@ -435,9 +430,9 @@ public unsafe partial struct ID2D1RenderTarget
|
|||||||
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::Clear"]/*' />
|
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::Clear"]/*' />
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
[VtblIndex(47)]
|
[VtblIndex(47)]
|
||||||
public void Clear(Common.ColorF* clearColor)
|
public void Clear(Color4* clearColor)
|
||||||
{
|
{
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, Common.ColorF*, void>)(lpVtbl[47]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), clearColor);
|
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, Color4*, void>)(lpVtbl[47]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), clearColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::BeginDraw"]/*' />
|
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::BeginDraw"]/*' />
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
@@ -123,18 +118,18 @@ public unsafe partial struct ID2D1SolidColorBrush
|
|||||||
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SolidColorBrush::SetColor"]/*' />
|
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SolidColorBrush::SetColor"]/*' />
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public void SetColor(Common.ColorF* color)
|
public void SetColor(Color4* color)
|
||||||
{
|
{
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1SolidColorBrush*, Common.ColorF*, void>)(lpVtbl[8]))((ID2D1SolidColorBrush*)Unsafe.AsPointer(ref this), color);
|
((delegate* unmanaged[Stdcall]<ID2D1SolidColorBrush*, Color4*, void>)(lpVtbl[8]))((ID2D1SolidColorBrush*)Unsafe.AsPointer(ref this), color);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SolidColorBrush::GetColor"]/*' />
|
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SolidColorBrush::GetColor"]/*' />
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public Common.ColorF GetColor()
|
public Color4 GetColor()
|
||||||
{
|
{
|
||||||
Common.ColorF result;
|
Color4 result;
|
||||||
return *((delegate* unmanaged[Stdcall]<ID2D1SolidColorBrush*, Common.ColorF*, Common.ColorF*>)(lpVtbl[9]))((ID2D1SolidColorBrush*)Unsafe.AsPointer(ref this), &result);
|
return *((delegate* unmanaged[Stdcall]<ID2D1SolidColorBrush*, Color4*, Color4*>)(lpVtbl[9]))((ID2D1SolidColorBrush*)Unsafe.AsPointer(ref this), &result);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
@@ -91,25 +86,25 @@ public unsafe partial struct ID2D1SpriteBatch
|
|||||||
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SpriteBatch::AddSprites"]/*' />
|
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SpriteBatch::AddSprites"]/*' />
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult AddSprites(uint spriteCount, Common.RectF* destinationRectangles, Common.RectU* sourceRectangles, Common.ColorF* colors, Matrix3x2* transforms, uint destinationRectanglesStride, uint sourceRectanglesStride, uint colorsStride, uint transformsStride)
|
public HResult AddSprites(uint spriteCount, Common.RectF* destinationRectangles, Common.RectU* sourceRectangles, Color4* colors, Matrix3x2* transforms, uint destinationRectanglesStride, uint sourceRectanglesStride, uint colorsStride, uint transformsStride)
|
||||||
{
|
{
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1SpriteBatch*, uint, Common.RectF*, Common.RectU*, Common.ColorF*, Matrix3x2*, uint, uint, uint, uint, int>)(lpVtbl[4]))((ID2D1SpriteBatch*)Unsafe.AsPointer(ref this), spriteCount, destinationRectangles, sourceRectangles, colors, transforms, destinationRectanglesStride, sourceRectanglesStride, colorsStride, transformsStride);
|
return ((delegate* unmanaged[Stdcall]<ID2D1SpriteBatch*, uint, Common.RectF*, Common.RectU*, Color4*, Matrix3x2*, uint, uint, uint, uint, int>)(lpVtbl[4]))((ID2D1SpriteBatch*)Unsafe.AsPointer(ref this), spriteCount, destinationRectangles, sourceRectangles, colors, transforms, destinationRectanglesStride, sourceRectanglesStride, colorsStride, transformsStride);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SpriteBatch::SetSprites"]/*' />
|
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SpriteBatch::SetSprites"]/*' />
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult SetSprites(uint startIndex, uint spriteCount, Common.RectF* destinationRectangles, Common.RectU* sourceRectangles, Common.ColorF* colors, Matrix3x2* transforms, uint destinationRectanglesStride, uint sourceRectanglesStride, uint colorsStride, uint transformsStride)
|
public HResult SetSprites(uint startIndex, uint spriteCount, Common.RectF* destinationRectangles, Common.RectU* sourceRectangles, Color4* colors, Matrix3x2* transforms, uint destinationRectanglesStride, uint sourceRectanglesStride, uint colorsStride, uint transformsStride)
|
||||||
{
|
{
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1SpriteBatch*, uint, uint, Common.RectF*, Common.RectU*, Common.ColorF*, Matrix3x2*, uint, uint, uint, uint, int>)(lpVtbl[5]))((ID2D1SpriteBatch*)Unsafe.AsPointer(ref this), startIndex, spriteCount, destinationRectangles, sourceRectangles, colors, transforms, destinationRectanglesStride, sourceRectanglesStride, colorsStride, transformsStride);
|
return ((delegate* unmanaged[Stdcall]<ID2D1SpriteBatch*, uint, uint, Common.RectF*, Common.RectU*, Color4*, Matrix3x2*, uint, uint, uint, uint, int>)(lpVtbl[5]))((ID2D1SpriteBatch*)Unsafe.AsPointer(ref this), startIndex, spriteCount, destinationRectangles, sourceRectangles, colors, transforms, destinationRectanglesStride, sourceRectanglesStride, colorsStride, transformsStride);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SpriteBatch::GetSprites"]/*' />
|
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SpriteBatch::GetSprites"]/*' />
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult GetSprites(uint startIndex, uint spriteCount, Common.RectF* destinationRectangles, Common.RectU* sourceRectangles, Common.ColorF* colors, Matrix3x2* transforms)
|
public HResult GetSprites(uint startIndex, uint spriteCount, Common.RectF* destinationRectangles, Common.RectU* sourceRectangles, Color4** colors, Matrix3x2* transforms)
|
||||||
{
|
{
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1SpriteBatch*, uint, uint, Common.RectF*, Common.RectU*, Common.ColorF*, Matrix3x2*, int>)(lpVtbl[6]))((ID2D1SpriteBatch*)Unsafe.AsPointer(ref this), startIndex, spriteCount, destinationRectangles, sourceRectangles, colors, transforms);
|
return ((delegate* unmanaged[Stdcall]<ID2D1SpriteBatch*, uint, uint, Common.RectF*, Common.RectU*, Color4**, Matrix3x2*, int>)(lpVtbl[6]))((ID2D1SpriteBatch*)Unsafe.AsPointer(ref this), startIndex, spriteCount, destinationRectangles, sourceRectangles, colors, transforms);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SpriteBatch::GetSpriteCount"]/*' />
|
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SpriteBatch::GetSpriteCount"]/*' />
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Numerics;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
|
|
||||||
#if !NET6_0_OR_GREATER
|
#if !NET6_0_OR_GREATER
|
||||||
using MemoryMarshal = Win32.MemoryMarshal;
|
using MemoryMarshal = Win32.MemoryMarshal;
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user