More primitive types improvements.

This commit is contained in:
Amer Koleci
2022-09-20 11:27:23 +02:00
parent e757fc08ae
commit 3ae0fc01c9
51 changed files with 321 additions and 309 deletions

View File

@@ -2606,8 +2606,23 @@ public static class Program
case "HResult": case "HResult":
return true; return true;
case "System.Drawing.Point":
case "System.Drawing.PointF":
case "System.Drawing.Size": case "System.Drawing.Size":
case "System.Drawing.SizeF": 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; return true;
} }

View File

@@ -5493,10 +5493,10 @@ public static unsafe partial class Apis
public static extern HResult D2D1CreateFactory(FactoryType factoryType, Guid* riid, FactoryOptions* pFactoryOptions, void** ppIFactory); public static extern HResult D2D1CreateFactory(FactoryType factoryType, Guid* riid, FactoryOptions* pFactoryOptions, void** ppIFactory);
[DllImport("d2d1", ExactSpelling = true)] [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)] [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)] [DllImport("d2d1", ExactSpelling = true)]
public static extern Bool32 D2D1IsMatrixInvertible(Matrix3x2* matrix); public static extern Bool32 D2D1IsMatrixInvertible(Matrix3x2* matrix);

View File

@@ -115,9 +115,9 @@ public unsafe partial struct ID2D1BitmapBrush
/// <inheritdoc cref="ID2D1Brush.GetTransform" /> /// <inheritdoc cref="ID2D1Brush.GetTransform" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(7)] [VtblIndex(7)]
public void GetTransform(Matrix3x2** transform) public void GetTransform(Matrix3x2* transform)
{ {
((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush*, Matrix3x2**, void>)(lpVtbl[7]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), transform); ((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush*, Matrix3x2*, void>)(lpVtbl[7]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), transform);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1BitmapBrush::SetExtendModeX"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1BitmapBrush::SetExtendModeX"]/*' />

View File

@@ -115,9 +115,9 @@ public unsafe partial struct ID2D1BitmapBrush1
/// <inheritdoc cref="ID2D1Brush.GetTransform" /> /// <inheritdoc cref="ID2D1Brush.GetTransform" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(7)] [VtblIndex(7)]
public void GetTransform(Matrix3x2** transform) public void GetTransform(Matrix3x2* transform)
{ {
((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush1*, Matrix3x2**, void>)(lpVtbl[7]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), transform); ((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush1*, Matrix3x2*, void>)(lpVtbl[7]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), transform);
} }
/// <inheritdoc cref="ID2D1BitmapBrush.SetExtendModeX" /> /// <inheritdoc cref="ID2D1BitmapBrush.SetExtendModeX" />

View File

@@ -179,9 +179,9 @@ public unsafe partial struct ID2D1BitmapRenderTarget
/// <inheritdoc cref="ID2D1RenderTarget.DrawLine" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawLine" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(15)] [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]<ID2D1BitmapRenderTarget*, System.Drawing.PointF*, System.Drawing.PointF*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[15]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); ((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, System.Drawing.PointF, System.Drawing.PointF, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[15]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
} }
/// <inheritdoc cref="ID2D1RenderTarget.DrawRectangle" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawRectangle" />
@@ -283,17 +283,17 @@ public unsafe partial struct ID2D1BitmapRenderTarget
/// <inheritdoc cref="ID2D1RenderTarget.DrawTextLayout" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawTextLayout" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(28)] [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]<ID2D1BitmapRenderTarget*, System.Drawing.PointF*, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, DrawTextOptions, void>)(lpVtbl[28]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options); ((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, System.Drawing.PointF, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, DrawTextOptions, void>)(lpVtbl[28]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options);
} }
/// <inheritdoc cref="ID2D1RenderTarget.DrawGlyphRun" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawGlyphRun" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(29)] [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]<ID2D1BitmapRenderTarget*, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[29]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode); ((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[29]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode);
} }
/// <inheritdoc cref="ID2D1RenderTarget.SetTransform" /> /// <inheritdoc cref="ID2D1RenderTarget.SetTransform" />
@@ -307,9 +307,9 @@ public unsafe partial struct ID2D1BitmapRenderTarget
/// <inheritdoc cref="ID2D1RenderTarget.GetTransform" /> /// <inheritdoc cref="ID2D1RenderTarget.GetTransform" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(31)] [VtblIndex(31)]
public void GetTransform(Matrix3x2** transform) public void GetTransform(Matrix3x2* transform)
{ {
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, Matrix3x2**, void>)(lpVtbl[31]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), transform); ((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, Matrix3x2*, void>)(lpVtbl[31]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), transform);
} }
/// <inheritdoc cref="ID2D1RenderTarget.SetAntialiasMode" /> /// <inheritdoc cref="ID2D1RenderTarget.SetAntialiasMode" />

View File

@@ -115,9 +115,9 @@ public unsafe partial struct ID2D1Brush
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1Brush::GetTransform"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1Brush::GetTransform"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(7)] [VtblIndex(7)]
public void GetTransform(Matrix3x2** transform) public void GetTransform(Matrix3x2* transform)
{ {
((delegate* unmanaged[Stdcall]<ID2D1Brush*, Matrix3x2**, void>)(lpVtbl[7]))((ID2D1Brush*)Unsafe.AsPointer(ref this), transform); ((delegate* unmanaged[Stdcall]<ID2D1Brush*, Matrix3x2*, void>)(lpVtbl[7]))((ID2D1Brush*)Unsafe.AsPointer(ref this), transform);
} }
} }

View File

@@ -163,17 +163,17 @@ public unsafe partial struct ID2D1CommandSink
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::DrawGlyphRun"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::DrawGlyphRun"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(13)] [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]<ID2D1CommandSink*, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, int>)(lpVtbl[13]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink*, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, int>)(lpVtbl[13]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::DrawLine"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::DrawLine"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(14)] [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]<ID2D1CommandSink*, System.Drawing.PointF*, System.Drawing.PointF*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[14]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink*, System.Drawing.PointF, System.Drawing.PointF, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[14]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::DrawGeometry"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::DrawGeometry"]/*' />

View File

@@ -163,17 +163,17 @@ public unsafe partial struct ID2D1CommandSink1
/// <inheritdoc cref="ID2D1CommandSink.DrawGlyphRun" /> /// <inheritdoc cref="ID2D1CommandSink.DrawGlyphRun" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(13)] [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]<ID2D1CommandSink1*, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, int>)(lpVtbl[13]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, int>)(lpVtbl[13]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode);
} }
/// <inheritdoc cref="ID2D1CommandSink.DrawLine" /> /// <inheritdoc cref="ID2D1CommandSink.DrawLine" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(14)] [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]<ID2D1CommandSink1*, System.Drawing.PointF*, System.Drawing.PointF*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[14]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, System.Drawing.PointF, System.Drawing.PointF, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[14]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
} }
/// <inheritdoc cref="ID2D1CommandSink.DrawGeometry" /> /// <inheritdoc cref="ID2D1CommandSink.DrawGeometry" />

View File

@@ -163,17 +163,17 @@ public unsafe partial struct ID2D1CommandSink2
/// <inheritdoc cref="ID2D1CommandSink.DrawGlyphRun" /> /// <inheritdoc cref="ID2D1CommandSink.DrawGlyphRun" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(13)] [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]<ID2D1CommandSink2*, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, int>)(lpVtbl[13]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, int>)(lpVtbl[13]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode);
} }
/// <inheritdoc cref="ID2D1CommandSink.DrawLine" /> /// <inheritdoc cref="ID2D1CommandSink.DrawLine" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(14)] [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]<ID2D1CommandSink2*, System.Drawing.PointF*, System.Drawing.PointF*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[14]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, System.Drawing.PointF, System.Drawing.PointF, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[14]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
} }
/// <inheritdoc cref="ID2D1CommandSink.DrawGeometry" /> /// <inheritdoc cref="ID2D1CommandSink.DrawGeometry" />

View File

@@ -163,17 +163,17 @@ public unsafe partial struct ID2D1CommandSink3
/// <inheritdoc cref="ID2D1CommandSink.DrawGlyphRun" /> /// <inheritdoc cref="ID2D1CommandSink.DrawGlyphRun" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(13)] [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]<ID2D1CommandSink3*, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, int>)(lpVtbl[13]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, int>)(lpVtbl[13]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode);
} }
/// <inheritdoc cref="ID2D1CommandSink.DrawLine" /> /// <inheritdoc cref="ID2D1CommandSink.DrawLine" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(14)] [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]<ID2D1CommandSink3*, System.Drawing.PointF*, System.Drawing.PointF*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[14]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, System.Drawing.PointF, System.Drawing.PointF, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[14]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
} }
/// <inheritdoc cref="ID2D1CommandSink.DrawGeometry" /> /// <inheritdoc cref="ID2D1CommandSink.DrawGeometry" />

View File

@@ -163,17 +163,17 @@ public unsafe partial struct ID2D1CommandSink4
/// <inheritdoc cref="ID2D1CommandSink.DrawGlyphRun" /> /// <inheritdoc cref="ID2D1CommandSink.DrawGlyphRun" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(13)] [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]<ID2D1CommandSink4*, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, int>)(lpVtbl[13]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, int>)(lpVtbl[13]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode);
} }
/// <inheritdoc cref="ID2D1CommandSink.DrawLine" /> /// <inheritdoc cref="ID2D1CommandSink.DrawLine" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(14)] [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]<ID2D1CommandSink4*, System.Drawing.PointF*, System.Drawing.PointF*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[14]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, System.Drawing.PointF, System.Drawing.PointF, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[14]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
} }
/// <inheritdoc cref="ID2D1CommandSink.DrawGeometry" /> /// <inheritdoc cref="ID2D1CommandSink.DrawGeometry" />

View File

@@ -163,17 +163,17 @@ public unsafe partial struct ID2D1CommandSink5
/// <inheritdoc cref="ID2D1CommandSink.DrawGlyphRun" /> /// <inheritdoc cref="ID2D1CommandSink.DrawGlyphRun" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(13)] [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]<ID2D1CommandSink5*, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, int>)(lpVtbl[13]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, int>)(lpVtbl[13]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode);
} }
/// <inheritdoc cref="ID2D1CommandSink.DrawLine" /> /// <inheritdoc cref="ID2D1CommandSink.DrawLine" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(14)] [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]<ID2D1CommandSink5*, System.Drawing.PointF*, System.Drawing.PointF*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[14]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, System.Drawing.PointF, System.Drawing.PointF, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[14]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
} }
/// <inheritdoc cref="ID2D1CommandSink.DrawGeometry" /> /// <inheritdoc cref="ID2D1CommandSink.DrawGeometry" />

View File

@@ -179,9 +179,9 @@ public unsafe partial struct ID2D1DCRenderTarget
/// <inheritdoc cref="ID2D1RenderTarget.DrawLine" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawLine" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(15)] [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]<ID2D1DCRenderTarget*, System.Drawing.PointF*, System.Drawing.PointF*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[15]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); ((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, System.Drawing.PointF, System.Drawing.PointF, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[15]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
} }
/// <inheritdoc cref="ID2D1RenderTarget.DrawRectangle" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawRectangle" />
@@ -283,17 +283,17 @@ public unsafe partial struct ID2D1DCRenderTarget
/// <inheritdoc cref="ID2D1RenderTarget.DrawTextLayout" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawTextLayout" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(28)] [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]<ID2D1DCRenderTarget*, System.Drawing.PointF*, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, DrawTextOptions, void>)(lpVtbl[28]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options); ((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, System.Drawing.PointF, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, DrawTextOptions, void>)(lpVtbl[28]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options);
} }
/// <inheritdoc cref="ID2D1RenderTarget.DrawGlyphRun" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawGlyphRun" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(29)] [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]<ID2D1DCRenderTarget*, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[29]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode); ((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[29]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode);
} }
/// <inheritdoc cref="ID2D1RenderTarget.SetTransform" /> /// <inheritdoc cref="ID2D1RenderTarget.SetTransform" />
@@ -307,9 +307,9 @@ public unsafe partial struct ID2D1DCRenderTarget
/// <inheritdoc cref="ID2D1RenderTarget.GetTransform" /> /// <inheritdoc cref="ID2D1RenderTarget.GetTransform" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(31)] [VtblIndex(31)]
public void GetTransform(Matrix3x2** transform) public void GetTransform(Matrix3x2* transform)
{ {
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, Matrix3x2**, void>)(lpVtbl[31]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), transform); ((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, Matrix3x2*, void>)(lpVtbl[31]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), transform);
} }
/// <inheritdoc cref="ID2D1RenderTarget.SetAntialiasMode" /> /// <inheritdoc cref="ID2D1RenderTarget.SetAntialiasMode" />

View File

@@ -179,9 +179,9 @@ public unsafe partial struct ID2D1DeviceContext
/// <inheritdoc cref="ID2D1RenderTarget.DrawLine" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawLine" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(15)] [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]<ID2D1DeviceContext*, System.Drawing.PointF*, System.Drawing.PointF*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[15]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext*, System.Drawing.PointF, System.Drawing.PointF, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[15]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
} }
/// <inheritdoc cref="ID2D1RenderTarget.DrawRectangle" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawRectangle" />
@@ -283,17 +283,17 @@ public unsafe partial struct ID2D1DeviceContext
/// <inheritdoc cref="ID2D1RenderTarget.DrawTextLayout" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawTextLayout" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(28)] [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]<ID2D1DeviceContext*, System.Drawing.PointF*, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, DrawTextOptions, void>)(lpVtbl[28]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext*, System.Drawing.PointF, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, DrawTextOptions, void>)(lpVtbl[28]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options);
} }
/// <inheritdoc cref="ID2D1RenderTarget.DrawGlyphRun" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawGlyphRun" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(29)] [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]<ID2D1DeviceContext*, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[29]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext*, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[29]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode);
} }
/// <inheritdoc cref="ID2D1RenderTarget.SetTransform" /> /// <inheritdoc cref="ID2D1RenderTarget.SetTransform" />
@@ -307,9 +307,9 @@ public unsafe partial struct ID2D1DeviceContext
/// <inheritdoc cref="ID2D1RenderTarget.GetTransform" /> /// <inheritdoc cref="ID2D1RenderTarget.GetTransform" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(31)] [VtblIndex(31)]
public void GetTransform(Matrix3x2** transform) public void GetTransform(Matrix3x2* transform)
{ {
((delegate* unmanaged[Stdcall]<ID2D1DeviceContext*, Matrix3x2**, void>)(lpVtbl[31]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), transform); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext*, Matrix3x2*, void>)(lpVtbl[31]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), transform);
} }
/// <inheritdoc cref="ID2D1RenderTarget.SetAntialiasMode" /> /// <inheritdoc cref="ID2D1RenderTarget.SetAntialiasMode" />
@@ -636,9 +636,9 @@ public unsafe partial struct ID2D1DeviceContext
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1DeviceContext::GetGlyphRunWorldBounds"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1DeviceContext::GetGlyphRunWorldBounds"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(72)] [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]<ID2D1DeviceContext*, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.MeasuringMode, Common.RectF*, int>)(lpVtbl[72]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds); return ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext*, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.MeasuringMode, Common.RectF*, int>)(lpVtbl[72]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1DeviceContext::GetDevice"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1DeviceContext::GetDevice"]/*' />
@@ -716,9 +716,9 @@ public unsafe partial struct ID2D1DeviceContext
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1DeviceContext::DrawGlyphRun"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1DeviceContext::DrawGlyphRun"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(82)] [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]<ID2D1DeviceContext*, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[82]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext*, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[82]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1DeviceContext::DrawImage"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1DeviceContext::DrawImage"]/*' />

View File

@@ -179,9 +179,9 @@ public unsafe partial struct ID2D1DeviceContext1
/// <inheritdoc cref="ID2D1RenderTarget.DrawLine" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawLine" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(15)] [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]<ID2D1DeviceContext1*, System.Drawing.PointF*, System.Drawing.PointF*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[15]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext1*, System.Drawing.PointF, System.Drawing.PointF, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[15]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
} }
/// <inheritdoc cref="ID2D1RenderTarget.DrawRectangle" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawRectangle" />
@@ -283,17 +283,17 @@ public unsafe partial struct ID2D1DeviceContext1
/// <inheritdoc cref="ID2D1RenderTarget.DrawTextLayout" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawTextLayout" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(28)] [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]<ID2D1DeviceContext1*, System.Drawing.PointF*, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, DrawTextOptions, void>)(lpVtbl[28]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext1*, System.Drawing.PointF, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, DrawTextOptions, void>)(lpVtbl[28]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options);
} }
/// <inheritdoc cref="ID2D1RenderTarget.DrawGlyphRun" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawGlyphRun" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(29)] [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]<ID2D1DeviceContext1*, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[29]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext1*, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[29]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode);
} }
/// <inheritdoc cref="ID2D1RenderTarget.SetTransform" /> /// <inheritdoc cref="ID2D1RenderTarget.SetTransform" />
@@ -307,9 +307,9 @@ public unsafe partial struct ID2D1DeviceContext1
/// <inheritdoc cref="ID2D1RenderTarget.GetTransform" /> /// <inheritdoc cref="ID2D1RenderTarget.GetTransform" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(31)] [VtblIndex(31)]
public void GetTransform(Matrix3x2** transform) public void GetTransform(Matrix3x2* transform)
{ {
((delegate* unmanaged[Stdcall]<ID2D1DeviceContext1*, Matrix3x2**, void>)(lpVtbl[31]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), transform); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext1*, Matrix3x2*, void>)(lpVtbl[31]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), transform);
} }
/// <inheritdoc cref="ID2D1RenderTarget.SetAntialiasMode" /> /// <inheritdoc cref="ID2D1RenderTarget.SetAntialiasMode" />
@@ -636,9 +636,9 @@ public unsafe partial struct ID2D1DeviceContext1
/// <inheritdoc cref="ID2D1DeviceContext.GetGlyphRunWorldBounds" /> /// <inheritdoc cref="ID2D1DeviceContext.GetGlyphRunWorldBounds" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(72)] [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]<ID2D1DeviceContext1*, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.MeasuringMode, Common.RectF*, int>)(lpVtbl[72]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds); return ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext1*, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.MeasuringMode, Common.RectF*, int>)(lpVtbl[72]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds);
} }
/// <inheritdoc cref="ID2D1DeviceContext.GetDevice" /> /// <inheritdoc cref="ID2D1DeviceContext.GetDevice" />
@@ -716,9 +716,9 @@ public unsafe partial struct ID2D1DeviceContext1
/// <inheritdoc cref="ID2D1DeviceContext.DrawGlyphRun" /> /// <inheritdoc cref="ID2D1DeviceContext.DrawGlyphRun" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(82)] [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]<ID2D1DeviceContext1*, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[82]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext1*, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[82]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode);
} }
/// <inheritdoc cref="ID2D1DeviceContext.DrawImage" /> /// <inheritdoc cref="ID2D1DeviceContext.DrawImage" />

View File

@@ -179,9 +179,9 @@ public unsafe partial struct ID2D1DeviceContext2
/// <inheritdoc cref="ID2D1RenderTarget.DrawLine" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawLine" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(15)] [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]<ID2D1DeviceContext2*, System.Drawing.PointF*, System.Drawing.PointF*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[15]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext2*, System.Drawing.PointF, System.Drawing.PointF, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[15]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
} }
/// <inheritdoc cref="ID2D1RenderTarget.DrawRectangle" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawRectangle" />
@@ -283,17 +283,17 @@ public unsafe partial struct ID2D1DeviceContext2
/// <inheritdoc cref="ID2D1RenderTarget.DrawTextLayout" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawTextLayout" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(28)] [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]<ID2D1DeviceContext2*, System.Drawing.PointF*, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, DrawTextOptions, void>)(lpVtbl[28]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext2*, System.Drawing.PointF, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, DrawTextOptions, void>)(lpVtbl[28]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options);
} }
/// <inheritdoc cref="ID2D1RenderTarget.DrawGlyphRun" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawGlyphRun" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(29)] [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]<ID2D1DeviceContext2*, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[29]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext2*, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[29]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode);
} }
/// <inheritdoc cref="ID2D1RenderTarget.SetTransform" /> /// <inheritdoc cref="ID2D1RenderTarget.SetTransform" />
@@ -307,9 +307,9 @@ public unsafe partial struct ID2D1DeviceContext2
/// <inheritdoc cref="ID2D1RenderTarget.GetTransform" /> /// <inheritdoc cref="ID2D1RenderTarget.GetTransform" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(31)] [VtblIndex(31)]
public void GetTransform(Matrix3x2** transform) public void GetTransform(Matrix3x2* transform)
{ {
((delegate* unmanaged[Stdcall]<ID2D1DeviceContext2*, Matrix3x2**, void>)(lpVtbl[31]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), transform); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext2*, Matrix3x2*, void>)(lpVtbl[31]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), transform);
} }
/// <inheritdoc cref="ID2D1RenderTarget.SetAntialiasMode" /> /// <inheritdoc cref="ID2D1RenderTarget.SetAntialiasMode" />
@@ -636,9 +636,9 @@ public unsafe partial struct ID2D1DeviceContext2
/// <inheritdoc cref="ID2D1DeviceContext.GetGlyphRunWorldBounds" /> /// <inheritdoc cref="ID2D1DeviceContext.GetGlyphRunWorldBounds" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(72)] [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]<ID2D1DeviceContext2*, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.MeasuringMode, Common.RectF*, int>)(lpVtbl[72]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds); return ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext2*, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.MeasuringMode, Common.RectF*, int>)(lpVtbl[72]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds);
} }
/// <inheritdoc cref="ID2D1DeviceContext.GetDevice" /> /// <inheritdoc cref="ID2D1DeviceContext.GetDevice" />
@@ -716,9 +716,9 @@ public unsafe partial struct ID2D1DeviceContext2
/// <inheritdoc cref="ID2D1DeviceContext.DrawGlyphRun" /> /// <inheritdoc cref="ID2D1DeviceContext.DrawGlyphRun" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(82)] [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]<ID2D1DeviceContext2*, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[82]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext2*, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[82]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode);
} }
/// <inheritdoc cref="ID2D1DeviceContext.DrawImage" /> /// <inheritdoc cref="ID2D1DeviceContext.DrawImage" />

View File

@@ -179,9 +179,9 @@ public unsafe partial struct ID2D1DeviceContext3
/// <inheritdoc cref="ID2D1RenderTarget.DrawLine" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawLine" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(15)] [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]<ID2D1DeviceContext3*, System.Drawing.PointF*, System.Drawing.PointF*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[15]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext3*, System.Drawing.PointF, System.Drawing.PointF, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[15]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
} }
/// <inheritdoc cref="ID2D1RenderTarget.DrawRectangle" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawRectangle" />
@@ -283,17 +283,17 @@ public unsafe partial struct ID2D1DeviceContext3
/// <inheritdoc cref="ID2D1RenderTarget.DrawTextLayout" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawTextLayout" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(28)] [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]<ID2D1DeviceContext3*, System.Drawing.PointF*, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, DrawTextOptions, void>)(lpVtbl[28]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext3*, System.Drawing.PointF, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, DrawTextOptions, void>)(lpVtbl[28]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options);
} }
/// <inheritdoc cref="ID2D1RenderTarget.DrawGlyphRun" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawGlyphRun" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(29)] [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]<ID2D1DeviceContext3*, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[29]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext3*, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[29]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode);
} }
/// <inheritdoc cref="ID2D1RenderTarget.SetTransform" /> /// <inheritdoc cref="ID2D1RenderTarget.SetTransform" />
@@ -307,9 +307,9 @@ public unsafe partial struct ID2D1DeviceContext3
/// <inheritdoc cref="ID2D1RenderTarget.GetTransform" /> /// <inheritdoc cref="ID2D1RenderTarget.GetTransform" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(31)] [VtblIndex(31)]
public void GetTransform(Matrix3x2** transform) public void GetTransform(Matrix3x2* transform)
{ {
((delegate* unmanaged[Stdcall]<ID2D1DeviceContext3*, Matrix3x2**, void>)(lpVtbl[31]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), transform); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext3*, Matrix3x2*, void>)(lpVtbl[31]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), transform);
} }
/// <inheritdoc cref="ID2D1RenderTarget.SetAntialiasMode" /> /// <inheritdoc cref="ID2D1RenderTarget.SetAntialiasMode" />
@@ -636,9 +636,9 @@ public unsafe partial struct ID2D1DeviceContext3
/// <inheritdoc cref="ID2D1DeviceContext.GetGlyphRunWorldBounds" /> /// <inheritdoc cref="ID2D1DeviceContext.GetGlyphRunWorldBounds" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(72)] [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]<ID2D1DeviceContext3*, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.MeasuringMode, Common.RectF*, int>)(lpVtbl[72]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds); return ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext3*, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.MeasuringMode, Common.RectF*, int>)(lpVtbl[72]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds);
} }
/// <inheritdoc cref="ID2D1DeviceContext.GetDevice" /> /// <inheritdoc cref="ID2D1DeviceContext.GetDevice" />
@@ -716,9 +716,9 @@ public unsafe partial struct ID2D1DeviceContext3
/// <inheritdoc cref="ID2D1DeviceContext.DrawGlyphRun" /> /// <inheritdoc cref="ID2D1DeviceContext.DrawGlyphRun" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(82)] [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]<ID2D1DeviceContext3*, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[82]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext3*, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[82]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode);
} }
/// <inheritdoc cref="ID2D1DeviceContext.DrawImage" /> /// <inheritdoc cref="ID2D1DeviceContext.DrawImage" />

View File

@@ -179,9 +179,9 @@ public unsafe partial struct ID2D1DeviceContext4
/// <inheritdoc cref="ID2D1RenderTarget.DrawLine" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawLine" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(15)] [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]<ID2D1DeviceContext4*, System.Drawing.PointF*, System.Drawing.PointF*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[15]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext4*, System.Drawing.PointF, System.Drawing.PointF, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[15]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
} }
/// <inheritdoc cref="ID2D1RenderTarget.DrawRectangle" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawRectangle" />
@@ -283,17 +283,17 @@ public unsafe partial struct ID2D1DeviceContext4
/// <inheritdoc cref="ID2D1RenderTarget.DrawTextLayout" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawTextLayout" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(28)] [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]<ID2D1DeviceContext4*, System.Drawing.PointF*, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, DrawTextOptions, void>)(lpVtbl[28]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext4*, System.Drawing.PointF, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, DrawTextOptions, void>)(lpVtbl[28]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options);
} }
/// <inheritdoc cref="ID2D1RenderTarget.DrawGlyphRun" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawGlyphRun" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(29)] [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]<ID2D1DeviceContext4*, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[29]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext4*, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[29]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode);
} }
/// <inheritdoc cref="ID2D1RenderTarget.SetTransform" /> /// <inheritdoc cref="ID2D1RenderTarget.SetTransform" />
@@ -307,9 +307,9 @@ public unsafe partial struct ID2D1DeviceContext4
/// <inheritdoc cref="ID2D1RenderTarget.GetTransform" /> /// <inheritdoc cref="ID2D1RenderTarget.GetTransform" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(31)] [VtblIndex(31)]
public void GetTransform(Matrix3x2** transform) public void GetTransform(Matrix3x2* transform)
{ {
((delegate* unmanaged[Stdcall]<ID2D1DeviceContext4*, Matrix3x2**, void>)(lpVtbl[31]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), transform); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext4*, Matrix3x2*, void>)(lpVtbl[31]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), transform);
} }
/// <inheritdoc cref="ID2D1RenderTarget.SetAntialiasMode" /> /// <inheritdoc cref="ID2D1RenderTarget.SetAntialiasMode" />
@@ -636,9 +636,9 @@ public unsafe partial struct ID2D1DeviceContext4
/// <inheritdoc cref="ID2D1DeviceContext.GetGlyphRunWorldBounds" /> /// <inheritdoc cref="ID2D1DeviceContext.GetGlyphRunWorldBounds" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(72)] [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]<ID2D1DeviceContext4*, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.MeasuringMode, Common.RectF*, int>)(lpVtbl[72]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds); return ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext4*, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.MeasuringMode, Common.RectF*, int>)(lpVtbl[72]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds);
} }
/// <inheritdoc cref="ID2D1DeviceContext.GetDevice" /> /// <inheritdoc cref="ID2D1DeviceContext.GetDevice" />
@@ -716,9 +716,9 @@ public unsafe partial struct ID2D1DeviceContext4
/// <inheritdoc cref="ID2D1DeviceContext.DrawGlyphRun" /> /// <inheritdoc cref="ID2D1DeviceContext.DrawGlyphRun" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(82)] [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]<ID2D1DeviceContext4*, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[82]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext4*, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[82]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode);
} }
/// <inheritdoc cref="ID2D1DeviceContext.DrawImage" /> /// <inheritdoc cref="ID2D1DeviceContext.DrawImage" />
@@ -940,41 +940,41 @@ public unsafe partial struct ID2D1DeviceContext4
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1DeviceContext4::DrawTextLayout"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1DeviceContext4::DrawTextLayout"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(110)] [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]<ID2D1DeviceContext4*, System.Drawing.PointF*, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, ID2D1SvgGlyphStyle*, uint, DrawTextOptions, void>)(lpVtbl[110]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, options); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext4*, System.Drawing.PointF, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, ID2D1SvgGlyphStyle*, uint, DrawTextOptions, void>)(lpVtbl[110]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, options);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1DeviceContext4::DrawColorBitmapGlyphRun"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1DeviceContext4::DrawColorBitmapGlyphRun"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(111)] [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]<ID2D1DeviceContext4*, Graphics.DirectWrite.GlyphImageFormats, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.MeasuringMode, ColorBitmapGlyphSnapOption, void>)(lpVtbl[111]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), glyphImageFormat, baselineOrigin, glyphRun, measuringMode, bitmapSnapOption); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext4*, Graphics.DirectWrite.GlyphImageFormats, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.MeasuringMode, ColorBitmapGlyphSnapOption, void>)(lpVtbl[111]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), glyphImageFormat, baselineOrigin, glyphRun, measuringMode, bitmapSnapOption);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1DeviceContext4::DrawSvgGlyphRun"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1DeviceContext4::DrawSvgGlyphRun"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(112)] [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]<ID2D1DeviceContext4*, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, ID2D1SvgGlyphStyle*, uint, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[112]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, measuringMode); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext4*, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, ID2D1SvgGlyphStyle*, uint, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[112]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, measuringMode);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1DeviceContext4::GetColorBitmapGlyphImage"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1DeviceContext4::GetColorBitmapGlyphImage"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(113)] [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]<ID2D1DeviceContext4*, Graphics.DirectWrite.GlyphImageFormats, System.Drawing.PointF*, Graphics.DirectWrite.IDWriteFontFace*, float, ushort, Bool32, Matrix3x2*, float, float, Matrix3x2**, ID2D1Image**, int>)(lpVtbl[113]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), glyphImageFormat, glyphOrigin, fontFace, fontEmSize, glyphIndex, isSideways, worldTransform, dpiX, dpiY, glyphTransform, glyphImage); return ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext4*, Graphics.DirectWrite.GlyphImageFormats, System.Drawing.PointF, Graphics.DirectWrite.IDWriteFontFace*, float, ushort, Bool32, Matrix3x2*, float, float, Matrix3x2*, ID2D1Image**, int>)(lpVtbl[113]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), glyphImageFormat, glyphOrigin, fontFace, fontEmSize, glyphIndex, isSideways, worldTransform, dpiX, dpiY, glyphTransform, glyphImage);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1DeviceContext4::GetSvgGlyphImage"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1DeviceContext4::GetSvgGlyphImage"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(114)] [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]<ID2D1DeviceContext4*, System.Drawing.PointF*, Graphics.DirectWrite.IDWriteFontFace*, float, ushort, Bool32, Matrix3x2*, ID2D1Brush*, ID2D1SvgGlyphStyle*, uint, Matrix3x2**, ID2D1CommandList**, int>)(lpVtbl[114]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), glyphOrigin, fontFace, fontEmSize, glyphIndex, isSideways, worldTransform, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, glyphTransform, glyphImage); return ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext4*, System.Drawing.PointF, Graphics.DirectWrite.IDWriteFontFace*, float, ushort, Bool32, Matrix3x2*, ID2D1Brush*, ID2D1SvgGlyphStyle*, uint, Matrix3x2*, ID2D1CommandList**, int>)(lpVtbl[114]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), glyphOrigin, fontFace, fontEmSize, glyphIndex, isSideways, worldTransform, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, glyphTransform, glyphImage);
} }
} }

View File

@@ -179,9 +179,9 @@ public unsafe partial struct ID2D1DeviceContext5
/// <inheritdoc cref="ID2D1RenderTarget.DrawLine" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawLine" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(15)] [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]<ID2D1DeviceContext5*, System.Drawing.PointF*, System.Drawing.PointF*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[15]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext5*, System.Drawing.PointF, System.Drawing.PointF, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[15]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
} }
/// <inheritdoc cref="ID2D1RenderTarget.DrawRectangle" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawRectangle" />
@@ -283,17 +283,17 @@ public unsafe partial struct ID2D1DeviceContext5
/// <inheritdoc cref="ID2D1RenderTarget.DrawTextLayout" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawTextLayout" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(28)] [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]<ID2D1DeviceContext5*, System.Drawing.PointF*, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, DrawTextOptions, void>)(lpVtbl[28]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext5*, System.Drawing.PointF, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, DrawTextOptions, void>)(lpVtbl[28]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options);
} }
/// <inheritdoc cref="ID2D1RenderTarget.DrawGlyphRun" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawGlyphRun" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(29)] [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]<ID2D1DeviceContext5*, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[29]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext5*, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[29]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode);
} }
/// <inheritdoc cref="ID2D1RenderTarget.SetTransform" /> /// <inheritdoc cref="ID2D1RenderTarget.SetTransform" />
@@ -307,9 +307,9 @@ public unsafe partial struct ID2D1DeviceContext5
/// <inheritdoc cref="ID2D1RenderTarget.GetTransform" /> /// <inheritdoc cref="ID2D1RenderTarget.GetTransform" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(31)] [VtblIndex(31)]
public void GetTransform(Matrix3x2** transform) public void GetTransform(Matrix3x2* transform)
{ {
((delegate* unmanaged[Stdcall]<ID2D1DeviceContext5*, Matrix3x2**, void>)(lpVtbl[31]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), transform); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext5*, Matrix3x2*, void>)(lpVtbl[31]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), transform);
} }
/// <inheritdoc cref="ID2D1RenderTarget.SetAntialiasMode" /> /// <inheritdoc cref="ID2D1RenderTarget.SetAntialiasMode" />
@@ -636,9 +636,9 @@ public unsafe partial struct ID2D1DeviceContext5
/// <inheritdoc cref="ID2D1DeviceContext.GetGlyphRunWorldBounds" /> /// <inheritdoc cref="ID2D1DeviceContext.GetGlyphRunWorldBounds" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(72)] [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]<ID2D1DeviceContext5*, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.MeasuringMode, Common.RectF*, int>)(lpVtbl[72]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds); return ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext5*, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.MeasuringMode, Common.RectF*, int>)(lpVtbl[72]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds);
} }
/// <inheritdoc cref="ID2D1DeviceContext.GetDevice" /> /// <inheritdoc cref="ID2D1DeviceContext.GetDevice" />
@@ -716,9 +716,9 @@ public unsafe partial struct ID2D1DeviceContext5
/// <inheritdoc cref="ID2D1DeviceContext.DrawGlyphRun" /> /// <inheritdoc cref="ID2D1DeviceContext.DrawGlyphRun" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(82)] [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]<ID2D1DeviceContext5*, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[82]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext5*, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[82]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode);
} }
/// <inheritdoc cref="ID2D1DeviceContext.DrawImage" /> /// <inheritdoc cref="ID2D1DeviceContext.DrawImage" />
@@ -940,41 +940,41 @@ public unsafe partial struct ID2D1DeviceContext5
/// <inheritdoc cref="ID2D1DeviceContext4.DrawTextLayout" /> /// <inheritdoc cref="ID2D1DeviceContext4.DrawTextLayout" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(110)] [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]<ID2D1DeviceContext5*, System.Drawing.PointF*, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, ID2D1SvgGlyphStyle*, uint, DrawTextOptions, void>)(lpVtbl[110]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, options); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext5*, System.Drawing.PointF, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, ID2D1SvgGlyphStyle*, uint, DrawTextOptions, void>)(lpVtbl[110]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, options);
} }
/// <inheritdoc cref="ID2D1DeviceContext4.DrawColorBitmapGlyphRun" /> /// <inheritdoc cref="ID2D1DeviceContext4.DrawColorBitmapGlyphRun" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(111)] [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]<ID2D1DeviceContext5*, Graphics.DirectWrite.GlyphImageFormats, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.MeasuringMode, ColorBitmapGlyphSnapOption, void>)(lpVtbl[111]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), glyphImageFormat, baselineOrigin, glyphRun, measuringMode, bitmapSnapOption); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext5*, Graphics.DirectWrite.GlyphImageFormats, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.MeasuringMode, ColorBitmapGlyphSnapOption, void>)(lpVtbl[111]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), glyphImageFormat, baselineOrigin, glyphRun, measuringMode, bitmapSnapOption);
} }
/// <inheritdoc cref="ID2D1DeviceContext4.DrawSvgGlyphRun" /> /// <inheritdoc cref="ID2D1DeviceContext4.DrawSvgGlyphRun" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(112)] [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]<ID2D1DeviceContext5*, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, ID2D1SvgGlyphStyle*, uint, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[112]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, measuringMode); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext5*, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, ID2D1SvgGlyphStyle*, uint, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[112]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, measuringMode);
} }
/// <inheritdoc cref="ID2D1DeviceContext4.GetColorBitmapGlyphImage" /> /// <inheritdoc cref="ID2D1DeviceContext4.GetColorBitmapGlyphImage" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(113)] [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]<ID2D1DeviceContext5*, Graphics.DirectWrite.GlyphImageFormats, System.Drawing.PointF*, Graphics.DirectWrite.IDWriteFontFace*, float, ushort, Bool32, Matrix3x2*, float, float, Matrix3x2**, ID2D1Image**, int>)(lpVtbl[113]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), glyphImageFormat, glyphOrigin, fontFace, fontEmSize, glyphIndex, isSideways, worldTransform, dpiX, dpiY, glyphTransform, glyphImage); return ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext5*, Graphics.DirectWrite.GlyphImageFormats, System.Drawing.PointF, Graphics.DirectWrite.IDWriteFontFace*, float, ushort, Bool32, Matrix3x2*, float, float, Matrix3x2*, ID2D1Image**, int>)(lpVtbl[113]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), glyphImageFormat, glyphOrigin, fontFace, fontEmSize, glyphIndex, isSideways, worldTransform, dpiX, dpiY, glyphTransform, glyphImage);
} }
/// <inheritdoc cref="ID2D1DeviceContext4.GetSvgGlyphImage" /> /// <inheritdoc cref="ID2D1DeviceContext4.GetSvgGlyphImage" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(114)] [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]<ID2D1DeviceContext5*, System.Drawing.PointF*, Graphics.DirectWrite.IDWriteFontFace*, float, ushort, Bool32, Matrix3x2*, ID2D1Brush*, ID2D1SvgGlyphStyle*, uint, Matrix3x2**, ID2D1CommandList**, int>)(lpVtbl[114]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), glyphOrigin, fontFace, fontEmSize, glyphIndex, isSideways, worldTransform, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, glyphTransform, glyphImage); return ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext5*, System.Drawing.PointF, Graphics.DirectWrite.IDWriteFontFace*, float, ushort, Bool32, Matrix3x2*, ID2D1Brush*, ID2D1SvgGlyphStyle*, uint, Matrix3x2*, ID2D1CommandList**, int>)(lpVtbl[114]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), glyphOrigin, fontFace, fontEmSize, glyphIndex, isSideways, worldTransform, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, glyphTransform, glyphImage);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1DeviceContext5::CreateSvgDocument"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1DeviceContext5::CreateSvgDocument"]/*' />

View File

@@ -179,9 +179,9 @@ public unsafe partial struct ID2D1DeviceContext6
/// <inheritdoc cref="ID2D1RenderTarget.DrawLine" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawLine" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(15)] [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]<ID2D1DeviceContext6*, System.Drawing.PointF*, System.Drawing.PointF*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[15]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext6*, System.Drawing.PointF, System.Drawing.PointF, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[15]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
} }
/// <inheritdoc cref="ID2D1RenderTarget.DrawRectangle" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawRectangle" />
@@ -283,17 +283,17 @@ public unsafe partial struct ID2D1DeviceContext6
/// <inheritdoc cref="ID2D1RenderTarget.DrawTextLayout" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawTextLayout" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(28)] [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]<ID2D1DeviceContext6*, System.Drawing.PointF*, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, DrawTextOptions, void>)(lpVtbl[28]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext6*, System.Drawing.PointF, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, DrawTextOptions, void>)(lpVtbl[28]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options);
} }
/// <inheritdoc cref="ID2D1RenderTarget.DrawGlyphRun" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawGlyphRun" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(29)] [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]<ID2D1DeviceContext6*, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[29]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext6*, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[29]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode);
} }
/// <inheritdoc cref="ID2D1RenderTarget.SetTransform" /> /// <inheritdoc cref="ID2D1RenderTarget.SetTransform" />
@@ -307,9 +307,9 @@ public unsafe partial struct ID2D1DeviceContext6
/// <inheritdoc cref="ID2D1RenderTarget.GetTransform" /> /// <inheritdoc cref="ID2D1RenderTarget.GetTransform" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(31)] [VtblIndex(31)]
public void GetTransform(Matrix3x2** transform) public void GetTransform(Matrix3x2* transform)
{ {
((delegate* unmanaged[Stdcall]<ID2D1DeviceContext6*, Matrix3x2**, void>)(lpVtbl[31]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), transform); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext6*, Matrix3x2*, void>)(lpVtbl[31]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), transform);
} }
/// <inheritdoc cref="ID2D1RenderTarget.SetAntialiasMode" /> /// <inheritdoc cref="ID2D1RenderTarget.SetAntialiasMode" />
@@ -636,9 +636,9 @@ public unsafe partial struct ID2D1DeviceContext6
/// <inheritdoc cref="ID2D1DeviceContext.GetGlyphRunWorldBounds" /> /// <inheritdoc cref="ID2D1DeviceContext.GetGlyphRunWorldBounds" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(72)] [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]<ID2D1DeviceContext6*, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.MeasuringMode, Common.RectF*, int>)(lpVtbl[72]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds); return ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext6*, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.MeasuringMode, Common.RectF*, int>)(lpVtbl[72]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds);
} }
/// <inheritdoc cref="ID2D1DeviceContext.GetDevice" /> /// <inheritdoc cref="ID2D1DeviceContext.GetDevice" />
@@ -716,9 +716,9 @@ public unsafe partial struct ID2D1DeviceContext6
/// <inheritdoc cref="ID2D1DeviceContext.DrawGlyphRun" /> /// <inheritdoc cref="ID2D1DeviceContext.DrawGlyphRun" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(82)] [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]<ID2D1DeviceContext6*, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[82]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext6*, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[82]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode);
} }
/// <inheritdoc cref="ID2D1DeviceContext.DrawImage" /> /// <inheritdoc cref="ID2D1DeviceContext.DrawImage" />
@@ -940,41 +940,41 @@ public unsafe partial struct ID2D1DeviceContext6
/// <inheritdoc cref="ID2D1DeviceContext4.DrawTextLayout" /> /// <inheritdoc cref="ID2D1DeviceContext4.DrawTextLayout" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(110)] [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]<ID2D1DeviceContext6*, System.Drawing.PointF*, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, ID2D1SvgGlyphStyle*, uint, DrawTextOptions, void>)(lpVtbl[110]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, options); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext6*, System.Drawing.PointF, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, ID2D1SvgGlyphStyle*, uint, DrawTextOptions, void>)(lpVtbl[110]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, options);
} }
/// <inheritdoc cref="ID2D1DeviceContext4.DrawColorBitmapGlyphRun" /> /// <inheritdoc cref="ID2D1DeviceContext4.DrawColorBitmapGlyphRun" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(111)] [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]<ID2D1DeviceContext6*, Graphics.DirectWrite.GlyphImageFormats, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.MeasuringMode, ColorBitmapGlyphSnapOption, void>)(lpVtbl[111]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), glyphImageFormat, baselineOrigin, glyphRun, measuringMode, bitmapSnapOption); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext6*, Graphics.DirectWrite.GlyphImageFormats, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.MeasuringMode, ColorBitmapGlyphSnapOption, void>)(lpVtbl[111]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), glyphImageFormat, baselineOrigin, glyphRun, measuringMode, bitmapSnapOption);
} }
/// <inheritdoc cref="ID2D1DeviceContext4.DrawSvgGlyphRun" /> /// <inheritdoc cref="ID2D1DeviceContext4.DrawSvgGlyphRun" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(112)] [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]<ID2D1DeviceContext6*, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, ID2D1SvgGlyphStyle*, uint, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[112]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, measuringMode); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext6*, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, ID2D1SvgGlyphStyle*, uint, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[112]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, measuringMode);
} }
/// <inheritdoc cref="ID2D1DeviceContext4.GetColorBitmapGlyphImage" /> /// <inheritdoc cref="ID2D1DeviceContext4.GetColorBitmapGlyphImage" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(113)] [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]<ID2D1DeviceContext6*, Graphics.DirectWrite.GlyphImageFormats, System.Drawing.PointF*, Graphics.DirectWrite.IDWriteFontFace*, float, ushort, Bool32, Matrix3x2*, float, float, Matrix3x2**, ID2D1Image**, int>)(lpVtbl[113]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), glyphImageFormat, glyphOrigin, fontFace, fontEmSize, glyphIndex, isSideways, worldTransform, dpiX, dpiY, glyphTransform, glyphImage); return ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext6*, Graphics.DirectWrite.GlyphImageFormats, System.Drawing.PointF, Graphics.DirectWrite.IDWriteFontFace*, float, ushort, Bool32, Matrix3x2*, float, float, Matrix3x2*, ID2D1Image**, int>)(lpVtbl[113]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), glyphImageFormat, glyphOrigin, fontFace, fontEmSize, glyphIndex, isSideways, worldTransform, dpiX, dpiY, glyphTransform, glyphImage);
} }
/// <inheritdoc cref="ID2D1DeviceContext4.GetSvgGlyphImage" /> /// <inheritdoc cref="ID2D1DeviceContext4.GetSvgGlyphImage" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(114)] [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]<ID2D1DeviceContext6*, System.Drawing.PointF*, Graphics.DirectWrite.IDWriteFontFace*, float, ushort, Bool32, Matrix3x2*, ID2D1Brush*, ID2D1SvgGlyphStyle*, uint, Matrix3x2**, ID2D1CommandList**, int>)(lpVtbl[114]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), glyphOrigin, fontFace, fontEmSize, glyphIndex, isSideways, worldTransform, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, glyphTransform, glyphImage); return ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext6*, System.Drawing.PointF, Graphics.DirectWrite.IDWriteFontFace*, float, ushort, Bool32, Matrix3x2*, ID2D1Brush*, ID2D1SvgGlyphStyle*, uint, Matrix3x2*, ID2D1CommandList**, int>)(lpVtbl[114]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), glyphOrigin, fontFace, fontEmSize, glyphIndex, isSideways, worldTransform, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, glyphTransform, glyphImage);
} }
/// <inheritdoc cref="ID2D1DeviceContext5.CreateSvgDocument" /> /// <inheritdoc cref="ID2D1DeviceContext5.CreateSvgDocument" />

View File

@@ -131,9 +131,9 @@ public unsafe partial struct ID2D1EffectContext
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::CreateOffsetTransform"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::CreateOffsetTransform"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(9)] [VtblIndex(9)]
public HResult CreateOffsetTransform(System.Drawing.Point* offset, ID2D1OffsetTransform** transform) public HResult CreateOffsetTransform(System.Drawing.Point offset, ID2D1OffsetTransform** transform)
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext*, System.Drawing.Point*, ID2D1OffsetTransform**, int>)(lpVtbl[9]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), offset, transform); return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext*, System.Drawing.Point, ID2D1OffsetTransform**, int>)(lpVtbl[9]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), offset, transform);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::CreateBoundsAdjustmentTransform"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::CreateBoundsAdjustmentTransform"]/*' />

View File

@@ -131,9 +131,9 @@ public unsafe partial struct ID2D1EffectContext1
/// <inheritdoc cref="ID2D1EffectContext.CreateOffsetTransform" /> /// <inheritdoc cref="ID2D1EffectContext.CreateOffsetTransform" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(9)] [VtblIndex(9)]
public HResult CreateOffsetTransform(System.Drawing.Point* offset, ID2D1OffsetTransform** transform) public HResult CreateOffsetTransform(System.Drawing.Point offset, ID2D1OffsetTransform** transform)
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext1*, System.Drawing.Point*, ID2D1OffsetTransform**, int>)(lpVtbl[9]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), offset, transform); return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext1*, System.Drawing.Point, ID2D1OffsetTransform**, int>)(lpVtbl[9]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), offset, transform);
} }
/// <inheritdoc cref="ID2D1EffectContext.CreateBoundsAdjustmentTransform" /> /// <inheritdoc cref="ID2D1EffectContext.CreateBoundsAdjustmentTransform" />

View File

@@ -131,9 +131,9 @@ public unsafe partial struct ID2D1EffectContext2
/// <inheritdoc cref="ID2D1EffectContext.CreateOffsetTransform" /> /// <inheritdoc cref="ID2D1EffectContext.CreateOffsetTransform" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(9)] [VtblIndex(9)]
public HResult CreateOffsetTransform(System.Drawing.Point* offset, ID2D1OffsetTransform** transform) public HResult CreateOffsetTransform(System.Drawing.Point offset, ID2D1OffsetTransform** transform)
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext2*, System.Drawing.Point*, ID2D1OffsetTransform**, int>)(lpVtbl[9]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), offset, transform); return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext2*, System.Drawing.Point, ID2D1OffsetTransform**, int>)(lpVtbl[9]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), offset, transform);
} }
/// <inheritdoc cref="ID2D1EffectContext.CreateBoundsAdjustmentTransform" /> /// <inheritdoc cref="ID2D1EffectContext.CreateBoundsAdjustmentTransform" />

View File

@@ -107,17 +107,17 @@ public unsafe partial struct ID2D1EllipseGeometry
/// <inheritdoc cref="ID2D1Geometry.StrokeContainsPoint" /> /// <inheritdoc cref="ID2D1Geometry.StrokeContainsPoint" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(6)] [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]<ID2D1EllipseGeometry*, System.Drawing.PointF*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[6]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains); return ((delegate* unmanaged[Stdcall]<ID2D1EllipseGeometry*, System.Drawing.PointF, float, ID2D1StrokeStyle*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[6]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains);
} }
/// <inheritdoc cref="ID2D1Geometry.FillContainsPoint" /> /// <inheritdoc cref="ID2D1Geometry.FillContainsPoint" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(7)] [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]<ID2D1EllipseGeometry*, System.Drawing.PointF*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[7]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains); return ((delegate* unmanaged[Stdcall]<ID2D1EllipseGeometry*, System.Drawing.PointF, Matrix3x2*, float, Bool32*, int>)(lpVtbl[7]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains);
} }
/// <inheritdoc cref="ID2D1Geometry.CompareWithGeometry" /> /// <inheritdoc cref="ID2D1Geometry.CompareWithGeometry" />
@@ -179,9 +179,9 @@ public unsafe partial struct ID2D1EllipseGeometry
/// <inheritdoc cref="ID2D1Geometry.ComputePointAtLength" /> /// <inheritdoc cref="ID2D1Geometry.ComputePointAtLength" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(15)] [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]<ID2D1EllipseGeometry*, float, Matrix3x2*, float, System.Drawing.PointF**, System.Drawing.PointF**, int>)(lpVtbl[15]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector); return ((delegate* unmanaged[Stdcall]<ID2D1EllipseGeometry*, float, Matrix3x2*, float, System.Drawing.PointF*, System.Drawing.PointF*, int>)(lpVtbl[15]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector);
} }
/// <inheritdoc cref="ID2D1Geometry.Widen" /> /// <inheritdoc cref="ID2D1Geometry.Widen" />

View File

@@ -107,17 +107,17 @@ public unsafe partial struct ID2D1Geometry
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::StrokeContainsPoint"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::StrokeContainsPoint"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(6)] [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]<ID2D1Geometry*, System.Drawing.PointF*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[6]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains); return ((delegate* unmanaged[Stdcall]<ID2D1Geometry*, System.Drawing.PointF, float, ID2D1StrokeStyle*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[6]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::FillContainsPoint"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::FillContainsPoint"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(7)] [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]<ID2D1Geometry*, System.Drawing.PointF*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[7]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains); return ((delegate* unmanaged[Stdcall]<ID2D1Geometry*, System.Drawing.PointF, Matrix3x2*, float, Bool32*, int>)(lpVtbl[7]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::CompareWithGeometry"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::CompareWithGeometry"]/*' />
@@ -179,9 +179,9 @@ public unsafe partial struct ID2D1Geometry
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::ComputePointAtLength"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::ComputePointAtLength"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(15)] [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]<ID2D1Geometry*, float, Matrix3x2*, float, System.Drawing.PointF**, System.Drawing.PointF**, int>)(lpVtbl[15]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector); return ((delegate* unmanaged[Stdcall]<ID2D1Geometry*, float, Matrix3x2*, float, System.Drawing.PointF*, System.Drawing.PointF*, int>)(lpVtbl[15]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::Widen"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::Widen"]/*' />

View File

@@ -107,17 +107,17 @@ public unsafe partial struct ID2D1GeometryGroup
/// <inheritdoc cref="ID2D1Geometry.StrokeContainsPoint" /> /// <inheritdoc cref="ID2D1Geometry.StrokeContainsPoint" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(6)] [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]<ID2D1GeometryGroup*, System.Drawing.PointF*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[6]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains); return ((delegate* unmanaged[Stdcall]<ID2D1GeometryGroup*, System.Drawing.PointF, float, ID2D1StrokeStyle*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[6]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains);
} }
/// <inheritdoc cref="ID2D1Geometry.FillContainsPoint" /> /// <inheritdoc cref="ID2D1Geometry.FillContainsPoint" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(7)] [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]<ID2D1GeometryGroup*, System.Drawing.PointF*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[7]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains); return ((delegate* unmanaged[Stdcall]<ID2D1GeometryGroup*, System.Drawing.PointF, Matrix3x2*, float, Bool32*, int>)(lpVtbl[7]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains);
} }
/// <inheritdoc cref="ID2D1Geometry.CompareWithGeometry" /> /// <inheritdoc cref="ID2D1Geometry.CompareWithGeometry" />
@@ -179,9 +179,9 @@ public unsafe partial struct ID2D1GeometryGroup
/// <inheritdoc cref="ID2D1Geometry.ComputePointAtLength" /> /// <inheritdoc cref="ID2D1Geometry.ComputePointAtLength" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(15)] [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]<ID2D1GeometryGroup*, float, Matrix3x2*, float, System.Drawing.PointF**, System.Drawing.PointF**, int>)(lpVtbl[15]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector); return ((delegate* unmanaged[Stdcall]<ID2D1GeometryGroup*, float, Matrix3x2*, float, System.Drawing.PointF*, System.Drawing.PointF*, int>)(lpVtbl[15]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector);
} }
/// <inheritdoc cref="ID2D1Geometry.Widen" /> /// <inheritdoc cref="ID2D1Geometry.Widen" />

View File

@@ -73,17 +73,17 @@ public unsafe partial struct ID2D1GeometrySink
/// <inheritdoc cref="ID2D1SimplifiedGeometrySink.BeginFigure" /> /// <inheritdoc cref="ID2D1SimplifiedGeometrySink.BeginFigure" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(2)] [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]<ID2D1GeometrySink*, System.Drawing.PointF*, Common.FigureBegin, void>)(lpVtbl[2]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), startPoint, figureBegin); ((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, System.Drawing.PointF, Common.FigureBegin, void>)(lpVtbl[2]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), startPoint, figureBegin);
} }
/// <inheritdoc cref="ID2D1SimplifiedGeometrySink.AddLines" /> /// <inheritdoc cref="ID2D1SimplifiedGeometrySink.AddLines" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(3)] [VtblIndex(3)]
public void AddLines(System.Drawing.PointF** points, uint pointsCount) public void AddLines(System.Drawing.PointF* points, uint pointsCount)
{ {
((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, System.Drawing.PointF**, uint, void>)(lpVtbl[3]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), points, pointsCount); ((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, System.Drawing.PointF*, uint, void>)(lpVtbl[3]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), points, pointsCount);
} }
/// <inheritdoc cref="ID2D1SimplifiedGeometrySink.AddBeziers" /> /// <inheritdoc cref="ID2D1SimplifiedGeometrySink.AddBeziers" />
@@ -113,9 +113,9 @@ public unsafe partial struct ID2D1GeometrySink
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1GeometrySink::AddLine"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1GeometrySink::AddLine"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(7)] [VtblIndex(7)]
public void AddLine(System.Drawing.PointF* point) public void AddLine(System.Drawing.PointF point)
{ {
((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, System.Drawing.PointF*, void>)(lpVtbl[7]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), point); ((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, System.Drawing.PointF, void>)(lpVtbl[7]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), point);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1GeometrySink::AddBezier"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1GeometrySink::AddBezier"]/*' />

View File

@@ -179,9 +179,9 @@ public unsafe partial struct ID2D1HwndRenderTarget
/// <inheritdoc cref="ID2D1RenderTarget.DrawLine" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawLine" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(15)] [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]<ID2D1HwndRenderTarget*, System.Drawing.PointF*, System.Drawing.PointF*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[15]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); ((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, System.Drawing.PointF, System.Drawing.PointF, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[15]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
} }
/// <inheritdoc cref="ID2D1RenderTarget.DrawRectangle" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawRectangle" />
@@ -283,17 +283,17 @@ public unsafe partial struct ID2D1HwndRenderTarget
/// <inheritdoc cref="ID2D1RenderTarget.DrawTextLayout" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawTextLayout" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(28)] [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]<ID2D1HwndRenderTarget*, System.Drawing.PointF*, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, DrawTextOptions, void>)(lpVtbl[28]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options); ((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, System.Drawing.PointF, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, DrawTextOptions, void>)(lpVtbl[28]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options);
} }
/// <inheritdoc cref="ID2D1RenderTarget.DrawGlyphRun" /> /// <inheritdoc cref="ID2D1RenderTarget.DrawGlyphRun" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(29)] [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]<ID2D1HwndRenderTarget*, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[29]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode); ((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[29]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode);
} }
/// <inheritdoc cref="ID2D1RenderTarget.SetTransform" /> /// <inheritdoc cref="ID2D1RenderTarget.SetTransform" />
@@ -307,9 +307,9 @@ public unsafe partial struct ID2D1HwndRenderTarget
/// <inheritdoc cref="ID2D1RenderTarget.GetTransform" /> /// <inheritdoc cref="ID2D1RenderTarget.GetTransform" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(31)] [VtblIndex(31)]
public void GetTransform(Matrix3x2** transform) public void GetTransform(Matrix3x2* transform)
{ {
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, Matrix3x2**, void>)(lpVtbl[31]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), transform); ((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, Matrix3x2*, void>)(lpVtbl[31]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), transform);
} }
/// <inheritdoc cref="ID2D1RenderTarget.SetAntialiasMode" /> /// <inheritdoc cref="ID2D1RenderTarget.SetAntialiasMode" />

View File

@@ -115,9 +115,9 @@ public unsafe partial struct ID2D1ImageBrush
/// <inheritdoc cref="ID2D1Brush.GetTransform" /> /// <inheritdoc cref="ID2D1Brush.GetTransform" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(7)] [VtblIndex(7)]
public void GetTransform(Matrix3x2** transform) public void GetTransform(Matrix3x2* transform)
{ {
((delegate* unmanaged[Stdcall]<ID2D1ImageBrush*, Matrix3x2**, void>)(lpVtbl[7]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), transform); ((delegate* unmanaged[Stdcall]<ID2D1ImageBrush*, Matrix3x2*, void>)(lpVtbl[7]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), transform);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1ImageBrush::SetImage"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1ImageBrush::SetImage"]/*' />

View File

@@ -99,9 +99,9 @@ public unsafe partial struct ID2D1InkStyle
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1InkStyle::GetNibTransform"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1InkStyle::GetNibTransform"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(5)] [VtblIndex(5)]
public void GetNibTransform(Matrix3x2** transform) public void GetNibTransform(Matrix3x2* transform)
{ {
((delegate* unmanaged[Stdcall]<ID2D1InkStyle*, Matrix3x2**, void>)(lpVtbl[5]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this), transform); ((delegate* unmanaged[Stdcall]<ID2D1InkStyle*, Matrix3x2*, void>)(lpVtbl[5]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this), transform);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1InkStyle::SetNibShape"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1InkStyle::SetNibShape"]/*' />

View File

@@ -115,25 +115,25 @@ public unsafe partial struct ID2D1LinearGradientBrush
/// <inheritdoc cref="ID2D1Brush.GetTransform" /> /// <inheritdoc cref="ID2D1Brush.GetTransform" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(7)] [VtblIndex(7)]
public void GetTransform(Matrix3x2** transform) public void GetTransform(Matrix3x2* transform)
{ {
((delegate* unmanaged[Stdcall]<ID2D1LinearGradientBrush*, Matrix3x2**, void>)(lpVtbl[7]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), transform); ((delegate* unmanaged[Stdcall]<ID2D1LinearGradientBrush*, Matrix3x2*, void>)(lpVtbl[7]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), transform);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1LinearGradientBrush::SetStartPoint"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1LinearGradientBrush::SetStartPoint"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(8)] [VtblIndex(8)]
public void SetStartPoint(System.Drawing.PointF* startPoint) public void SetStartPoint(System.Drawing.PointF startPoint)
{ {
((delegate* unmanaged[Stdcall]<ID2D1LinearGradientBrush*, System.Drawing.PointF*, void>)(lpVtbl[8]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), startPoint); ((delegate* unmanaged[Stdcall]<ID2D1LinearGradientBrush*, System.Drawing.PointF, void>)(lpVtbl[8]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), startPoint);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1LinearGradientBrush::SetEndPoint"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1LinearGradientBrush::SetEndPoint"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(9)] [VtblIndex(9)]
public void SetEndPoint(System.Drawing.PointF* endPoint) public void SetEndPoint(System.Drawing.PointF endPoint)
{ {
((delegate* unmanaged[Stdcall]<ID2D1LinearGradientBrush*, System.Drawing.PointF*, void>)(lpVtbl[9]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), endPoint); ((delegate* unmanaged[Stdcall]<ID2D1LinearGradientBrush*, System.Drawing.PointF, void>)(lpVtbl[9]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), endPoint);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1LinearGradientBrush::GetStartPoint"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1LinearGradientBrush::GetStartPoint"]/*' />
@@ -141,8 +141,7 @@ public unsafe partial struct ID2D1LinearGradientBrush
[VtblIndex(10)] [VtblIndex(10)]
public System.Drawing.PointF GetStartPoint() public System.Drawing.PointF GetStartPoint()
{ {
System.Drawing.PointF result; return ((delegate* unmanaged[Stdcall]<ID2D1LinearGradientBrush*, System.Drawing.PointF>)(lpVtbl[10]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this));
return *((delegate* unmanaged[Stdcall]<ID2D1LinearGradientBrush*, System.Drawing.PointF*, System.Drawing.PointF*>)(lpVtbl[10]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), &result);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1LinearGradientBrush::GetEndPoint"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1LinearGradientBrush::GetEndPoint"]/*' />
@@ -150,8 +149,7 @@ public unsafe partial struct ID2D1LinearGradientBrush
[VtblIndex(11)] [VtblIndex(11)]
public System.Drawing.PointF GetEndPoint() public System.Drawing.PointF GetEndPoint()
{ {
System.Drawing.PointF result; return ((delegate* unmanaged[Stdcall]<ID2D1LinearGradientBrush*, System.Drawing.PointF>)(lpVtbl[11]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this));
return *((delegate* unmanaged[Stdcall]<ID2D1LinearGradientBrush*, System.Drawing.PointF*, System.Drawing.PointF*>)(lpVtbl[11]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), &result);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1LinearGradientBrush::GetGradientStopCollection"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1LinearGradientBrush::GetGradientStopCollection"]/*' />

View File

@@ -91,9 +91,9 @@ public unsafe partial struct ID2D1OffsetTransform
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1OffsetTransform::SetOffset"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1OffsetTransform::SetOffset"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(4)] [VtblIndex(4)]
public void SetOffset(System.Drawing.Point* offset) public void SetOffset(System.Drawing.Point offset)
{ {
((delegate* unmanaged[Stdcall]<ID2D1OffsetTransform*, System.Drawing.Point*, void>)(lpVtbl[4]))((ID2D1OffsetTransform*)Unsafe.AsPointer(ref this), offset); ((delegate* unmanaged[Stdcall]<ID2D1OffsetTransform*, System.Drawing.Point, void>)(lpVtbl[4]))((ID2D1OffsetTransform*)Unsafe.AsPointer(ref this), offset);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1OffsetTransform::GetOffset"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1OffsetTransform::GetOffset"]/*' />
@@ -101,8 +101,7 @@ public unsafe partial struct ID2D1OffsetTransform
[VtblIndex(5)] [VtblIndex(5)]
public System.Drawing.Point GetOffset() public System.Drawing.Point GetOffset()
{ {
System.Drawing.Point result; return ((delegate* unmanaged[Stdcall]<ID2D1OffsetTransform*, System.Drawing.Point>)(lpVtbl[5]))((ID2D1OffsetTransform*)Unsafe.AsPointer(ref this));
return *((delegate* unmanaged[Stdcall]<ID2D1OffsetTransform*, System.Drawing.Point*, System.Drawing.Point*>)(lpVtbl[5]))((ID2D1OffsetTransform*)Unsafe.AsPointer(ref this), &result);
} }
} }

View File

@@ -107,17 +107,17 @@ public unsafe partial struct ID2D1PathGeometry
/// <inheritdoc cref="ID2D1Geometry.StrokeContainsPoint" /> /// <inheritdoc cref="ID2D1Geometry.StrokeContainsPoint" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(6)] [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]<ID2D1PathGeometry*, System.Drawing.PointF*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[6]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains); return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry*, System.Drawing.PointF, float, ID2D1StrokeStyle*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[6]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains);
} }
/// <inheritdoc cref="ID2D1Geometry.FillContainsPoint" /> /// <inheritdoc cref="ID2D1Geometry.FillContainsPoint" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(7)] [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]<ID2D1PathGeometry*, System.Drawing.PointF*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[7]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains); return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry*, System.Drawing.PointF, Matrix3x2*, float, Bool32*, int>)(lpVtbl[7]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains);
} }
/// <inheritdoc cref="ID2D1Geometry.CompareWithGeometry" /> /// <inheritdoc cref="ID2D1Geometry.CompareWithGeometry" />
@@ -179,9 +179,9 @@ public unsafe partial struct ID2D1PathGeometry
/// <inheritdoc cref="ID2D1Geometry.ComputePointAtLength" /> /// <inheritdoc cref="ID2D1Geometry.ComputePointAtLength" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(15)] [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]<ID2D1PathGeometry*, float, Matrix3x2*, float, System.Drawing.PointF**, System.Drawing.PointF**, int>)(lpVtbl[15]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector); return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry*, float, Matrix3x2*, float, System.Drawing.PointF*, System.Drawing.PointF*, int>)(lpVtbl[15]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector);
} }
/// <inheritdoc cref="ID2D1Geometry.Widen" /> /// <inheritdoc cref="ID2D1Geometry.Widen" />

View File

@@ -107,17 +107,17 @@ public unsafe partial struct ID2D1PathGeometry1
/// <inheritdoc cref="ID2D1Geometry.StrokeContainsPoint" /> /// <inheritdoc cref="ID2D1Geometry.StrokeContainsPoint" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(6)] [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]<ID2D1PathGeometry1*, System.Drawing.PointF*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[6]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains); return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry1*, System.Drawing.PointF, float, ID2D1StrokeStyle*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[6]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains);
} }
/// <inheritdoc cref="ID2D1Geometry.FillContainsPoint" /> /// <inheritdoc cref="ID2D1Geometry.FillContainsPoint" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(7)] [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]<ID2D1PathGeometry1*, System.Drawing.PointF*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[7]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains); return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry1*, System.Drawing.PointF, Matrix3x2*, float, Bool32*, int>)(lpVtbl[7]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains);
} }
/// <inheritdoc cref="ID2D1Geometry.CompareWithGeometry" /> /// <inheritdoc cref="ID2D1Geometry.CompareWithGeometry" />
@@ -179,9 +179,9 @@ public unsafe partial struct ID2D1PathGeometry1
/// <inheritdoc cref="ID2D1Geometry.ComputePointAtLength" /> /// <inheritdoc cref="ID2D1Geometry.ComputePointAtLength" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(15)] [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]<ID2D1PathGeometry1*, float, Matrix3x2*, float, System.Drawing.PointF**, System.Drawing.PointF**, int>)(lpVtbl[15]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector); return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry1*, float, Matrix3x2*, float, System.Drawing.PointF*, System.Drawing.PointF*, int>)(lpVtbl[15]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector);
} }
/// <inheritdoc cref="ID2D1Geometry.Widen" /> /// <inheritdoc cref="ID2D1Geometry.Widen" />

View File

@@ -115,25 +115,25 @@ public unsafe partial struct ID2D1RadialGradientBrush
/// <inheritdoc cref="ID2D1Brush.GetTransform" /> /// <inheritdoc cref="ID2D1Brush.GetTransform" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(7)] [VtblIndex(7)]
public void GetTransform(Matrix3x2** transform) public void GetTransform(Matrix3x2* transform)
{ {
((delegate* unmanaged[Stdcall]<ID2D1RadialGradientBrush*, Matrix3x2**, void>)(lpVtbl[7]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), transform); ((delegate* unmanaged[Stdcall]<ID2D1RadialGradientBrush*, Matrix3x2*, void>)(lpVtbl[7]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), transform);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1RadialGradientBrush::SetCenter"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1RadialGradientBrush::SetCenter"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(8)] [VtblIndex(8)]
public void SetCenter(System.Drawing.PointF* center) public void SetCenter(System.Drawing.PointF center)
{ {
((delegate* unmanaged[Stdcall]<ID2D1RadialGradientBrush*, System.Drawing.PointF*, void>)(lpVtbl[8]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), center); ((delegate* unmanaged[Stdcall]<ID2D1RadialGradientBrush*, System.Drawing.PointF, void>)(lpVtbl[8]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), center);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1RadialGradientBrush::SetGradientOriginOffset"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1RadialGradientBrush::SetGradientOriginOffset"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(9)] [VtblIndex(9)]
public void SetGradientOriginOffset(System.Drawing.PointF* gradientOriginOffset) public void SetGradientOriginOffset(System.Drawing.PointF gradientOriginOffset)
{ {
((delegate* unmanaged[Stdcall]<ID2D1RadialGradientBrush*, System.Drawing.PointF*, void>)(lpVtbl[9]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), gradientOriginOffset); ((delegate* unmanaged[Stdcall]<ID2D1RadialGradientBrush*, System.Drawing.PointF, void>)(lpVtbl[9]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), gradientOriginOffset);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1RadialGradientBrush::SetRadiusX"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1RadialGradientBrush::SetRadiusX"]/*' />
@@ -157,8 +157,7 @@ public unsafe partial struct ID2D1RadialGradientBrush
[VtblIndex(12)] [VtblIndex(12)]
public System.Drawing.PointF GetCenter() public System.Drawing.PointF GetCenter()
{ {
System.Drawing.PointF result; return ((delegate* unmanaged[Stdcall]<ID2D1RadialGradientBrush*, System.Drawing.PointF>)(lpVtbl[12]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this));
return *((delegate* unmanaged[Stdcall]<ID2D1RadialGradientBrush*, System.Drawing.PointF*, System.Drawing.PointF*>)(lpVtbl[12]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), &result);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1RadialGradientBrush::GetGradientOriginOffset"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1RadialGradientBrush::GetGradientOriginOffset"]/*' />
@@ -166,8 +165,7 @@ public unsafe partial struct ID2D1RadialGradientBrush
[VtblIndex(13)] [VtblIndex(13)]
public System.Drawing.PointF GetGradientOriginOffset() public System.Drawing.PointF GetGradientOriginOffset()
{ {
System.Drawing.PointF result; return ((delegate* unmanaged[Stdcall]<ID2D1RadialGradientBrush*, System.Drawing.PointF>)(lpVtbl[13]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this));
return *((delegate* unmanaged[Stdcall]<ID2D1RadialGradientBrush*, System.Drawing.PointF*, System.Drawing.PointF*>)(lpVtbl[13]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), &result);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1RadialGradientBrush::GetRadiusX"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1RadialGradientBrush::GetRadiusX"]/*' />

View File

@@ -107,17 +107,17 @@ public unsafe partial struct ID2D1RectangleGeometry
/// <inheritdoc cref="ID2D1Geometry.StrokeContainsPoint" /> /// <inheritdoc cref="ID2D1Geometry.StrokeContainsPoint" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(6)] [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]<ID2D1RectangleGeometry*, System.Drawing.PointF*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[6]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains); return ((delegate* unmanaged[Stdcall]<ID2D1RectangleGeometry*, System.Drawing.PointF, float, ID2D1StrokeStyle*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[6]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains);
} }
/// <inheritdoc cref="ID2D1Geometry.FillContainsPoint" /> /// <inheritdoc cref="ID2D1Geometry.FillContainsPoint" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(7)] [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]<ID2D1RectangleGeometry*, System.Drawing.PointF*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[7]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains); return ((delegate* unmanaged[Stdcall]<ID2D1RectangleGeometry*, System.Drawing.PointF, Matrix3x2*, float, Bool32*, int>)(lpVtbl[7]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains);
} }
/// <inheritdoc cref="ID2D1Geometry.CompareWithGeometry" /> /// <inheritdoc cref="ID2D1Geometry.CompareWithGeometry" />
@@ -179,9 +179,9 @@ public unsafe partial struct ID2D1RectangleGeometry
/// <inheritdoc cref="ID2D1Geometry.ComputePointAtLength" /> /// <inheritdoc cref="ID2D1Geometry.ComputePointAtLength" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(15)] [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]<ID2D1RectangleGeometry*, float, Matrix3x2*, float, System.Drawing.PointF**, System.Drawing.PointF**, int>)(lpVtbl[15]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector); return ((delegate* unmanaged[Stdcall]<ID2D1RectangleGeometry*, float, Matrix3x2*, float, System.Drawing.PointF*, System.Drawing.PointF*, int>)(lpVtbl[15]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector);
} }
/// <inheritdoc cref="ID2D1Geometry.Widen" /> /// <inheritdoc cref="ID2D1Geometry.Widen" />

View File

@@ -179,9 +179,9 @@ public unsafe partial struct ID2D1RenderTarget
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::DrawLine"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::DrawLine"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(15)] [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]<ID2D1RenderTarget*, System.Drawing.PointF*, System.Drawing.PointF*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[15]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); ((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, System.Drawing.PointF, System.Drawing.PointF, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[15]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::DrawRectangle"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::DrawRectangle"]/*' />
@@ -283,17 +283,17 @@ public unsafe partial struct ID2D1RenderTarget
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::DrawTextLayout"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::DrawTextLayout"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(28)] [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]<ID2D1RenderTarget*, System.Drawing.PointF*, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, DrawTextOptions, void>)(lpVtbl[28]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options); ((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, System.Drawing.PointF, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, DrawTextOptions, void>)(lpVtbl[28]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::DrawGlyphRun"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::DrawGlyphRun"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(29)] [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]<ID2D1RenderTarget*, System.Drawing.PointF*, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[29]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode); ((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, System.Drawing.PointF, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[29]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::SetTransform"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::SetTransform"]/*' />
@@ -307,9 +307,9 @@ public unsafe partial struct ID2D1RenderTarget
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::GetTransform"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::GetTransform"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(31)] [VtblIndex(31)]
public void GetTransform(Matrix3x2** transform) public void GetTransform(Matrix3x2* transform)
{ {
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, Matrix3x2**, void>)(lpVtbl[31]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), transform); ((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, Matrix3x2*, void>)(lpVtbl[31]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), transform);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::SetAntialiasMode"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::SetAntialiasMode"]/*' />

View File

@@ -107,17 +107,17 @@ public unsafe partial struct ID2D1RoundedRectangleGeometry
/// <inheritdoc cref="ID2D1Geometry.StrokeContainsPoint" /> /// <inheritdoc cref="ID2D1Geometry.StrokeContainsPoint" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(6)] [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]<ID2D1RoundedRectangleGeometry*, System.Drawing.PointF*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[6]))((ID2D1RoundedRectangleGeometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains); return ((delegate* unmanaged[Stdcall]<ID2D1RoundedRectangleGeometry*, System.Drawing.PointF, float, ID2D1StrokeStyle*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[6]))((ID2D1RoundedRectangleGeometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains);
} }
/// <inheritdoc cref="ID2D1Geometry.FillContainsPoint" /> /// <inheritdoc cref="ID2D1Geometry.FillContainsPoint" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(7)] [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]<ID2D1RoundedRectangleGeometry*, System.Drawing.PointF*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[7]))((ID2D1RoundedRectangleGeometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains); return ((delegate* unmanaged[Stdcall]<ID2D1RoundedRectangleGeometry*, System.Drawing.PointF, Matrix3x2*, float, Bool32*, int>)(lpVtbl[7]))((ID2D1RoundedRectangleGeometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains);
} }
/// <inheritdoc cref="ID2D1Geometry.CompareWithGeometry" /> /// <inheritdoc cref="ID2D1Geometry.CompareWithGeometry" />
@@ -179,9 +179,9 @@ public unsafe partial struct ID2D1RoundedRectangleGeometry
/// <inheritdoc cref="ID2D1Geometry.ComputePointAtLength" /> /// <inheritdoc cref="ID2D1Geometry.ComputePointAtLength" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(15)] [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]<ID2D1RoundedRectangleGeometry*, float, Matrix3x2*, float, System.Drawing.PointF**, System.Drawing.PointF**, int>)(lpVtbl[15]))((ID2D1RoundedRectangleGeometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector); return ((delegate* unmanaged[Stdcall]<ID2D1RoundedRectangleGeometry*, float, Matrix3x2*, float, System.Drawing.PointF*, System.Drawing.PointF*, int>)(lpVtbl[15]))((ID2D1RoundedRectangleGeometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector);
} }
/// <inheritdoc cref="ID2D1Geometry.Widen" /> /// <inheritdoc cref="ID2D1Geometry.Widen" />

View File

@@ -99,17 +99,17 @@ public unsafe partial struct ID2D1SimplifiedGeometrySink
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SimplifiedGeometrySink::BeginFigure"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SimplifiedGeometrySink::BeginFigure"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(5)] [VtblIndex(5)]
public void BeginFigure(System.Drawing.PointF* startPoint, FigureBegin figureBegin) public void BeginFigure(System.Drawing.PointF startPoint, FigureBegin figureBegin)
{ {
((delegate* unmanaged[Stdcall]<ID2D1SimplifiedGeometrySink*, System.Drawing.PointF*, FigureBegin, void>)(lpVtbl[5]))((ID2D1SimplifiedGeometrySink*)Unsafe.AsPointer(ref this), startPoint, figureBegin); ((delegate* unmanaged[Stdcall]<ID2D1SimplifiedGeometrySink*, System.Drawing.PointF, FigureBegin, void>)(lpVtbl[5]))((ID2D1SimplifiedGeometrySink*)Unsafe.AsPointer(ref this), startPoint, figureBegin);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SimplifiedGeometrySink::AddLines"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SimplifiedGeometrySink::AddLines"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(6)] [VtblIndex(6)]
public void AddLines(System.Drawing.PointF** points, uint pointsCount) public void AddLines(System.Drawing.PointF* points, uint pointsCount)
{ {
((delegate* unmanaged[Stdcall]<ID2D1SimplifiedGeometrySink*, System.Drawing.PointF**, uint, void>)(lpVtbl[6]))((ID2D1SimplifiedGeometrySink*)Unsafe.AsPointer(ref this), points, pointsCount); ((delegate* unmanaged[Stdcall]<ID2D1SimplifiedGeometrySink*, System.Drawing.PointF*, uint, void>)(lpVtbl[6]))((ID2D1SimplifiedGeometrySink*)Unsafe.AsPointer(ref this), points, pointsCount);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SimplifiedGeometrySink::AddBeziers"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SimplifiedGeometrySink::AddBeziers"]/*' />

View File

@@ -115,9 +115,9 @@ public unsafe partial struct ID2D1SolidColorBrush
/// <inheritdoc cref="ID2D1Brush.GetTransform" /> /// <inheritdoc cref="ID2D1Brush.GetTransform" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(7)] [VtblIndex(7)]
public void GetTransform(Matrix3x2** transform) public void GetTransform(Matrix3x2* transform)
{ {
((delegate* unmanaged[Stdcall]<ID2D1SolidColorBrush*, Matrix3x2**, void>)(lpVtbl[7]))((ID2D1SolidColorBrush*)Unsafe.AsPointer(ref this), transform); ((delegate* unmanaged[Stdcall]<ID2D1SolidColorBrush*, Matrix3x2*, void>)(lpVtbl[7]))((ID2D1SolidColorBrush*)Unsafe.AsPointer(ref this), transform);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SolidColorBrush::SetColor"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SolidColorBrush::SetColor"]/*' />

View File

@@ -123,9 +123,9 @@ public unsafe partial struct ID2D1SourceTransform
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SourceTransform::Draw"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SourceTransform::Draw"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(8)] [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]<ID2D1SourceTransform*, ID2D1Bitmap1*, RawRect*, System.Drawing.Point*, int>)(lpVtbl[8]))((ID2D1SourceTransform*)Unsafe.AsPointer(ref this), target, drawRect, targetOrigin); return ((delegate* unmanaged[Stdcall]<ID2D1SourceTransform*, ID2D1Bitmap1*, RawRect*, System.Drawing.Point, int>)(lpVtbl[8]))((ID2D1SourceTransform*)Unsafe.AsPointer(ref this), target, drawRect, targetOrigin);
} }
} }

View File

@@ -107,9 +107,9 @@ public unsafe partial struct ID2D1SpriteBatch
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SpriteBatch::GetSprites"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SpriteBatch::GetSprites"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(6)] [VtblIndex(6)]
public HResult GetSprites(uint startIndex, uint spriteCount, Common.RectF* destinationRectangles, Common.RectU* sourceRectangles, Common.ColorF* colors, Matrix3x2** transforms) public HResult GetSprites(uint startIndex, uint spriteCount, Common.RectF* destinationRectangles, Common.RectU* sourceRectangles, Common.ColorF* colors, Matrix3x2* transforms)
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1SpriteBatch*, uint, uint, Common.RectF*, Common.RectU*, Common.ColorF*, Matrix3x2**, int>)(lpVtbl[6]))((ID2D1SpriteBatch*)Unsafe.AsPointer(ref this), startIndex, spriteCount, destinationRectangles, sourceRectangles, colors, transforms); return ((delegate* unmanaged[Stdcall]<ID2D1SpriteBatch*, uint, uint, Common.RectF*, Common.RectU*, Common.ColorF*, Matrix3x2*, int>)(lpVtbl[6]))((ID2D1SpriteBatch*)Unsafe.AsPointer(ref this), startIndex, spriteCount, destinationRectangles, sourceRectangles, colors, transforms);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SpriteBatch::GetSpriteCount"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SpriteBatch::GetSpriteCount"]/*' />

View File

@@ -163,9 +163,9 @@ public unsafe partial struct ID2D1SvgDocument
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SvgDocument::CreatePointCollection"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SvgDocument::CreatePointCollection"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(13)] [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]<ID2D1SvgDocument*, System.Drawing.PointF**, uint, ID2D1SvgPointCollection**, int>)(lpVtbl[13]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), points, pointsCount, pointCollection); return ((delegate* unmanaged[Stdcall]<ID2D1SvgDocument*, System.Drawing.PointF*, uint, ID2D1SvgPointCollection**, int>)(lpVtbl[13]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), points, pointsCount, pointCollection);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SvgDocument::CreatePathData"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SvgDocument::CreatePathData"]/*' />

View File

@@ -115,17 +115,17 @@ public unsafe partial struct ID2D1SvgPointCollection
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SvgPointCollection::UpdatePoints"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SvgPointCollection::UpdatePoints"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(7)] [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]<ID2D1SvgPointCollection*, System.Drawing.PointF**, uint, uint, int>)(lpVtbl[7]))((ID2D1SvgPointCollection*)Unsafe.AsPointer(ref this), points, pointsCount, startIndex); return ((delegate* unmanaged[Stdcall]<ID2D1SvgPointCollection*, System.Drawing.PointF*, uint, uint, int>)(lpVtbl[7]))((ID2D1SvgPointCollection*)Unsafe.AsPointer(ref this), points, pointsCount, startIndex);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SvgPointCollection::GetPoints"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SvgPointCollection::GetPoints"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(8)] [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]<ID2D1SvgPointCollection*, System.Drawing.PointF**, uint, uint, int>)(lpVtbl[8]))((ID2D1SvgPointCollection*)Unsafe.AsPointer(ref this), points, pointsCount, startIndex); return ((delegate* unmanaged[Stdcall]<ID2D1SvgPointCollection*, System.Drawing.PointF*, uint, uint, int>)(lpVtbl[8]))((ID2D1SvgPointCollection*)Unsafe.AsPointer(ref this), points, pointsCount, startIndex);
} }
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SvgPointCollection::GetPointsCount"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1SvgPointCollection::GetPointsCount"]/*' />

View File

@@ -107,17 +107,17 @@ public unsafe partial struct ID2D1TransformedGeometry
/// <inheritdoc cref="ID2D1Geometry.StrokeContainsPoint" /> /// <inheritdoc cref="ID2D1Geometry.StrokeContainsPoint" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(6)] [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]<ID2D1TransformedGeometry*, System.Drawing.PointF*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[6]))((ID2D1TransformedGeometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains); return ((delegate* unmanaged[Stdcall]<ID2D1TransformedGeometry*, System.Drawing.PointF, float, ID2D1StrokeStyle*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[6]))((ID2D1TransformedGeometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains);
} }
/// <inheritdoc cref="ID2D1Geometry.FillContainsPoint" /> /// <inheritdoc cref="ID2D1Geometry.FillContainsPoint" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(7)] [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]<ID2D1TransformedGeometry*, System.Drawing.PointF*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[7]))((ID2D1TransformedGeometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains); return ((delegate* unmanaged[Stdcall]<ID2D1TransformedGeometry*, System.Drawing.PointF, Matrix3x2*, float, Bool32*, int>)(lpVtbl[7]))((ID2D1TransformedGeometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains);
} }
/// <inheritdoc cref="ID2D1Geometry.CompareWithGeometry" /> /// <inheritdoc cref="ID2D1Geometry.CompareWithGeometry" />
@@ -179,9 +179,9 @@ public unsafe partial struct ID2D1TransformedGeometry
/// <inheritdoc cref="ID2D1Geometry.ComputePointAtLength" /> /// <inheritdoc cref="ID2D1Geometry.ComputePointAtLength" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(15)] [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]<ID2D1TransformedGeometry*, float, Matrix3x2*, float, System.Drawing.PointF**, System.Drawing.PointF**, int>)(lpVtbl[15]))((ID2D1TransformedGeometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector); return ((delegate* unmanaged[Stdcall]<ID2D1TransformedGeometry*, float, Matrix3x2*, float, System.Drawing.PointF*, System.Drawing.PointF*, int>)(lpVtbl[15]))((ID2D1TransformedGeometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector);
} }
/// <inheritdoc cref="ID2D1Geometry.Widen" /> /// <inheritdoc cref="ID2D1Geometry.Widen" />
@@ -203,9 +203,9 @@ public unsafe partial struct ID2D1TransformedGeometry
/// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1TransformedGeometry::GetTransform"]/*' /> /// <include file='../../Direct2D.xml' path='doc/member[@name="ID2D1TransformedGeometry::GetTransform"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(18)] [VtblIndex(18)]
public void GetTransform(Matrix3x2** transform) public void GetTransform(Matrix3x2* transform)
{ {
((delegate* unmanaged[Stdcall]<ID2D1TransformedGeometry*, Matrix3x2**, void>)(lpVtbl[18]))((ID2D1TransformedGeometry*)Unsafe.AsPointer(ref this), transform); ((delegate* unmanaged[Stdcall]<ID2D1TransformedGeometry*, Matrix3x2*, void>)(lpVtbl[18]))((ID2D1TransformedGeometry*)Unsafe.AsPointer(ref this), transform);
} }
} }

View File

@@ -379,25 +379,25 @@ public unsafe partial struct IDWriteFactory4
/// <include file='../../DirectWrite.xml' path='doc/member[@name="IDWriteFactory4::TranslateColorGlyphRun"]/*' /> /// <include file='../../DirectWrite.xml' path='doc/member[@name="IDWriteFactory4::TranslateColorGlyphRun"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(40)] [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]<IDWriteFactory4*, System.Drawing.PointF*, GlyphRun*, GlyphRunDescription*, GlyphImageFormats, MeasuringMode, Matrix*, uint, IDWriteColorGlyphRunEnumerator1**, int>)(lpVtbl[40]))((IDWriteFactory4*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, desiredGlyphImageFormats, measuringMode, worldAndDpiTransform, colorPaletteIndex, colorLayers); return ((delegate* unmanaged[Stdcall]<IDWriteFactory4*, System.Drawing.PointF, GlyphRun*, GlyphRunDescription*, GlyphImageFormats, MeasuringMode, Matrix*, uint, IDWriteColorGlyphRunEnumerator1**, int>)(lpVtbl[40]))((IDWriteFactory4*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, desiredGlyphImageFormats, measuringMode, worldAndDpiTransform, colorPaletteIndex, colorLayers);
} }
/// <include file='../../DirectWrite.xml' path='doc/member[@name="IDWriteFactory4::ComputeGlyphOrigins"]/*' /> /// <include file='../../DirectWrite.xml' path='doc/member[@name="IDWriteFactory4::ComputeGlyphOrigins"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(41)] [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]<IDWriteFactory4*, GlyphRun*, System.Drawing.PointF*, System.Drawing.PointF**, int>)(lpVtbl[41]))((IDWriteFactory4*)Unsafe.AsPointer(ref this), glyphRun, baselineOrigin, glyphOrigins); return ((delegate* unmanaged[Stdcall]<IDWriteFactory4*, GlyphRun*, System.Drawing.PointF, System.Drawing.PointF*, int>)(lpVtbl[41]))((IDWriteFactory4*)Unsafe.AsPointer(ref this), glyphRun, baselineOrigin, glyphOrigins);
} }
/// <include file='../../DirectWrite.xml' path='doc/member[@name="IDWriteFactory4::ComputeGlyphOrigins"]/*' /> /// <include file='../../DirectWrite.xml' path='doc/member[@name="IDWriteFactory4::ComputeGlyphOrigins"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(42)] [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]<IDWriteFactory4*, GlyphRun*, MeasuringMode, System.Drawing.PointF*, Matrix*, System.Drawing.PointF**, int>)(lpVtbl[42]))((IDWriteFactory4*)Unsafe.AsPointer(ref this), glyphRun, measuringMode, baselineOrigin, worldAndDpiTransform, glyphOrigins); return ((delegate* unmanaged[Stdcall]<IDWriteFactory4*, GlyphRun*, MeasuringMode, System.Drawing.PointF, Matrix*, System.Drawing.PointF*, int>)(lpVtbl[42]))((IDWriteFactory4*)Unsafe.AsPointer(ref this), glyphRun, measuringMode, baselineOrigin, worldAndDpiTransform, glyphOrigins);
} }
} }

View File

@@ -379,25 +379,25 @@ public unsafe partial struct IDWriteFactory5
/// <inheritdoc cref="IDWriteFactory4.TranslateColorGlyphRun" /> /// <inheritdoc cref="IDWriteFactory4.TranslateColorGlyphRun" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(40)] [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]<IDWriteFactory5*, System.Drawing.PointF*, GlyphRun*, GlyphRunDescription*, GlyphImageFormats, MeasuringMode, Matrix*, uint, IDWriteColorGlyphRunEnumerator1**, int>)(lpVtbl[40]))((IDWriteFactory5*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, desiredGlyphImageFormats, measuringMode, worldAndDpiTransform, colorPaletteIndex, colorLayers); return ((delegate* unmanaged[Stdcall]<IDWriteFactory5*, System.Drawing.PointF, GlyphRun*, GlyphRunDescription*, GlyphImageFormats, MeasuringMode, Matrix*, uint, IDWriteColorGlyphRunEnumerator1**, int>)(lpVtbl[40]))((IDWriteFactory5*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, desiredGlyphImageFormats, measuringMode, worldAndDpiTransform, colorPaletteIndex, colorLayers);
} }
/// <inheritdoc cref="IDWriteFactory4.ComputeGlyphOrigins" /> /// <inheritdoc cref="IDWriteFactory4.ComputeGlyphOrigins" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(41)] [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]<IDWriteFactory5*, GlyphRun*, System.Drawing.PointF*, System.Drawing.PointF**, int>)(lpVtbl[41]))((IDWriteFactory5*)Unsafe.AsPointer(ref this), glyphRun, baselineOrigin, glyphOrigins); return ((delegate* unmanaged[Stdcall]<IDWriteFactory5*, GlyphRun*, System.Drawing.PointF, System.Drawing.PointF*, int>)(lpVtbl[41]))((IDWriteFactory5*)Unsafe.AsPointer(ref this), glyphRun, baselineOrigin, glyphOrigins);
} }
/// <inheritdoc cref="IDWriteFactory4.ComputeGlyphOrigins" /> /// <inheritdoc cref="IDWriteFactory4.ComputeGlyphOrigins" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(42)] [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]<IDWriteFactory5*, GlyphRun*, MeasuringMode, System.Drawing.PointF*, Matrix*, System.Drawing.PointF**, int>)(lpVtbl[42]))((IDWriteFactory5*)Unsafe.AsPointer(ref this), glyphRun, measuringMode, baselineOrigin, worldAndDpiTransform, glyphOrigins); return ((delegate* unmanaged[Stdcall]<IDWriteFactory5*, GlyphRun*, MeasuringMode, System.Drawing.PointF, Matrix*, System.Drawing.PointF*, int>)(lpVtbl[42]))((IDWriteFactory5*)Unsafe.AsPointer(ref this), glyphRun, measuringMode, baselineOrigin, worldAndDpiTransform, glyphOrigins);
} }
/// <include file='../../DirectWrite.xml' path='doc/member[@name="IDWriteFactory5::CreateFontSetBuilder"]/*' /> /// <include file='../../DirectWrite.xml' path='doc/member[@name="IDWriteFactory5::CreateFontSetBuilder"]/*' />

View File

@@ -379,25 +379,25 @@ public unsafe partial struct IDWriteFactory6
/// <inheritdoc cref="IDWriteFactory4.TranslateColorGlyphRun" /> /// <inheritdoc cref="IDWriteFactory4.TranslateColorGlyphRun" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(40)] [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]<IDWriteFactory6*, System.Drawing.PointF*, GlyphRun*, GlyphRunDescription*, GlyphImageFormats, MeasuringMode, Matrix*, uint, IDWriteColorGlyphRunEnumerator1**, int>)(lpVtbl[40]))((IDWriteFactory6*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, desiredGlyphImageFormats, measuringMode, worldAndDpiTransform, colorPaletteIndex, colorLayers); return ((delegate* unmanaged[Stdcall]<IDWriteFactory6*, System.Drawing.PointF, GlyphRun*, GlyphRunDescription*, GlyphImageFormats, MeasuringMode, Matrix*, uint, IDWriteColorGlyphRunEnumerator1**, int>)(lpVtbl[40]))((IDWriteFactory6*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, desiredGlyphImageFormats, measuringMode, worldAndDpiTransform, colorPaletteIndex, colorLayers);
} }
/// <inheritdoc cref="IDWriteFactory4.ComputeGlyphOrigins" /> /// <inheritdoc cref="IDWriteFactory4.ComputeGlyphOrigins" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(41)] [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]<IDWriteFactory6*, GlyphRun*, System.Drawing.PointF*, System.Drawing.PointF**, int>)(lpVtbl[41]))((IDWriteFactory6*)Unsafe.AsPointer(ref this), glyphRun, baselineOrigin, glyphOrigins); return ((delegate* unmanaged[Stdcall]<IDWriteFactory6*, GlyphRun*, System.Drawing.PointF, System.Drawing.PointF*, int>)(lpVtbl[41]))((IDWriteFactory6*)Unsafe.AsPointer(ref this), glyphRun, baselineOrigin, glyphOrigins);
} }
/// <inheritdoc cref="IDWriteFactory4.ComputeGlyphOrigins" /> /// <inheritdoc cref="IDWriteFactory4.ComputeGlyphOrigins" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(42)] [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]<IDWriteFactory6*, GlyphRun*, MeasuringMode, System.Drawing.PointF*, Matrix*, System.Drawing.PointF**, int>)(lpVtbl[42]))((IDWriteFactory6*)Unsafe.AsPointer(ref this), glyphRun, measuringMode, baselineOrigin, worldAndDpiTransform, glyphOrigins); return ((delegate* unmanaged[Stdcall]<IDWriteFactory6*, GlyphRun*, MeasuringMode, System.Drawing.PointF, Matrix*, System.Drawing.PointF*, int>)(lpVtbl[42]))((IDWriteFactory6*)Unsafe.AsPointer(ref this), glyphRun, measuringMode, baselineOrigin, worldAndDpiTransform, glyphOrigins);
} }
/// <inheritdoc cref="IDWriteFactory5.CreateFontSetBuilder" /> /// <inheritdoc cref="IDWriteFactory5.CreateFontSetBuilder" />

View File

@@ -379,25 +379,25 @@ public unsafe partial struct IDWriteFactory7
/// <inheritdoc cref="IDWriteFactory4.TranslateColorGlyphRun" /> /// <inheritdoc cref="IDWriteFactory4.TranslateColorGlyphRun" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(40)] [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]<IDWriteFactory7*, System.Drawing.PointF*, GlyphRun*, GlyphRunDescription*, GlyphImageFormats, MeasuringMode, Matrix*, uint, IDWriteColorGlyphRunEnumerator1**, int>)(lpVtbl[40]))((IDWriteFactory7*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, desiredGlyphImageFormats, measuringMode, worldAndDpiTransform, colorPaletteIndex, colorLayers); return ((delegate* unmanaged[Stdcall]<IDWriteFactory7*, System.Drawing.PointF, GlyphRun*, GlyphRunDescription*, GlyphImageFormats, MeasuringMode, Matrix*, uint, IDWriteColorGlyphRunEnumerator1**, int>)(lpVtbl[40]))((IDWriteFactory7*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, desiredGlyphImageFormats, measuringMode, worldAndDpiTransform, colorPaletteIndex, colorLayers);
} }
/// <inheritdoc cref="IDWriteFactory4.ComputeGlyphOrigins" /> /// <inheritdoc cref="IDWriteFactory4.ComputeGlyphOrigins" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(41)] [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]<IDWriteFactory7*, GlyphRun*, System.Drawing.PointF*, System.Drawing.PointF**, int>)(lpVtbl[41]))((IDWriteFactory7*)Unsafe.AsPointer(ref this), glyphRun, baselineOrigin, glyphOrigins); return ((delegate* unmanaged[Stdcall]<IDWriteFactory7*, GlyphRun*, System.Drawing.PointF, System.Drawing.PointF*, int>)(lpVtbl[41]))((IDWriteFactory7*)Unsafe.AsPointer(ref this), glyphRun, baselineOrigin, glyphOrigins);
} }
/// <inheritdoc cref="IDWriteFactory4.ComputeGlyphOrigins" /> /// <inheritdoc cref="IDWriteFactory4.ComputeGlyphOrigins" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(42)] [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]<IDWriteFactory7*, GlyphRun*, MeasuringMode, System.Drawing.PointF*, Matrix*, System.Drawing.PointF**, int>)(lpVtbl[42]))((IDWriteFactory7*)Unsafe.AsPointer(ref this), glyphRun, measuringMode, baselineOrigin, worldAndDpiTransform, glyphOrigins); return ((delegate* unmanaged[Stdcall]<IDWriteFactory7*, GlyphRun*, MeasuringMode, System.Drawing.PointF, Matrix*, System.Drawing.PointF*, int>)(lpVtbl[42]))((IDWriteFactory7*)Unsafe.AsPointer(ref this), glyphRun, measuringMode, baselineOrigin, worldAndDpiTransform, glyphOrigins);
} }
/// <inheritdoc cref="IDWriteFactory5.CreateFontSetBuilder" /> /// <inheritdoc cref="IDWriteFactory5.CreateFontSetBuilder" />

View File

@@ -3,7 +3,7 @@
<PropertyGroup> <PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0;</TargetFrameworks> <TargetFrameworks>netstandard2.0;net6.0;</TargetFrameworks>
<Description>Windows API low level bindings.</Description> <Description>Windows API low level bindings.</Description>
<VersionPrefix>1.5.1</VersionPrefix> <VersionPrefix>1.5.2</VersionPrefix>
<VersionSuffix Condition="'$(VersionSuffix)' == ''"></VersionSuffix> <VersionSuffix Condition="'$(VersionSuffix)' == ''"></VersionSuffix>
<GenerateDocumentationFile>true</GenerateDocumentationFile> <GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup> </PropertyGroup>

View File

@@ -24,6 +24,8 @@ using FactoryType = Win32.Graphics.Direct2D.FactoryType;
using DWriteFactoryType = Win32.Graphics.DirectWrite.FactoryType; using DWriteFactoryType = Win32.Graphics.DirectWrite.FactoryType;
using FeatureLevel = Win32.Graphics.Direct3D.FeatureLevel; using FeatureLevel = Win32.Graphics.Direct3D.FeatureLevel;
using Win32.Graphics.Imaging.D2D; using Win32.Graphics.Imaging.D2D;
using System.Runtime.CompilerServices;
using System.Drawing;
namespace ClearScreen; namespace ClearScreen;