Generator: Correct vtable for some WIC types.

This commit is contained in:
Amer Koleci
2022-12-02 09:11:08 +01:00
parent 61295b00a2
commit a67fab7cae
553 changed files with 970 additions and 410 deletions

View File

@@ -14,7 +14,7 @@
<EnableTrimAnalyzer>true</EnableTrimAnalyzer> <EnableTrimAnalyzer>true</EnableTrimAnalyzer>
<RestoreConfigFile>$(MSBuildThisFileDirectory)NuGet.config</RestoreConfigFile> <RestoreConfigFile>$(MSBuildThisFileDirectory)NuGet.config</RestoreConfigFile>
<VersionPrefix>1.9.1</VersionPrefix> <VersionPrefix>1.9.2</VersionPrefix>
<VersionSuffix Condition="'$(VersionSuffix)' == ''"></VersionSuffix> <VersionSuffix Condition="'$(VersionSuffix)' == ''"></VersionSuffix>
<GenerateDocumentationFile>true</GenerateDocumentationFile> <GenerateDocumentationFile>true</GenerateDocumentationFile>

View File

@@ -47,6 +47,11 @@ public sealed class CodeWriter : IDisposable
_builder.AppendLine($"using {usingNamespace};"); _builder.AppendLine($"using {usingNamespace};");
} }
if (usingNamespaces.Length > 0)
{
_builder.AppendLine();
}
_builder.AppendLine($"namespace {ns};"); _builder.AppendLine($"namespace {ns};");
_builder.AppendLine(); _builder.AppendLine();
} }

View File

@@ -827,6 +827,7 @@ public static class Program
{ "WICComponentSigning", "WICComponent" }, { "WICComponentSigning", "WICComponent" },
{ "WICPixelFormatNumericRepresentation", "WICPixelFormatNumericRepresentation" }, { "WICPixelFormatNumericRepresentation", "WICPixelFormatNumericRepresentation" },
{ "WICPlanarOptions", "WICPlanarOptions" }, { "WICPlanarOptions", "WICPlanarOptions" },
{ "WICPersistOptions", "WICPersistOption" },
// FXC // FXC
{ "D3DCOMPILER_STRIP_FLAGS", "D3DCOMPILER_STRIP" }, { "D3DCOMPILER_STRIP_FLAGS", "D3DCOMPILER_STRIP" },
@@ -1047,7 +1048,10 @@ public static class Program
// WIC // WIC
{ "IWICImagingFactory::CreateDecoderFromFilename::dwDesiredAccess", "NativeFileAccess" }, { "IWICImagingFactory::CreateDecoderFromFilename::dwDesiredAccess", "NativeFileAccess" },
{ "IWICComponentFactory::CreateDecoderFromFilename::dwDesiredAccess", "NativeFileAccess" },
{ "IWICBitmap::Lock::flags", "WICBitmapLockFlags" }, { "IWICBitmap::Lock::flags", "WICBitmapLockFlags" },
{ "IWICPersistStream::LoadEx::dwPersistOptions", "WICPersistOptions" },
{ "IWICPersistStream::SaveEx::dwPersistOptions", "WICPersistOptions" },
// FXC // FXC
{ "D3DCompile::Flags1", "D3DCOMPILE" }, { "D3DCompile::Flags1", "D3DCOMPILE" },
@@ -1428,7 +1432,9 @@ public static class Program
foreach (ApiDataConstant constant in api.Constants) foreach (ApiDataConstant constant in api.Constants)
{ {
if (ShouldSkipConstant(constant)) if (ShouldSkipConstant(constant))
{
continue; continue;
}
foreach (var enumToGenerate in s_generatedEnums) foreach (var enumToGenerate in s_generatedEnums)
{ {
@@ -2029,10 +2035,6 @@ public static class Program
fieldValueName = "Mask"; fieldValueName = "Mask";
} }
if (structType.Name == "D2D1_LAYER_PARAMETERS")
{
}
bool asPointer = false; bool asPointer = false;
if (field.Type.Kind == "ApiRef") if (field.Type.Kind == "ApiRef")
{ {
@@ -2226,12 +2228,20 @@ public static class Program
Dictionary<string, List<ApiType>> methodsToGenerate) Dictionary<string, List<ApiType>> methodsToGenerate)
{ {
string csTypeName = comType.Name; string csTypeName = comType.Name;
List<string> namespaces = new();
if (comType.Name == "ID2D1GeometrySink")
{
namespaces.Add("Win32.Graphics.Direct2D.Common");
}
using var writer = new CodeWriter( using var writer = new CodeWriter(
Path.Combine(folder, $"{csTypeName}.cs"), Path.Combine(folder, $"{csTypeName}.cs"),
apiName, apiName,
docFileName, docFileName,
$"Win32.{apiName}"); $"Win32.{apiName}",
namespaces.ToArray()
);
if (string.IsNullOrEmpty(writer.DocFileName) == false) if (string.IsNullOrEmpty(writer.DocFileName) == false)
{ {
@@ -2293,6 +2303,17 @@ public static class Program
iterateType = api.Types.FirstOrDefault(item => item.Name == iterateType.Interface.Name); iterateType = api.Types.FirstOrDefault(item => item.Name == iterateType.Interface.Name);
} }
if (!generateIUnknown)
{
if (csTypeName == "ID2D1GeometrySink" ||
csTypeName == "IWICStream" ||
csTypeName == "IWICPersistStream" ||
csTypeName == "IWICImagingFactory2")
{
generateIUnknown = true;
}
}
if (generateIUnknown) if (generateIUnknown)
{ {
writer.WriteLine("/// <inheritdoc cref=\"IUnknown.QueryInterface\" />"); writer.WriteLine("/// <inheritdoc cref=\"IUnknown.QueryInterface\" />");
@@ -2328,6 +2349,12 @@ public static class Program
vtblIndex = 3; vtblIndex = 3;
} }
// Offset some hacks
if (csTypeName == "IWICStream")
vtblIndex = 14;
if (csTypeName == "IWICPersistStream")
vtblIndex = 8;
bool needNewLine = false; bool needNewLine = false;
List<Tuple<int, string>> interfaceMethods = new(); List<Tuple<int, string>> interfaceMethods = new();
foreach (KeyValuePair<string, List<ApiType>> methodPair in methodsToGenerate) foreach (KeyValuePair<string, List<ApiType>> methodPair in methodsToGenerate)
@@ -2508,13 +2535,16 @@ public static class Program
string baseInterfaceDecl = string.Empty; string baseInterfaceDecl = string.Empty;
if (comType.Interface != null) if (comType.Interface != null)
{ {
baseInterfaceDecl += $": {comType.Interface.Name}.Interface"; string baseInterfacePrefix = string.Empty;
} if (comType.Interface.Name == "IStream" ||
comType.Interface.Name == "IPersistStream")
if (csTypeName == "IDXGIAdapter") {
{ baseInterfacePrefix = "Win32.Com.";
}
baseInterfaceDecl += $": {baseInterfacePrefix}{comType.Interface.Name}.Interface";
} }
writer.WriteLine();
needNewLine = false; needNewLine = false;
using (writer.PushBlock($"public interface Interface {baseInterfaceDecl}")) using (writer.PushBlock($"public interface Interface {baseInterfaceDecl}"))
{ {

View File

@@ -8,7 +8,6 @@ namespace Win32.Graphics.Imaging.D2D;
public static unsafe partial class Apis public static unsafe partial class Apis
{ {
public static HResult CreateWICImagingFactory(IWICImagingFactory2** factory) public static HResult CreateWICImagingFactory(IWICImagingFactory2** factory)
{ {
return CoCreateInstance( return CoCreateInstance(

View File

@@ -81,6 +81,7 @@ public unsafe partial struct ID2D1AnalysisTransform : ID2D1AnalysisTransform.Int
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1AnalysisTransform*, byte*, uint, int>)(lpVtbl[3]))((ID2D1AnalysisTransform*)Unsafe.AsPointer(ref this), analysisData, analysisDataCount); return ((delegate* unmanaged[Stdcall]<ID2D1AnalysisTransform*, byte*, uint, int>)(lpVtbl[3]))((ID2D1AnalysisTransform*)Unsafe.AsPointer(ref this), analysisData, analysisDataCount);
} }
public interface Interface : IUnknown.Interface public interface Interface : IUnknown.Interface
{ {
[VtblIndex(3)] [VtblIndex(3)]

View File

@@ -140,6 +140,7 @@ public unsafe partial struct ID2D1Bitmap : ID2D1Bitmap.Interface, INativeGuid
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1Bitmap*, Common.RectU*, void*, uint, int>)(lpVtbl[10]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), dstRect, srcData, pitch); return ((delegate* unmanaged[Stdcall]<ID2D1Bitmap*, Common.RectU*, void*, uint, int>)(lpVtbl[10]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), dstRect, srcData, pitch);
} }
public interface Interface : ID2D1Image.Interface public interface Interface : ID2D1Image.Interface
{ {
[VtblIndex(4)] [VtblIndex(4)]

View File

@@ -180,6 +180,7 @@ public unsafe partial struct ID2D1Bitmap1 : ID2D1Bitmap1.Interface, INativeGuid
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1Bitmap1*, int>)(lpVtbl[15]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this)); return ((delegate* unmanaged[Stdcall]<ID2D1Bitmap1*, int>)(lpVtbl[15]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this));
} }
public interface Interface : ID2D1Bitmap.Interface public interface Interface : ID2D1Bitmap.Interface
{ {
[VtblIndex(11)] [VtblIndex(11)]

View File

@@ -177,6 +177,7 @@ public unsafe partial struct ID2D1BitmapBrush : ID2D1BitmapBrush.Interface, INat
{ {
((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush*, ID2D1Bitmap**, void>)(lpVtbl[15]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), bitmap); ((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush*, ID2D1Bitmap**, void>)(lpVtbl[15]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), bitmap);
} }
public interface Interface : ID2D1Brush.Interface public interface Interface : ID2D1Brush.Interface
{ {
[VtblIndex(8)] [VtblIndex(8)]

View File

@@ -193,6 +193,7 @@ public unsafe partial struct ID2D1BitmapBrush1 : ID2D1BitmapBrush1.Interface, IN
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush1*, InterpolationMode>)(lpVtbl[17]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this)); return ((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush1*, InterpolationMode>)(lpVtbl[17]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this));
} }
public interface Interface : ID2D1BitmapBrush.Interface public interface Interface : ID2D1BitmapBrush.Interface
{ {
[VtblIndex(16)] [VtblIndex(16)]

View File

@@ -516,6 +516,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, ID2D1Bitmap**, int>)(lpVtbl[57]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), bitmap); return ((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, ID2D1Bitmap**, int>)(lpVtbl[57]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), bitmap);
} }
public interface Interface : ID2D1RenderTarget.Interface public interface Interface : ID2D1RenderTarget.Interface
{ {
[VtblIndex(57)] [VtblIndex(57)]

View File

@@ -113,6 +113,7 @@ public unsafe partial struct ID2D1BlendTransform : ID2D1BlendTransform.Interface
{ {
((delegate* unmanaged[Stdcall]<ID2D1BlendTransform*, BlendDescription*, void>)(lpVtbl[7]))((ID2D1BlendTransform*)Unsafe.AsPointer(ref this), description); ((delegate* unmanaged[Stdcall]<ID2D1BlendTransform*, BlendDescription*, void>)(lpVtbl[7]))((ID2D1BlendTransform*)Unsafe.AsPointer(ref this), description);
} }
public interface Interface : ID2D1ConcreteTransform.Interface public interface Interface : ID2D1ConcreteTransform.Interface
{ {
[VtblIndex(6)] [VtblIndex(6)]

View File

@@ -129,6 +129,7 @@ public unsafe partial struct ID2D1BorderTransform : ID2D1BorderTransform.Interfa
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1BorderTransform*, ExtendMode>)(lpVtbl[9]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this)); return ((delegate* unmanaged[Stdcall]<ID2D1BorderTransform*, ExtendMode>)(lpVtbl[9]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this));
} }
public interface Interface : ID2D1ConcreteTransform.Interface public interface Interface : ID2D1ConcreteTransform.Interface
{ {
[VtblIndex(6)] [VtblIndex(6)]

View File

@@ -97,6 +97,7 @@ public unsafe partial struct ID2D1BoundsAdjustmentTransform : ID2D1BoundsAdjustm
{ {
((delegate* unmanaged[Stdcall]<ID2D1BoundsAdjustmentTransform*, RawRect*, void>)(lpVtbl[5]))((ID2D1BoundsAdjustmentTransform*)Unsafe.AsPointer(ref this), outputBounds); ((delegate* unmanaged[Stdcall]<ID2D1BoundsAdjustmentTransform*, RawRect*, void>)(lpVtbl[5]))((ID2D1BoundsAdjustmentTransform*)Unsafe.AsPointer(ref this), outputBounds);
} }
public interface Interface : ID2D1TransformNode.Interface public interface Interface : ID2D1TransformNode.Interface
{ {
[VtblIndex(4)] [VtblIndex(4)]

View File

@@ -113,6 +113,7 @@ public unsafe partial struct ID2D1Brush : ID2D1Brush.Interface, INativeGuid
{ {
((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);
} }
public interface Interface : ID2D1Resource.Interface public interface Interface : ID2D1Resource.Interface
{ {
[VtblIndex(4)] [VtblIndex(4)]

View File

@@ -105,6 +105,7 @@ public unsafe partial struct ID2D1ColorContext : ID2D1ColorContext.Interface, IN
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1ColorContext*, byte*, uint, int>)(lpVtbl[6]))((ID2D1ColorContext*)Unsafe.AsPointer(ref this), profile, profileSize); return ((delegate* unmanaged[Stdcall]<ID2D1ColorContext*, byte*, uint, int>)(lpVtbl[6]))((ID2D1ColorContext*)Unsafe.AsPointer(ref this), profile, profileSize);
} }
public interface Interface : ID2D1Resource.Interface public interface Interface : ID2D1Resource.Interface
{ {
[VtblIndex(4)] [VtblIndex(4)]

View File

@@ -129,6 +129,7 @@ public unsafe partial struct ID2D1ColorContext1 : ID2D1ColorContext1.Interface,
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1ColorContext1*, SimpleColorProfile*, int>)(lpVtbl[9]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this), simpleProfile); return ((delegate* unmanaged[Stdcall]<ID2D1ColorContext1*, SimpleColorProfile*, int>)(lpVtbl[9]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this), simpleProfile);
} }
public interface Interface : ID2D1ColorContext.Interface public interface Interface : ID2D1ColorContext.Interface
{ {
[VtblIndex(7)] [VtblIndex(7)]

View File

@@ -97,6 +97,7 @@ public unsafe partial struct ID2D1CommandList : ID2D1CommandList.Interface, INat
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1CommandList*, int>)(lpVtbl[5]))((ID2D1CommandList*)Unsafe.AsPointer(ref this)); return ((delegate* unmanaged[Stdcall]<ID2D1CommandList*, int>)(lpVtbl[5]))((ID2D1CommandList*)Unsafe.AsPointer(ref this));
} }
public interface Interface : ID2D1Image.Interface public interface Interface : ID2D1Image.Interface
{ {
[VtblIndex(4)] [VtblIndex(4)]

View File

@@ -273,6 +273,7 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink*, int>)(lpVtbl[27]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this)); return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink*, int>)(lpVtbl[27]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this));
} }
public interface Interface : IUnknown.Interface public interface Interface : IUnknown.Interface
{ {
[VtblIndex(3)] [VtblIndex(3)]

View File

@@ -281,6 +281,7 @@ public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, IN
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, PrimitiveBlend, int>)(lpVtbl[28]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), primitiveBlend); return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, PrimitiveBlend, int>)(lpVtbl[28]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), primitiveBlend);
} }
public interface Interface : ID2D1CommandSink.Interface public interface Interface : ID2D1CommandSink.Interface
{ {
[VtblIndex(28)] [VtblIndex(28)]

View File

@@ -305,6 +305,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, ID2D1GdiMetafile*, Common.RectF*, Common.RectF*, int>)(lpVtbl[31]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), gdiMetafile, destinationRectangle, sourceRectangle); return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, ID2D1GdiMetafile*, Common.RectF*, Common.RectF*, int>)(lpVtbl[31]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), gdiMetafile, destinationRectangle, sourceRectangle);
} }
public interface Interface : ID2D1CommandSink1.Interface public interface Interface : ID2D1CommandSink1.Interface
{ {
[VtblIndex(29)] [VtblIndex(29)]

View File

@@ -313,6 +313,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, ID2D1SpriteBatch*, uint, uint, ID2D1Bitmap*, BitmapInterpolationMode, SpriteOptions, int>)(lpVtbl[32]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), spriteBatch, startIndex, spriteCount, bitmap, interpolationMode, spriteOptions); return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, ID2D1SpriteBatch*, uint, uint, ID2D1Bitmap*, BitmapInterpolationMode, SpriteOptions, int>)(lpVtbl[32]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), spriteBatch, startIndex, spriteCount, bitmap, interpolationMode, spriteOptions);
} }
public interface Interface : ID2D1CommandSink2.Interface public interface Interface : ID2D1CommandSink2.Interface
{ {
[VtblIndex(32)] [VtblIndex(32)]

View File

@@ -321,6 +321,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, PrimitiveBlend, int>)(lpVtbl[33]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), primitiveBlend); return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, PrimitiveBlend, int>)(lpVtbl[33]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), primitiveBlend);
} }
public interface Interface : ID2D1CommandSink3.Interface public interface Interface : ID2D1CommandSink3.Interface
{ {
[VtblIndex(33)] [VtblIndex(33)]

View File

@@ -329,6 +329,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, ID2D1Image*, Common.BlendMode, System.Drawing.PointF*, Common.RectF*, InterpolationMode, int>)(lpVtbl[34]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), image, blendMode, targetOffset, imageRectangle, interpolationMode); return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, ID2D1Image*, Common.BlendMode, System.Drawing.PointF*, Common.RectF*, InterpolationMode, int>)(lpVtbl[34]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), image, blendMode, targetOffset, imageRectangle, interpolationMode);
} }
public interface Interface : ID2D1CommandSink4.Interface public interface Interface : ID2D1CommandSink4.Interface
{ {
[VtblIndex(34)] [VtblIndex(34)]

View File

@@ -129,6 +129,7 @@ public unsafe partial struct ID2D1ComputeInfo : ID2D1ComputeInfo.Interface, INat
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1ComputeInfo*, uint, ID2D1ResourceTexture*, int>)(lpVtbl[9]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this), textureIndex, resourceTexture); return ((delegate* unmanaged[Stdcall]<ID2D1ComputeInfo*, uint, ID2D1ResourceTexture*, int>)(lpVtbl[9]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this), textureIndex, resourceTexture);
} }
public interface Interface : ID2D1RenderInfo.Interface public interface Interface : ID2D1RenderInfo.Interface
{ {
[VtblIndex(7)] [VtblIndex(7)]

View File

@@ -121,6 +121,7 @@ public unsafe partial struct ID2D1ComputeTransform : ID2D1ComputeTransform.Inter
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1ComputeTransform*, RawRect*, uint*, uint*, uint*, int>)(lpVtbl[8]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this), outputRect, dimensionX, dimensionY, dimensionZ); return ((delegate* unmanaged[Stdcall]<ID2D1ComputeTransform*, RawRect*, uint*, uint*, uint*, int>)(lpVtbl[8]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this), outputRect, dimensionX, dimensionY, dimensionZ);
} }
public interface Interface : ID2D1Transform.Interface public interface Interface : ID2D1Transform.Interface
{ {
[VtblIndex(7)] [VtblIndex(7)]

View File

@@ -97,6 +97,7 @@ public unsafe partial struct ID2D1ConcreteTransform : ID2D1ConcreteTransform.Int
{ {
((delegate* unmanaged[Stdcall]<ID2D1ConcreteTransform*, Bool32, void>)(lpVtbl[5]))((ID2D1ConcreteTransform*)Unsafe.AsPointer(ref this), isCached); ((delegate* unmanaged[Stdcall]<ID2D1ConcreteTransform*, Bool32, void>)(lpVtbl[5]))((ID2D1ConcreteTransform*)Unsafe.AsPointer(ref this), isCached);
} }
public interface Interface : ID2D1TransformNode.Interface public interface Interface : ID2D1TransformNode.Interface
{ {
[VtblIndex(4)] [VtblIndex(4)]

View File

@@ -516,6 +516,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, IntPtr, RawRect*, int>)(lpVtbl[57]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), hDC, pSubRect); return ((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, IntPtr, RawRect*, int>)(lpVtbl[57]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), hDC, pSubRect);
} }
public interface Interface : ID2D1RenderTarget.Interface public interface Interface : ID2D1RenderTarget.Interface
{ {
[VtblIndex(57)] [VtblIndex(57)]

View File

@@ -113,6 +113,7 @@ public unsafe partial struct ID2D1Device : ID2D1Device.Interface, INativeGuid
{ {
((delegate* unmanaged[Stdcall]<ID2D1Device*, uint, void>)(lpVtbl[7]))((ID2D1Device*)Unsafe.AsPointer(ref this), millisecondsSinceUse); ((delegate* unmanaged[Stdcall]<ID2D1Device*, uint, void>)(lpVtbl[7]))((ID2D1Device*)Unsafe.AsPointer(ref this), millisecondsSinceUse);
} }
public interface Interface : ID2D1Resource.Interface public interface Interface : ID2D1Resource.Interface
{ {
[VtblIndex(4)] [VtblIndex(4)]

View File

@@ -137,6 +137,7 @@ public unsafe partial struct ID2D1Device1 : ID2D1Device1.Interface, INativeGuid
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1Device1*, DeviceContextOptions, ID2D1DeviceContext1**, int>)(lpVtbl[10]))((ID2D1Device1*)Unsafe.AsPointer(ref this), options, deviceContext1); return ((delegate* unmanaged[Stdcall]<ID2D1Device1*, DeviceContextOptions, ID2D1DeviceContext1**, int>)(lpVtbl[10]))((ID2D1Device1*)Unsafe.AsPointer(ref this), options, deviceContext1);
} }
public interface Interface : ID2D1Device.Interface public interface Interface : ID2D1Device.Interface
{ {
[VtblIndex(8)] [VtblIndex(8)]

View File

@@ -161,6 +161,7 @@ public unsafe partial struct ID2D1Device2 : ID2D1Device2.Interface, INativeGuid
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1Device2*, Graphics.Dxgi.IDXGIDevice**, int>)(lpVtbl[13]))((ID2D1Device2*)Unsafe.AsPointer(ref this), dxgiDevice); return ((delegate* unmanaged[Stdcall]<ID2D1Device2*, Graphics.Dxgi.IDXGIDevice**, int>)(lpVtbl[13]))((ID2D1Device2*)Unsafe.AsPointer(ref this), dxgiDevice);
} }
public interface Interface : ID2D1Device1.Interface public interface Interface : ID2D1Device1.Interface
{ {
[VtblIndex(11)] [VtblIndex(11)]

View File

@@ -169,6 +169,7 @@ public unsafe partial struct ID2D1Device3 : ID2D1Device3.Interface, INativeGuid
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1Device3*, DeviceContextOptions, ID2D1DeviceContext3**, int>)(lpVtbl[14]))((ID2D1Device3*)Unsafe.AsPointer(ref this), options, deviceContext3); return ((delegate* unmanaged[Stdcall]<ID2D1Device3*, DeviceContextOptions, ID2D1DeviceContext3**, int>)(lpVtbl[14]))((ID2D1Device3*)Unsafe.AsPointer(ref this), options, deviceContext3);
} }
public interface Interface : ID2D1Device2.Interface public interface Interface : ID2D1Device2.Interface
{ {
[VtblIndex(14)] [VtblIndex(14)]

View File

@@ -193,6 +193,7 @@ public unsafe partial struct ID2D1Device4 : ID2D1Device4.Interface, INativeGuid
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1Device4*, ulong>)(lpVtbl[17]))((ID2D1Device4*)Unsafe.AsPointer(ref this)); return ((delegate* unmanaged[Stdcall]<ID2D1Device4*, ulong>)(lpVtbl[17]))((ID2D1Device4*)Unsafe.AsPointer(ref this));
} }
public interface Interface : ID2D1Device3.Interface public interface Interface : ID2D1Device3.Interface
{ {
[VtblIndex(15)] [VtblIndex(15)]

View File

@@ -201,6 +201,7 @@ public unsafe partial struct ID2D1Device5 : ID2D1Device5.Interface, INativeGuid
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1Device5*, DeviceContextOptions, ID2D1DeviceContext5**, int>)(lpVtbl[18]))((ID2D1Device5*)Unsafe.AsPointer(ref this), options, deviceContext5); return ((delegate* unmanaged[Stdcall]<ID2D1Device5*, DeviceContextOptions, ID2D1DeviceContext5**, int>)(lpVtbl[18]))((ID2D1Device5*)Unsafe.AsPointer(ref this), options, deviceContext5);
} }
public interface Interface : ID2D1Device4.Interface public interface Interface : ID2D1Device4.Interface
{ {
[VtblIndex(18)] [VtblIndex(18)]

View File

@@ -209,6 +209,7 @@ public unsafe partial struct ID2D1Device6 : ID2D1Device6.Interface, INativeGuid
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1Device6*, DeviceContextOptions, ID2D1DeviceContext6**, int>)(lpVtbl[19]))((ID2D1Device6*)Unsafe.AsPointer(ref this), options, deviceContext6); return ((delegate* unmanaged[Stdcall]<ID2D1Device6*, DeviceContextOptions, ID2D1DeviceContext6**, int>)(lpVtbl[19]))((ID2D1Device6*)Unsafe.AsPointer(ref this), options, deviceContext6);
} }
public interface Interface : ID2D1Device5.Interface public interface Interface : ID2D1Device5.Interface
{ {
[VtblIndex(19)] [VtblIndex(19)]

View File

@@ -788,6 +788,7 @@ public unsafe partial struct ID2D1DeviceContext : ID2D1DeviceContext.Interface,
{ {
((delegate* unmanaged[Stdcall]<ID2D1DeviceContext*, ID2D1Bitmap*, ID2D1Brush*, Common.RectF*, Common.RectF*, void>)(lpVtbl[91]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext*, ID2D1Bitmap*, ID2D1Brush*, Common.RectF*, Common.RectF*, void>)(lpVtbl[91]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
} }
public interface Interface : ID2D1RenderTarget.Interface public interface Interface : ID2D1RenderTarget.Interface
{ {
[VtblIndex(57)] [VtblIndex(57)]

View File

@@ -812,6 +812,7 @@ public unsafe partial struct ID2D1DeviceContext1 : ID2D1DeviceContext1.Interface
{ {
((delegate* unmanaged[Stdcall]<ID2D1DeviceContext1*, ID2D1GeometryRealization*, ID2D1Brush*, void>)(lpVtbl[94]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), geometryRealization, brush); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext1*, ID2D1GeometryRealization*, ID2D1Brush*, void>)(lpVtbl[94]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), geometryRealization, brush);
} }
public interface Interface : ID2D1DeviceContext.Interface public interface Interface : ID2D1DeviceContext.Interface
{ {
[VtblIndex(92)] [VtblIndex(92)]

View File

@@ -900,6 +900,7 @@ public unsafe partial struct ID2D1DeviceContext2 : ID2D1DeviceContext2.Interface
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext2*, ID2D1ImageSource*, TransformedImageSourceProperties*, ID2D1TransformedImageSource**, int>)(lpVtbl[105]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), imageSource, properties, transformedImageSource); return ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext2*, ID2D1ImageSource*, TransformedImageSourceProperties*, ID2D1TransformedImageSource**, int>)(lpVtbl[105]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), imageSource, properties, transformedImageSource);
} }
public interface Interface : ID2D1DeviceContext1.Interface public interface Interface : ID2D1DeviceContext1.Interface
{ {
[VtblIndex(95)] [VtblIndex(95)]

View File

@@ -916,6 +916,7 @@ public unsafe partial struct ID2D1DeviceContext3 : ID2D1DeviceContext3.Interface
{ {
((delegate* unmanaged[Stdcall]<ID2D1DeviceContext3*, ID2D1SpriteBatch*, uint, uint, ID2D1Bitmap*, BitmapInterpolationMode, SpriteOptions, void>)(lpVtbl[107]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), spriteBatch, startIndex, spriteCount, bitmap, interpolationMode, spriteOptions); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext3*, ID2D1SpriteBatch*, uint, uint, ID2D1Bitmap*, BitmapInterpolationMode, SpriteOptions, void>)(lpVtbl[107]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), spriteBatch, startIndex, spriteCount, bitmap, interpolationMode, spriteOptions);
} }
public interface Interface : ID2D1DeviceContext2.Interface public interface Interface : ID2D1DeviceContext2.Interface
{ {
[VtblIndex(106)] [VtblIndex(106)]

View File

@@ -972,6 +972,7 @@ public unsafe partial struct ID2D1DeviceContext4 : ID2D1DeviceContext4.Interface
{ {
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);
} }
public interface Interface : ID2D1DeviceContext3.Interface public interface Interface : ID2D1DeviceContext3.Interface
{ {
[VtblIndex(108)] [VtblIndex(108)]

View File

@@ -1004,6 +1004,7 @@ public unsafe partial struct ID2D1DeviceContext5 : ID2D1DeviceContext5.Interface
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext5*, SimpleColorProfile*, ID2D1ColorContext1**, int>)(lpVtbl[118]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), simpleProfile, colorContext); return ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext5*, SimpleColorProfile*, ID2D1ColorContext1**, int>)(lpVtbl[118]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), simpleProfile, colorContext);
} }
public interface Interface : ID2D1DeviceContext4.Interface public interface Interface : ID2D1DeviceContext4.Interface
{ {
[VtblIndex(115)] [VtblIndex(115)]

View File

@@ -1012,6 +1012,7 @@ public unsafe partial struct ID2D1DeviceContext6 : ID2D1DeviceContext6.Interface
{ {
((delegate* unmanaged[Stdcall]<ID2D1DeviceContext6*, ID2D1Image*, Common.BlendMode, System.Drawing.PointF*, Common.RectF*, InterpolationMode, void>)(lpVtbl[119]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), image, blendMode, targetOffset, imageRectangle, interpolationMode); ((delegate* unmanaged[Stdcall]<ID2D1DeviceContext6*, ID2D1Image*, Common.BlendMode, System.Drawing.PointF*, Common.RectF*, InterpolationMode, void>)(lpVtbl[119]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), image, blendMode, targetOffset, imageRectangle, interpolationMode);
} }
public interface Interface : ID2D1DeviceContext5.Interface public interface Interface : ID2D1DeviceContext5.Interface
{ {
[VtblIndex(119)] [VtblIndex(119)]

View File

@@ -145,6 +145,7 @@ public unsafe partial struct ID2D1DrawInfo : ID2D1DrawInfo.Interface, INativeGui
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1DrawInfo*, ID2D1VertexBuffer*, VertexOptions, BlendDescription*, VertexRange*, Guid*, int>)(lpVtbl[11]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), vertexBuffer, vertexOptions, blendDescription, vertexRange, vertexShader); return ((delegate* unmanaged[Stdcall]<ID2D1DrawInfo*, ID2D1VertexBuffer*, VertexOptions, BlendDescription*, VertexRange*, Guid*, int>)(lpVtbl[11]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), vertexBuffer, vertexOptions, blendDescription, vertexRange, vertexShader);
} }
public interface Interface : ID2D1RenderInfo.Interface public interface Interface : ID2D1RenderInfo.Interface
{ {
[VtblIndex(7)] [VtblIndex(7)]

View File

@@ -113,6 +113,7 @@ public unsafe partial struct ID2D1DrawTransform : ID2D1DrawTransform.Interface,
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1DrawTransform*, ID2D1DrawInfo*, int>)(lpVtbl[7]))((ID2D1DrawTransform*)Unsafe.AsPointer(ref this), drawInfo); return ((delegate* unmanaged[Stdcall]<ID2D1DrawTransform*, ID2D1DrawInfo*, int>)(lpVtbl[7]))((ID2D1DrawTransform*)Unsafe.AsPointer(ref this), drawInfo);
} }
public interface Interface : ID2D1Transform.Interface public interface Interface : ID2D1Transform.Interface
{ {
[VtblIndex(7)] [VtblIndex(7)]

View File

@@ -113,6 +113,7 @@ public unsafe partial struct ID2D1DrawingStateBlock : ID2D1DrawingStateBlock.Int
{ {
((delegate* unmanaged[Stdcall]<ID2D1DrawingStateBlock*, Graphics.DirectWrite.IDWriteRenderingParams**, void>)(lpVtbl[7]))((ID2D1DrawingStateBlock*)Unsafe.AsPointer(ref this), textRenderingParams); ((delegate* unmanaged[Stdcall]<ID2D1DrawingStateBlock*, Graphics.DirectWrite.IDWriteRenderingParams**, void>)(lpVtbl[7]))((ID2D1DrawingStateBlock*)Unsafe.AsPointer(ref this), textRenderingParams);
} }
public interface Interface : ID2D1Resource.Interface public interface Interface : ID2D1Resource.Interface
{ {
[VtblIndex(4)] [VtblIndex(4)]

View File

@@ -129,6 +129,7 @@ public unsafe partial struct ID2D1DrawingStateBlock1 : ID2D1DrawingStateBlock1.I
{ {
((delegate* unmanaged[Stdcall]<ID2D1DrawingStateBlock1*, DrawingStateDescription1*, void>)(lpVtbl[9]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this), stateDescription); ((delegate* unmanaged[Stdcall]<ID2D1DrawingStateBlock1*, DrawingStateDescription1*, void>)(lpVtbl[9]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this), stateDescription);
} }
public interface Interface : ID2D1DrawingStateBlock.Interface public interface Interface : ID2D1DrawingStateBlock.Interface
{ {
[VtblIndex(8)] [VtblIndex(8)]

View File

@@ -201,6 +201,7 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
{ {
((delegate* unmanaged[Stdcall]<ID2D1Effect*, ID2D1Image**, void>)(lpVtbl[18]))((ID2D1Effect*)Unsafe.AsPointer(ref this), outputImage); ((delegate* unmanaged[Stdcall]<ID2D1Effect*, ID2D1Image**, void>)(lpVtbl[18]))((ID2D1Effect*)Unsafe.AsPointer(ref this), outputImage);
} }
public interface Interface : ID2D1Properties.Interface public interface Interface : ID2D1Properties.Interface
{ {
[VtblIndex(14)] [VtblIndex(14)]

View File

@@ -241,6 +241,7 @@ public unsafe partial struct ID2D1EffectContext : ID2D1EffectContext.Interface,
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext*, BufferPrecision, Bool32>)(lpVtbl[23]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), bufferPrecision); return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext*, BufferPrecision, Bool32>)(lpVtbl[23]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), bufferPrecision);
} }
public interface Interface : IUnknown.Interface public interface Interface : IUnknown.Interface
{ {
[VtblIndex(3)] [VtblIndex(3)]

View File

@@ -249,6 +249,7 @@ public unsafe partial struct ID2D1EffectContext1 : ID2D1EffectContext1.Interface
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext1*, BufferPrecision, uint*, byte*, uint, uint*, ID2D1LookupTable3D**, int>)(lpVtbl[24]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), precision, extents, data, dataCount, strides, lookupTable); return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext1*, BufferPrecision, uint*, byte*, uint, uint*, ID2D1LookupTable3D**, int>)(lpVtbl[24]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), precision, extents, data, dataCount, strides, lookupTable);
} }
public interface Interface : ID2D1EffectContext.Interface public interface Interface : ID2D1EffectContext.Interface
{ {
[VtblIndex(24)] [VtblIndex(24)]

View File

@@ -265,6 +265,7 @@ public unsafe partial struct ID2D1EffectContext2 : ID2D1EffectContext2.Interface
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext2*, SimpleColorProfile*, ID2D1ColorContext1**, int>)(lpVtbl[26]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), simpleProfile, colorContext); return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext2*, SimpleColorProfile*, ID2D1ColorContext1**, int>)(lpVtbl[26]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), simpleProfile, colorContext);
} }
public interface Interface : ID2D1EffectContext1.Interface public interface Interface : ID2D1EffectContext1.Interface
{ {
[VtblIndex(25)] [VtblIndex(25)]

View File

@@ -97,6 +97,7 @@ public unsafe partial struct ID2D1EffectImpl : ID2D1EffectImpl.Interface, INativ
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1EffectImpl*, ID2D1TransformGraph*, int>)(lpVtbl[5]))((ID2D1EffectImpl*)Unsafe.AsPointer(ref this), transformGraph); return ((delegate* unmanaged[Stdcall]<ID2D1EffectImpl*, ID2D1TransformGraph*, int>)(lpVtbl[5]))((ID2D1EffectImpl*)Unsafe.AsPointer(ref this), transformGraph);
} }
public interface Interface : IUnknown.Interface public interface Interface : IUnknown.Interface
{ {
[VtblIndex(3)] [VtblIndex(3)]

View File

@@ -193,6 +193,7 @@ public unsafe partial struct ID2D1EllipseGeometry : ID2D1EllipseGeometry.Interfa
{ {
((delegate* unmanaged[Stdcall]<ID2D1EllipseGeometry*, Ellipse*, void>)(lpVtbl[17]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), ellipse); ((delegate* unmanaged[Stdcall]<ID2D1EllipseGeometry*, Ellipse*, void>)(lpVtbl[17]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), ellipse);
} }
public interface Interface : ID2D1Geometry.Interface public interface Interface : ID2D1Geometry.Interface
{ {
[VtblIndex(17)] [VtblIndex(17)]

View File

@@ -185,6 +185,7 @@ public unsafe partial struct ID2D1Factory : ID2D1Factory.Interface, INativeGuid
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1Factory*, RenderTargetProperties*, ID2D1DCRenderTarget**, int>)(lpVtbl[16]))((ID2D1Factory*)Unsafe.AsPointer(ref this), renderTargetProperties, dcRenderTarget); return ((delegate* unmanaged[Stdcall]<ID2D1Factory*, RenderTargetProperties*, ID2D1DCRenderTarget**, int>)(lpVtbl[16]))((ID2D1Factory*)Unsafe.AsPointer(ref this), renderTargetProperties, dcRenderTarget);
} }
public interface Interface : IUnknown.Interface public interface Interface : IUnknown.Interface
{ {
[VtblIndex(3)] [VtblIndex(3)]

View File

@@ -265,6 +265,7 @@ public unsafe partial struct ID2D1Factory1 : ID2D1Factory1.Interface, INativeGui
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1Factory1*, Guid*, ID2D1Properties**, int>)(lpVtbl[26]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), effectId, properties); return ((delegate* unmanaged[Stdcall]<ID2D1Factory1*, Guid*, ID2D1Properties**, int>)(lpVtbl[26]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), effectId, properties);
} }
public interface Interface : ID2D1Factory.Interface public interface Interface : ID2D1Factory.Interface
{ {
[VtblIndex(17)] [VtblIndex(17)]

View File

@@ -273,6 +273,7 @@ public unsafe partial struct ID2D1Factory2 : ID2D1Factory2.Interface, INativeGui
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1Factory2*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device1**, int>)(lpVtbl[27]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice1); return ((delegate* unmanaged[Stdcall]<ID2D1Factory2*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device1**, int>)(lpVtbl[27]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice1);
} }
public interface Interface : ID2D1Factory1.Interface public interface Interface : ID2D1Factory1.Interface
{ {
[VtblIndex(27)] [VtblIndex(27)]

View File

@@ -281,6 +281,7 @@ public unsafe partial struct ID2D1Factory3 : ID2D1Factory3.Interface, INativeGui
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1Factory3*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device2**, int>)(lpVtbl[28]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice2); return ((delegate* unmanaged[Stdcall]<ID2D1Factory3*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device2**, int>)(lpVtbl[28]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice2);
} }
public interface Interface : ID2D1Factory2.Interface public interface Interface : ID2D1Factory2.Interface
{ {
[VtblIndex(28)] [VtblIndex(28)]

View File

@@ -289,6 +289,7 @@ public unsafe partial struct ID2D1Factory4 : ID2D1Factory4.Interface, INativeGui
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1Factory4*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device3**, int>)(lpVtbl[29]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice3); return ((delegate* unmanaged[Stdcall]<ID2D1Factory4*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device3**, int>)(lpVtbl[29]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice3);
} }
public interface Interface : ID2D1Factory3.Interface public interface Interface : ID2D1Factory3.Interface
{ {
[VtblIndex(29)] [VtblIndex(29)]

View File

@@ -297,6 +297,7 @@ public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface, INativeGui
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1Factory5*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device4**, int>)(lpVtbl[30]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice4); return ((delegate* unmanaged[Stdcall]<ID2D1Factory5*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device4**, int>)(lpVtbl[30]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice4);
} }
public interface Interface : ID2D1Factory4.Interface public interface Interface : ID2D1Factory4.Interface
{ {
[VtblIndex(30)] [VtblIndex(30)]

View File

@@ -305,6 +305,7 @@ public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGui
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1Factory6*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device5**, int>)(lpVtbl[31]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice5); return ((delegate* unmanaged[Stdcall]<ID2D1Factory6*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device5**, int>)(lpVtbl[31]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice5);
} }
public interface Interface : ID2D1Factory5.Interface public interface Interface : ID2D1Factory5.Interface
{ {
[VtblIndex(31)] [VtblIndex(31)]

View File

@@ -313,6 +313,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1Factory7*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device6**, int>)(lpVtbl[32]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice6); return ((delegate* unmanaged[Stdcall]<ID2D1Factory7*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device6**, int>)(lpVtbl[32]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice6);
} }
public interface Interface : ID2D1Factory6.Interface public interface Interface : ID2D1Factory6.Interface
{ {
[VtblIndex(32)] [VtblIndex(32)]

View File

@@ -89,6 +89,7 @@ public unsafe partial struct ID2D1GdiInteropRenderTarget : ID2D1GdiInteropRender
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1GdiInteropRenderTarget*, RawRect*, int>)(lpVtbl[4]))((ID2D1GdiInteropRenderTarget*)Unsafe.AsPointer(ref this), update); return ((delegate* unmanaged[Stdcall]<ID2D1GdiInteropRenderTarget*, RawRect*, int>)(lpVtbl[4]))((ID2D1GdiInteropRenderTarget*)Unsafe.AsPointer(ref this), update);
} }
public interface Interface : IUnknown.Interface public interface Interface : IUnknown.Interface
{ {
[VtblIndex(3)] [VtblIndex(3)]

View File

@@ -97,6 +97,7 @@ public unsafe partial struct ID2D1GdiMetafile : ID2D1GdiMetafile.Interface, INat
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1GdiMetafile*, Common.RectF*, int>)(lpVtbl[5]))((ID2D1GdiMetafile*)Unsafe.AsPointer(ref this), bounds); return ((delegate* unmanaged[Stdcall]<ID2D1GdiMetafile*, Common.RectF*, int>)(lpVtbl[5]))((ID2D1GdiMetafile*)Unsafe.AsPointer(ref this), bounds);
} }
public interface Interface : ID2D1Resource.Interface public interface Interface : ID2D1Resource.Interface
{ {
[VtblIndex(4)] [VtblIndex(4)]

View File

@@ -113,6 +113,7 @@ public unsafe partial struct ID2D1GdiMetafile1 : ID2D1GdiMetafile1.Interface, IN
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1GdiMetafile1*, Common.RectF*, int>)(lpVtbl[7]))((ID2D1GdiMetafile1*)Unsafe.AsPointer(ref this), bounds); return ((delegate* unmanaged[Stdcall]<ID2D1GdiMetafile1*, Common.RectF*, int>)(lpVtbl[7]))((ID2D1GdiMetafile1*)Unsafe.AsPointer(ref this), bounds);
} }
public interface Interface : ID2D1GdiMetafile.Interface public interface Interface : ID2D1GdiMetafile.Interface
{ {
[VtblIndex(6)] [VtblIndex(6)]

View File

@@ -81,6 +81,7 @@ public unsafe partial struct ID2D1GdiMetafileSink : ID2D1GdiMetafileSink.Interfa
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1GdiMetafileSink*, uint, void*, uint, int>)(lpVtbl[3]))((ID2D1GdiMetafileSink*)Unsafe.AsPointer(ref this), recordType, recordData, recordDataSize); return ((delegate* unmanaged[Stdcall]<ID2D1GdiMetafileSink*, uint, void*, uint, int>)(lpVtbl[3]))((ID2D1GdiMetafileSink*)Unsafe.AsPointer(ref this), recordType, recordData, recordDataSize);
} }
public interface Interface : IUnknown.Interface public interface Interface : IUnknown.Interface
{ {
[VtblIndex(3)] [VtblIndex(3)]

View File

@@ -89,6 +89,7 @@ public unsafe partial struct ID2D1GdiMetafileSink1 : ID2D1GdiMetafileSink1.Inter
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1GdiMetafileSink1*, uint, void*, uint, uint, int>)(lpVtbl[4]))((ID2D1GdiMetafileSink1*)Unsafe.AsPointer(ref this), recordType, recordData, recordDataSize, flags); return ((delegate* unmanaged[Stdcall]<ID2D1GdiMetafileSink1*, uint, void*, uint, uint, int>)(lpVtbl[4]))((ID2D1GdiMetafileSink1*)Unsafe.AsPointer(ref this), recordType, recordData, recordDataSize, flags);
} }
public interface Interface : ID2D1GdiMetafileSink.Interface public interface Interface : ID2D1GdiMetafileSink.Interface
{ {
[VtblIndex(4)] [VtblIndex(4)]

View File

@@ -185,6 +185,7 @@ public unsafe partial struct ID2D1Geometry : ID2D1Geometry.Interface, INativeGui
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1Geometry*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[16]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, geometrySink); return ((delegate* unmanaged[Stdcall]<ID2D1Geometry*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[16]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, geometrySink);
} }
public interface Interface : ID2D1Resource.Interface public interface Interface : ID2D1Resource.Interface
{ {
[VtblIndex(4)] [VtblIndex(4)]

View File

@@ -209,6 +209,7 @@ public unsafe partial struct ID2D1GeometryGroup : ID2D1GeometryGroup.Interface,
{ {
((delegate* unmanaged[Stdcall]<ID2D1GeometryGroup*, ID2D1Geometry**, uint, void>)(lpVtbl[19]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), geometries, geometriesCount); ((delegate* unmanaged[Stdcall]<ID2D1GeometryGroup*, ID2D1Geometry**, uint, void>)(lpVtbl[19]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), geometries, geometriesCount);
} }
public interface Interface : ID2D1Geometry.Interface public interface Interface : ID2D1Geometry.Interface
{ {
[VtblIndex(17)] [VtblIndex(17)]

View File

@@ -81,6 +81,7 @@ public unsafe partial struct ID2D1GeometryRealization : ID2D1GeometryRealization
{ {
((delegate* unmanaged[Stdcall]<ID2D1GeometryRealization*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1GeometryRealization*)Unsafe.AsPointer(ref this), factory); ((delegate* unmanaged[Stdcall]<ID2D1GeometryRealization*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1GeometryRealization*)Unsafe.AsPointer(ref this), factory);
} }
public interface Interface : ID2D1Resource.Interface public interface Interface : ID2D1Resource.Interface
{ {
} }

View File

@@ -50,142 +50,143 @@ public unsafe partial struct ID2D1GeometrySink : ID2D1GeometrySink.Interface, IN
public void** lpVtbl; public void** lpVtbl;
/// <inheritdoc cref="IUnknown.QueryInterface" /> /// <inheritdoc cref="IUnknown.QueryInterface" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(0)]
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
{
return ((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), riid, ppvObject);
}
/// <inheritdoc cref="IUnknown.AddRef" />
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(1)]
[return: NativeTypeName("ULONG")]
public uint AddRef()
{
return ((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, uint>)(lpVtbl[1]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this));
}
/// <inheritdoc cref="IUnknown.Release" />
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(2)]
[return: NativeTypeName("ULONG")]
public uint Release()
{
return ((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, uint>)(lpVtbl[2]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this));
}
/// <inheritdoc cref="Win32.Graphics.Direct2D.Common.ID2D1SimplifiedGeometrySink.SetFillMode" />
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(0)] [VtblIndex(0)]
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
{
return ((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), riid, ppvObject);
}
/// <inheritdoc cref="IUnknown.AddRef" />
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(1)]
[return: NativeTypeName("ULONG")]
public uint AddRef()
{
return ((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, uint>)(lpVtbl[1]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this));
}
/// <inheritdoc cref="IUnknown.Release" />
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(2)]
[return: NativeTypeName("ULONG")]
public uint Release()
{
return ((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, uint>)(lpVtbl[2]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this));
}
/// <inheritdoc cref="Win32.Graphics.Direct2D.Common.ID2D1SimplifiedGeometrySink.SetFillMode" />
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(3)]
public void SetFillMode(Common.FillMode fillMode) public void SetFillMode(Common.FillMode fillMode)
{ {
((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, Common.FillMode, void>)(lpVtbl[0]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), fillMode); ((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, Common.FillMode, void>)(lpVtbl[3]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), fillMode);
} }
/// <inheritdoc cref="Win32.Graphics.Direct2D.Common.ID2D1SimplifiedGeometrySink.SetSegmentFlags" /> /// <inheritdoc cref="Win32.Graphics.Direct2D.Common.ID2D1SimplifiedGeometrySink.SetSegmentFlags" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(1)] [VtblIndex(4)]
public void SetSegmentFlags(Common.PathSegment vertexFlags) public void SetSegmentFlags(Common.PathSegment vertexFlags)
{ {
((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, Common.PathSegment, void>)(lpVtbl[1]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), vertexFlags); ((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, Common.PathSegment, void>)(lpVtbl[4]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), vertexFlags);
} }
/// <inheritdoc cref="Win32.Graphics.Direct2D.Common.ID2D1SimplifiedGeometrySink.BeginFigure" /> /// <inheritdoc cref="Win32.Graphics.Direct2D.Common.ID2D1SimplifiedGeometrySink.BeginFigure" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(2)] [VtblIndex(5)]
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[5]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), startPoint, figureBegin);
} }
/// <inheritdoc cref="Win32.Graphics.Direct2D.Common.ID2D1SimplifiedGeometrySink.AddLines" /> /// <inheritdoc cref="Win32.Graphics.Direct2D.Common.ID2D1SimplifiedGeometrySink.AddLines" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(3)] [VtblIndex(6)]
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[6]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), points, pointsCount);
} }
/// <inheritdoc cref="Win32.Graphics.Direct2D.Common.ID2D1SimplifiedGeometrySink.AddBeziers" /> /// <inheritdoc cref="Win32.Graphics.Direct2D.Common.ID2D1SimplifiedGeometrySink.AddBeziers" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(4)] [VtblIndex(7)]
public void AddBeziers(Common.BezierSegment* beziers, uint beziersCount) public void AddBeziers(Common.BezierSegment* beziers, uint beziersCount)
{ {
((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, Common.BezierSegment*, uint, void>)(lpVtbl[4]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), beziers, beziersCount); ((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, Common.BezierSegment*, uint, void>)(lpVtbl[7]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), beziers, beziersCount);
} }
/// <inheritdoc cref="Win32.Graphics.Direct2D.Common.ID2D1SimplifiedGeometrySink.EndFigure" /> /// <inheritdoc cref="Win32.Graphics.Direct2D.Common.ID2D1SimplifiedGeometrySink.EndFigure" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(5)] [VtblIndex(8)]
public void EndFigure(Common.FigureEnd figureEnd) public void EndFigure(Common.FigureEnd figureEnd)
{ {
((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, Common.FigureEnd, void>)(lpVtbl[5]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), figureEnd); ((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, Common.FigureEnd, void>)(lpVtbl[8]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), figureEnd);
} }
/// <inheritdoc cref="Win32.Graphics.Direct2D.Common.ID2D1SimplifiedGeometrySink.Close" /> /// <inheritdoc cref="Win32.Graphics.Direct2D.Common.ID2D1SimplifiedGeometrySink.Close" />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(6)] [VtblIndex(9)]
public HResult Close() public HResult Close()
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, int>)(lpVtbl[6]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this)); return ((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, int>)(lpVtbl[9]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this));
} }
/// <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(10)]
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[10]))((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"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(8)] [VtblIndex(11)]
public void AddBezier(Common.BezierSegment* bezier) public void AddBezier(Common.BezierSegment* bezier)
{ {
((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, Common.BezierSegment*, void>)(lpVtbl[8]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), bezier); ((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, Common.BezierSegment*, void>)(lpVtbl[11]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), bezier);
} }
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GeometrySink::AddQuadraticBezier"]/*' /> /// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GeometrySink::AddQuadraticBezier"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(9)] [VtblIndex(12)]
public void AddQuadraticBezier(QuadraticBezierSegment* bezier) public void AddQuadraticBezier(QuadraticBezierSegment* bezier)
{ {
((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, QuadraticBezierSegment*, void>)(lpVtbl[9]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), bezier); ((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, QuadraticBezierSegment*, void>)(lpVtbl[12]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), bezier);
} }
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GeometrySink::AddQuadraticBeziers"]/*' /> /// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GeometrySink::AddQuadraticBeziers"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(10)] [VtblIndex(13)]
public void AddQuadraticBeziers(QuadraticBezierSegment* beziers, uint beziersCount) public void AddQuadraticBeziers(QuadraticBezierSegment* beziers, uint beziersCount)
{ {
((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, QuadraticBezierSegment*, uint, void>)(lpVtbl[10]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), beziers, beziersCount); ((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, QuadraticBezierSegment*, uint, void>)(lpVtbl[13]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), beziers, beziersCount);
} }
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GeometrySink::AddArc"]/*' /> /// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GeometrySink::AddArc"]/*' />
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(11)] [VtblIndex(14)]
public void AddArc(ArcSegment* arc) public void AddArc(ArcSegment* arc)
{ {
((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, ArcSegment*, void>)(lpVtbl[11]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), arc); ((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, ArcSegment*, void>)(lpVtbl[14]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), arc);
} }
public interface Interface : ID2D1SimplifiedGeometrySink.Interface public interface Interface : ID2D1SimplifiedGeometrySink.Interface
{ {
[VtblIndex(7)] [VtblIndex(10)]
void AddLine(System.Drawing.PointF point); void AddLine(System.Drawing.PointF point);
[VtblIndex(8)] [VtblIndex(11)]
void AddBezier(Common.BezierSegment* bezier); void AddBezier(Common.BezierSegment* bezier);
[VtblIndex(9)] [VtblIndex(12)]
void AddQuadraticBezier(QuadraticBezierSegment* bezier); void AddQuadraticBezier(QuadraticBezierSegment* bezier);
[VtblIndex(10)] [VtblIndex(13)]
void AddQuadraticBeziers(QuadraticBezierSegment* beziers, uint beziersCount); void AddQuadraticBeziers(QuadraticBezierSegment* beziers, uint beziersCount);
[VtblIndex(11)] [VtblIndex(14)]
void AddArc(ArcSegment* arc); void AddArc(ArcSegment* arc);
} }
} }

View File

@@ -97,6 +97,7 @@ public unsafe partial struct ID2D1GradientMesh : ID2D1GradientMesh.Interface, IN
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1GradientMesh*, uint, GradientMeshPatch*, uint, int>)(lpVtbl[5]))((ID2D1GradientMesh*)Unsafe.AsPointer(ref this), startIndex, patches, patchesCount); return ((delegate* unmanaged[Stdcall]<ID2D1GradientMesh*, uint, GradientMeshPatch*, uint, int>)(lpVtbl[5]))((ID2D1GradientMesh*)Unsafe.AsPointer(ref this), startIndex, patches, patchesCount);
} }
public interface Interface : ID2D1Resource.Interface public interface Interface : ID2D1Resource.Interface
{ {
[VtblIndex(4)] [VtblIndex(4)]

View File

@@ -113,6 +113,7 @@ public unsafe partial struct ID2D1GradientStopCollection : ID2D1GradientStopColl
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1GradientStopCollection*, ExtendMode>)(lpVtbl[7]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this)); return ((delegate* unmanaged[Stdcall]<ID2D1GradientStopCollection*, ExtendMode>)(lpVtbl[7]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this));
} }
public interface Interface : ID2D1Resource.Interface public interface Interface : ID2D1Resource.Interface
{ {
[VtblIndex(4)] [VtblIndex(4)]

View File

@@ -153,6 +153,7 @@ public unsafe partial struct ID2D1GradientStopCollection1 : ID2D1GradientStopCol
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1GradientStopCollection1*, ColorInterpolationMode>)(lpVtbl[12]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this)); return ((delegate* unmanaged[Stdcall]<ID2D1GradientStopCollection1*, ColorInterpolationMode>)(lpVtbl[12]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this));
} }
public interface Interface : ID2D1GradientStopCollection.Interface public interface Interface : ID2D1GradientStopCollection.Interface
{ {
[VtblIndex(8)] [VtblIndex(8)]

View File

@@ -532,6 +532,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, IntPtr>)(lpVtbl[59]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this)); return ((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, IntPtr>)(lpVtbl[59]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this));
} }
public interface Interface : ID2D1RenderTarget.Interface public interface Interface : ID2D1RenderTarget.Interface
{ {
[VtblIndex(57)] [VtblIndex(57)]

View File

@@ -81,6 +81,7 @@ public unsafe partial struct ID2D1Image : ID2D1Image.Interface, INativeGuid
{ {
((delegate* unmanaged[Stdcall]<ID2D1Image*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Image*)Unsafe.AsPointer(ref this), factory); ((delegate* unmanaged[Stdcall]<ID2D1Image*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Image*)Unsafe.AsPointer(ref this), factory);
} }
public interface Interface : ID2D1Resource.Interface public interface Interface : ID2D1Resource.Interface
{ {
} }

View File

@@ -193,6 +193,7 @@ public unsafe partial struct ID2D1ImageBrush : ID2D1ImageBrush.Interface, INativ
{ {
((delegate* unmanaged[Stdcall]<ID2D1ImageBrush*, Common.RectF*, void>)(lpVtbl[17]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), sourceRectangle); ((delegate* unmanaged[Stdcall]<ID2D1ImageBrush*, Common.RectF*, void>)(lpVtbl[17]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), sourceRectangle);
} }
public interface Interface : ID2D1Brush.Interface public interface Interface : ID2D1Brush.Interface
{ {
[VtblIndex(8)] [VtblIndex(8)]

View File

@@ -97,6 +97,7 @@ public unsafe partial struct ID2D1ImageSource : ID2D1ImageSource.Interface, INat
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1ImageSource*, Bool32*, int>)(lpVtbl[5]))((ID2D1ImageSource*)Unsafe.AsPointer(ref this), resourcesDiscarded); return ((delegate* unmanaged[Stdcall]<ID2D1ImageSource*, Bool32*, int>)(lpVtbl[5]))((ID2D1ImageSource*)Unsafe.AsPointer(ref this), resourcesDiscarded);
} }
public interface Interface : ID2D1Image.Interface public interface Interface : ID2D1Image.Interface
{ {
[VtblIndex(4)] [VtblIndex(4)]

View File

@@ -121,6 +121,7 @@ public unsafe partial struct ID2D1ImageSourceFromWic : ID2D1ImageSourceFromWic.I
{ {
((delegate* unmanaged[Stdcall]<ID2D1ImageSourceFromWic*, Graphics.Imaging.IWICBitmapSource**, void>)(lpVtbl[8]))((ID2D1ImageSourceFromWic*)Unsafe.AsPointer(ref this), wicBitmapSource); ((delegate* unmanaged[Stdcall]<ID2D1ImageSourceFromWic*, Graphics.Imaging.IWICBitmapSource**, void>)(lpVtbl[8]))((ID2D1ImageSourceFromWic*)Unsafe.AsPointer(ref this), wicBitmapSource);
} }
public interface Interface : ID2D1ImageSource.Interface public interface Interface : ID2D1ImageSource.Interface
{ {
[VtblIndex(6)] [VtblIndex(6)]

View File

@@ -162,6 +162,7 @@ public unsafe partial struct ID2D1Ink : ID2D1Ink.Interface, INativeGuid
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1Ink*, ID2D1InkStyle*, Matrix3x2*, Common.RectF*, int>)(lpVtbl[13]))((ID2D1Ink*)Unsafe.AsPointer(ref this), inkStyle, worldTransform, bounds); return ((delegate* unmanaged[Stdcall]<ID2D1Ink*, ID2D1InkStyle*, Matrix3x2*, Common.RectF*, int>)(lpVtbl[13]))((ID2D1Ink*)Unsafe.AsPointer(ref this), inkStyle, worldTransform, bounds);
} }
public interface Interface : ID2D1Resource.Interface public interface Interface : ID2D1Resource.Interface
{ {
[VtblIndex(4)] [VtblIndex(4)]

View File

@@ -113,6 +113,7 @@ public unsafe partial struct ID2D1InkStyle : ID2D1InkStyle.Interface, INativeGui
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1InkStyle*, InkNibShape>)(lpVtbl[7]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this)); return ((delegate* unmanaged[Stdcall]<ID2D1InkStyle*, InkNibShape>)(lpVtbl[7]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this));
} }
public interface Interface : ID2D1Resource.Interface public interface Interface : ID2D1Resource.Interface
{ {
[VtblIndex(4)] [VtblIndex(4)]

View File

@@ -90,6 +90,7 @@ public unsafe partial struct ID2D1Layer : ID2D1Layer.Interface, INativeGuid
System.Drawing.SizeF result; System.Drawing.SizeF result;
return *((delegate* unmanaged[Stdcall]<ID2D1Layer*, System.Drawing.SizeF*, System.Drawing.SizeF*>)(lpVtbl[4]))((ID2D1Layer*)Unsafe.AsPointer(ref this), &result); return *((delegate* unmanaged[Stdcall]<ID2D1Layer*, System.Drawing.SizeF*, System.Drawing.SizeF*>)(lpVtbl[4]))((ID2D1Layer*)Unsafe.AsPointer(ref this), &result);
} }
public interface Interface : ID2D1Resource.Interface public interface Interface : ID2D1Resource.Interface
{ {
[VtblIndex(4)] [VtblIndex(4)]

View File

@@ -155,6 +155,7 @@ public unsafe partial struct ID2D1LinearGradientBrush : ID2D1LinearGradientBrush
{ {
((delegate* unmanaged[Stdcall]<ID2D1LinearGradientBrush*, ID2D1GradientStopCollection**, void>)(lpVtbl[12]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), gradientStopCollection); ((delegate* unmanaged[Stdcall]<ID2D1LinearGradientBrush*, ID2D1GradientStopCollection**, void>)(lpVtbl[12]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), gradientStopCollection);
} }
public interface Interface : ID2D1Brush.Interface public interface Interface : ID2D1Brush.Interface
{ {
[VtblIndex(8)] [VtblIndex(8)]

View File

@@ -81,6 +81,7 @@ public unsafe partial struct ID2D1LookupTable3D : ID2D1LookupTable3D.Interface,
{ {
((delegate* unmanaged[Stdcall]<ID2D1LookupTable3D*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1LookupTable3D*)Unsafe.AsPointer(ref this), factory); ((delegate* unmanaged[Stdcall]<ID2D1LookupTable3D*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1LookupTable3D*)Unsafe.AsPointer(ref this), factory);
} }
public interface Interface : ID2D1Resource.Interface public interface Interface : ID2D1Resource.Interface
{ {
} }

View File

@@ -89,6 +89,7 @@ public unsafe partial struct ID2D1Mesh : ID2D1Mesh.Interface, INativeGuid
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1Mesh*, ID2D1TessellationSink**, int>)(lpVtbl[4]))((ID2D1Mesh*)Unsafe.AsPointer(ref this), tessellationSink); return ((delegate* unmanaged[Stdcall]<ID2D1Mesh*, ID2D1TessellationSink**, int>)(lpVtbl[4]))((ID2D1Mesh*)Unsafe.AsPointer(ref this), tessellationSink);
} }
public interface Interface : ID2D1Resource.Interface public interface Interface : ID2D1Resource.Interface
{ {
[VtblIndex(4)] [VtblIndex(4)]

View File

@@ -97,6 +97,7 @@ public unsafe partial struct ID2D1Multithread : ID2D1Multithread.Interface, INat
{ {
((delegate* unmanaged[Stdcall]<ID2D1Multithread*, void>)(lpVtbl[5]))((ID2D1Multithread*)Unsafe.AsPointer(ref this)); ((delegate* unmanaged[Stdcall]<ID2D1Multithread*, void>)(lpVtbl[5]))((ID2D1Multithread*)Unsafe.AsPointer(ref this));
} }
public interface Interface : IUnknown.Interface public interface Interface : IUnknown.Interface
{ {
[VtblIndex(3)] [VtblIndex(3)]

View File

@@ -98,6 +98,7 @@ public unsafe partial struct ID2D1OffsetTransform : ID2D1OffsetTransform.Interfa
System.Drawing.Point result; System.Drawing.Point result;
return *((delegate* unmanaged[Stdcall]<ID2D1OffsetTransform*, System.Drawing.Point*, System.Drawing.Point*>)(lpVtbl[5]))((ID2D1OffsetTransform*)Unsafe.AsPointer(ref this), &result); return *((delegate* unmanaged[Stdcall]<ID2D1OffsetTransform*, System.Drawing.Point*, System.Drawing.Point*>)(lpVtbl[5]))((ID2D1OffsetTransform*)Unsafe.AsPointer(ref this), &result);
} }
public interface Interface : ID2D1TransformNode.Interface public interface Interface : ID2D1TransformNode.Interface
{ {
[VtblIndex(4)] [VtblIndex(4)]

View File

@@ -217,6 +217,7 @@ public unsafe partial struct ID2D1PathGeometry : ID2D1PathGeometry.Interface, IN
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry*, uint*, int>)(lpVtbl[20]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), count); return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry*, uint*, int>)(lpVtbl[20]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), count);
} }
public interface Interface : ID2D1Geometry.Interface public interface Interface : ID2D1Geometry.Interface
{ {
[VtblIndex(17)] [VtblIndex(17)]

View File

@@ -225,6 +225,7 @@ public unsafe partial struct ID2D1PathGeometry1 : ID2D1PathGeometry1.Interface,
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry1*, float, uint, Matrix3x2*, float, PointDescription*, int>)(lpVtbl[21]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), length, startSegment, worldTransform, flatteningTolerance, pointDescription); return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry1*, float, uint, Matrix3x2*, float, PointDescription*, int>)(lpVtbl[21]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), length, startSegment, worldTransform, flatteningTolerance, pointDescription);
} }
public interface Interface : ID2D1PathGeometry.Interface public interface Interface : ID2D1PathGeometry.Interface
{ {
[VtblIndex(21)] [VtblIndex(21)]

View File

@@ -89,6 +89,7 @@ public unsafe partial struct ID2D1PrintControl : ID2D1PrintControl.Interface, IN
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1PrintControl*, int>)(lpVtbl[4]))((ID2D1PrintControl*)Unsafe.AsPointer(ref this)); return ((delegate* unmanaged[Stdcall]<ID2D1PrintControl*, int>)(lpVtbl[4]))((ID2D1PrintControl*)Unsafe.AsPointer(ref this));
} }
public interface Interface : IUnknown.Interface public interface Interface : IUnknown.Interface
{ {
[VtblIndex(3)] [VtblIndex(3)]

View File

@@ -161,6 +161,7 @@ public unsafe partial struct ID2D1Properties : ID2D1Properties.Interface, INativ
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1Properties*, uint, ID2D1Properties**, int>)(lpVtbl[13]))((ID2D1Properties*)Unsafe.AsPointer(ref this), index, subProperties); return ((delegate* unmanaged[Stdcall]<ID2D1Properties*, uint, ID2D1Properties**, int>)(lpVtbl[13]))((ID2D1Properties*)Unsafe.AsPointer(ref this), index, subProperties);
} }
public interface Interface : IUnknown.Interface public interface Interface : IUnknown.Interface
{ {
[VtblIndex(3)] [VtblIndex(3)]

View File

@@ -187,6 +187,7 @@ public unsafe partial struct ID2D1RadialGradientBrush : ID2D1RadialGradientBrush
{ {
((delegate* unmanaged[Stdcall]<ID2D1RadialGradientBrush*, ID2D1GradientStopCollection**, void>)(lpVtbl[16]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), gradientStopCollection); ((delegate* unmanaged[Stdcall]<ID2D1RadialGradientBrush*, ID2D1GradientStopCollection**, void>)(lpVtbl[16]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), gradientStopCollection);
} }
public interface Interface : ID2D1Brush.Interface public interface Interface : ID2D1Brush.Interface
{ {
[VtblIndex(8)] [VtblIndex(8)]

View File

@@ -193,6 +193,7 @@ public unsafe partial struct ID2D1RectangleGeometry : ID2D1RectangleGeometry.Int
{ {
((delegate* unmanaged[Stdcall]<ID2D1RectangleGeometry*, Common.RectF*, void>)(lpVtbl[17]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), rect); ((delegate* unmanaged[Stdcall]<ID2D1RectangleGeometry*, Common.RectF*, void>)(lpVtbl[17]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), rect);
} }
public interface Interface : ID2D1Geometry.Interface public interface Interface : ID2D1Geometry.Interface
{ {
[VtblIndex(17)] [VtblIndex(17)]

View File

@@ -105,6 +105,7 @@ public unsafe partial struct ID2D1RenderInfo : ID2D1RenderInfo.Interface, INativ
{ {
((delegate* unmanaged[Stdcall]<ID2D1RenderInfo*, uint, void>)(lpVtbl[6]))((ID2D1RenderInfo*)Unsafe.AsPointer(ref this), instructionCount); ((delegate* unmanaged[Stdcall]<ID2D1RenderInfo*, uint, void>)(lpVtbl[6]))((ID2D1RenderInfo*)Unsafe.AsPointer(ref this), instructionCount);
} }
public interface Interface : IUnknown.Interface public interface Interface : IUnknown.Interface
{ {
[VtblIndex(3)] [VtblIndex(3)]

View File

@@ -508,6 +508,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, RenderTargetProperties*, Bool32>)(lpVtbl[56]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), renderTargetProperties); return ((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, RenderTargetProperties*, Bool32>)(lpVtbl[56]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), renderTargetProperties);
} }
public interface Interface : ID2D1Resource.Interface public interface Interface : ID2D1Resource.Interface
{ {
[VtblIndex(4)] [VtblIndex(4)]

View File

@@ -81,6 +81,7 @@ public unsafe partial struct ID2D1Resource : ID2D1Resource.Interface, INativeGui
{ {
((delegate* unmanaged[Stdcall]<ID2D1Resource*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Resource*)Unsafe.AsPointer(ref this), factory); ((delegate* unmanaged[Stdcall]<ID2D1Resource*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Resource*)Unsafe.AsPointer(ref this), factory);
} }
public interface Interface : IUnknown.Interface public interface Interface : IUnknown.Interface
{ {
[VtblIndex(3)] [VtblIndex(3)]

View File

@@ -81,6 +81,7 @@ public unsafe partial struct ID2D1ResourceTexture : ID2D1ResourceTexture.Interfa
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1ResourceTexture*, uint*, uint*, uint*, uint, byte*, uint, int>)(lpVtbl[3]))((ID2D1ResourceTexture*)Unsafe.AsPointer(ref this), minimumExtents, maximimumExtents, strides, dimensions, data, dataCount); return ((delegate* unmanaged[Stdcall]<ID2D1ResourceTexture*, uint*, uint*, uint*, uint, byte*, uint, int>)(lpVtbl[3]))((ID2D1ResourceTexture*)Unsafe.AsPointer(ref this), minimumExtents, maximimumExtents, strides, dimensions, data, dataCount);
} }
public interface Interface : IUnknown.Interface public interface Interface : IUnknown.Interface
{ {
[VtblIndex(3)] [VtblIndex(3)]

View File

@@ -193,6 +193,7 @@ public unsafe partial struct ID2D1RoundedRectangleGeometry : ID2D1RoundedRectang
{ {
((delegate* unmanaged[Stdcall]<ID2D1RoundedRectangleGeometry*, RoundedRect*, void>)(lpVtbl[17]))((ID2D1RoundedRectangleGeometry*)Unsafe.AsPointer(ref this), roundedRect); ((delegate* unmanaged[Stdcall]<ID2D1RoundedRectangleGeometry*, RoundedRect*, void>)(lpVtbl[17]))((ID2D1RoundedRectangleGeometry*)Unsafe.AsPointer(ref this), roundedRect);
} }
public interface Interface : ID2D1Geometry.Interface public interface Interface : ID2D1Geometry.Interface
{ {
[VtblIndex(17)] [VtblIndex(17)]

View File

@@ -130,6 +130,7 @@ public unsafe partial struct ID2D1SolidColorBrush : ID2D1SolidColorBrush.Interfa
Color4 result; Color4 result;
return *((delegate* unmanaged[Stdcall]<ID2D1SolidColorBrush*, Color4*, Color4*>)(lpVtbl[9]))((ID2D1SolidColorBrush*)Unsafe.AsPointer(ref this), &result); return *((delegate* unmanaged[Stdcall]<ID2D1SolidColorBrush*, Color4*, Color4*>)(lpVtbl[9]))((ID2D1SolidColorBrush*)Unsafe.AsPointer(ref this), &result);
} }
public interface Interface : ID2D1Brush.Interface public interface Interface : ID2D1Brush.Interface
{ {
[VtblIndex(8)] [VtblIndex(8)]

View File

@@ -121,6 +121,7 @@ public unsafe partial struct ID2D1SourceTransform : ID2D1SourceTransform.Interfa
{ {
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);
} }
public interface Interface : ID2D1Transform.Interface public interface Interface : ID2D1Transform.Interface
{ {
[VtblIndex(7)] [VtblIndex(7)]

View File

@@ -121,6 +121,7 @@ public unsafe partial struct ID2D1SpriteBatch : ID2D1SpriteBatch.Interface, INat
{ {
((delegate* unmanaged[Stdcall]<ID2D1SpriteBatch*, void>)(lpVtbl[8]))((ID2D1SpriteBatch*)Unsafe.AsPointer(ref this)); ((delegate* unmanaged[Stdcall]<ID2D1SpriteBatch*, void>)(lpVtbl[8]))((ID2D1SpriteBatch*)Unsafe.AsPointer(ref this));
} }
public interface Interface : ID2D1Resource.Interface public interface Interface : ID2D1Resource.Interface
{ {
[VtblIndex(4)] [VtblIndex(4)]

View File

@@ -153,6 +153,7 @@ public unsafe partial struct ID2D1StrokeStyle : ID2D1StrokeStyle.Interface, INat
{ {
((delegate* unmanaged[Stdcall]<ID2D1StrokeStyle*, float*, uint, void>)(lpVtbl[12]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this), dashes, dashesCount); ((delegate* unmanaged[Stdcall]<ID2D1StrokeStyle*, float*, uint, void>)(lpVtbl[12]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this), dashes, dashesCount);
} }
public interface Interface : ID2D1Resource.Interface public interface Interface : ID2D1Resource.Interface
{ {
[VtblIndex(4)] [VtblIndex(4)]

View File

@@ -161,6 +161,7 @@ public unsafe partial struct ID2D1StrokeStyle1 : ID2D1StrokeStyle1.Interface, IN
{ {
return ((delegate* unmanaged[Stdcall]<ID2D1StrokeStyle1*, StrokeTransformType>)(lpVtbl[13]))((ID2D1StrokeStyle1*)Unsafe.AsPointer(ref this)); return ((delegate* unmanaged[Stdcall]<ID2D1StrokeStyle1*, StrokeTransformType>)(lpVtbl[13]))((ID2D1StrokeStyle1*)Unsafe.AsPointer(ref this));
} }
public interface Interface : ID2D1StrokeStyle.Interface public interface Interface : ID2D1StrokeStyle.Interface
{ {
[VtblIndex(13)] [VtblIndex(13)]

Some files were not shown because too many files have changed in this diff Show More