From 3ae0fc01c9e94f8a4bda5993cf2f31920a8584ef Mon Sep 17 00:00:00 2001 From: Amer Koleci Date: Tue, 20 Sep 2022 11:27:23 +0200 Subject: [PATCH] More primitive types improvements. --- src/Generator/Program.cs | 15 +++++++ .../Generated/Graphics/Direct2D.cs | 4 +- .../Graphics/Direct2D/ID2D1BitmapBrush.cs | 4 +- .../Graphics/Direct2D/ID2D1BitmapBrush1.cs | 4 +- .../Direct2D/ID2D1BitmapRenderTarget.cs | 16 +++---- .../Generated/Graphics/Direct2D/ID2D1Brush.cs | 4 +- .../Graphics/Direct2D/ID2D1CommandSink.cs | 8 ++-- .../Graphics/Direct2D/ID2D1CommandSink1.cs | 8 ++-- .../Graphics/Direct2D/ID2D1CommandSink2.cs | 8 ++-- .../Graphics/Direct2D/ID2D1CommandSink3.cs | 8 ++-- .../Graphics/Direct2D/ID2D1CommandSink4.cs | 8 ++-- .../Graphics/Direct2D/ID2D1CommandSink5.cs | 8 ++-- .../Graphics/Direct2D/ID2D1DCRenderTarget.cs | 16 +++---- .../Graphics/Direct2D/ID2D1DeviceContext.cs | 24 +++++----- .../Graphics/Direct2D/ID2D1DeviceContext1.cs | 24 +++++----- .../Graphics/Direct2D/ID2D1DeviceContext2.cs | 24 +++++----- .../Graphics/Direct2D/ID2D1DeviceContext3.cs | 24 +++++----- .../Graphics/Direct2D/ID2D1DeviceContext4.cs | 44 +++++++++---------- .../Graphics/Direct2D/ID2D1DeviceContext5.cs | 44 +++++++++---------- .../Graphics/Direct2D/ID2D1DeviceContext6.cs | 44 +++++++++---------- .../Graphics/Direct2D/ID2D1EffectContext.cs | 4 +- .../Graphics/Direct2D/ID2D1EffectContext1.cs | 4 +- .../Graphics/Direct2D/ID2D1EffectContext2.cs | 4 +- .../Graphics/Direct2D/ID2D1EllipseGeometry.cs | 12 ++--- .../Graphics/Direct2D/ID2D1Geometry.cs | 12 ++--- .../Graphics/Direct2D/ID2D1GeometryGroup.cs | 12 ++--- .../Graphics/Direct2D/ID2D1GeometrySink.cs | 12 ++--- .../Direct2D/ID2D1HwndRenderTarget.cs | 16 +++---- .../Graphics/Direct2D/ID2D1ImageBrush.cs | 4 +- .../Graphics/Direct2D/ID2D1InkStyle.cs | 4 +- .../Direct2D/ID2D1LinearGradientBrush.cs | 18 ++++---- .../Graphics/Direct2D/ID2D1OffsetTransform.cs | 7 ++- .../Graphics/Direct2D/ID2D1PathGeometry.cs | 12 ++--- .../Graphics/Direct2D/ID2D1PathGeometry1.cs | 12 ++--- .../Direct2D/ID2D1RadialGradientBrush.cs | 18 ++++---- .../Direct2D/ID2D1RectangleGeometry.cs | 12 ++--- .../Graphics/Direct2D/ID2D1RenderTarget.cs | 16 +++---- .../Direct2D/ID2D1RoundedRectangleGeometry.cs | 12 ++--- .../Direct2D/ID2D1SimplifiedGeometrySink.cs | 8 ++-- .../Graphics/Direct2D/ID2D1SolidColorBrush.cs | 4 +- .../Graphics/Direct2D/ID2D1SourceTransform.cs | 4 +- .../Graphics/Direct2D/ID2D1SpriteBatch.cs | 4 +- .../Graphics/Direct2D/ID2D1SvgDocument.cs | 4 +- .../Direct2D/ID2D1SvgPointCollection.cs | 8 ++-- .../Direct2D/ID2D1TransformedGeometry.cs | 16 +++---- .../Graphics/DirectWrite/IDWriteFactory4.cs | 12 ++--- .../Graphics/DirectWrite/IDWriteFactory5.cs | 12 ++--- .../Graphics/DirectWrite/IDWriteFactory6.cs | 12 ++--- .../Graphics/DirectWrite/IDWriteFactory7.cs | 12 ++--- src/Vortice.Win32/Vortice.Win32.csproj | 2 +- src/samples/01-ClearScreen/Program.cs | 2 + 51 files changed, 321 insertions(+), 309 deletions(-) diff --git a/src/Generator/Program.cs b/src/Generator/Program.cs index 0144c18..9a10e79 100644 --- a/src/Generator/Program.cs +++ b/src/Generator/Program.cs @@ -2606,8 +2606,23 @@ public static class Program case "HResult": return true; + case "System.Drawing.Point": + case "System.Drawing.PointF": case "System.Drawing.Size": case "System.Drawing.SizeF": + case "System.Drawing.Rectangle": + case "System.Drawing.RectangleF": + return true; + + case "Vector2": + case "Vector3": + case "Vector4": + case "Matrix3x2": + case "Matrix4x4": + return true; + + case "Win32.Graphics.Direct2D.Common.Matrix4x3": + case "Win32.Graphics.Direct2D.Common.Matrix5x4": return true; } diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D.cs index 2b193fc..8441a83 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D.cs @@ -5493,10 +5493,10 @@ public static unsafe partial class Apis public static extern HResult D2D1CreateFactory(FactoryType factoryType, Guid* riid, FactoryOptions* pFactoryOptions, void** ppIFactory); [DllImport("d2d1", ExactSpelling = true)] - public static extern void D2D1MakeRotateMatrix(float angle, System.Drawing.PointF* center, Matrix3x2* matrix); + public static extern void D2D1MakeRotateMatrix(float angle, System.Drawing.PointF center, Matrix3x2* matrix); [DllImport("d2d1", ExactSpelling = true)] - public static extern void D2D1MakeSkewMatrix(float angleX, float angleY, System.Drawing.PointF* center, Matrix3x2* matrix); + public static extern void D2D1MakeSkewMatrix(float angleX, float angleY, System.Drawing.PointF center, Matrix3x2* matrix); [DllImport("d2d1", ExactSpelling = true)] public static extern Bool32 D2D1IsMatrixInvertible(Matrix3x2* matrix); diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BitmapBrush.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BitmapBrush.cs index 47e4524..8a7f82b 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BitmapBrush.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BitmapBrush.cs @@ -115,9 +115,9 @@ public unsafe partial struct ID2D1BitmapBrush /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public void GetTransform(Matrix3x2** transform) + public void GetTransform(Matrix3x2* transform) { - ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), transform); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BitmapBrush1.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BitmapBrush1.cs index dd9e81b..ad41fe9 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BitmapBrush1.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BitmapBrush1.cs @@ -115,9 +115,9 @@ public unsafe partial struct ID2D1BitmapBrush1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public void GetTransform(Matrix3x2** transform) + public void GetTransform(Matrix3x2* transform) { - ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), transform); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BitmapRenderTarget.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BitmapRenderTarget.cs index 27c873f..574c274 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BitmapRenderTarget.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BitmapRenderTarget.cs @@ -179,9 +179,9 @@ public unsafe partial struct ID2D1BitmapRenderTarget /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public void DrawLine(System.Drawing.PointF* point0, System.Drawing.PointF* point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) + public void DrawLine(System.Drawing.PointF point0, System.Drawing.PointF point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) { - ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); + ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); } /// @@ -283,17 +283,17 @@ public unsafe partial struct ID2D1BitmapRenderTarget /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] - public void DrawTextLayout(System.Drawing.PointF* origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, DrawTextOptions options) + public void DrawTextLayout(System.Drawing.PointF origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, DrawTextOptions options) { - ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options); + ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] - public void DrawGlyphRun(System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) + public void DrawGlyphRun(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) { - ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode); + ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode); } /// @@ -307,9 +307,9 @@ public unsafe partial struct ID2D1BitmapRenderTarget /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(31)] - public void GetTransform(Matrix3x2** transform) + public void GetTransform(Matrix3x2* transform) { - ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), transform); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Brush.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Brush.cs index a2c31f6..2be848e 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Brush.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Brush.cs @@ -115,9 +115,9 @@ public unsafe partial struct ID2D1Brush /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public void GetTransform(Matrix3x2** transform) + public void GetTransform(Matrix3x2* transform) { - ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1Brush*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1Brush*)Unsafe.AsPointer(ref this), transform); } } diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink.cs index 4e78a58..9de0dd0 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink.cs @@ -163,17 +163,17 @@ public unsafe partial struct ID2D1CommandSink /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HResult DrawGlyphRun(System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) + public HResult DrawGlyphRun(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); + return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HResult DrawLine(System.Drawing.PointF* point0, System.Drawing.PointF* point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) + public HResult DrawLine(System.Drawing.PointF point0, System.Drawing.PointF point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); + return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink1.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink1.cs index b6f9f47..885da16 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink1.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink1.cs @@ -163,17 +163,17 @@ public unsafe partial struct ID2D1CommandSink1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HResult DrawGlyphRun(System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) + public HResult DrawGlyphRun(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); + return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HResult DrawLine(System.Drawing.PointF* point0, System.Drawing.PointF* point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) + public HResult DrawLine(System.Drawing.PointF point0, System.Drawing.PointF point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); + return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink2.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink2.cs index 6d7fb31..986b381 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink2.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink2.cs @@ -163,17 +163,17 @@ public unsafe partial struct ID2D1CommandSink2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HResult DrawGlyphRun(System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) + public HResult DrawGlyphRun(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); + return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HResult DrawLine(System.Drawing.PointF* point0, System.Drawing.PointF* point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) + public HResult DrawLine(System.Drawing.PointF point0, System.Drawing.PointF point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); + return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink3.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink3.cs index 8343814..3362824 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink3.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink3.cs @@ -163,17 +163,17 @@ public unsafe partial struct ID2D1CommandSink3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HResult DrawGlyphRun(System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) + public HResult DrawGlyphRun(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); + return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HResult DrawLine(System.Drawing.PointF* point0, System.Drawing.PointF* point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) + public HResult DrawLine(System.Drawing.PointF point0, System.Drawing.PointF point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); + return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink4.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink4.cs index 2de14ca..4f4b038 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink4.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink4.cs @@ -163,17 +163,17 @@ public unsafe partial struct ID2D1CommandSink4 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HResult DrawGlyphRun(System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) + public HResult DrawGlyphRun(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); + return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HResult DrawLine(System.Drawing.PointF* point0, System.Drawing.PointF* point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) + public HResult DrawLine(System.Drawing.PointF point0, System.Drawing.PointF point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); + return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink5.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink5.cs index 3a9b9d7..77b9862 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink5.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink5.cs @@ -163,17 +163,17 @@ public unsafe partial struct ID2D1CommandSink5 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HResult DrawGlyphRun(System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) + public HResult DrawGlyphRun(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); + return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] - public HResult DrawLine(System.Drawing.PointF* point0, System.Drawing.PointF* point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) + public HResult DrawLine(System.Drawing.PointF point0, System.Drawing.PointF point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); + return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DCRenderTarget.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DCRenderTarget.cs index 8ee4bf3..700a57a 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DCRenderTarget.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DCRenderTarget.cs @@ -179,9 +179,9 @@ public unsafe partial struct ID2D1DCRenderTarget /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public void DrawLine(System.Drawing.PointF* point0, System.Drawing.PointF* point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) + public void DrawLine(System.Drawing.PointF point0, System.Drawing.PointF point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) { - ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); + ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); } /// @@ -283,17 +283,17 @@ public unsafe partial struct ID2D1DCRenderTarget /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] - public void DrawTextLayout(System.Drawing.PointF* origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, DrawTextOptions options) + public void DrawTextLayout(System.Drawing.PointF origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, DrawTextOptions options) { - ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options); + ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] - public void DrawGlyphRun(System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) + public void DrawGlyphRun(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) { - ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode); + ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode); } /// @@ -307,9 +307,9 @@ public unsafe partial struct ID2D1DCRenderTarget /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(31)] - public void GetTransform(Matrix3x2** transform) + public void GetTransform(Matrix3x2* transform) { - ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), transform); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext.cs index dd06831..01f6110 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext.cs @@ -179,9 +179,9 @@ public unsafe partial struct ID2D1DeviceContext /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public void DrawLine(System.Drawing.PointF* point0, System.Drawing.PointF* point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) + public void DrawLine(System.Drawing.PointF point0, System.Drawing.PointF point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) { - ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); + ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); } /// @@ -283,17 +283,17 @@ public unsafe partial struct ID2D1DeviceContext /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] - public void DrawTextLayout(System.Drawing.PointF* origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, DrawTextOptions options) + public void DrawTextLayout(System.Drawing.PointF origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, DrawTextOptions options) { - ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options); + ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] - public void DrawGlyphRun(System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) + public void DrawGlyphRun(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) { - ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode); + ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode); } /// @@ -307,9 +307,9 @@ public unsafe partial struct ID2D1DeviceContext /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(31)] - public void GetTransform(Matrix3x2** transform) + public void GetTransform(Matrix3x2* transform) { - ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), transform); } /// @@ -636,9 +636,9 @@ public unsafe partial struct ID2D1DeviceContext /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(72)] - public HResult GetGlyphRunWorldBounds(System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, Common.RectF* bounds) + public HResult GetGlyphRunWorldBounds(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, Common.RectF* bounds) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds); + return ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds); } /// @@ -716,9 +716,9 @@ public unsafe partial struct ID2D1DeviceContext /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(82)] - public void DrawGlyphRun(System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) + public void DrawGlyphRun(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) { - ((delegate* unmanaged[Stdcall])(lpVtbl[82]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); + ((delegate* unmanaged[Stdcall])(lpVtbl[82]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext1.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext1.cs index f37a682..95217d3 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext1.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext1.cs @@ -179,9 +179,9 @@ public unsafe partial struct ID2D1DeviceContext1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public void DrawLine(System.Drawing.PointF* point0, System.Drawing.PointF* point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) + public void DrawLine(System.Drawing.PointF point0, System.Drawing.PointF point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) { - ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); + ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); } /// @@ -283,17 +283,17 @@ public unsafe partial struct ID2D1DeviceContext1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] - public void DrawTextLayout(System.Drawing.PointF* origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, DrawTextOptions options) + public void DrawTextLayout(System.Drawing.PointF origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, DrawTextOptions options) { - ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options); + ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] - public void DrawGlyphRun(System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) + public void DrawGlyphRun(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) { - ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode); + ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode); } /// @@ -307,9 +307,9 @@ public unsafe partial struct ID2D1DeviceContext1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(31)] - public void GetTransform(Matrix3x2** transform) + public void GetTransform(Matrix3x2* transform) { - ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), transform); } /// @@ -636,9 +636,9 @@ public unsafe partial struct ID2D1DeviceContext1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(72)] - public HResult GetGlyphRunWorldBounds(System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, Common.RectF* bounds) + public HResult GetGlyphRunWorldBounds(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, Common.RectF* bounds) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds); + return ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds); } /// @@ -716,9 +716,9 @@ public unsafe partial struct ID2D1DeviceContext1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(82)] - public void DrawGlyphRun(System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) + public void DrawGlyphRun(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) { - ((delegate* unmanaged[Stdcall])(lpVtbl[82]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); + ((delegate* unmanaged[Stdcall])(lpVtbl[82]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext2.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext2.cs index 2eb426c..005c0a5 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext2.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext2.cs @@ -179,9 +179,9 @@ public unsafe partial struct ID2D1DeviceContext2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public void DrawLine(System.Drawing.PointF* point0, System.Drawing.PointF* point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) + public void DrawLine(System.Drawing.PointF point0, System.Drawing.PointF point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) { - ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); + ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); } /// @@ -283,17 +283,17 @@ public unsafe partial struct ID2D1DeviceContext2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] - public void DrawTextLayout(System.Drawing.PointF* origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, DrawTextOptions options) + public void DrawTextLayout(System.Drawing.PointF origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, DrawTextOptions options) { - ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options); + ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] - public void DrawGlyphRun(System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) + public void DrawGlyphRun(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) { - ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode); + ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode); } /// @@ -307,9 +307,9 @@ public unsafe partial struct ID2D1DeviceContext2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(31)] - public void GetTransform(Matrix3x2** transform) + public void GetTransform(Matrix3x2* transform) { - ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), transform); } /// @@ -636,9 +636,9 @@ public unsafe partial struct ID2D1DeviceContext2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(72)] - public HResult GetGlyphRunWorldBounds(System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, Common.RectF* bounds) + public HResult GetGlyphRunWorldBounds(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, Common.RectF* bounds) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds); + return ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds); } /// @@ -716,9 +716,9 @@ public unsafe partial struct ID2D1DeviceContext2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(82)] - public void DrawGlyphRun(System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) + public void DrawGlyphRun(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) { - ((delegate* unmanaged[Stdcall])(lpVtbl[82]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); + ((delegate* unmanaged[Stdcall])(lpVtbl[82]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext3.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext3.cs index 1f50505..7bcba7a 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext3.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext3.cs @@ -179,9 +179,9 @@ public unsafe partial struct ID2D1DeviceContext3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public void DrawLine(System.Drawing.PointF* point0, System.Drawing.PointF* point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) + public void DrawLine(System.Drawing.PointF point0, System.Drawing.PointF point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) { - ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); + ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); } /// @@ -283,17 +283,17 @@ public unsafe partial struct ID2D1DeviceContext3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] - public void DrawTextLayout(System.Drawing.PointF* origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, DrawTextOptions options) + public void DrawTextLayout(System.Drawing.PointF origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, DrawTextOptions options) { - ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options); + ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] - public void DrawGlyphRun(System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) + public void DrawGlyphRun(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) { - ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode); + ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode); } /// @@ -307,9 +307,9 @@ public unsafe partial struct ID2D1DeviceContext3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(31)] - public void GetTransform(Matrix3x2** transform) + public void GetTransform(Matrix3x2* transform) { - ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), transform); } /// @@ -636,9 +636,9 @@ public unsafe partial struct ID2D1DeviceContext3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(72)] - public HResult GetGlyphRunWorldBounds(System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, Common.RectF* bounds) + public HResult GetGlyphRunWorldBounds(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, Common.RectF* bounds) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds); + return ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds); } /// @@ -716,9 +716,9 @@ public unsafe partial struct ID2D1DeviceContext3 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(82)] - public void DrawGlyphRun(System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) + public void DrawGlyphRun(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) { - ((delegate* unmanaged[Stdcall])(lpVtbl[82]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); + ((delegate* unmanaged[Stdcall])(lpVtbl[82]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext4.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext4.cs index bcf91ca..3a9edc4 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext4.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext4.cs @@ -179,9 +179,9 @@ public unsafe partial struct ID2D1DeviceContext4 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public void DrawLine(System.Drawing.PointF* point0, System.Drawing.PointF* point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) + public void DrawLine(System.Drawing.PointF point0, System.Drawing.PointF point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) { - ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); + ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); } /// @@ -283,17 +283,17 @@ public unsafe partial struct ID2D1DeviceContext4 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] - public void DrawTextLayout(System.Drawing.PointF* origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, DrawTextOptions options) + public void DrawTextLayout(System.Drawing.PointF origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, DrawTextOptions options) { - ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options); + ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] - public void DrawGlyphRun(System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) + public void DrawGlyphRun(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) { - ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode); + ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode); } /// @@ -307,9 +307,9 @@ public unsafe partial struct ID2D1DeviceContext4 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(31)] - public void GetTransform(Matrix3x2** transform) + public void GetTransform(Matrix3x2* transform) { - ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), transform); } /// @@ -636,9 +636,9 @@ public unsafe partial struct ID2D1DeviceContext4 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(72)] - public HResult GetGlyphRunWorldBounds(System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, Common.RectF* bounds) + public HResult GetGlyphRunWorldBounds(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, Common.RectF* bounds) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds); + return ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds); } /// @@ -716,9 +716,9 @@ public unsafe partial struct ID2D1DeviceContext4 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(82)] - public void DrawGlyphRun(System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) + public void DrawGlyphRun(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) { - ((delegate* unmanaged[Stdcall])(lpVtbl[82]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); + ((delegate* unmanaged[Stdcall])(lpVtbl[82]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); } /// @@ -940,41 +940,41 @@ public unsafe partial struct ID2D1DeviceContext4 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(110)] - public void DrawTextLayout(System.Drawing.PointF* origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, DrawTextOptions options) + public void DrawTextLayout(System.Drawing.PointF origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, DrawTextOptions options) { - ((delegate* unmanaged[Stdcall])(lpVtbl[110]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, options); + ((delegate* unmanaged[Stdcall])(lpVtbl[110]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, options); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(111)] - public void DrawColorBitmapGlyphRun(Graphics.DirectWrite.GlyphImageFormats glyphImageFormat, System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, ColorBitmapGlyphSnapOption bitmapSnapOption) + public void DrawColorBitmapGlyphRun(Graphics.DirectWrite.GlyphImageFormats glyphImageFormat, System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, ColorBitmapGlyphSnapOption bitmapSnapOption) { - ((delegate* unmanaged[Stdcall])(lpVtbl[111]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), glyphImageFormat, baselineOrigin, glyphRun, measuringMode, bitmapSnapOption); + ((delegate* unmanaged[Stdcall])(lpVtbl[111]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), glyphImageFormat, baselineOrigin, glyphRun, measuringMode, bitmapSnapOption); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(112)] - public void DrawSvgGlyphRun(System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, Graphics.DirectWrite.MeasuringMode measuringMode) + public void DrawSvgGlyphRun(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, Graphics.DirectWrite.MeasuringMode measuringMode) { - ((delegate* unmanaged[Stdcall])(lpVtbl[112]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, measuringMode); + ((delegate* unmanaged[Stdcall])(lpVtbl[112]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, measuringMode); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(113)] - public HResult GetColorBitmapGlyphImage(Graphics.DirectWrite.GlyphImageFormats glyphImageFormat, System.Drawing.PointF* glyphOrigin, Graphics.DirectWrite.IDWriteFontFace* fontFace, float fontEmSize, ushort glyphIndex, Bool32 isSideways, Matrix3x2* worldTransform, float dpiX, float dpiY, Matrix3x2** glyphTransform, ID2D1Image** glyphImage) + public HResult GetColorBitmapGlyphImage(Graphics.DirectWrite.GlyphImageFormats glyphImageFormat, System.Drawing.PointF glyphOrigin, Graphics.DirectWrite.IDWriteFontFace* fontFace, float fontEmSize, ushort glyphIndex, Bool32 isSideways, Matrix3x2* worldTransform, float dpiX, float dpiY, Matrix3x2* glyphTransform, ID2D1Image** glyphImage) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[113]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), glyphImageFormat, glyphOrigin, fontFace, fontEmSize, glyphIndex, isSideways, worldTransform, dpiX, dpiY, glyphTransform, glyphImage); + return ((delegate* unmanaged[Stdcall])(lpVtbl[113]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), glyphImageFormat, glyphOrigin, fontFace, fontEmSize, glyphIndex, isSideways, worldTransform, dpiX, dpiY, glyphTransform, glyphImage); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(114)] - public HResult GetSvgGlyphImage(System.Drawing.PointF* glyphOrigin, Graphics.DirectWrite.IDWriteFontFace* fontFace, float fontEmSize, ushort glyphIndex, Bool32 isSideways, Matrix3x2* worldTransform, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, Matrix3x2** glyphTransform, ID2D1CommandList** glyphImage) + public HResult GetSvgGlyphImage(System.Drawing.PointF glyphOrigin, Graphics.DirectWrite.IDWriteFontFace* fontFace, float fontEmSize, ushort glyphIndex, Bool32 isSideways, Matrix3x2* worldTransform, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, Matrix3x2* glyphTransform, ID2D1CommandList** glyphImage) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[114]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), glyphOrigin, fontFace, fontEmSize, glyphIndex, isSideways, worldTransform, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, glyphTransform, glyphImage); + return ((delegate* unmanaged[Stdcall])(lpVtbl[114]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), glyphOrigin, fontFace, fontEmSize, glyphIndex, isSideways, worldTransform, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, glyphTransform, glyphImage); } } diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext5.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext5.cs index 7618582..ea579a7 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext5.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext5.cs @@ -179,9 +179,9 @@ public unsafe partial struct ID2D1DeviceContext5 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public void DrawLine(System.Drawing.PointF* point0, System.Drawing.PointF* point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) + public void DrawLine(System.Drawing.PointF point0, System.Drawing.PointF point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) { - ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); + ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); } /// @@ -283,17 +283,17 @@ public unsafe partial struct ID2D1DeviceContext5 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] - public void DrawTextLayout(System.Drawing.PointF* origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, DrawTextOptions options) + public void DrawTextLayout(System.Drawing.PointF origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, DrawTextOptions options) { - ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options); + ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] - public void DrawGlyphRun(System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) + public void DrawGlyphRun(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) { - ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode); + ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode); } /// @@ -307,9 +307,9 @@ public unsafe partial struct ID2D1DeviceContext5 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(31)] - public void GetTransform(Matrix3x2** transform) + public void GetTransform(Matrix3x2* transform) { - ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), transform); } /// @@ -636,9 +636,9 @@ public unsafe partial struct ID2D1DeviceContext5 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(72)] - public HResult GetGlyphRunWorldBounds(System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, Common.RectF* bounds) + public HResult GetGlyphRunWorldBounds(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, Common.RectF* bounds) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds); + return ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds); } /// @@ -716,9 +716,9 @@ public unsafe partial struct ID2D1DeviceContext5 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(82)] - public void DrawGlyphRun(System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) + public void DrawGlyphRun(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) { - ((delegate* unmanaged[Stdcall])(lpVtbl[82]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); + ((delegate* unmanaged[Stdcall])(lpVtbl[82]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); } /// @@ -940,41 +940,41 @@ public unsafe partial struct ID2D1DeviceContext5 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(110)] - public void DrawTextLayout(System.Drawing.PointF* origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, DrawTextOptions options) + public void DrawTextLayout(System.Drawing.PointF origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, DrawTextOptions options) { - ((delegate* unmanaged[Stdcall])(lpVtbl[110]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, options); + ((delegate* unmanaged[Stdcall])(lpVtbl[110]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, options); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(111)] - public void DrawColorBitmapGlyphRun(Graphics.DirectWrite.GlyphImageFormats glyphImageFormat, System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, ColorBitmapGlyphSnapOption bitmapSnapOption) + public void DrawColorBitmapGlyphRun(Graphics.DirectWrite.GlyphImageFormats glyphImageFormat, System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, ColorBitmapGlyphSnapOption bitmapSnapOption) { - ((delegate* unmanaged[Stdcall])(lpVtbl[111]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), glyphImageFormat, baselineOrigin, glyphRun, measuringMode, bitmapSnapOption); + ((delegate* unmanaged[Stdcall])(lpVtbl[111]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), glyphImageFormat, baselineOrigin, glyphRun, measuringMode, bitmapSnapOption); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(112)] - public void DrawSvgGlyphRun(System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, Graphics.DirectWrite.MeasuringMode measuringMode) + public void DrawSvgGlyphRun(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, Graphics.DirectWrite.MeasuringMode measuringMode) { - ((delegate* unmanaged[Stdcall])(lpVtbl[112]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, measuringMode); + ((delegate* unmanaged[Stdcall])(lpVtbl[112]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, measuringMode); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(113)] - public HResult GetColorBitmapGlyphImage(Graphics.DirectWrite.GlyphImageFormats glyphImageFormat, System.Drawing.PointF* glyphOrigin, Graphics.DirectWrite.IDWriteFontFace* fontFace, float fontEmSize, ushort glyphIndex, Bool32 isSideways, Matrix3x2* worldTransform, float dpiX, float dpiY, Matrix3x2** glyphTransform, ID2D1Image** glyphImage) + public HResult GetColorBitmapGlyphImage(Graphics.DirectWrite.GlyphImageFormats glyphImageFormat, System.Drawing.PointF glyphOrigin, Graphics.DirectWrite.IDWriteFontFace* fontFace, float fontEmSize, ushort glyphIndex, Bool32 isSideways, Matrix3x2* worldTransform, float dpiX, float dpiY, Matrix3x2* glyphTransform, ID2D1Image** glyphImage) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[113]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), glyphImageFormat, glyphOrigin, fontFace, fontEmSize, glyphIndex, isSideways, worldTransform, dpiX, dpiY, glyphTransform, glyphImage); + return ((delegate* unmanaged[Stdcall])(lpVtbl[113]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), glyphImageFormat, glyphOrigin, fontFace, fontEmSize, glyphIndex, isSideways, worldTransform, dpiX, dpiY, glyphTransform, glyphImage); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(114)] - public HResult GetSvgGlyphImage(System.Drawing.PointF* glyphOrigin, Graphics.DirectWrite.IDWriteFontFace* fontFace, float fontEmSize, ushort glyphIndex, Bool32 isSideways, Matrix3x2* worldTransform, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, Matrix3x2** glyphTransform, ID2D1CommandList** glyphImage) + public HResult GetSvgGlyphImage(System.Drawing.PointF glyphOrigin, Graphics.DirectWrite.IDWriteFontFace* fontFace, float fontEmSize, ushort glyphIndex, Bool32 isSideways, Matrix3x2* worldTransform, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, Matrix3x2* glyphTransform, ID2D1CommandList** glyphImage) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[114]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), glyphOrigin, fontFace, fontEmSize, glyphIndex, isSideways, worldTransform, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, glyphTransform, glyphImage); + return ((delegate* unmanaged[Stdcall])(lpVtbl[114]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), glyphOrigin, fontFace, fontEmSize, glyphIndex, isSideways, worldTransform, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, glyphTransform, glyphImage); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext6.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext6.cs index 9708b40..0b4baab 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext6.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext6.cs @@ -179,9 +179,9 @@ public unsafe partial struct ID2D1DeviceContext6 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public void DrawLine(System.Drawing.PointF* point0, System.Drawing.PointF* point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) + public void DrawLine(System.Drawing.PointF point0, System.Drawing.PointF point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) { - ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); + ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); } /// @@ -283,17 +283,17 @@ public unsafe partial struct ID2D1DeviceContext6 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] - public void DrawTextLayout(System.Drawing.PointF* origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, DrawTextOptions options) + public void DrawTextLayout(System.Drawing.PointF origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, DrawTextOptions options) { - ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options); + ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] - public void DrawGlyphRun(System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) + public void DrawGlyphRun(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) { - ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode); + ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode); } /// @@ -307,9 +307,9 @@ public unsafe partial struct ID2D1DeviceContext6 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(31)] - public void GetTransform(Matrix3x2** transform) + public void GetTransform(Matrix3x2* transform) { - ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), transform); } /// @@ -636,9 +636,9 @@ public unsafe partial struct ID2D1DeviceContext6 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(72)] - public HResult GetGlyphRunWorldBounds(System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, Common.RectF* bounds) + public HResult GetGlyphRunWorldBounds(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, Common.RectF* bounds) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds); + return ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds); } /// @@ -716,9 +716,9 @@ public unsafe partial struct ID2D1DeviceContext6 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(82)] - public void DrawGlyphRun(System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) + public void DrawGlyphRun(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) { - ((delegate* unmanaged[Stdcall])(lpVtbl[82]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); + ((delegate* unmanaged[Stdcall])(lpVtbl[82]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); } /// @@ -940,41 +940,41 @@ public unsafe partial struct ID2D1DeviceContext6 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(110)] - public void DrawTextLayout(System.Drawing.PointF* origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, DrawTextOptions options) + public void DrawTextLayout(System.Drawing.PointF origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, DrawTextOptions options) { - ((delegate* unmanaged[Stdcall])(lpVtbl[110]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, options); + ((delegate* unmanaged[Stdcall])(lpVtbl[110]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, options); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(111)] - public void DrawColorBitmapGlyphRun(Graphics.DirectWrite.GlyphImageFormats glyphImageFormat, System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, ColorBitmapGlyphSnapOption bitmapSnapOption) + public void DrawColorBitmapGlyphRun(Graphics.DirectWrite.GlyphImageFormats glyphImageFormat, System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, ColorBitmapGlyphSnapOption bitmapSnapOption) { - ((delegate* unmanaged[Stdcall])(lpVtbl[111]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), glyphImageFormat, baselineOrigin, glyphRun, measuringMode, bitmapSnapOption); + ((delegate* unmanaged[Stdcall])(lpVtbl[111]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), glyphImageFormat, baselineOrigin, glyphRun, measuringMode, bitmapSnapOption); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(112)] - public void DrawSvgGlyphRun(System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, Graphics.DirectWrite.MeasuringMode measuringMode) + public void DrawSvgGlyphRun(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, Graphics.DirectWrite.MeasuringMode measuringMode) { - ((delegate* unmanaged[Stdcall])(lpVtbl[112]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, measuringMode); + ((delegate* unmanaged[Stdcall])(lpVtbl[112]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, measuringMode); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(113)] - public HResult GetColorBitmapGlyphImage(Graphics.DirectWrite.GlyphImageFormats glyphImageFormat, System.Drawing.PointF* glyphOrigin, Graphics.DirectWrite.IDWriteFontFace* fontFace, float fontEmSize, ushort glyphIndex, Bool32 isSideways, Matrix3x2* worldTransform, float dpiX, float dpiY, Matrix3x2** glyphTransform, ID2D1Image** glyphImage) + public HResult GetColorBitmapGlyphImage(Graphics.DirectWrite.GlyphImageFormats glyphImageFormat, System.Drawing.PointF glyphOrigin, Graphics.DirectWrite.IDWriteFontFace* fontFace, float fontEmSize, ushort glyphIndex, Bool32 isSideways, Matrix3x2* worldTransform, float dpiX, float dpiY, Matrix3x2* glyphTransform, ID2D1Image** glyphImage) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[113]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), glyphImageFormat, glyphOrigin, fontFace, fontEmSize, glyphIndex, isSideways, worldTransform, dpiX, dpiY, glyphTransform, glyphImage); + return ((delegate* unmanaged[Stdcall])(lpVtbl[113]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), glyphImageFormat, glyphOrigin, fontFace, fontEmSize, glyphIndex, isSideways, worldTransform, dpiX, dpiY, glyphTransform, glyphImage); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(114)] - public HResult GetSvgGlyphImage(System.Drawing.PointF* glyphOrigin, Graphics.DirectWrite.IDWriteFontFace* fontFace, float fontEmSize, ushort glyphIndex, Bool32 isSideways, Matrix3x2* worldTransform, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, Matrix3x2** glyphTransform, ID2D1CommandList** glyphImage) + public HResult GetSvgGlyphImage(System.Drawing.PointF glyphOrigin, Graphics.DirectWrite.IDWriteFontFace* fontFace, float fontEmSize, ushort glyphIndex, Bool32 isSideways, Matrix3x2* worldTransform, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, Matrix3x2* glyphTransform, ID2D1CommandList** glyphImage) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[114]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), glyphOrigin, fontFace, fontEmSize, glyphIndex, isSideways, worldTransform, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, glyphTransform, glyphImage); + return ((delegate* unmanaged[Stdcall])(lpVtbl[114]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), glyphOrigin, fontFace, fontEmSize, glyphIndex, isSideways, worldTransform, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, glyphTransform, glyphImage); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EffectContext.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EffectContext.cs index 4d705e7..5913e78 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EffectContext.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EffectContext.cs @@ -131,9 +131,9 @@ public unsafe partial struct ID2D1EffectContext /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HResult CreateOffsetTransform(System.Drawing.Point* offset, ID2D1OffsetTransform** transform) + public HResult CreateOffsetTransform(System.Drawing.Point offset, ID2D1OffsetTransform** transform) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), offset, transform); + return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), offset, transform); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EffectContext1.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EffectContext1.cs index 04fa593..869691b 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EffectContext1.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EffectContext1.cs @@ -131,9 +131,9 @@ public unsafe partial struct ID2D1EffectContext1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HResult CreateOffsetTransform(System.Drawing.Point* offset, ID2D1OffsetTransform** transform) + public HResult CreateOffsetTransform(System.Drawing.Point offset, ID2D1OffsetTransform** transform) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), offset, transform); + return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), offset, transform); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EffectContext2.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EffectContext2.cs index 26aa075..257e379 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EffectContext2.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EffectContext2.cs @@ -131,9 +131,9 @@ public unsafe partial struct ID2D1EffectContext2 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public HResult CreateOffsetTransform(System.Drawing.Point* offset, ID2D1OffsetTransform** transform) + public HResult CreateOffsetTransform(System.Drawing.Point offset, ID2D1OffsetTransform** transform) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), offset, transform); + return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), offset, transform); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EllipseGeometry.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EllipseGeometry.cs index 8fd3a0f..41802bb 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EllipseGeometry.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EllipseGeometry.cs @@ -107,17 +107,17 @@ public unsafe partial struct ID2D1EllipseGeometry /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HResult StrokeContainsPoint(System.Drawing.PointF* point, float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains) + public HResult StrokeContainsPoint(System.Drawing.PointF point, float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains); + return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HResult FillContainsPoint(System.Drawing.PointF* point, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains) + public HResult FillContainsPoint(System.Drawing.PointF point, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains); + return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains); } /// @@ -179,9 +179,9 @@ public unsafe partial struct ID2D1EllipseGeometry /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HResult ComputePointAtLength(float length, Matrix3x2* worldTransform, float flatteningTolerance, System.Drawing.PointF** point, System.Drawing.PointF** unitTangentVector) + public HResult ComputePointAtLength(float length, Matrix3x2* worldTransform, float flatteningTolerance, System.Drawing.PointF* point, System.Drawing.PointF* unitTangentVector) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector); + return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Geometry.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Geometry.cs index da65b71..f531481 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Geometry.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Geometry.cs @@ -107,17 +107,17 @@ public unsafe partial struct ID2D1Geometry /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HResult StrokeContainsPoint(System.Drawing.PointF* point, float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains) + public HResult StrokeContainsPoint(System.Drawing.PointF point, float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains); + return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HResult FillContainsPoint(System.Drawing.PointF* point, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains) + public HResult FillContainsPoint(System.Drawing.PointF point, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains); + return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains); } /// @@ -179,9 +179,9 @@ public unsafe partial struct ID2D1Geometry /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HResult ComputePointAtLength(float length, Matrix3x2* worldTransform, float flatteningTolerance, System.Drawing.PointF** point, System.Drawing.PointF** unitTangentVector) + public HResult ComputePointAtLength(float length, Matrix3x2* worldTransform, float flatteningTolerance, System.Drawing.PointF* point, System.Drawing.PointF* unitTangentVector) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector); + return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GeometryGroup.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GeometryGroup.cs index 55e7848..4580ea8 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GeometryGroup.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GeometryGroup.cs @@ -107,17 +107,17 @@ public unsafe partial struct ID2D1GeometryGroup /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HResult StrokeContainsPoint(System.Drawing.PointF* point, float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains) + public HResult StrokeContainsPoint(System.Drawing.PointF point, float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains); + return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HResult FillContainsPoint(System.Drawing.PointF* point, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains) + public HResult FillContainsPoint(System.Drawing.PointF point, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains); + return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains); } /// @@ -179,9 +179,9 @@ public unsafe partial struct ID2D1GeometryGroup /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HResult ComputePointAtLength(float length, Matrix3x2* worldTransform, float flatteningTolerance, System.Drawing.PointF** point, System.Drawing.PointF** unitTangentVector) + public HResult ComputePointAtLength(float length, Matrix3x2* worldTransform, float flatteningTolerance, System.Drawing.PointF* point, System.Drawing.PointF* unitTangentVector) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector); + return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GeometrySink.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GeometrySink.cs index ee7d69d..8238757 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GeometrySink.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GeometrySink.cs @@ -73,17 +73,17 @@ public unsafe partial struct ID2D1GeometrySink /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(2)] - public void BeginFigure(System.Drawing.PointF* startPoint, Common.FigureBegin figureBegin) + public void BeginFigure(System.Drawing.PointF startPoint, Common.FigureBegin figureBegin) { - ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), startPoint, figureBegin); + ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), startPoint, figureBegin); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] - public void AddLines(System.Drawing.PointF** points, uint pointsCount) + public void AddLines(System.Drawing.PointF* points, uint pointsCount) { - ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), points, pointsCount); + ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), points, pointsCount); } /// @@ -113,9 +113,9 @@ public unsafe partial struct ID2D1GeometrySink /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public void AddLine(System.Drawing.PointF* point) + public void AddLine(System.Drawing.PointF point) { - ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), point); + ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), point); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1HwndRenderTarget.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1HwndRenderTarget.cs index 90f661d..0fcdd03 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1HwndRenderTarget.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1HwndRenderTarget.cs @@ -179,9 +179,9 @@ public unsafe partial struct ID2D1HwndRenderTarget /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public void DrawLine(System.Drawing.PointF* point0, System.Drawing.PointF* point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) + public void DrawLine(System.Drawing.PointF point0, System.Drawing.PointF point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) { - ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); + ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); } /// @@ -283,17 +283,17 @@ public unsafe partial struct ID2D1HwndRenderTarget /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] - public void DrawTextLayout(System.Drawing.PointF* origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, DrawTextOptions options) + public void DrawTextLayout(System.Drawing.PointF origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, DrawTextOptions options) { - ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options); + ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] - public void DrawGlyphRun(System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) + public void DrawGlyphRun(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) { - ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode); + ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode); } /// @@ -307,9 +307,9 @@ public unsafe partial struct ID2D1HwndRenderTarget /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(31)] - public void GetTransform(Matrix3x2** transform) + public void GetTransform(Matrix3x2* transform) { - ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), transform); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ImageBrush.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ImageBrush.cs index 93a1bb2..3184105 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ImageBrush.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ImageBrush.cs @@ -115,9 +115,9 @@ public unsafe partial struct ID2D1ImageBrush /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public void GetTransform(Matrix3x2** transform) + public void GetTransform(Matrix3x2* transform) { - ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), transform); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1InkStyle.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1InkStyle.cs index 962be82..4baa5ff 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1InkStyle.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1InkStyle.cs @@ -99,9 +99,9 @@ public unsafe partial struct ID2D1InkStyle /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] - public void GetNibTransform(Matrix3x2** transform) + public void GetNibTransform(Matrix3x2* transform) { - ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this), transform); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1LinearGradientBrush.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1LinearGradientBrush.cs index f8765d6..28f3136 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1LinearGradientBrush.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1LinearGradientBrush.cs @@ -115,25 +115,25 @@ public unsafe partial struct ID2D1LinearGradientBrush /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public void GetTransform(Matrix3x2** transform) + public void GetTransform(Matrix3x2* transform) { - ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), transform); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public void SetStartPoint(System.Drawing.PointF* startPoint) + public void SetStartPoint(System.Drawing.PointF startPoint) { - ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), startPoint); + ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), startPoint); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public void SetEndPoint(System.Drawing.PointF* endPoint) + public void SetEndPoint(System.Drawing.PointF endPoint) { - ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), endPoint); + ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), endPoint); } /// @@ -141,8 +141,7 @@ public unsafe partial struct ID2D1LinearGradientBrush [VtblIndex(10)] public System.Drawing.PointF GetStartPoint() { - System.Drawing.PointF result; - return *((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), &result); + return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this)); } /// @@ -150,8 +149,7 @@ public unsafe partial struct ID2D1LinearGradientBrush [VtblIndex(11)] public System.Drawing.PointF GetEndPoint() { - System.Drawing.PointF result; - return *((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), &result); + return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this)); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1OffsetTransform.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1OffsetTransform.cs index 54b5fe3..5d9036f 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1OffsetTransform.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1OffsetTransform.cs @@ -91,9 +91,9 @@ public unsafe partial struct ID2D1OffsetTransform /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] - public void SetOffset(System.Drawing.Point* offset) + public void SetOffset(System.Drawing.Point offset) { - ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1OffsetTransform*)Unsafe.AsPointer(ref this), offset); + ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1OffsetTransform*)Unsafe.AsPointer(ref this), offset); } /// @@ -101,8 +101,7 @@ public unsafe partial struct ID2D1OffsetTransform [VtblIndex(5)] public System.Drawing.Point GetOffset() { - System.Drawing.Point result; - return *((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1OffsetTransform*)Unsafe.AsPointer(ref this), &result); + return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1OffsetTransform*)Unsafe.AsPointer(ref this)); } } diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1PathGeometry.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1PathGeometry.cs index b0cc7e0..26626f1 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1PathGeometry.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1PathGeometry.cs @@ -107,17 +107,17 @@ public unsafe partial struct ID2D1PathGeometry /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HResult StrokeContainsPoint(System.Drawing.PointF* point, float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains) + public HResult StrokeContainsPoint(System.Drawing.PointF point, float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains); + return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HResult FillContainsPoint(System.Drawing.PointF* point, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains) + public HResult FillContainsPoint(System.Drawing.PointF point, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains); + return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains); } /// @@ -179,9 +179,9 @@ public unsafe partial struct ID2D1PathGeometry /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HResult ComputePointAtLength(float length, Matrix3x2* worldTransform, float flatteningTolerance, System.Drawing.PointF** point, System.Drawing.PointF** unitTangentVector) + public HResult ComputePointAtLength(float length, Matrix3x2* worldTransform, float flatteningTolerance, System.Drawing.PointF* point, System.Drawing.PointF* unitTangentVector) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector); + return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1PathGeometry1.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1PathGeometry1.cs index 09fc5ae..d911e6e 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1PathGeometry1.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1PathGeometry1.cs @@ -107,17 +107,17 @@ public unsafe partial struct ID2D1PathGeometry1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HResult StrokeContainsPoint(System.Drawing.PointF* point, float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains) + public HResult StrokeContainsPoint(System.Drawing.PointF point, float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains); + return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HResult FillContainsPoint(System.Drawing.PointF* point, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains) + public HResult FillContainsPoint(System.Drawing.PointF point, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains); + return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains); } /// @@ -179,9 +179,9 @@ public unsafe partial struct ID2D1PathGeometry1 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HResult ComputePointAtLength(float length, Matrix3x2* worldTransform, float flatteningTolerance, System.Drawing.PointF** point, System.Drawing.PointF** unitTangentVector) + public HResult ComputePointAtLength(float length, Matrix3x2* worldTransform, float flatteningTolerance, System.Drawing.PointF* point, System.Drawing.PointF* unitTangentVector) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector); + return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RadialGradientBrush.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RadialGradientBrush.cs index 96d2946..57d66ba 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RadialGradientBrush.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RadialGradientBrush.cs @@ -115,25 +115,25 @@ public unsafe partial struct ID2D1RadialGradientBrush /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public void GetTransform(Matrix3x2** transform) + public void GetTransform(Matrix3x2* transform) { - ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), transform); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public void SetCenter(System.Drawing.PointF* center) + public void SetCenter(System.Drawing.PointF center) { - ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), center); + ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), center); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] - public void SetGradientOriginOffset(System.Drawing.PointF* gradientOriginOffset) + public void SetGradientOriginOffset(System.Drawing.PointF gradientOriginOffset) { - ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), gradientOriginOffset); + ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), gradientOriginOffset); } /// @@ -157,8 +157,7 @@ public unsafe partial struct ID2D1RadialGradientBrush [VtblIndex(12)] public System.Drawing.PointF GetCenter() { - System.Drawing.PointF result; - return *((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), &result); + return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this)); } /// @@ -166,8 +165,7 @@ public unsafe partial struct ID2D1RadialGradientBrush [VtblIndex(13)] public System.Drawing.PointF GetGradientOriginOffset() { - System.Drawing.PointF result; - return *((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), &result); + return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this)); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RectangleGeometry.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RectangleGeometry.cs index 234ef83..42e12c2 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RectangleGeometry.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RectangleGeometry.cs @@ -107,17 +107,17 @@ public unsafe partial struct ID2D1RectangleGeometry /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HResult StrokeContainsPoint(System.Drawing.PointF* point, float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains) + public HResult StrokeContainsPoint(System.Drawing.PointF point, float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains); + return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HResult FillContainsPoint(System.Drawing.PointF* point, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains) + public HResult FillContainsPoint(System.Drawing.PointF point, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains); + return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains); } /// @@ -179,9 +179,9 @@ public unsafe partial struct ID2D1RectangleGeometry /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HResult ComputePointAtLength(float length, Matrix3x2* worldTransform, float flatteningTolerance, System.Drawing.PointF** point, System.Drawing.PointF** unitTangentVector) + public HResult ComputePointAtLength(float length, Matrix3x2* worldTransform, float flatteningTolerance, System.Drawing.PointF* point, System.Drawing.PointF* unitTangentVector) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector); + return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RenderTarget.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RenderTarget.cs index 73698c1..81598c6 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RenderTarget.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RenderTarget.cs @@ -179,9 +179,9 @@ public unsafe partial struct ID2D1RenderTarget /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public void DrawLine(System.Drawing.PointF* point0, System.Drawing.PointF* point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) + public void DrawLine(System.Drawing.PointF point0, System.Drawing.PointF point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) { - ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); + ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); } /// @@ -283,17 +283,17 @@ public unsafe partial struct ID2D1RenderTarget /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] - public void DrawTextLayout(System.Drawing.PointF* origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, DrawTextOptions options) + public void DrawTextLayout(System.Drawing.PointF origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, DrawTextOptions options) { - ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options); + ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] - public void DrawGlyphRun(System.Drawing.PointF* baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) + public void DrawGlyphRun(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) { - ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode); + ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode); } /// @@ -307,9 +307,9 @@ public unsafe partial struct ID2D1RenderTarget /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(31)] - public void GetTransform(Matrix3x2** transform) + public void GetTransform(Matrix3x2* transform) { - ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), transform); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RoundedRectangleGeometry.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RoundedRectangleGeometry.cs index 767c22a..3387d93 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RoundedRectangleGeometry.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RoundedRectangleGeometry.cs @@ -107,17 +107,17 @@ public unsafe partial struct ID2D1RoundedRectangleGeometry /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HResult StrokeContainsPoint(System.Drawing.PointF* point, float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains) + public HResult StrokeContainsPoint(System.Drawing.PointF point, float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1RoundedRectangleGeometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains); + return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1RoundedRectangleGeometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HResult FillContainsPoint(System.Drawing.PointF* point, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains) + public HResult FillContainsPoint(System.Drawing.PointF point, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1RoundedRectangleGeometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains); + return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1RoundedRectangleGeometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains); } /// @@ -179,9 +179,9 @@ public unsafe partial struct ID2D1RoundedRectangleGeometry /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HResult ComputePointAtLength(float length, Matrix3x2* worldTransform, float flatteningTolerance, System.Drawing.PointF** point, System.Drawing.PointF** unitTangentVector) + public HResult ComputePointAtLength(float length, Matrix3x2* worldTransform, float flatteningTolerance, System.Drawing.PointF* point, System.Drawing.PointF* unitTangentVector) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1RoundedRectangleGeometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector); + return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1RoundedRectangleGeometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SimplifiedGeometrySink.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SimplifiedGeometrySink.cs index edc3e4b..c1459f0 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SimplifiedGeometrySink.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SimplifiedGeometrySink.cs @@ -99,17 +99,17 @@ public unsafe partial struct ID2D1SimplifiedGeometrySink /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] - public void BeginFigure(System.Drawing.PointF* startPoint, FigureBegin figureBegin) + public void BeginFigure(System.Drawing.PointF startPoint, FigureBegin figureBegin) { - ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1SimplifiedGeometrySink*)Unsafe.AsPointer(ref this), startPoint, figureBegin); + ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1SimplifiedGeometrySink*)Unsafe.AsPointer(ref this), startPoint, figureBegin); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public void AddLines(System.Drawing.PointF** points, uint pointsCount) + public void AddLines(System.Drawing.PointF* points, uint pointsCount) { - ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1SimplifiedGeometrySink*)Unsafe.AsPointer(ref this), points, pointsCount); + ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1SimplifiedGeometrySink*)Unsafe.AsPointer(ref this), points, pointsCount); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SolidColorBrush.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SolidColorBrush.cs index faddfff..706b1b4 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SolidColorBrush.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SolidColorBrush.cs @@ -115,9 +115,9 @@ public unsafe partial struct ID2D1SolidColorBrush /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public void GetTransform(Matrix3x2** transform) + public void GetTransform(Matrix3x2* transform) { - ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1SolidColorBrush*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1SolidColorBrush*)Unsafe.AsPointer(ref this), transform); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SourceTransform.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SourceTransform.cs index d02b244..f81259a 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SourceTransform.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SourceTransform.cs @@ -123,9 +123,9 @@ public unsafe partial struct ID2D1SourceTransform /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HResult Draw(ID2D1Bitmap1* target, RawRect* drawRect, System.Drawing.Point* targetOrigin) + public HResult Draw(ID2D1Bitmap1* target, RawRect* drawRect, System.Drawing.Point targetOrigin) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1SourceTransform*)Unsafe.AsPointer(ref this), target, drawRect, targetOrigin); + return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1SourceTransform*)Unsafe.AsPointer(ref this), target, drawRect, targetOrigin); } } diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SpriteBatch.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SpriteBatch.cs index ab52394..47ba0d9 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SpriteBatch.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SpriteBatch.cs @@ -107,9 +107,9 @@ public unsafe partial struct ID2D1SpriteBatch /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [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, Common.ColorF* colors, Matrix3x2* transforms) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1SpriteBatch*)Unsafe.AsPointer(ref this), startIndex, spriteCount, destinationRectangles, sourceRectangles, colors, transforms); + return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1SpriteBatch*)Unsafe.AsPointer(ref this), startIndex, spriteCount, destinationRectangles, sourceRectangles, colors, transforms); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgDocument.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgDocument.cs index d64829e..fba2c67 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgDocument.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgDocument.cs @@ -163,9 +163,9 @@ public unsafe partial struct ID2D1SvgDocument /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] - public HResult CreatePointCollection(System.Drawing.PointF** points, uint pointsCount, ID2D1SvgPointCollection** pointCollection) + public HResult CreatePointCollection(System.Drawing.PointF* points, uint pointsCount, ID2D1SvgPointCollection** pointCollection) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), points, pointsCount, pointCollection); + return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), points, pointsCount, pointCollection); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgPointCollection.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgPointCollection.cs index 9ebb5f2..ef2e9c7 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgPointCollection.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgPointCollection.cs @@ -115,17 +115,17 @@ public unsafe partial struct ID2D1SvgPointCollection /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HResult UpdatePoints(System.Drawing.PointF** points, uint pointsCount, uint startIndex) + public HResult UpdatePoints(System.Drawing.PointF* points, uint pointsCount, uint startIndex) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1SvgPointCollection*)Unsafe.AsPointer(ref this), points, pointsCount, startIndex); + return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1SvgPointCollection*)Unsafe.AsPointer(ref this), points, pointsCount, startIndex); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HResult GetPoints(System.Drawing.PointF** points, uint pointsCount, uint startIndex) + public HResult GetPoints(System.Drawing.PointF* points, uint pointsCount, uint startIndex) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1SvgPointCollection*)Unsafe.AsPointer(ref this), points, pointsCount, startIndex); + return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1SvgPointCollection*)Unsafe.AsPointer(ref this), points, pointsCount, startIndex); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1TransformedGeometry.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1TransformedGeometry.cs index b88fa96..db646e7 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1TransformedGeometry.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1TransformedGeometry.cs @@ -107,17 +107,17 @@ public unsafe partial struct ID2D1TransformedGeometry /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HResult StrokeContainsPoint(System.Drawing.PointF* point, float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains) + public HResult StrokeContainsPoint(System.Drawing.PointF point, float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1TransformedGeometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains); + return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1TransformedGeometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HResult FillContainsPoint(System.Drawing.PointF* point, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains) + public HResult FillContainsPoint(System.Drawing.PointF point, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1TransformedGeometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains); + return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1TransformedGeometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains); } /// @@ -179,9 +179,9 @@ public unsafe partial struct ID2D1TransformedGeometry /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] - public HResult ComputePointAtLength(float length, Matrix3x2* worldTransform, float flatteningTolerance, System.Drawing.PointF** point, System.Drawing.PointF** unitTangentVector) + public HResult ComputePointAtLength(float length, Matrix3x2* worldTransform, float flatteningTolerance, System.Drawing.PointF* point, System.Drawing.PointF* unitTangentVector) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1TransformedGeometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector); + return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1TransformedGeometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector); } /// @@ -203,9 +203,9 @@ public unsafe partial struct ID2D1TransformedGeometry /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] - public void GetTransform(Matrix3x2** transform) + public void GetTransform(Matrix3x2* transform) { - ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID2D1TransformedGeometry*)Unsafe.AsPointer(ref this), transform); + ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID2D1TransformedGeometry*)Unsafe.AsPointer(ref this), transform); } } diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory4.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory4.cs index 3af19f6..1daa777 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory4.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory4.cs @@ -379,25 +379,25 @@ public unsafe partial struct IDWriteFactory4 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(40)] - public HResult TranslateColorGlyphRun(System.Drawing.PointF* baselineOrigin, GlyphRun* glyphRun, GlyphRunDescription* glyphRunDescription, GlyphImageFormats desiredGlyphImageFormats, MeasuringMode measuringMode, Matrix* worldAndDpiTransform, uint colorPaletteIndex, IDWriteColorGlyphRunEnumerator1** colorLayers) + public HResult TranslateColorGlyphRun(System.Drawing.PointF baselineOrigin, GlyphRun* glyphRun, GlyphRunDescription* glyphRunDescription, GlyphImageFormats desiredGlyphImageFormats, MeasuringMode measuringMode, Matrix* worldAndDpiTransform, uint colorPaletteIndex, IDWriteColorGlyphRunEnumerator1** colorLayers) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((IDWriteFactory4*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, desiredGlyphImageFormats, measuringMode, worldAndDpiTransform, colorPaletteIndex, colorLayers); + return ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((IDWriteFactory4*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, desiredGlyphImageFormats, measuringMode, worldAndDpiTransform, colorPaletteIndex, colorLayers); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(41)] - public HResult ComputeGlyphOrigins(GlyphRun* glyphRun, System.Drawing.PointF* baselineOrigin, System.Drawing.PointF** glyphOrigins) + public HResult ComputeGlyphOrigins(GlyphRun* glyphRun, System.Drawing.PointF baselineOrigin, System.Drawing.PointF* glyphOrigins) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((IDWriteFactory4*)Unsafe.AsPointer(ref this), glyphRun, baselineOrigin, glyphOrigins); + return ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((IDWriteFactory4*)Unsafe.AsPointer(ref this), glyphRun, baselineOrigin, glyphOrigins); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(42)] - public HResult ComputeGlyphOrigins(GlyphRun* glyphRun, MeasuringMode measuringMode, System.Drawing.PointF* baselineOrigin, Matrix* worldAndDpiTransform, System.Drawing.PointF** glyphOrigins) + public HResult ComputeGlyphOrigins(GlyphRun* glyphRun, MeasuringMode measuringMode, System.Drawing.PointF baselineOrigin, Matrix* worldAndDpiTransform, System.Drawing.PointF* glyphOrigins) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((IDWriteFactory4*)Unsafe.AsPointer(ref this), glyphRun, measuringMode, baselineOrigin, worldAndDpiTransform, glyphOrigins); + return ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((IDWriteFactory4*)Unsafe.AsPointer(ref this), glyphRun, measuringMode, baselineOrigin, worldAndDpiTransform, glyphOrigins); } } diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory5.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory5.cs index 521e114..f99ce46 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory5.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory5.cs @@ -379,25 +379,25 @@ public unsafe partial struct IDWriteFactory5 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(40)] - public HResult TranslateColorGlyphRun(System.Drawing.PointF* baselineOrigin, GlyphRun* glyphRun, GlyphRunDescription* glyphRunDescription, GlyphImageFormats desiredGlyphImageFormats, MeasuringMode measuringMode, Matrix* worldAndDpiTransform, uint colorPaletteIndex, IDWriteColorGlyphRunEnumerator1** colorLayers) + public HResult TranslateColorGlyphRun(System.Drawing.PointF baselineOrigin, GlyphRun* glyphRun, GlyphRunDescription* glyphRunDescription, GlyphImageFormats desiredGlyphImageFormats, MeasuringMode measuringMode, Matrix* worldAndDpiTransform, uint colorPaletteIndex, IDWriteColorGlyphRunEnumerator1** colorLayers) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((IDWriteFactory5*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, desiredGlyphImageFormats, measuringMode, worldAndDpiTransform, colorPaletteIndex, colorLayers); + return ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((IDWriteFactory5*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, desiredGlyphImageFormats, measuringMode, worldAndDpiTransform, colorPaletteIndex, colorLayers); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(41)] - public HResult ComputeGlyphOrigins(GlyphRun* glyphRun, System.Drawing.PointF* baselineOrigin, System.Drawing.PointF** glyphOrigins) + public HResult ComputeGlyphOrigins(GlyphRun* glyphRun, System.Drawing.PointF baselineOrigin, System.Drawing.PointF* glyphOrigins) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((IDWriteFactory5*)Unsafe.AsPointer(ref this), glyphRun, baselineOrigin, glyphOrigins); + return ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((IDWriteFactory5*)Unsafe.AsPointer(ref this), glyphRun, baselineOrigin, glyphOrigins); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(42)] - public HResult ComputeGlyphOrigins(GlyphRun* glyphRun, MeasuringMode measuringMode, System.Drawing.PointF* baselineOrigin, Matrix* worldAndDpiTransform, System.Drawing.PointF** glyphOrigins) + public HResult ComputeGlyphOrigins(GlyphRun* glyphRun, MeasuringMode measuringMode, System.Drawing.PointF baselineOrigin, Matrix* worldAndDpiTransform, System.Drawing.PointF* glyphOrigins) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((IDWriteFactory5*)Unsafe.AsPointer(ref this), glyphRun, measuringMode, baselineOrigin, worldAndDpiTransform, glyphOrigins); + return ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((IDWriteFactory5*)Unsafe.AsPointer(ref this), glyphRun, measuringMode, baselineOrigin, worldAndDpiTransform, glyphOrigins); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory6.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory6.cs index 319e670..e6999e9 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory6.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory6.cs @@ -379,25 +379,25 @@ public unsafe partial struct IDWriteFactory6 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(40)] - public HResult TranslateColorGlyphRun(System.Drawing.PointF* baselineOrigin, GlyphRun* glyphRun, GlyphRunDescription* glyphRunDescription, GlyphImageFormats desiredGlyphImageFormats, MeasuringMode measuringMode, Matrix* worldAndDpiTransform, uint colorPaletteIndex, IDWriteColorGlyphRunEnumerator1** colorLayers) + public HResult TranslateColorGlyphRun(System.Drawing.PointF baselineOrigin, GlyphRun* glyphRun, GlyphRunDescription* glyphRunDescription, GlyphImageFormats desiredGlyphImageFormats, MeasuringMode measuringMode, Matrix* worldAndDpiTransform, uint colorPaletteIndex, IDWriteColorGlyphRunEnumerator1** colorLayers) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((IDWriteFactory6*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, desiredGlyphImageFormats, measuringMode, worldAndDpiTransform, colorPaletteIndex, colorLayers); + return ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((IDWriteFactory6*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, desiredGlyphImageFormats, measuringMode, worldAndDpiTransform, colorPaletteIndex, colorLayers); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(41)] - public HResult ComputeGlyphOrigins(GlyphRun* glyphRun, System.Drawing.PointF* baselineOrigin, System.Drawing.PointF** glyphOrigins) + public HResult ComputeGlyphOrigins(GlyphRun* glyphRun, System.Drawing.PointF baselineOrigin, System.Drawing.PointF* glyphOrigins) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((IDWriteFactory6*)Unsafe.AsPointer(ref this), glyphRun, baselineOrigin, glyphOrigins); + return ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((IDWriteFactory6*)Unsafe.AsPointer(ref this), glyphRun, baselineOrigin, glyphOrigins); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(42)] - public HResult ComputeGlyphOrigins(GlyphRun* glyphRun, MeasuringMode measuringMode, System.Drawing.PointF* baselineOrigin, Matrix* worldAndDpiTransform, System.Drawing.PointF** glyphOrigins) + public HResult ComputeGlyphOrigins(GlyphRun* glyphRun, MeasuringMode measuringMode, System.Drawing.PointF baselineOrigin, Matrix* worldAndDpiTransform, System.Drawing.PointF* glyphOrigins) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((IDWriteFactory6*)Unsafe.AsPointer(ref this), glyphRun, measuringMode, baselineOrigin, worldAndDpiTransform, glyphOrigins); + return ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((IDWriteFactory6*)Unsafe.AsPointer(ref this), glyphRun, measuringMode, baselineOrigin, worldAndDpiTransform, glyphOrigins); } /// diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory7.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory7.cs index 52dab99..405d3bf 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory7.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory7.cs @@ -379,25 +379,25 @@ public unsafe partial struct IDWriteFactory7 /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(40)] - public HResult TranslateColorGlyphRun(System.Drawing.PointF* baselineOrigin, GlyphRun* glyphRun, GlyphRunDescription* glyphRunDescription, GlyphImageFormats desiredGlyphImageFormats, MeasuringMode measuringMode, Matrix* worldAndDpiTransform, uint colorPaletteIndex, IDWriteColorGlyphRunEnumerator1** colorLayers) + public HResult TranslateColorGlyphRun(System.Drawing.PointF baselineOrigin, GlyphRun* glyphRun, GlyphRunDescription* glyphRunDescription, GlyphImageFormats desiredGlyphImageFormats, MeasuringMode measuringMode, Matrix* worldAndDpiTransform, uint colorPaletteIndex, IDWriteColorGlyphRunEnumerator1** colorLayers) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((IDWriteFactory7*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, desiredGlyphImageFormats, measuringMode, worldAndDpiTransform, colorPaletteIndex, colorLayers); + return ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((IDWriteFactory7*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, desiredGlyphImageFormats, measuringMode, worldAndDpiTransform, colorPaletteIndex, colorLayers); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(41)] - public HResult ComputeGlyphOrigins(GlyphRun* glyphRun, System.Drawing.PointF* baselineOrigin, System.Drawing.PointF** glyphOrigins) + public HResult ComputeGlyphOrigins(GlyphRun* glyphRun, System.Drawing.PointF baselineOrigin, System.Drawing.PointF* glyphOrigins) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((IDWriteFactory7*)Unsafe.AsPointer(ref this), glyphRun, baselineOrigin, glyphOrigins); + return ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((IDWriteFactory7*)Unsafe.AsPointer(ref this), glyphRun, baselineOrigin, glyphOrigins); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(42)] - public HResult ComputeGlyphOrigins(GlyphRun* glyphRun, MeasuringMode measuringMode, System.Drawing.PointF* baselineOrigin, Matrix* worldAndDpiTransform, System.Drawing.PointF** glyphOrigins) + public HResult ComputeGlyphOrigins(GlyphRun* glyphRun, MeasuringMode measuringMode, System.Drawing.PointF baselineOrigin, Matrix* worldAndDpiTransform, System.Drawing.PointF* glyphOrigins) { - return ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((IDWriteFactory7*)Unsafe.AsPointer(ref this), glyphRun, measuringMode, baselineOrigin, worldAndDpiTransform, glyphOrigins); + return ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((IDWriteFactory7*)Unsafe.AsPointer(ref this), glyphRun, measuringMode, baselineOrigin, worldAndDpiTransform, glyphOrigins); } /// diff --git a/src/Vortice.Win32/Vortice.Win32.csproj b/src/Vortice.Win32/Vortice.Win32.csproj index b6626da..6c0df4d 100644 --- a/src/Vortice.Win32/Vortice.Win32.csproj +++ b/src/Vortice.Win32/Vortice.Win32.csproj @@ -3,7 +3,7 @@ netstandard2.0;net6.0; Windows API low level bindings. - 1.5.1 + 1.5.2 true diff --git a/src/samples/01-ClearScreen/Program.cs b/src/samples/01-ClearScreen/Program.cs index 4395d96..40cf412 100644 --- a/src/samples/01-ClearScreen/Program.cs +++ b/src/samples/01-ClearScreen/Program.cs @@ -24,6 +24,8 @@ using FactoryType = Win32.Graphics.Direct2D.FactoryType; using DWriteFactoryType = Win32.Graphics.DirectWrite.FactoryType; using FeatureLevel = Win32.Graphics.Direct3D.FeatureLevel; using Win32.Graphics.Imaging.D2D; +using System.Runtime.CompilerServices; +using System.Drawing; namespace ClearScreen;