mirror of
https://github.com/amerkoleci/Vortice.Win32.git
synced 2026-03-04 08:00:22 +08:00
Update generation code, drop netstandard2.0 and support net7.0 and net8.0 only, fix also issue #3
This commit is contained in:
@@ -157,7 +157,7 @@ csharp_space_between_square_brackets = false
|
|||||||
csharp_style_namespace_declarations=file_scoped:error
|
csharp_style_namespace_declarations=file_scoped:error
|
||||||
|
|
||||||
# License header
|
# License header
|
||||||
file_header_template = Copyright © Amer Koleci and Contributors.\nLicensed under the MIT License (MIT). See LICENSE in the repository root for more information.
|
file_header_template = Copyright (c) Amer Koleci and Contributors.\nLicensed under the MIT License (MIT). See LICENSE in the repository root for more information.
|
||||||
|
|
||||||
# C++ Files
|
# C++ Files
|
||||||
[*.{cpp,h,in}]
|
[*.{cpp,h,in}]
|
||||||
|
|||||||
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@@ -12,23 +12,18 @@ on:
|
|||||||
- 'docs/**'
|
- 'docs/**'
|
||||||
- '*.md'
|
- '*.md'
|
||||||
|
|
||||||
env:
|
|
||||||
DOTNET_CLI_TELEMETRY_OPTOUT: false
|
|
||||||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup .NET 8 SDK
|
- name: Setup .NET 8 SDK
|
||||||
uses: actions/setup-dotnet@v3
|
uses: actions/setup-dotnet@v3
|
||||||
with:
|
with:
|
||||||
dotnet-version: '8.0.x'
|
global-json-file: ./global.json
|
||||||
dotnet-quality: 'preview'
|
|
||||||
|
|
||||||
- name: Pack
|
- name: Pack
|
||||||
run: dotnet pack Vortice.Win32.sln --configuration Release --output artifacts
|
run: dotnet pack Vortice.Win32.sln --configuration Release --output artifacts
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
<LangVersion>11.0</LangVersion>
|
<LangVersion>latest</LangVersion>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
<RestoreConfigFile>$(MSBuildThisFileDirectory)NuGet.config</RestoreConfigFile>
|
<RestoreConfigFile>$(MSBuildThisFileDirectory)NuGet.config</RestoreConfigFile>
|
||||||
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
|
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
|
||||||
|
|
||||||
<VersionPrefix>2.0.0</VersionPrefix>
|
<VersionPrefix>2.1.0</VersionPrefix>
|
||||||
<VersionSuffix Condition="'$(VersionSuffix)' == ''"></VersionSuffix>
|
<VersionSuffix Condition="'$(VersionSuffix)' == ''"></VersionSuffix>
|
||||||
|
|
||||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Authors>Amer Koleci and Contributors</Authors>
|
<Authors>Amer Koleci and Contributors</Authors>
|
||||||
<Company>Amer Koleci</Company>
|
<Company>Amer Koleci</Company>
|
||||||
<Copyright>Copyright © Amer Koleci and Contributors</Copyright>
|
<Copyright>Copyright (c) Amer Koleci and Contributors</Copyright>
|
||||||
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||||
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
|
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
|
||||||
<PackageProjectUrl>$(RepositoryUrl)</PackageProjectUrl>
|
<PackageProjectUrl>$(RepositoryUrl)</PackageProjectUrl>
|
||||||
|
|||||||
@@ -7,11 +7,12 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<!-- Settings that are only set for libraries -->
|
<!-- Settings that are only set for libraries -->
|
||||||
<PropertyGroup Condition=" '$(OutputType)' == 'Library' AND $(TargetFramework.StartsWith('netstandard')) != 'True' ">
|
<PropertyGroup Condition=" '$(OutputType)' == 'Library' ">
|
||||||
<IsTrimmable>true</IsTrimmable>
|
<IsTrimmable Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))">true</IsTrimmable>
|
||||||
<EnableAotAnalyzer>true</EnableAotAnalyzer>
|
<IsAotCompatible Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net7.0'))">true</IsAotCompatible>
|
||||||
|
<EnableAotAnalyzer Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net7.0'))">true</EnableAotAnalyzer>
|
||||||
<EnableSingleFileAnalyzer>true</EnableSingleFileAnalyzer>
|
<EnableSingleFileAnalyzer>true</EnableSingleFileAnalyzer>
|
||||||
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
|
<EnableTrimAnalyzer Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))">true</EnableTrimAnalyzer>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@@ -8,7 +8,6 @@
|
|||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<GlobalPackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" />
|
<GlobalPackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" />
|
||||||
<GlobalPackageReference Include="PolySharp" Version="1.13.2" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
@@ -16,12 +15,8 @@
|
|||||||
<PackageVersion Include="NUnit" Version="3.13.3" />
|
<PackageVersion Include="NUnit" Version="3.13.3" />
|
||||||
<PackageVersion Include="NUnit3TestAdapter" Version="4.5.0" />
|
<PackageVersion Include="NUnit3TestAdapter" Version="4.5.0" />
|
||||||
|
|
||||||
<PackageVersion Include="System.Memory" Version="4.5.5" />
|
|
||||||
<PackageVersion Include="Microsoft.Bcl.HashCode" Version="1.1.1" />
|
|
||||||
<PackageVersion Include="System.Runtime.CompilerServices.Unsafe" Version="6.0.0" />
|
|
||||||
|
|
||||||
<!-- Generator -->
|
<!-- Generator -->
|
||||||
<PackageVersion Include="MessagePack" Version="2.5.124" />
|
<PackageVersion Include="MessagePack" Version="2.5.129" />
|
||||||
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
|
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
|
||||||
<PackageVersion Include="Microsoft.Windows.SDK.Win32Docs" Version="0.1.42-alpha" />
|
<PackageVersion Include="Microsoft.Windows.SDK.Win32Docs" Version="0.1.42-alpha" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|||||||
2
LICENSE
2
LICENSE
@@ -1,6 +1,6 @@
|
|||||||
The MIT License (MIT)
|
The MIT License (MIT)
|
||||||
|
|
||||||
Copyright (c) 2022 Amer Koleci and Contributors
|
Copyright (c) Amer Koleci and Contributors
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a
|
Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
copy of this software and associated documentation files (the "Software"),
|
copy of this software and associated documentation files (the "Software"),
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
[](https://github.com/amerkoleci/Vortice.Win32/actions)
|
[](https://github.com/amerkoleci/Vortice.Win32/actions)
|
||||||
[](https://www.nuget.org/packages/Vortice.Win32)
|
[](https://www.nuget.org/packages/Vortice.Win32)
|
||||||
|
|
||||||
**Vortice.Win32** is a .NET Standard 2.0, **.NET 7.0** and **.NET 8.0** low-level bindings for Win32, generation is based on json files from [win32json](https://github.com/marlersoft/win32json), follows naming conventions of Vortice.Windows but small GC allocation and using unsafe struct for COM objects.
|
**Vortice.Win32** is a **.NET 7.0** and **.NET 8.0** low-level bindings for Win32, generation is based on json files from [win32json](https://github.com/marlersoft/win32json), follows naming conventions of Vortice.Windows but small GC allocation and using unsafe struct for COM objects.
|
||||||
|
|
||||||
## Sponsors
|
## Sponsors
|
||||||
To further help development of these bindings library or other projects, please consider [SPONSOR](https://github.com/sponsors/amerkoleci) my profile in order to allow faster issue triaging and new features to be implemented.
|
To further help development of these bindings library or other projects, please consider [SPONSOR](https://github.com/sponsors/amerkoleci) my profile in order to allow faster issue triaging and new features to be implemented.
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{065268A8
|
|||||||
Directory.Build.props = Directory.Build.props
|
Directory.Build.props = Directory.Build.props
|
||||||
Directory.Build.targets = Directory.Build.targets
|
Directory.Build.targets = Directory.Build.targets
|
||||||
Directory.Packages.props = Directory.Packages.props
|
Directory.Packages.props = Directory.Packages.props
|
||||||
|
global.json = global.json
|
||||||
LICENSE = LICENSE
|
LICENSE = LICENSE
|
||||||
NuGet.config = NuGet.config
|
NuGet.config = NuGet.config
|
||||||
README.md = README.md
|
README.md = README.md
|
||||||
|
|||||||
7
global.json
Normal file
7
global.json
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"sdk": {
|
||||||
|
"version": "8.0.100-rc.2",
|
||||||
|
"allowPrerelease": true,
|
||||||
|
"rollForward": "latestFeature"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -2437,11 +2437,7 @@ public static class Program
|
|||||||
WriteGuid(writer, comType.Guid, $"IID_{csTypeName}");
|
WriteGuid(writer, comType.Guid, $"IID_{csTypeName}");
|
||||||
writer.WriteLine();
|
writer.WriteLine();
|
||||||
|
|
||||||
writer.WriteLineUndindented("#if NET6_0_OR_GREATER");
|
|
||||||
writer.WriteLine($"static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_{csTypeName}));");
|
writer.WriteLine($"static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_{csTypeName}));");
|
||||||
writer.WriteLineUndindented("#else");
|
|
||||||
writer.WriteLine($"public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_{csTypeName}));");
|
|
||||||
writer.WriteLineUndindented("#endif");
|
|
||||||
writer.WriteLine();
|
writer.WriteLine();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2480,11 +2476,7 @@ public static class Program
|
|||||||
writer.WriteLine("[VtblIndex(0)]");
|
writer.WriteLine("[VtblIndex(0)]");
|
||||||
using (writer.PushBlock($"public HResult QueryInterface([NativeTypeName(\"const IID &\")] Guid* riid, void** ppvObject)"))
|
using (writer.PushBlock($"public HResult QueryInterface([NativeTypeName(\"const IID &\")] Guid* riid, void** ppvObject)"))
|
||||||
{
|
{
|
||||||
writer.WriteLineUndindented($"#if NET6_0_OR_GREATER");
|
writer.WriteLine($"return ((delegate* unmanaged[MemberFunction]<{comType.Name}*, Guid*, void**, int>)(lpVtbl[0]))(({comType.Name}*)Unsafe.AsPointer(ref this), riid, ppvObject);");
|
||||||
writer.WriteLine($"return ((delegate* unmanaged<{comType.Name}*, Guid*, void**, int>)(lpVtbl[0]))(({comType.Name}*)Unsafe.AsPointer(ref this), riid, ppvObject);");
|
|
||||||
writer.WriteLineUndindented($"#else");
|
|
||||||
writer.WriteLine($"return ((delegate* unmanaged[Stdcall]<{comType.Name}*, Guid*, void**, int>)(lpVtbl[0]))(({comType.Name}*)Unsafe.AsPointer(ref this), riid, ppvObject);");
|
|
||||||
writer.WriteLineUndindented($"#endif");
|
|
||||||
}
|
}
|
||||||
writer.WriteLine();
|
writer.WriteLine();
|
||||||
|
|
||||||
@@ -2495,11 +2487,7 @@ public static class Program
|
|||||||
writer.WriteLine("[return: NativeTypeName(\"ULONG\")]");
|
writer.WriteLine("[return: NativeTypeName(\"ULONG\")]");
|
||||||
using (writer.PushBlock($"public uint AddRef()"))
|
using (writer.PushBlock($"public uint AddRef()"))
|
||||||
{
|
{
|
||||||
writer.WriteLineUndindented($"#if NET6_0_OR_GREATER");
|
writer.WriteLine($"return ((delegate* unmanaged[MemberFunction]<{comType.Name}*, uint>)(lpVtbl[1]))(({comType.Name}*)Unsafe.AsPointer(ref this));");
|
||||||
writer.WriteLine($"return ((delegate* unmanaged<{comType.Name}*, uint>)(lpVtbl[1]))(({comType.Name}*)Unsafe.AsPointer(ref this));");
|
|
||||||
writer.WriteLineUndindented($"#else");
|
|
||||||
writer.WriteLine($"return ((delegate* unmanaged[Stdcall]<{comType.Name}*, uint>)(lpVtbl[1]))(({comType.Name}*)Unsafe.AsPointer(ref this));");
|
|
||||||
writer.WriteLineUndindented($"#endif");
|
|
||||||
}
|
}
|
||||||
writer.WriteLine();
|
writer.WriteLine();
|
||||||
|
|
||||||
@@ -2510,11 +2498,7 @@ public static class Program
|
|||||||
writer.WriteLine("[return: NativeTypeName(\"ULONG\")]");
|
writer.WriteLine("[return: NativeTypeName(\"ULONG\")]");
|
||||||
using (writer.PushBlock($"public uint Release()"))
|
using (writer.PushBlock($"public uint Release()"))
|
||||||
{
|
{
|
||||||
writer.WriteLineUndindented($"#if NET6_0_OR_GREATER");
|
writer.WriteLine($"return ((delegate* unmanaged[MemberFunction]<{comType.Name}*, uint>)(lpVtbl[2]))(({comType.Name}*)Unsafe.AsPointer(ref this));");
|
||||||
writer.WriteLine($"return ((delegate* unmanaged<{comType.Name}*, uint>)(lpVtbl[2]))(({comType.Name}*)Unsafe.AsPointer(ref this));");
|
|
||||||
writer.WriteLineUndindented($"#else");
|
|
||||||
writer.WriteLine($"return ((delegate* unmanaged[Stdcall]<{comType.Name}*, uint>)(lpVtbl[2]))(({comType.Name}*)Unsafe.AsPointer(ref this));");
|
|
||||||
writer.WriteLineUndindented($"#endif");
|
|
||||||
}
|
}
|
||||||
writer.WriteLine();
|
writer.WriteLine();
|
||||||
vtblIndex = 3;
|
vtblIndex = 3;
|
||||||
@@ -2707,13 +2691,8 @@ public static class Program
|
|||||||
if (useReturnAsParameter)
|
if (useReturnAsParameter)
|
||||||
{
|
{
|
||||||
writer.WriteLine($"{returnType} result;");
|
writer.WriteLine($"{returnType} result;");
|
||||||
writer.WriteLineUndindented($"#if NET6_0_OR_GREATER");
|
|
||||||
writer.Write("return ");
|
writer.Write("return ");
|
||||||
writer.WriteLine($"*((delegate* unmanaged<{comType.Name}*, {argumentTypesString}>)(lpVtbl[{vtblIndex}]))(({comType.Name}*)Unsafe.AsPointer(ref this), &result{argumentNamesString});");
|
writer.WriteLine($"*((delegate* unmanaged[MemberFunction]<{comType.Name}*, {argumentTypesString}>)(lpVtbl[{vtblIndex}]))(({comType.Name}*)Unsafe.AsPointer(ref this), &result{argumentNamesString});");
|
||||||
writer.WriteLineUndindented($"#else");
|
|
||||||
writer.Write("return ");
|
|
||||||
writer.WriteLine($"*((delegate* unmanaged[Stdcall]<{comType.Name}*, {argumentTypesString}>)(lpVtbl[{vtblIndex}]))(({comType.Name}*)Unsafe.AsPointer(ref this), &result{argumentNamesString});");
|
|
||||||
writer.WriteLineUndindented($"#endif");
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -2723,15 +2702,9 @@ public static class Program
|
|||||||
|
|
||||||
if (!useReturnAsParameter)
|
if (!useReturnAsParameter)
|
||||||
{
|
{
|
||||||
writer.WriteLineUndindented($"#if NET6_0_OR_GREATER");
|
|
||||||
if (writeReturn)
|
if (writeReturn)
|
||||||
writer.Write("return ");
|
writer.Write("return ");
|
||||||
writer.WriteLine($"((delegate* unmanaged<{comType.Name}*, {argumentTypesString}>)(lpVtbl[{vtblIndex}]))(({comType.Name}*)Unsafe.AsPointer(ref this){argumentNamesString});");
|
writer.WriteLine($"((delegate* unmanaged[MemberFunction]<{comType.Name}*, {argumentTypesString}>)(lpVtbl[{vtblIndex}]))(({comType.Name}*)Unsafe.AsPointer(ref this){argumentNamesString});");
|
||||||
writer.WriteLineUndindented($"#else");
|
|
||||||
if (writeReturn)
|
|
||||||
writer.Write("return ");
|
|
||||||
writer.WriteLine($"((delegate* unmanaged[Stdcall]<{comType.Name}*, {argumentTypesString}>)(lpVtbl[{vtblIndex}]))(({comType.Name}*)Unsafe.AsPointer(ref this){argumentNamesString});");
|
|
||||||
writer.WriteLineUndindented($"#endif");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
14455
src/Generator/win32json/api/Graphics.GdiPlus.json
Normal file
14455
src/Generator/win32json/api/Graphics.GdiPlus.json
Normal file
File diff suppressed because it is too large
Load Diff
11585
src/Generator/win32json/api/Graphics.OpenGL.json
Normal file
11585
src/Generator/win32json/api/Graphics.OpenGL.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1AnalysisTransform : ID2D1AnalysisTransform.Int
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1AnalysisTransform));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1AnalysisTransform));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1AnalysisTransform));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1AnalysisTransform : ID2D1AnalysisTransform.Int
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1AnalysisTransform*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1AnalysisTransform*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1AnalysisTransform*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1AnalysisTransform*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1AnalysisTransform*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1AnalysisTransform*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1AnalysisTransform : ID2D1AnalysisTransform.Int
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1AnalysisTransform*, uint>)(lpVtbl[1]))((ID2D1AnalysisTransform*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1AnalysisTransform*, uint>)(lpVtbl[1]))((ID2D1AnalysisTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1AnalysisTransform*, uint>)(lpVtbl[1]))((ID2D1AnalysisTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1AnalysisTransform : ID2D1AnalysisTransform.Int
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1AnalysisTransform*, uint>)(lpVtbl[2]))((ID2D1AnalysisTransform*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1AnalysisTransform*, uint>)(lpVtbl[2]))((ID2D1AnalysisTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1AnalysisTransform*, uint>)(lpVtbl[2]))((ID2D1AnalysisTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1AnalysisTransform::ProcessAnalysisResults"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1AnalysisTransform::ProcessAnalysisResults"]/*' />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1AnalysisTransform : ID2D1AnalysisTransform.Int
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public HResult ProcessAnalysisResults(byte* analysisData, uint analysisDataCount)
|
public HResult ProcessAnalysisResults(byte* analysisData, uint analysisDataCount)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1AnalysisTransform*, byte*, uint, int>)(lpVtbl[3]))((ID2D1AnalysisTransform*)Unsafe.AsPointer(ref this), analysisData, analysisDataCount);
|
||||||
return ((delegate* unmanaged<ID2D1AnalysisTransform*, byte*, uint, int>)(lpVtbl[3]))((ID2D1AnalysisTransform*)Unsafe.AsPointer(ref this), analysisData, analysisDataCount);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1AnalysisTransform*, byte*, uint, int>)(lpVtbl[3]))((ID2D1AnalysisTransform*)Unsafe.AsPointer(ref this), analysisData, analysisDataCount);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : IUnknown.Interface
|
public interface Interface : IUnknown.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1Bitmap : ID2D1Bitmap.Interface, INativeGuid
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Bitmap));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Bitmap));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Bitmap));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1Bitmap : ID2D1Bitmap.Interface, INativeGuid
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Bitmap*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1Bitmap*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Bitmap*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1Bitmap : ID2D1Bitmap.Interface, INativeGuid
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Bitmap*, uint>)(lpVtbl[1]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Bitmap*, uint>)(lpVtbl[1]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Bitmap*, uint>)(lpVtbl[1]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1Bitmap : ID2D1Bitmap.Interface, INativeGuid
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Bitmap*, uint>)(lpVtbl[2]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Bitmap*, uint>)(lpVtbl[2]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Bitmap*, uint>)(lpVtbl[2]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1Bitmap : ID2D1Bitmap.Interface, INativeGuid
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Bitmap*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1Bitmap*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Bitmap*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Bitmap::GetSize"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Bitmap::GetSize"]/*' />
|
||||||
@@ -104,11 +84,7 @@ public unsafe partial struct ID2D1Bitmap : ID2D1Bitmap.Interface, INativeGuid
|
|||||||
public System.Drawing.SizeF GetSize()
|
public System.Drawing.SizeF GetSize()
|
||||||
{
|
{
|
||||||
System.Drawing.SizeF result;
|
System.Drawing.SizeF result;
|
||||||
#if NET6_0_OR_GREATER
|
return *((delegate* unmanaged[MemberFunction]<ID2D1Bitmap*, System.Drawing.SizeF*, System.Drawing.SizeF*>)(lpVtbl[4]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), &result);
|
||||||
return *((delegate* unmanaged<ID2D1Bitmap*, System.Drawing.SizeF*, System.Drawing.SizeF*>)(lpVtbl[4]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#else
|
|
||||||
return *((delegate* unmanaged[Stdcall]<ID2D1Bitmap*, System.Drawing.SizeF*, System.Drawing.SizeF*>)(lpVtbl[4]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Bitmap::GetPixelSize"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Bitmap::GetPixelSize"]/*' />
|
||||||
@@ -117,11 +93,7 @@ public unsafe partial struct ID2D1Bitmap : ID2D1Bitmap.Interface, INativeGuid
|
|||||||
public System.Drawing.Size GetPixelSize()
|
public System.Drawing.Size GetPixelSize()
|
||||||
{
|
{
|
||||||
System.Drawing.Size result;
|
System.Drawing.Size result;
|
||||||
#if NET6_0_OR_GREATER
|
return *((delegate* unmanaged[MemberFunction]<ID2D1Bitmap*, System.Drawing.Size*, System.Drawing.Size*>)(lpVtbl[5]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), &result);
|
||||||
return *((delegate* unmanaged<ID2D1Bitmap*, System.Drawing.Size*, System.Drawing.Size*>)(lpVtbl[5]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#else
|
|
||||||
return *((delegate* unmanaged[Stdcall]<ID2D1Bitmap*, System.Drawing.Size*, System.Drawing.Size*>)(lpVtbl[5]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Bitmap::GetPixelFormat"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Bitmap::GetPixelFormat"]/*' />
|
||||||
@@ -130,11 +102,7 @@ public unsafe partial struct ID2D1Bitmap : ID2D1Bitmap.Interface, INativeGuid
|
|||||||
public Common.PixelFormat GetPixelFormat()
|
public Common.PixelFormat GetPixelFormat()
|
||||||
{
|
{
|
||||||
Common.PixelFormat result;
|
Common.PixelFormat result;
|
||||||
#if NET6_0_OR_GREATER
|
return *((delegate* unmanaged[MemberFunction]<ID2D1Bitmap*, Common.PixelFormat*, Common.PixelFormat*>)(lpVtbl[6]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), &result);
|
||||||
return *((delegate* unmanaged<ID2D1Bitmap*, Common.PixelFormat*, Common.PixelFormat*>)(lpVtbl[6]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#else
|
|
||||||
return *((delegate* unmanaged[Stdcall]<ID2D1Bitmap*, Common.PixelFormat*, Common.PixelFormat*>)(lpVtbl[6]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Bitmap::GetDpi"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Bitmap::GetDpi"]/*' />
|
||||||
@@ -142,11 +110,7 @@ public unsafe partial struct ID2D1Bitmap : ID2D1Bitmap.Interface, INativeGuid
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public void GetDpi(float* dpiX, float* dpiY)
|
public void GetDpi(float* dpiX, float* dpiY)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Bitmap*, float*, float*, void>)(lpVtbl[7]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
||||||
((delegate* unmanaged<ID2D1Bitmap*, float*, float*, void>)(lpVtbl[7]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Bitmap*, float*, float*, void>)(lpVtbl[7]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Bitmap::CopyFromBitmap"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Bitmap::CopyFromBitmap"]/*' />
|
||||||
@@ -154,11 +118,7 @@ public unsafe partial struct ID2D1Bitmap : ID2D1Bitmap.Interface, INativeGuid
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CopyFromBitmap(System.Drawing.Point* destPoint, ID2D1Bitmap* bitmap, Win32.Numerics.Rect* srcRect)
|
public HResult CopyFromBitmap(System.Drawing.Point* destPoint, ID2D1Bitmap* bitmap, Win32.Numerics.Rect* srcRect)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Bitmap*, System.Drawing.Point*, ID2D1Bitmap*, Win32.Numerics.Rect*, int>)(lpVtbl[8]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), destPoint, bitmap, srcRect);
|
||||||
return ((delegate* unmanaged<ID2D1Bitmap*, System.Drawing.Point*, ID2D1Bitmap*, Win32.Numerics.Rect*, int>)(lpVtbl[8]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), destPoint, bitmap, srcRect);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Bitmap*, System.Drawing.Point*, ID2D1Bitmap*, Win32.Numerics.Rect*, int>)(lpVtbl[8]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), destPoint, bitmap, srcRect);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Bitmap::CopyFromRenderTarget"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Bitmap::CopyFromRenderTarget"]/*' />
|
||||||
@@ -166,11 +126,7 @@ public unsafe partial struct ID2D1Bitmap : ID2D1Bitmap.Interface, INativeGuid
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult CopyFromRenderTarget(System.Drawing.Point* destPoint, ID2D1RenderTarget* renderTarget, Win32.Numerics.Rect* srcRect)
|
public HResult CopyFromRenderTarget(System.Drawing.Point* destPoint, ID2D1RenderTarget* renderTarget, Win32.Numerics.Rect* srcRect)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Bitmap*, System.Drawing.Point*, ID2D1RenderTarget*, Win32.Numerics.Rect*, int>)(lpVtbl[9]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), destPoint, renderTarget, srcRect);
|
||||||
return ((delegate* unmanaged<ID2D1Bitmap*, System.Drawing.Point*, ID2D1RenderTarget*, Win32.Numerics.Rect*, int>)(lpVtbl[9]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), destPoint, renderTarget, srcRect);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Bitmap*, System.Drawing.Point*, ID2D1RenderTarget*, Win32.Numerics.Rect*, int>)(lpVtbl[9]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), destPoint, renderTarget, srcRect);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Bitmap::CopyFromMemory"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Bitmap::CopyFromMemory"]/*' />
|
||||||
@@ -178,11 +134,7 @@ public unsafe partial struct ID2D1Bitmap : ID2D1Bitmap.Interface, INativeGuid
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult CopyFromMemory(Win32.Numerics.Rect* dstRect, void* srcData, uint pitch)
|
public HResult CopyFromMemory(Win32.Numerics.Rect* dstRect, void* srcData, uint pitch)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Bitmap*, Win32.Numerics.Rect*, void*, uint, int>)(lpVtbl[10]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), dstRect, srcData, pitch);
|
||||||
return ((delegate* unmanaged<ID2D1Bitmap*, Win32.Numerics.Rect*, void*, uint, int>)(lpVtbl[10]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), dstRect, srcData, pitch);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Bitmap*, Win32.Numerics.Rect*, void*, uint, int>)(lpVtbl[10]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), dstRect, srcData, pitch);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Image.Interface
|
public interface Interface : ID2D1Image.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1Bitmap1 : ID2D1Bitmap1.Interface, INativeGuid
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Bitmap1));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Bitmap1));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Bitmap1));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1Bitmap1 : ID2D1Bitmap1.Interface, INativeGuid
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Bitmap1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1Bitmap1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Bitmap1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1Bitmap1 : ID2D1Bitmap1.Interface, INativeGuid
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Bitmap1*, uint>)(lpVtbl[1]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Bitmap1*, uint>)(lpVtbl[1]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Bitmap1*, uint>)(lpVtbl[1]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1Bitmap1 : ID2D1Bitmap1.Interface, INativeGuid
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Bitmap1*, uint>)(lpVtbl[2]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Bitmap1*, uint>)(lpVtbl[2]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Bitmap1*, uint>)(lpVtbl[2]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1Bitmap1 : ID2D1Bitmap1.Interface, INativeGuid
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Bitmap1*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1Bitmap1*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Bitmap1*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Bitmap.GetSize" />
|
/// <inheritdoc cref="ID2D1Bitmap.GetSize" />
|
||||||
@@ -104,11 +84,7 @@ public unsafe partial struct ID2D1Bitmap1 : ID2D1Bitmap1.Interface, INativeGuid
|
|||||||
public System.Drawing.SizeF GetSize()
|
public System.Drawing.SizeF GetSize()
|
||||||
{
|
{
|
||||||
System.Drawing.SizeF result;
|
System.Drawing.SizeF result;
|
||||||
#if NET6_0_OR_GREATER
|
return *((delegate* unmanaged[MemberFunction]<ID2D1Bitmap1*, System.Drawing.SizeF*, System.Drawing.SizeF*>)(lpVtbl[4]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), &result);
|
||||||
return *((delegate* unmanaged<ID2D1Bitmap1*, System.Drawing.SizeF*, System.Drawing.SizeF*>)(lpVtbl[4]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#else
|
|
||||||
return *((delegate* unmanaged[Stdcall]<ID2D1Bitmap1*, System.Drawing.SizeF*, System.Drawing.SizeF*>)(lpVtbl[4]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Bitmap.GetPixelSize" />
|
/// <inheritdoc cref="ID2D1Bitmap.GetPixelSize" />
|
||||||
@@ -117,11 +93,7 @@ public unsafe partial struct ID2D1Bitmap1 : ID2D1Bitmap1.Interface, INativeGuid
|
|||||||
public System.Drawing.Size GetPixelSize()
|
public System.Drawing.Size GetPixelSize()
|
||||||
{
|
{
|
||||||
System.Drawing.Size result;
|
System.Drawing.Size result;
|
||||||
#if NET6_0_OR_GREATER
|
return *((delegate* unmanaged[MemberFunction]<ID2D1Bitmap1*, System.Drawing.Size*, System.Drawing.Size*>)(lpVtbl[5]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), &result);
|
||||||
return *((delegate* unmanaged<ID2D1Bitmap1*, System.Drawing.Size*, System.Drawing.Size*>)(lpVtbl[5]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#else
|
|
||||||
return *((delegate* unmanaged[Stdcall]<ID2D1Bitmap1*, System.Drawing.Size*, System.Drawing.Size*>)(lpVtbl[5]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Bitmap.GetPixelFormat" />
|
/// <inheritdoc cref="ID2D1Bitmap.GetPixelFormat" />
|
||||||
@@ -130,11 +102,7 @@ public unsafe partial struct ID2D1Bitmap1 : ID2D1Bitmap1.Interface, INativeGuid
|
|||||||
public Common.PixelFormat GetPixelFormat()
|
public Common.PixelFormat GetPixelFormat()
|
||||||
{
|
{
|
||||||
Common.PixelFormat result;
|
Common.PixelFormat result;
|
||||||
#if NET6_0_OR_GREATER
|
return *((delegate* unmanaged[MemberFunction]<ID2D1Bitmap1*, Common.PixelFormat*, Common.PixelFormat*>)(lpVtbl[6]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), &result);
|
||||||
return *((delegate* unmanaged<ID2D1Bitmap1*, Common.PixelFormat*, Common.PixelFormat*>)(lpVtbl[6]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#else
|
|
||||||
return *((delegate* unmanaged[Stdcall]<ID2D1Bitmap1*, Common.PixelFormat*, Common.PixelFormat*>)(lpVtbl[6]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Bitmap.GetDpi" />
|
/// <inheritdoc cref="ID2D1Bitmap.GetDpi" />
|
||||||
@@ -142,11 +110,7 @@ public unsafe partial struct ID2D1Bitmap1 : ID2D1Bitmap1.Interface, INativeGuid
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public void GetDpi(float* dpiX, float* dpiY)
|
public void GetDpi(float* dpiX, float* dpiY)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Bitmap1*, float*, float*, void>)(lpVtbl[7]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
||||||
((delegate* unmanaged<ID2D1Bitmap1*, float*, float*, void>)(lpVtbl[7]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Bitmap1*, float*, float*, void>)(lpVtbl[7]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Bitmap.CopyFromBitmap" />
|
/// <inheritdoc cref="ID2D1Bitmap.CopyFromBitmap" />
|
||||||
@@ -154,11 +118,7 @@ public unsafe partial struct ID2D1Bitmap1 : ID2D1Bitmap1.Interface, INativeGuid
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CopyFromBitmap(System.Drawing.Point* destPoint, ID2D1Bitmap* bitmap, Win32.Numerics.Rect* srcRect)
|
public HResult CopyFromBitmap(System.Drawing.Point* destPoint, ID2D1Bitmap* bitmap, Win32.Numerics.Rect* srcRect)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Bitmap1*, System.Drawing.Point*, ID2D1Bitmap*, Win32.Numerics.Rect*, int>)(lpVtbl[8]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), destPoint, bitmap, srcRect);
|
||||||
return ((delegate* unmanaged<ID2D1Bitmap1*, System.Drawing.Point*, ID2D1Bitmap*, Win32.Numerics.Rect*, int>)(lpVtbl[8]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), destPoint, bitmap, srcRect);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Bitmap1*, System.Drawing.Point*, ID2D1Bitmap*, Win32.Numerics.Rect*, int>)(lpVtbl[8]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), destPoint, bitmap, srcRect);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Bitmap.CopyFromRenderTarget" />
|
/// <inheritdoc cref="ID2D1Bitmap.CopyFromRenderTarget" />
|
||||||
@@ -166,11 +126,7 @@ public unsafe partial struct ID2D1Bitmap1 : ID2D1Bitmap1.Interface, INativeGuid
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult CopyFromRenderTarget(System.Drawing.Point* destPoint, ID2D1RenderTarget* renderTarget, Win32.Numerics.Rect* srcRect)
|
public HResult CopyFromRenderTarget(System.Drawing.Point* destPoint, ID2D1RenderTarget* renderTarget, Win32.Numerics.Rect* srcRect)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Bitmap1*, System.Drawing.Point*, ID2D1RenderTarget*, Win32.Numerics.Rect*, int>)(lpVtbl[9]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), destPoint, renderTarget, srcRect);
|
||||||
return ((delegate* unmanaged<ID2D1Bitmap1*, System.Drawing.Point*, ID2D1RenderTarget*, Win32.Numerics.Rect*, int>)(lpVtbl[9]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), destPoint, renderTarget, srcRect);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Bitmap1*, System.Drawing.Point*, ID2D1RenderTarget*, Win32.Numerics.Rect*, int>)(lpVtbl[9]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), destPoint, renderTarget, srcRect);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Bitmap.CopyFromMemory" />
|
/// <inheritdoc cref="ID2D1Bitmap.CopyFromMemory" />
|
||||||
@@ -178,11 +134,7 @@ public unsafe partial struct ID2D1Bitmap1 : ID2D1Bitmap1.Interface, INativeGuid
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult CopyFromMemory(Win32.Numerics.Rect* dstRect, void* srcData, uint pitch)
|
public HResult CopyFromMemory(Win32.Numerics.Rect* dstRect, void* srcData, uint pitch)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Bitmap1*, Win32.Numerics.Rect*, void*, uint, int>)(lpVtbl[10]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), dstRect, srcData, pitch);
|
||||||
return ((delegate* unmanaged<ID2D1Bitmap1*, Win32.Numerics.Rect*, void*, uint, int>)(lpVtbl[10]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), dstRect, srcData, pitch);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Bitmap1*, Win32.Numerics.Rect*, void*, uint, int>)(lpVtbl[10]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), dstRect, srcData, pitch);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Bitmap1::GetColorContext"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Bitmap1::GetColorContext"]/*' />
|
||||||
@@ -190,11 +142,7 @@ public unsafe partial struct ID2D1Bitmap1 : ID2D1Bitmap1.Interface, INativeGuid
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public void GetColorContext(ID2D1ColorContext** colorContext)
|
public void GetColorContext(ID2D1ColorContext** colorContext)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Bitmap1*, ID2D1ColorContext**, void>)(lpVtbl[11]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), colorContext);
|
||||||
((delegate* unmanaged<ID2D1Bitmap1*, ID2D1ColorContext**, void>)(lpVtbl[11]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), colorContext);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Bitmap1*, ID2D1ColorContext**, void>)(lpVtbl[11]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), colorContext);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Bitmap1::GetOptions"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Bitmap1::GetOptions"]/*' />
|
||||||
@@ -202,11 +150,7 @@ public unsafe partial struct ID2D1Bitmap1 : ID2D1Bitmap1.Interface, INativeGuid
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public BitmapOptions GetOptions()
|
public BitmapOptions GetOptions()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Bitmap1*, BitmapOptions>)(lpVtbl[12]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Bitmap1*, BitmapOptions>)(lpVtbl[12]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Bitmap1*, BitmapOptions>)(lpVtbl[12]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Bitmap1::GetSurface"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Bitmap1::GetSurface"]/*' />
|
||||||
@@ -214,11 +158,7 @@ public unsafe partial struct ID2D1Bitmap1 : ID2D1Bitmap1.Interface, INativeGuid
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult GetSurface(Graphics.Dxgi.IDXGISurface** dxgiSurface)
|
public HResult GetSurface(Graphics.Dxgi.IDXGISurface** dxgiSurface)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Bitmap1*, Graphics.Dxgi.IDXGISurface**, int>)(lpVtbl[13]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), dxgiSurface);
|
||||||
return ((delegate* unmanaged<ID2D1Bitmap1*, Graphics.Dxgi.IDXGISurface**, int>)(lpVtbl[13]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), dxgiSurface);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Bitmap1*, Graphics.Dxgi.IDXGISurface**, int>)(lpVtbl[13]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), dxgiSurface);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Bitmap1::Map"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Bitmap1::Map"]/*' />
|
||||||
@@ -226,11 +166,7 @@ public unsafe partial struct ID2D1Bitmap1 : ID2D1Bitmap1.Interface, INativeGuid
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public HResult Map(MapOptions options, MappedRect* mappedRect)
|
public HResult Map(MapOptions options, MappedRect* mappedRect)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Bitmap1*, MapOptions, MappedRect*, int>)(lpVtbl[14]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), options, mappedRect);
|
||||||
return ((delegate* unmanaged<ID2D1Bitmap1*, MapOptions, MappedRect*, int>)(lpVtbl[14]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), options, mappedRect);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Bitmap1*, MapOptions, MappedRect*, int>)(lpVtbl[14]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), options, mappedRect);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Bitmap1::Unmap"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Bitmap1::Unmap"]/*' />
|
||||||
@@ -238,11 +174,7 @@ public unsafe partial struct ID2D1Bitmap1 : ID2D1Bitmap1.Interface, INativeGuid
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public HResult Unmap()
|
public HResult Unmap()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Bitmap1*, int>)(lpVtbl[15]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Bitmap1*, int>)(lpVtbl[15]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Bitmap1*, int>)(lpVtbl[15]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Bitmap.Interface
|
public interface Interface : ID2D1Bitmap.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1BitmapBrush : ID2D1BitmapBrush.Interface, INat
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BitmapBrush));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BitmapBrush));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BitmapBrush));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1BitmapBrush : ID2D1BitmapBrush.Interface, INat
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapBrush*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1BitmapBrush*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1BitmapBrush : ID2D1BitmapBrush.Interface, INat
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapBrush*, uint>)(lpVtbl[1]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1BitmapBrush*, uint>)(lpVtbl[1]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush*, uint>)(lpVtbl[1]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1BitmapBrush : ID2D1BitmapBrush.Interface, INat
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapBrush*, uint>)(lpVtbl[2]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1BitmapBrush*, uint>)(lpVtbl[2]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush*, uint>)(lpVtbl[2]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1BitmapBrush : ID2D1BitmapBrush.Interface, INat
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapBrush*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1BitmapBrush*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Brush.SetOpacity" />
|
/// <inheritdoc cref="ID2D1Brush.SetOpacity" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1BitmapBrush : ID2D1BitmapBrush.Interface, INat
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public void SetOpacity(float opacity)
|
public void SetOpacity(float opacity)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapBrush*, float, void>)(lpVtbl[4]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), opacity);
|
||||||
((delegate* unmanaged<ID2D1BitmapBrush*, float, void>)(lpVtbl[4]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), opacity);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush*, float, void>)(lpVtbl[4]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), opacity);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Brush.SetTransform" />
|
/// <inheritdoc cref="ID2D1Brush.SetTransform" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1BitmapBrush : ID2D1BitmapBrush.Interface, INat
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public void SetTransform(Matrix3x2* transform)
|
public void SetTransform(Matrix3x2* transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapBrush*, Matrix3x2*, void>)(lpVtbl[5]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), transform);
|
||||||
((delegate* unmanaged<ID2D1BitmapBrush*, Matrix3x2*, void>)(lpVtbl[5]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush*, Matrix3x2*, void>)(lpVtbl[5]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Brush.GetOpacity" />
|
/// <inheritdoc cref="ID2D1Brush.GetOpacity" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1BitmapBrush : ID2D1BitmapBrush.Interface, INat
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public float GetOpacity()
|
public float GetOpacity()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapBrush*, float>)(lpVtbl[6]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1BitmapBrush*, float>)(lpVtbl[6]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush*, float>)(lpVtbl[6]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Brush.GetTransform" />
|
/// <inheritdoc cref="ID2D1Brush.GetTransform" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1BitmapBrush : ID2D1BitmapBrush.Interface, INat
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public void GetTransform(Matrix3x2* transform)
|
public void GetTransform(Matrix3x2* transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapBrush*, Matrix3x2*, void>)(lpVtbl[7]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), transform);
|
||||||
((delegate* unmanaged<ID2D1BitmapBrush*, Matrix3x2*, void>)(lpVtbl[7]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush*, Matrix3x2*, void>)(lpVtbl[7]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BitmapBrush::SetExtendModeX"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BitmapBrush::SetExtendModeX"]/*' />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1BitmapBrush : ID2D1BitmapBrush.Interface, INat
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public void SetExtendModeX(ExtendMode extendModeX)
|
public void SetExtendModeX(ExtendMode extendModeX)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapBrush*, ExtendMode, void>)(lpVtbl[8]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), extendModeX);
|
||||||
((delegate* unmanaged<ID2D1BitmapBrush*, ExtendMode, void>)(lpVtbl[8]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), extendModeX);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush*, ExtendMode, void>)(lpVtbl[8]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), extendModeX);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BitmapBrush::SetExtendModeY"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BitmapBrush::SetExtendModeY"]/*' />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1BitmapBrush : ID2D1BitmapBrush.Interface, INat
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public void SetExtendModeY(ExtendMode extendModeY)
|
public void SetExtendModeY(ExtendMode extendModeY)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapBrush*, ExtendMode, void>)(lpVtbl[9]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), extendModeY);
|
||||||
((delegate* unmanaged<ID2D1BitmapBrush*, ExtendMode, void>)(lpVtbl[9]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), extendModeY);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush*, ExtendMode, void>)(lpVtbl[9]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), extendModeY);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BitmapBrush::SetInterpolationMode"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BitmapBrush::SetInterpolationMode"]/*' />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1BitmapBrush : ID2D1BitmapBrush.Interface, INat
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public void SetInterpolationMode(BitmapInterpolationMode interpolationMode)
|
public void SetInterpolationMode(BitmapInterpolationMode interpolationMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapBrush*, BitmapInterpolationMode, void>)(lpVtbl[10]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), interpolationMode);
|
||||||
((delegate* unmanaged<ID2D1BitmapBrush*, BitmapInterpolationMode, void>)(lpVtbl[10]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), interpolationMode);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush*, BitmapInterpolationMode, void>)(lpVtbl[10]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), interpolationMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BitmapBrush::SetBitmap"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BitmapBrush::SetBitmap"]/*' />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1BitmapBrush : ID2D1BitmapBrush.Interface, INat
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public void SetBitmap(ID2D1Bitmap* bitmap)
|
public void SetBitmap(ID2D1Bitmap* bitmap)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapBrush*, ID2D1Bitmap*, void>)(lpVtbl[11]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), bitmap);
|
||||||
((delegate* unmanaged<ID2D1BitmapBrush*, ID2D1Bitmap*, void>)(lpVtbl[11]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), bitmap);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush*, ID2D1Bitmap*, void>)(lpVtbl[11]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), bitmap);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BitmapBrush::GetExtendModeX"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BitmapBrush::GetExtendModeX"]/*' />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1BitmapBrush : ID2D1BitmapBrush.Interface, INat
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public ExtendMode GetExtendModeX()
|
public ExtendMode GetExtendModeX()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapBrush*, ExtendMode>)(lpVtbl[12]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1BitmapBrush*, ExtendMode>)(lpVtbl[12]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush*, ExtendMode>)(lpVtbl[12]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BitmapBrush::GetExtendModeY"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BitmapBrush::GetExtendModeY"]/*' />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1BitmapBrush : ID2D1BitmapBrush.Interface, INat
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public ExtendMode GetExtendModeY()
|
public ExtendMode GetExtendModeY()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapBrush*, ExtendMode>)(lpVtbl[13]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1BitmapBrush*, ExtendMode>)(lpVtbl[13]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush*, ExtendMode>)(lpVtbl[13]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BitmapBrush::GetInterpolationMode"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BitmapBrush::GetInterpolationMode"]/*' />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1BitmapBrush : ID2D1BitmapBrush.Interface, INat
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public BitmapInterpolationMode GetInterpolationMode()
|
public BitmapInterpolationMode GetInterpolationMode()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapBrush*, BitmapInterpolationMode>)(lpVtbl[14]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1BitmapBrush*, BitmapInterpolationMode>)(lpVtbl[14]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush*, BitmapInterpolationMode>)(lpVtbl[14]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BitmapBrush::GetBitmap"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BitmapBrush::GetBitmap"]/*' />
|
||||||
@@ -235,11 +171,7 @@ public unsafe partial struct ID2D1BitmapBrush : ID2D1BitmapBrush.Interface, INat
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public void GetBitmap(ID2D1Bitmap** bitmap)
|
public void GetBitmap(ID2D1Bitmap** bitmap)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapBrush*, ID2D1Bitmap**, void>)(lpVtbl[15]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), bitmap);
|
||||||
((delegate* unmanaged<ID2D1BitmapBrush*, ID2D1Bitmap**, void>)(lpVtbl[15]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), bitmap);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush*, ID2D1Bitmap**, void>)(lpVtbl[15]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), bitmap);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Brush.Interface
|
public interface Interface : ID2D1Brush.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1BitmapBrush1 : ID2D1BitmapBrush1.Interface, IN
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BitmapBrush1));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BitmapBrush1));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BitmapBrush1));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1BitmapBrush1 : ID2D1BitmapBrush1.Interface, IN
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapBrush1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1BitmapBrush1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1BitmapBrush1 : ID2D1BitmapBrush1.Interface, IN
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapBrush1*, uint>)(lpVtbl[1]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1BitmapBrush1*, uint>)(lpVtbl[1]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush1*, uint>)(lpVtbl[1]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1BitmapBrush1 : ID2D1BitmapBrush1.Interface, IN
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapBrush1*, uint>)(lpVtbl[2]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1BitmapBrush1*, uint>)(lpVtbl[2]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush1*, uint>)(lpVtbl[2]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1BitmapBrush1 : ID2D1BitmapBrush1.Interface, IN
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapBrush1*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1BitmapBrush1*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush1*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Brush.SetOpacity" />
|
/// <inheritdoc cref="ID2D1Brush.SetOpacity" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1BitmapBrush1 : ID2D1BitmapBrush1.Interface, IN
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public void SetOpacity(float opacity)
|
public void SetOpacity(float opacity)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapBrush1*, float, void>)(lpVtbl[4]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), opacity);
|
||||||
((delegate* unmanaged<ID2D1BitmapBrush1*, float, void>)(lpVtbl[4]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), opacity);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush1*, float, void>)(lpVtbl[4]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), opacity);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Brush.SetTransform" />
|
/// <inheritdoc cref="ID2D1Brush.SetTransform" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1BitmapBrush1 : ID2D1BitmapBrush1.Interface, IN
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public void SetTransform(Matrix3x2* transform)
|
public void SetTransform(Matrix3x2* transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapBrush1*, Matrix3x2*, void>)(lpVtbl[5]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), transform);
|
||||||
((delegate* unmanaged<ID2D1BitmapBrush1*, Matrix3x2*, void>)(lpVtbl[5]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush1*, Matrix3x2*, void>)(lpVtbl[5]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Brush.GetOpacity" />
|
/// <inheritdoc cref="ID2D1Brush.GetOpacity" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1BitmapBrush1 : ID2D1BitmapBrush1.Interface, IN
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public float GetOpacity()
|
public float GetOpacity()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapBrush1*, float>)(lpVtbl[6]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1BitmapBrush1*, float>)(lpVtbl[6]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush1*, float>)(lpVtbl[6]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Brush.GetTransform" />
|
/// <inheritdoc cref="ID2D1Brush.GetTransform" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1BitmapBrush1 : ID2D1BitmapBrush1.Interface, IN
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public void GetTransform(Matrix3x2* transform)
|
public void GetTransform(Matrix3x2* transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapBrush1*, Matrix3x2*, void>)(lpVtbl[7]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), transform);
|
||||||
((delegate* unmanaged<ID2D1BitmapBrush1*, Matrix3x2*, void>)(lpVtbl[7]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush1*, Matrix3x2*, void>)(lpVtbl[7]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1BitmapBrush.SetExtendModeX" />
|
/// <inheritdoc cref="ID2D1BitmapBrush.SetExtendModeX" />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1BitmapBrush1 : ID2D1BitmapBrush1.Interface, IN
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public void SetExtendModeX(ExtendMode extendModeX)
|
public void SetExtendModeX(ExtendMode extendModeX)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapBrush1*, ExtendMode, void>)(lpVtbl[8]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), extendModeX);
|
||||||
((delegate* unmanaged<ID2D1BitmapBrush1*, ExtendMode, void>)(lpVtbl[8]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), extendModeX);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush1*, ExtendMode, void>)(lpVtbl[8]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), extendModeX);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1BitmapBrush.SetExtendModeY" />
|
/// <inheritdoc cref="ID2D1BitmapBrush.SetExtendModeY" />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1BitmapBrush1 : ID2D1BitmapBrush1.Interface, IN
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public void SetExtendModeY(ExtendMode extendModeY)
|
public void SetExtendModeY(ExtendMode extendModeY)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapBrush1*, ExtendMode, void>)(lpVtbl[9]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), extendModeY);
|
||||||
((delegate* unmanaged<ID2D1BitmapBrush1*, ExtendMode, void>)(lpVtbl[9]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), extendModeY);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush1*, ExtendMode, void>)(lpVtbl[9]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), extendModeY);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1BitmapBrush.SetInterpolationMode" />
|
/// <inheritdoc cref="ID2D1BitmapBrush.SetInterpolationMode" />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1BitmapBrush1 : ID2D1BitmapBrush1.Interface, IN
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public void SetInterpolationMode(BitmapInterpolationMode interpolationMode)
|
public void SetInterpolationMode(BitmapInterpolationMode interpolationMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapBrush1*, BitmapInterpolationMode, void>)(lpVtbl[10]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), interpolationMode);
|
||||||
((delegate* unmanaged<ID2D1BitmapBrush1*, BitmapInterpolationMode, void>)(lpVtbl[10]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), interpolationMode);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush1*, BitmapInterpolationMode, void>)(lpVtbl[10]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), interpolationMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1BitmapBrush.SetBitmap" />
|
/// <inheritdoc cref="ID2D1BitmapBrush.SetBitmap" />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1BitmapBrush1 : ID2D1BitmapBrush1.Interface, IN
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public void SetBitmap(ID2D1Bitmap* bitmap)
|
public void SetBitmap(ID2D1Bitmap* bitmap)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapBrush1*, ID2D1Bitmap*, void>)(lpVtbl[11]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), bitmap);
|
||||||
((delegate* unmanaged<ID2D1BitmapBrush1*, ID2D1Bitmap*, void>)(lpVtbl[11]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), bitmap);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush1*, ID2D1Bitmap*, void>)(lpVtbl[11]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), bitmap);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1BitmapBrush.GetExtendModeX" />
|
/// <inheritdoc cref="ID2D1BitmapBrush.GetExtendModeX" />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1BitmapBrush1 : ID2D1BitmapBrush1.Interface, IN
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public ExtendMode GetExtendModeX()
|
public ExtendMode GetExtendModeX()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapBrush1*, ExtendMode>)(lpVtbl[12]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1BitmapBrush1*, ExtendMode>)(lpVtbl[12]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush1*, ExtendMode>)(lpVtbl[12]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1BitmapBrush.GetExtendModeY" />
|
/// <inheritdoc cref="ID2D1BitmapBrush.GetExtendModeY" />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1BitmapBrush1 : ID2D1BitmapBrush1.Interface, IN
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public ExtendMode GetExtendModeY()
|
public ExtendMode GetExtendModeY()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapBrush1*, ExtendMode>)(lpVtbl[13]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1BitmapBrush1*, ExtendMode>)(lpVtbl[13]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush1*, ExtendMode>)(lpVtbl[13]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1BitmapBrush.GetInterpolationMode" />
|
/// <inheritdoc cref="ID2D1BitmapBrush.GetInterpolationMode" />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1BitmapBrush1 : ID2D1BitmapBrush1.Interface, IN
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public BitmapInterpolationMode GetInterpolationMode()
|
public BitmapInterpolationMode GetInterpolationMode()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapBrush1*, BitmapInterpolationMode>)(lpVtbl[14]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1BitmapBrush1*, BitmapInterpolationMode>)(lpVtbl[14]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush1*, BitmapInterpolationMode>)(lpVtbl[14]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1BitmapBrush.GetBitmap" />
|
/// <inheritdoc cref="ID2D1BitmapBrush.GetBitmap" />
|
||||||
@@ -235,11 +171,7 @@ public unsafe partial struct ID2D1BitmapBrush1 : ID2D1BitmapBrush1.Interface, IN
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public void GetBitmap(ID2D1Bitmap** bitmap)
|
public void GetBitmap(ID2D1Bitmap** bitmap)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapBrush1*, ID2D1Bitmap**, void>)(lpVtbl[15]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), bitmap);
|
||||||
((delegate* unmanaged<ID2D1BitmapBrush1*, ID2D1Bitmap**, void>)(lpVtbl[15]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), bitmap);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush1*, ID2D1Bitmap**, void>)(lpVtbl[15]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), bitmap);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BitmapBrush1::SetInterpolationMode1"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BitmapBrush1::SetInterpolationMode1"]/*' />
|
||||||
@@ -247,11 +179,7 @@ public unsafe partial struct ID2D1BitmapBrush1 : ID2D1BitmapBrush1.Interface, IN
|
|||||||
[VtblIndex(16)]
|
[VtblIndex(16)]
|
||||||
public void SetInterpolationMode1(InterpolationMode interpolationMode)
|
public void SetInterpolationMode1(InterpolationMode interpolationMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapBrush1*, InterpolationMode, void>)(lpVtbl[16]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), interpolationMode);
|
||||||
((delegate* unmanaged<ID2D1BitmapBrush1*, InterpolationMode, void>)(lpVtbl[16]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), interpolationMode);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush1*, InterpolationMode, void>)(lpVtbl[16]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), interpolationMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BitmapBrush1::GetInterpolationMode1"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BitmapBrush1::GetInterpolationMode1"]/*' />
|
||||||
@@ -259,11 +187,7 @@ public unsafe partial struct ID2D1BitmapBrush1 : ID2D1BitmapBrush1.Interface, IN
|
|||||||
[VtblIndex(17)]
|
[VtblIndex(17)]
|
||||||
public InterpolationMode GetInterpolationMode1()
|
public InterpolationMode GetInterpolationMode1()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapBrush1*, InterpolationMode>)(lpVtbl[17]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1BitmapBrush1*, InterpolationMode>)(lpVtbl[17]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapBrush1*, InterpolationMode>)(lpVtbl[17]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1BitmapBrush.Interface
|
public interface Interface : ID2D1BitmapBrush.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BitmapRenderTarget));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BitmapRenderTarget));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BitmapRenderTarget));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1BitmapRenderTarget*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, uint>)(lpVtbl[1]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1BitmapRenderTarget*, uint>)(lpVtbl[1]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, uint>)(lpVtbl[1]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, uint>)(lpVtbl[2]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1BitmapRenderTarget*, uint>)(lpVtbl[2]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, uint>)(lpVtbl[2]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1BitmapRenderTarget*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateBitmap" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateBitmap" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult CreateBitmap(System.Drawing.Size size, void* srcData, uint pitch, BitmapProperties* bitmapProperties, ID2D1Bitmap** bitmap)
|
public HResult CreateBitmap(System.Drawing.Size size, void* srcData, uint pitch, BitmapProperties* bitmapProperties, ID2D1Bitmap** bitmap)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, System.Drawing.Size, void*, uint, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[4]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), size, srcData, pitch, bitmapProperties, bitmap);
|
||||||
return ((delegate* unmanaged<ID2D1BitmapRenderTarget*, System.Drawing.Size, void*, uint, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[4]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), size, srcData, pitch, bitmapProperties, bitmap);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, System.Drawing.Size, void*, uint, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[4]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), size, srcData, pitch, bitmapProperties, bitmap);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateBitmapFromWicBitmap" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateBitmapFromWicBitmap" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult CreateBitmapFromWicBitmap(Graphics.Imaging.IWICBitmapSource* wicBitmapSource, BitmapProperties* bitmapProperties, ID2D1Bitmap** bitmap)
|
public HResult CreateBitmapFromWicBitmap(Graphics.Imaging.IWICBitmapSource* wicBitmapSource, BitmapProperties* bitmapProperties, ID2D1Bitmap** bitmap)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, Graphics.Imaging.IWICBitmapSource*, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[5]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), wicBitmapSource, bitmapProperties, bitmap);
|
||||||
return ((delegate* unmanaged<ID2D1BitmapRenderTarget*, Graphics.Imaging.IWICBitmapSource*, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[5]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), wicBitmapSource, bitmapProperties, bitmap);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, Graphics.Imaging.IWICBitmapSource*, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[5]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), wicBitmapSource, bitmapProperties, bitmap);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateSharedBitmap" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateSharedBitmap" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult CreateSharedBitmap(Guid* riid, void* data, BitmapProperties* bitmapProperties, ID2D1Bitmap** bitmap)
|
public HResult CreateSharedBitmap(Guid* riid, void* data, BitmapProperties* bitmapProperties, ID2D1Bitmap** bitmap)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, Guid*, void*, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[6]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), riid, data, bitmapProperties, bitmap);
|
||||||
return ((delegate* unmanaged<ID2D1BitmapRenderTarget*, Guid*, void*, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[6]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), riid, data, bitmapProperties, bitmap);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, Guid*, void*, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[6]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), riid, data, bitmapProperties, bitmap);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateBitmapBrush" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateBitmapBrush" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public HResult CreateBitmapBrush(ID2D1Bitmap* bitmap, BitmapBrushProperties* bitmapBrushProperties, BrushProperties* brushProperties, ID2D1BitmapBrush** bitmapBrush)
|
public HResult CreateBitmapBrush(ID2D1Bitmap* bitmap, BitmapBrushProperties* bitmapBrushProperties, BrushProperties* brushProperties, ID2D1BitmapBrush** bitmapBrush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, ID2D1Bitmap*, BitmapBrushProperties*, BrushProperties*, ID2D1BitmapBrush**, int>)(lpVtbl[7]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), bitmap, bitmapBrushProperties, brushProperties, bitmapBrush);
|
||||||
return ((delegate* unmanaged<ID2D1BitmapRenderTarget*, ID2D1Bitmap*, BitmapBrushProperties*, BrushProperties*, ID2D1BitmapBrush**, int>)(lpVtbl[7]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), bitmap, bitmapBrushProperties, brushProperties, bitmapBrush);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, ID2D1Bitmap*, BitmapBrushProperties*, BrushProperties*, ID2D1BitmapBrush**, int>)(lpVtbl[7]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), bitmap, bitmapBrushProperties, brushProperties, bitmapBrush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateSolidColorBrush" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateSolidColorBrush" />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CreateSolidColorBrush(Color4* color, BrushProperties* brushProperties, ID2D1SolidColorBrush** solidColorBrush)
|
public HResult CreateSolidColorBrush(Color4* color, BrushProperties* brushProperties, ID2D1SolidColorBrush** solidColorBrush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, Color4*, BrushProperties*, ID2D1SolidColorBrush**, int>)(lpVtbl[8]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
|
||||||
return ((delegate* unmanaged<ID2D1BitmapRenderTarget*, Color4*, BrushProperties*, ID2D1SolidColorBrush**, int>)(lpVtbl[8]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, Color4*, BrushProperties*, ID2D1SolidColorBrush**, int>)(lpVtbl[8]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateGradientStopCollection" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateGradientStopCollection" />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult CreateGradientStopCollection(GradientStop* gradientStops, uint gradientStopsCount, Gamma colorInterpolationGamma, ExtendMode extendMode, ID2D1GradientStopCollection** gradientStopCollection)
|
public HResult CreateGradientStopCollection(GradientStop* gradientStops, uint gradientStopsCount, Gamma colorInterpolationGamma, ExtendMode extendMode, ID2D1GradientStopCollection** gradientStopCollection)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, GradientStop*, uint, Gamma, ExtendMode, ID2D1GradientStopCollection**, int>)(lpVtbl[9]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount, colorInterpolationGamma, extendMode, gradientStopCollection);
|
||||||
return ((delegate* unmanaged<ID2D1BitmapRenderTarget*, GradientStop*, uint, Gamma, ExtendMode, ID2D1GradientStopCollection**, int>)(lpVtbl[9]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount, colorInterpolationGamma, extendMode, gradientStopCollection);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, GradientStop*, uint, Gamma, ExtendMode, ID2D1GradientStopCollection**, int>)(lpVtbl[9]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount, colorInterpolationGamma, extendMode, gradientStopCollection);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateLinearGradientBrush" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateLinearGradientBrush" />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult CreateLinearGradientBrush(LinearGradientBrushProperties* linearGradientBrushProperties, BrushProperties* brushProperties, ID2D1GradientStopCollection* gradientStopCollection, ID2D1LinearGradientBrush** linearGradientBrush)
|
public HResult CreateLinearGradientBrush(LinearGradientBrushProperties* linearGradientBrushProperties, BrushProperties* brushProperties, ID2D1GradientStopCollection* gradientStopCollection, ID2D1LinearGradientBrush** linearGradientBrush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, LinearGradientBrushProperties*, BrushProperties*, ID2D1GradientStopCollection*, ID2D1LinearGradientBrush**, int>)(lpVtbl[10]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), linearGradientBrushProperties, brushProperties, gradientStopCollection, linearGradientBrush);
|
||||||
return ((delegate* unmanaged<ID2D1BitmapRenderTarget*, LinearGradientBrushProperties*, BrushProperties*, ID2D1GradientStopCollection*, ID2D1LinearGradientBrush**, int>)(lpVtbl[10]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), linearGradientBrushProperties, brushProperties, gradientStopCollection, linearGradientBrush);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, LinearGradientBrushProperties*, BrushProperties*, ID2D1GradientStopCollection*, ID2D1LinearGradientBrush**, int>)(lpVtbl[10]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), linearGradientBrushProperties, brushProperties, gradientStopCollection, linearGradientBrush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateRadialGradientBrush" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateRadialGradientBrush" />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult CreateRadialGradientBrush(RadialGradientBrushProperties* radialGradientBrushProperties, BrushProperties* brushProperties, ID2D1GradientStopCollection* gradientStopCollection, ID2D1RadialGradientBrush** radialGradientBrush)
|
public HResult CreateRadialGradientBrush(RadialGradientBrushProperties* radialGradientBrushProperties, BrushProperties* brushProperties, ID2D1GradientStopCollection* gradientStopCollection, ID2D1RadialGradientBrush** radialGradientBrush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, RadialGradientBrushProperties*, BrushProperties*, ID2D1GradientStopCollection*, ID2D1RadialGradientBrush**, int>)(lpVtbl[11]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), radialGradientBrushProperties, brushProperties, gradientStopCollection, radialGradientBrush);
|
||||||
return ((delegate* unmanaged<ID2D1BitmapRenderTarget*, RadialGradientBrushProperties*, BrushProperties*, ID2D1GradientStopCollection*, ID2D1RadialGradientBrush**, int>)(lpVtbl[11]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), radialGradientBrushProperties, brushProperties, gradientStopCollection, radialGradientBrush);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, RadialGradientBrushProperties*, BrushProperties*, ID2D1GradientStopCollection*, ID2D1RadialGradientBrush**, int>)(lpVtbl[11]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), radialGradientBrushProperties, brushProperties, gradientStopCollection, radialGradientBrush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateCompatibleRenderTarget" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateCompatibleRenderTarget" />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public HResult CreateCompatibleRenderTarget(System.Drawing.SizeF* desiredSize, System.Drawing.Size* desiredPixelSize, Common.PixelFormat* desiredFormat, CompatibleRenderTargetOptions options, ID2D1BitmapRenderTarget** bitmapRenderTarget)
|
public HResult CreateCompatibleRenderTarget(System.Drawing.SizeF* desiredSize, System.Drawing.Size* desiredPixelSize, Common.PixelFormat* desiredFormat, CompatibleRenderTargetOptions options, ID2D1BitmapRenderTarget** bitmapRenderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, System.Drawing.SizeF*, System.Drawing.Size*, Common.PixelFormat*, CompatibleRenderTargetOptions, ID2D1BitmapRenderTarget**, int>)(lpVtbl[12]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), desiredSize, desiredPixelSize, desiredFormat, options, bitmapRenderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1BitmapRenderTarget*, System.Drawing.SizeF*, System.Drawing.Size*, Common.PixelFormat*, CompatibleRenderTargetOptions, ID2D1BitmapRenderTarget**, int>)(lpVtbl[12]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), desiredSize, desiredPixelSize, desiredFormat, options, bitmapRenderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, System.Drawing.SizeF*, System.Drawing.Size*, Common.PixelFormat*, CompatibleRenderTargetOptions, ID2D1BitmapRenderTarget**, int>)(lpVtbl[12]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), desiredSize, desiredPixelSize, desiredFormat, options, bitmapRenderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateLayer" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateLayer" />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult CreateLayer(System.Drawing.SizeF* size, ID2D1Layer** layer)
|
public HResult CreateLayer(System.Drawing.SizeF* size, ID2D1Layer** layer)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, System.Drawing.SizeF*, ID2D1Layer**, int>)(lpVtbl[13]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), size, layer);
|
||||||
return ((delegate* unmanaged<ID2D1BitmapRenderTarget*, System.Drawing.SizeF*, ID2D1Layer**, int>)(lpVtbl[13]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), size, layer);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, System.Drawing.SizeF*, ID2D1Layer**, int>)(lpVtbl[13]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), size, layer);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateMesh" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateMesh" />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public HResult CreateMesh(ID2D1Mesh** mesh)
|
public HResult CreateMesh(ID2D1Mesh** mesh)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, ID2D1Mesh**, int>)(lpVtbl[14]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), mesh);
|
||||||
return ((delegate* unmanaged<ID2D1BitmapRenderTarget*, ID2D1Mesh**, int>)(lpVtbl[14]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), mesh);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, ID2D1Mesh**, int>)(lpVtbl[14]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), mesh);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.DrawLine" />
|
/// <inheritdoc cref="ID2D1RenderTarget.DrawLine" />
|
||||||
@@ -235,11 +171,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public void DrawLine(Vector2 point0, Vector2 point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public void DrawLine(Vector2 point0, Vector2 point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, Vector2, Vector2, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[15]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
|
||||||
((delegate* unmanaged<ID2D1BitmapRenderTarget*, Vector2, Vector2, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[15]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, Vector2, Vector2, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[15]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.DrawRectangle" />
|
/// <inheritdoc cref="ID2D1RenderTarget.DrawRectangle" />
|
||||||
@@ -247,11 +179,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(16)]
|
[VtblIndex(16)]
|
||||||
public void DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public void DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, Win32.Numerics.RectF*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[16]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
|
||||||
((delegate* unmanaged<ID2D1BitmapRenderTarget*, Win32.Numerics.RectF*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[16]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, Win32.Numerics.RectF*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[16]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.FillRectangle" />
|
/// <inheritdoc cref="ID2D1RenderTarget.FillRectangle" />
|
||||||
@@ -259,11 +187,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(17)]
|
[VtblIndex(17)]
|
||||||
public void FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush)
|
public void FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, Win32.Numerics.RectF*, ID2D1Brush*, void>)(lpVtbl[17]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), rect, brush);
|
||||||
((delegate* unmanaged<ID2D1BitmapRenderTarget*, Win32.Numerics.RectF*, ID2D1Brush*, void>)(lpVtbl[17]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), rect, brush);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, Win32.Numerics.RectF*, ID2D1Brush*, void>)(lpVtbl[17]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), rect, brush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.DrawRoundedRectangle" />
|
/// <inheritdoc cref="ID2D1RenderTarget.DrawRoundedRectangle" />
|
||||||
@@ -271,11 +195,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(18)]
|
[VtblIndex(18)]
|
||||||
public void DrawRoundedRectangle(RoundedRect* roundedRect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public void DrawRoundedRectangle(RoundedRect* roundedRect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, RoundedRect*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[18]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), roundedRect, brush, strokeWidth, strokeStyle);
|
||||||
((delegate* unmanaged<ID2D1BitmapRenderTarget*, RoundedRect*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[18]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), roundedRect, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, RoundedRect*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[18]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), roundedRect, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.FillRoundedRectangle" />
|
/// <inheritdoc cref="ID2D1RenderTarget.FillRoundedRectangle" />
|
||||||
@@ -283,11 +203,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(19)]
|
[VtblIndex(19)]
|
||||||
public void FillRoundedRectangle(RoundedRect* roundedRect, ID2D1Brush* brush)
|
public void FillRoundedRectangle(RoundedRect* roundedRect, ID2D1Brush* brush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, RoundedRect*, ID2D1Brush*, void>)(lpVtbl[19]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), roundedRect, brush);
|
||||||
((delegate* unmanaged<ID2D1BitmapRenderTarget*, RoundedRect*, ID2D1Brush*, void>)(lpVtbl[19]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), roundedRect, brush);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, RoundedRect*, ID2D1Brush*, void>)(lpVtbl[19]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), roundedRect, brush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.DrawEllipse" />
|
/// <inheritdoc cref="ID2D1RenderTarget.DrawEllipse" />
|
||||||
@@ -295,11 +211,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(20)]
|
[VtblIndex(20)]
|
||||||
public void DrawEllipse(Ellipse* ellipse, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public void DrawEllipse(Ellipse* ellipse, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, Ellipse*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[20]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), ellipse, brush, strokeWidth, strokeStyle);
|
||||||
((delegate* unmanaged<ID2D1BitmapRenderTarget*, Ellipse*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[20]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), ellipse, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, Ellipse*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[20]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), ellipse, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.FillEllipse" />
|
/// <inheritdoc cref="ID2D1RenderTarget.FillEllipse" />
|
||||||
@@ -307,11 +219,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(21)]
|
[VtblIndex(21)]
|
||||||
public void FillEllipse(Ellipse* ellipse, ID2D1Brush* brush)
|
public void FillEllipse(Ellipse* ellipse, ID2D1Brush* brush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, Ellipse*, ID2D1Brush*, void>)(lpVtbl[21]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), ellipse, brush);
|
||||||
((delegate* unmanaged<ID2D1BitmapRenderTarget*, Ellipse*, ID2D1Brush*, void>)(lpVtbl[21]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), ellipse, brush);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, Ellipse*, ID2D1Brush*, void>)(lpVtbl[21]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), ellipse, brush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.DrawGeometry" />
|
/// <inheritdoc cref="ID2D1RenderTarget.DrawGeometry" />
|
||||||
@@ -319,11 +227,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(22)]
|
[VtblIndex(22)]
|
||||||
public void DrawGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public void DrawGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, ID2D1Geometry*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[22]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle);
|
||||||
((delegate* unmanaged<ID2D1BitmapRenderTarget*, ID2D1Geometry*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[22]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, ID2D1Geometry*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[22]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.FillGeometry" />
|
/// <inheritdoc cref="ID2D1RenderTarget.FillGeometry" />
|
||||||
@@ -331,11 +235,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(23)]
|
[VtblIndex(23)]
|
||||||
public void FillGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, ID2D1Brush* opacityBrush)
|
public void FillGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, ID2D1Brush* opacityBrush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, ID2D1Geometry*, ID2D1Brush*, ID2D1Brush*, void>)(lpVtbl[23]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush);
|
||||||
((delegate* unmanaged<ID2D1BitmapRenderTarget*, ID2D1Geometry*, ID2D1Brush*, ID2D1Brush*, void>)(lpVtbl[23]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, ID2D1Geometry*, ID2D1Brush*, ID2D1Brush*, void>)(lpVtbl[23]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.FillMesh" />
|
/// <inheritdoc cref="ID2D1RenderTarget.FillMesh" />
|
||||||
@@ -343,11 +243,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(24)]
|
[VtblIndex(24)]
|
||||||
public void FillMesh(ID2D1Mesh* mesh, ID2D1Brush* brush)
|
public void FillMesh(ID2D1Mesh* mesh, ID2D1Brush* brush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, ID2D1Mesh*, ID2D1Brush*, void>)(lpVtbl[24]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), mesh, brush);
|
||||||
((delegate* unmanaged<ID2D1BitmapRenderTarget*, ID2D1Mesh*, ID2D1Brush*, void>)(lpVtbl[24]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), mesh, brush);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, ID2D1Mesh*, ID2D1Brush*, void>)(lpVtbl[24]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), mesh, brush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.FillOpacityMask" />
|
/// <inheritdoc cref="ID2D1RenderTarget.FillOpacityMask" />
|
||||||
@@ -355,11 +251,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(25)]
|
[VtblIndex(25)]
|
||||||
public void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, OpacityMaskContent content, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
|
public void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, OpacityMaskContent content, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, ID2D1Bitmap*, ID2D1Brush*, OpacityMaskContent, Win32.Numerics.RectF*, Win32.Numerics.RectF*, void>)(lpVtbl[25]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), opacityMask, brush, content, destinationRectangle, sourceRectangle);
|
||||||
((delegate* unmanaged<ID2D1BitmapRenderTarget*, ID2D1Bitmap*, ID2D1Brush*, OpacityMaskContent, Win32.Numerics.RectF*, Win32.Numerics.RectF*, void>)(lpVtbl[25]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), opacityMask, brush, content, destinationRectangle, sourceRectangle);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, ID2D1Bitmap*, ID2D1Brush*, OpacityMaskContent, Win32.Numerics.RectF*, Win32.Numerics.RectF*, void>)(lpVtbl[25]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), opacityMask, brush, content, destinationRectangle, sourceRectangle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.DrawBitmap" />
|
/// <inheritdoc cref="ID2D1RenderTarget.DrawBitmap" />
|
||||||
@@ -367,11 +259,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(26)]
|
[VtblIndex(26)]
|
||||||
public void DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, BitmapInterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle)
|
public void DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, BitmapInterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, ID2D1Bitmap*, Win32.Numerics.RectF*, float, BitmapInterpolationMode, Win32.Numerics.RectF*, void>)(lpVtbl[26]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle);
|
||||||
((delegate* unmanaged<ID2D1BitmapRenderTarget*, ID2D1Bitmap*, Win32.Numerics.RectF*, float, BitmapInterpolationMode, Win32.Numerics.RectF*, void>)(lpVtbl[26]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, ID2D1Bitmap*, Win32.Numerics.RectF*, float, BitmapInterpolationMode, Win32.Numerics.RectF*, void>)(lpVtbl[26]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.DrawText" />
|
/// <inheritdoc cref="ID2D1RenderTarget.DrawText" />
|
||||||
@@ -379,11 +267,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(27)]
|
[VtblIndex(27)]
|
||||||
public void DrawText(ushort* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
|
public void DrawText(ushort* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, ushort*, uint, Graphics.DirectWrite.IDWriteTextFormat*, Win32.Numerics.RectF*, ID2D1Brush*, DrawTextOptions, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[27]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
|
||||||
((delegate* unmanaged<ID2D1BitmapRenderTarget*, ushort*, uint, Graphics.DirectWrite.IDWriteTextFormat*, Win32.Numerics.RectF*, ID2D1Brush*, DrawTextOptions, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[27]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, ushort*, uint, Graphics.DirectWrite.IDWriteTextFormat*, Win32.Numerics.RectF*, ID2D1Brush*, DrawTextOptions, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[27]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.DrawTextLayout" />
|
/// <inheritdoc cref="ID2D1RenderTarget.DrawTextLayout" />
|
||||||
@@ -391,11 +275,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(28)]
|
[VtblIndex(28)]
|
||||||
public void DrawTextLayout(Vector2 origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, DrawTextOptions options)
|
public void DrawTextLayout(Vector2 origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, DrawTextOptions options)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, Vector2, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, DrawTextOptions, void>)(lpVtbl[28]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options);
|
||||||
((delegate* unmanaged<ID2D1BitmapRenderTarget*, Vector2, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, DrawTextOptions, void>)(lpVtbl[28]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, Vector2, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, DrawTextOptions, void>)(lpVtbl[28]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.DrawGlyphRun" />
|
/// <inheritdoc cref="ID2D1RenderTarget.DrawGlyphRun" />
|
||||||
@@ -403,11 +283,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(29)]
|
[VtblIndex(29)]
|
||||||
public void DrawGlyphRun(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode)
|
public void DrawGlyphRun(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, Vector2, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[29]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode);
|
||||||
((delegate* unmanaged<ID2D1BitmapRenderTarget*, Vector2, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[29]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, Vector2, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[29]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.SetTransform" />
|
/// <inheritdoc cref="ID2D1RenderTarget.SetTransform" />
|
||||||
@@ -415,11 +291,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(30)]
|
[VtblIndex(30)]
|
||||||
public void SetTransform(Matrix3x2* transform)
|
public void SetTransform(Matrix3x2* transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, Matrix3x2*, void>)(lpVtbl[30]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), transform);
|
||||||
((delegate* unmanaged<ID2D1BitmapRenderTarget*, Matrix3x2*, void>)(lpVtbl[30]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, Matrix3x2*, void>)(lpVtbl[30]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.GetTransform" />
|
/// <inheritdoc cref="ID2D1RenderTarget.GetTransform" />
|
||||||
@@ -427,11 +299,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(31)]
|
[VtblIndex(31)]
|
||||||
public void GetTransform(Matrix3x2* transform)
|
public void GetTransform(Matrix3x2* transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, Matrix3x2*, void>)(lpVtbl[31]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), transform);
|
||||||
((delegate* unmanaged<ID2D1BitmapRenderTarget*, Matrix3x2*, void>)(lpVtbl[31]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, Matrix3x2*, void>)(lpVtbl[31]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.SetAntialiasMode" />
|
/// <inheritdoc cref="ID2D1RenderTarget.SetAntialiasMode" />
|
||||||
@@ -439,11 +307,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(32)]
|
[VtblIndex(32)]
|
||||||
public void SetAntialiasMode(AntialiasMode antialiasMode)
|
public void SetAntialiasMode(AntialiasMode antialiasMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, AntialiasMode, void>)(lpVtbl[32]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), antialiasMode);
|
||||||
((delegate* unmanaged<ID2D1BitmapRenderTarget*, AntialiasMode, void>)(lpVtbl[32]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), antialiasMode);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, AntialiasMode, void>)(lpVtbl[32]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), antialiasMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.GetAntialiasMode" />
|
/// <inheritdoc cref="ID2D1RenderTarget.GetAntialiasMode" />
|
||||||
@@ -451,11 +315,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(33)]
|
[VtblIndex(33)]
|
||||||
public AntialiasMode GetAntialiasMode()
|
public AntialiasMode GetAntialiasMode()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, AntialiasMode>)(lpVtbl[33]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1BitmapRenderTarget*, AntialiasMode>)(lpVtbl[33]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, AntialiasMode>)(lpVtbl[33]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.SetTextAntialiasMode" />
|
/// <inheritdoc cref="ID2D1RenderTarget.SetTextAntialiasMode" />
|
||||||
@@ -463,11 +323,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(34)]
|
[VtblIndex(34)]
|
||||||
public void SetTextAntialiasMode(TextAntialiasMode textAntialiasMode)
|
public void SetTextAntialiasMode(TextAntialiasMode textAntialiasMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, TextAntialiasMode, void>)(lpVtbl[34]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), textAntialiasMode);
|
||||||
((delegate* unmanaged<ID2D1BitmapRenderTarget*, TextAntialiasMode, void>)(lpVtbl[34]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), textAntialiasMode);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, TextAntialiasMode, void>)(lpVtbl[34]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), textAntialiasMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.GetTextAntialiasMode" />
|
/// <inheritdoc cref="ID2D1RenderTarget.GetTextAntialiasMode" />
|
||||||
@@ -475,11 +331,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(35)]
|
[VtblIndex(35)]
|
||||||
public TextAntialiasMode GetTextAntialiasMode()
|
public TextAntialiasMode GetTextAntialiasMode()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, TextAntialiasMode>)(lpVtbl[35]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1BitmapRenderTarget*, TextAntialiasMode>)(lpVtbl[35]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, TextAntialiasMode>)(lpVtbl[35]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.SetTextRenderingParams" />
|
/// <inheritdoc cref="ID2D1RenderTarget.SetTextRenderingParams" />
|
||||||
@@ -487,11 +339,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(36)]
|
[VtblIndex(36)]
|
||||||
public void SetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams)
|
public void SetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, Graphics.DirectWrite.IDWriteRenderingParams*, void>)(lpVtbl[36]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), textRenderingParams);
|
||||||
((delegate* unmanaged<ID2D1BitmapRenderTarget*, Graphics.DirectWrite.IDWriteRenderingParams*, void>)(lpVtbl[36]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, Graphics.DirectWrite.IDWriteRenderingParams*, void>)(lpVtbl[36]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.GetTextRenderingParams" />
|
/// <inheritdoc cref="ID2D1RenderTarget.GetTextRenderingParams" />
|
||||||
@@ -499,11 +347,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(37)]
|
[VtblIndex(37)]
|
||||||
public void GetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams** textRenderingParams)
|
public void GetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams** textRenderingParams)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, Graphics.DirectWrite.IDWriteRenderingParams**, void>)(lpVtbl[37]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), textRenderingParams);
|
||||||
((delegate* unmanaged<ID2D1BitmapRenderTarget*, Graphics.DirectWrite.IDWriteRenderingParams**, void>)(lpVtbl[37]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, Graphics.DirectWrite.IDWriteRenderingParams**, void>)(lpVtbl[37]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.SetTags" />
|
/// <inheritdoc cref="ID2D1RenderTarget.SetTags" />
|
||||||
@@ -511,11 +355,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(38)]
|
[VtblIndex(38)]
|
||||||
public void SetTags(ulong tag1, ulong tag2)
|
public void SetTags(ulong tag1, ulong tag2)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, ulong, ulong, void>)(lpVtbl[38]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
||||||
((delegate* unmanaged<ID2D1BitmapRenderTarget*, ulong, ulong, void>)(lpVtbl[38]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, ulong, ulong, void>)(lpVtbl[38]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.GetTags" />
|
/// <inheritdoc cref="ID2D1RenderTarget.GetTags" />
|
||||||
@@ -523,11 +363,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(39)]
|
[VtblIndex(39)]
|
||||||
public void GetTags(ulong* tag1, ulong* tag2)
|
public void GetTags(ulong* tag1, ulong* tag2)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, ulong*, ulong*, void>)(lpVtbl[39]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
||||||
((delegate* unmanaged<ID2D1BitmapRenderTarget*, ulong*, ulong*, void>)(lpVtbl[39]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, ulong*, ulong*, void>)(lpVtbl[39]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.PushLayer" />
|
/// <inheritdoc cref="ID2D1RenderTarget.PushLayer" />
|
||||||
@@ -535,11 +371,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(40)]
|
[VtblIndex(40)]
|
||||||
public void PushLayer(LayerParameters* layerParameters, ID2D1Layer* layer)
|
public void PushLayer(LayerParameters* layerParameters, ID2D1Layer* layer)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, LayerParameters*, ID2D1Layer*, void>)(lpVtbl[40]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), layerParameters, layer);
|
||||||
((delegate* unmanaged<ID2D1BitmapRenderTarget*, LayerParameters*, ID2D1Layer*, void>)(lpVtbl[40]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), layerParameters, layer);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, LayerParameters*, ID2D1Layer*, void>)(lpVtbl[40]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), layerParameters, layer);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.PopLayer" />
|
/// <inheritdoc cref="ID2D1RenderTarget.PopLayer" />
|
||||||
@@ -547,11 +379,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(41)]
|
[VtblIndex(41)]
|
||||||
public void PopLayer()
|
public void PopLayer()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, void>)(lpVtbl[41]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
((delegate* unmanaged<ID2D1BitmapRenderTarget*, void>)(lpVtbl[41]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, void>)(lpVtbl[41]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.Flush" />
|
/// <inheritdoc cref="ID2D1RenderTarget.Flush" />
|
||||||
@@ -559,11 +387,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(42)]
|
[VtblIndex(42)]
|
||||||
public HResult Flush(ulong* tag1, ulong* tag2)
|
public HResult Flush(ulong* tag1, ulong* tag2)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, ulong*, ulong*, int>)(lpVtbl[42]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
||||||
return ((delegate* unmanaged<ID2D1BitmapRenderTarget*, ulong*, ulong*, int>)(lpVtbl[42]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, ulong*, ulong*, int>)(lpVtbl[42]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.SaveDrawingState" />
|
/// <inheritdoc cref="ID2D1RenderTarget.SaveDrawingState" />
|
||||||
@@ -571,11 +395,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(43)]
|
[VtblIndex(43)]
|
||||||
public void SaveDrawingState(ID2D1DrawingStateBlock* drawingStateBlock)
|
public void SaveDrawingState(ID2D1DrawingStateBlock* drawingStateBlock)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, ID2D1DrawingStateBlock*, void>)(lpVtbl[43]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), drawingStateBlock);
|
||||||
((delegate* unmanaged<ID2D1BitmapRenderTarget*, ID2D1DrawingStateBlock*, void>)(lpVtbl[43]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), drawingStateBlock);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, ID2D1DrawingStateBlock*, void>)(lpVtbl[43]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), drawingStateBlock);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.RestoreDrawingState" />
|
/// <inheritdoc cref="ID2D1RenderTarget.RestoreDrawingState" />
|
||||||
@@ -583,11 +403,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(44)]
|
[VtblIndex(44)]
|
||||||
public void RestoreDrawingState(ID2D1DrawingStateBlock* drawingStateBlock)
|
public void RestoreDrawingState(ID2D1DrawingStateBlock* drawingStateBlock)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, ID2D1DrawingStateBlock*, void>)(lpVtbl[44]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), drawingStateBlock);
|
||||||
((delegate* unmanaged<ID2D1BitmapRenderTarget*, ID2D1DrawingStateBlock*, void>)(lpVtbl[44]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), drawingStateBlock);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, ID2D1DrawingStateBlock*, void>)(lpVtbl[44]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), drawingStateBlock);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.PushAxisAlignedClip" />
|
/// <inheritdoc cref="ID2D1RenderTarget.PushAxisAlignedClip" />
|
||||||
@@ -595,11 +411,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(45)]
|
[VtblIndex(45)]
|
||||||
public void PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode)
|
public void PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, Win32.Numerics.RectF*, AntialiasMode, void>)(lpVtbl[45]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
|
||||||
((delegate* unmanaged<ID2D1BitmapRenderTarget*, Win32.Numerics.RectF*, AntialiasMode, void>)(lpVtbl[45]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, Win32.Numerics.RectF*, AntialiasMode, void>)(lpVtbl[45]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.PopAxisAlignedClip" />
|
/// <inheritdoc cref="ID2D1RenderTarget.PopAxisAlignedClip" />
|
||||||
@@ -607,11 +419,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(46)]
|
[VtblIndex(46)]
|
||||||
public void PopAxisAlignedClip()
|
public void PopAxisAlignedClip()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, void>)(lpVtbl[46]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
((delegate* unmanaged<ID2D1BitmapRenderTarget*, void>)(lpVtbl[46]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, void>)(lpVtbl[46]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.Clear" />
|
/// <inheritdoc cref="ID2D1RenderTarget.Clear" />
|
||||||
@@ -619,11 +427,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(47)]
|
[VtblIndex(47)]
|
||||||
public void Clear(Color4* clearColor)
|
public void Clear(Color4* clearColor)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, Color4*, void>)(lpVtbl[47]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), clearColor);
|
||||||
((delegate* unmanaged<ID2D1BitmapRenderTarget*, Color4*, void>)(lpVtbl[47]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), clearColor);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, Color4*, void>)(lpVtbl[47]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), clearColor);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.BeginDraw" />
|
/// <inheritdoc cref="ID2D1RenderTarget.BeginDraw" />
|
||||||
@@ -631,11 +435,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(48)]
|
[VtblIndex(48)]
|
||||||
public void BeginDraw()
|
public void BeginDraw()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, void>)(lpVtbl[48]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
((delegate* unmanaged<ID2D1BitmapRenderTarget*, void>)(lpVtbl[48]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, void>)(lpVtbl[48]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.EndDraw" />
|
/// <inheritdoc cref="ID2D1RenderTarget.EndDraw" />
|
||||||
@@ -643,11 +443,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(49)]
|
[VtblIndex(49)]
|
||||||
public HResult EndDraw(ulong* tag1 = null, ulong* tag2 = null)
|
public HResult EndDraw(ulong* tag1 = null, ulong* tag2 = null)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, ulong*, ulong*, int>)(lpVtbl[49]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
||||||
return ((delegate* unmanaged<ID2D1BitmapRenderTarget*, ulong*, ulong*, int>)(lpVtbl[49]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, ulong*, ulong*, int>)(lpVtbl[49]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.GetPixelFormat" />
|
/// <inheritdoc cref="ID2D1RenderTarget.GetPixelFormat" />
|
||||||
@@ -656,11 +452,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
public Common.PixelFormat GetPixelFormat()
|
public Common.PixelFormat GetPixelFormat()
|
||||||
{
|
{
|
||||||
Common.PixelFormat result;
|
Common.PixelFormat result;
|
||||||
#if NET6_0_OR_GREATER
|
return *((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, Common.PixelFormat*, Common.PixelFormat*>)(lpVtbl[50]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), &result);
|
||||||
return *((delegate* unmanaged<ID2D1BitmapRenderTarget*, Common.PixelFormat*, Common.PixelFormat*>)(lpVtbl[50]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#else
|
|
||||||
return *((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, Common.PixelFormat*, Common.PixelFormat*>)(lpVtbl[50]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.SetDpi" />
|
/// <inheritdoc cref="ID2D1RenderTarget.SetDpi" />
|
||||||
@@ -668,11 +460,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(51)]
|
[VtblIndex(51)]
|
||||||
public void SetDpi(float dpiX, float dpiY)
|
public void SetDpi(float dpiX, float dpiY)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, float, float, void>)(lpVtbl[51]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
||||||
((delegate* unmanaged<ID2D1BitmapRenderTarget*, float, float, void>)(lpVtbl[51]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, float, float, void>)(lpVtbl[51]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.GetDpi" />
|
/// <inheritdoc cref="ID2D1RenderTarget.GetDpi" />
|
||||||
@@ -680,11 +468,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(52)]
|
[VtblIndex(52)]
|
||||||
public void GetDpi(float* dpiX, float* dpiY)
|
public void GetDpi(float* dpiX, float* dpiY)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, float*, float*, void>)(lpVtbl[52]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
||||||
((delegate* unmanaged<ID2D1BitmapRenderTarget*, float*, float*, void>)(lpVtbl[52]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, float*, float*, void>)(lpVtbl[52]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.GetSize" />
|
/// <inheritdoc cref="ID2D1RenderTarget.GetSize" />
|
||||||
@@ -693,11 +477,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
public System.Drawing.SizeF GetSize()
|
public System.Drawing.SizeF GetSize()
|
||||||
{
|
{
|
||||||
System.Drawing.SizeF result;
|
System.Drawing.SizeF result;
|
||||||
#if NET6_0_OR_GREATER
|
return *((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, System.Drawing.SizeF*, System.Drawing.SizeF*>)(lpVtbl[53]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), &result);
|
||||||
return *((delegate* unmanaged<ID2D1BitmapRenderTarget*, System.Drawing.SizeF*, System.Drawing.SizeF*>)(lpVtbl[53]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#else
|
|
||||||
return *((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, System.Drawing.SizeF*, System.Drawing.SizeF*>)(lpVtbl[53]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.GetPixelSize" />
|
/// <inheritdoc cref="ID2D1RenderTarget.GetPixelSize" />
|
||||||
@@ -706,11 +486,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
public System.Drawing.Size GetPixelSize()
|
public System.Drawing.Size GetPixelSize()
|
||||||
{
|
{
|
||||||
System.Drawing.Size result;
|
System.Drawing.Size result;
|
||||||
#if NET6_0_OR_GREATER
|
return *((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, System.Drawing.Size*, System.Drawing.Size*>)(lpVtbl[54]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), &result);
|
||||||
return *((delegate* unmanaged<ID2D1BitmapRenderTarget*, System.Drawing.Size*, System.Drawing.Size*>)(lpVtbl[54]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#else
|
|
||||||
return *((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, System.Drawing.Size*, System.Drawing.Size*>)(lpVtbl[54]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.GetMaximumBitmapSize" />
|
/// <inheritdoc cref="ID2D1RenderTarget.GetMaximumBitmapSize" />
|
||||||
@@ -718,11 +494,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(55)]
|
[VtblIndex(55)]
|
||||||
public uint GetMaximumBitmapSize()
|
public uint GetMaximumBitmapSize()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, uint>)(lpVtbl[55]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1BitmapRenderTarget*, uint>)(lpVtbl[55]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, uint>)(lpVtbl[55]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.IsSupported" />
|
/// <inheritdoc cref="ID2D1RenderTarget.IsSupported" />
|
||||||
@@ -730,11 +502,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(56)]
|
[VtblIndex(56)]
|
||||||
public Bool32 IsSupported(RenderTargetProperties* renderTargetProperties)
|
public Bool32 IsSupported(RenderTargetProperties* renderTargetProperties)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, RenderTargetProperties*, Bool32>)(lpVtbl[56]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), renderTargetProperties);
|
||||||
return ((delegate* unmanaged<ID2D1BitmapRenderTarget*, RenderTargetProperties*, Bool32>)(lpVtbl[56]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), renderTargetProperties);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, RenderTargetProperties*, Bool32>)(lpVtbl[56]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), renderTargetProperties);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BitmapRenderTarget::GetBitmap"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BitmapRenderTarget::GetBitmap"]/*' />
|
||||||
@@ -742,11 +510,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
|
|||||||
[VtblIndex(57)]
|
[VtblIndex(57)]
|
||||||
public HResult GetBitmap(ID2D1Bitmap** bitmap)
|
public HResult GetBitmap(ID2D1Bitmap** bitmap)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BitmapRenderTarget*, ID2D1Bitmap**, int>)(lpVtbl[57]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), bitmap);
|
||||||
return ((delegate* unmanaged<ID2D1BitmapRenderTarget*, ID2D1Bitmap**, int>)(lpVtbl[57]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), bitmap);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BitmapRenderTarget*, ID2D1Bitmap**, int>)(lpVtbl[57]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), bitmap);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1RenderTarget.Interface
|
public interface Interface : ID2D1RenderTarget.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1BlendTransform : ID2D1BlendTransform.Interface
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BlendTransform));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BlendTransform));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BlendTransform));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1BlendTransform : ID2D1BlendTransform.Interface
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BlendTransform*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1BlendTransform*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1BlendTransform*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1BlendTransform*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BlendTransform*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1BlendTransform*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1BlendTransform : ID2D1BlendTransform.Interface
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BlendTransform*, uint>)(lpVtbl[1]))((ID2D1BlendTransform*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1BlendTransform*, uint>)(lpVtbl[1]))((ID2D1BlendTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BlendTransform*, uint>)(lpVtbl[1]))((ID2D1BlendTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1BlendTransform : ID2D1BlendTransform.Interface
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BlendTransform*, uint>)(lpVtbl[2]))((ID2D1BlendTransform*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1BlendTransform*, uint>)(lpVtbl[2]))((ID2D1BlendTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BlendTransform*, uint>)(lpVtbl[2]))((ID2D1BlendTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1TransformNode.GetInputCount" />
|
/// <inheritdoc cref="ID2D1TransformNode.GetInputCount" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1BlendTransform : ID2D1BlendTransform.Interface
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public uint GetInputCount()
|
public uint GetInputCount()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BlendTransform*, uint>)(lpVtbl[3]))((ID2D1BlendTransform*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1BlendTransform*, uint>)(lpVtbl[3]))((ID2D1BlendTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BlendTransform*, uint>)(lpVtbl[3]))((ID2D1BlendTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1ConcreteTransform.SetOutputBuffer" />
|
/// <inheritdoc cref="ID2D1ConcreteTransform.SetOutputBuffer" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1BlendTransform : ID2D1BlendTransform.Interface
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult SetOutputBuffer(BufferPrecision bufferPrecision, ChannelDepth channelDepth)
|
public HResult SetOutputBuffer(BufferPrecision bufferPrecision, ChannelDepth channelDepth)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BlendTransform*, BufferPrecision, ChannelDepth, int>)(lpVtbl[4]))((ID2D1BlendTransform*)Unsafe.AsPointer(ref this), bufferPrecision, channelDepth);
|
||||||
return ((delegate* unmanaged<ID2D1BlendTransform*, BufferPrecision, ChannelDepth, int>)(lpVtbl[4]))((ID2D1BlendTransform*)Unsafe.AsPointer(ref this), bufferPrecision, channelDepth);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BlendTransform*, BufferPrecision, ChannelDepth, int>)(lpVtbl[4]))((ID2D1BlendTransform*)Unsafe.AsPointer(ref this), bufferPrecision, channelDepth);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1ConcreteTransform.SetCached" />
|
/// <inheritdoc cref="ID2D1ConcreteTransform.SetCached" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1BlendTransform : ID2D1BlendTransform.Interface
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public void SetCached(Bool32 isCached)
|
public void SetCached(Bool32 isCached)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BlendTransform*, Bool32, void>)(lpVtbl[5]))((ID2D1BlendTransform*)Unsafe.AsPointer(ref this), isCached);
|
||||||
((delegate* unmanaged<ID2D1BlendTransform*, Bool32, void>)(lpVtbl[5]))((ID2D1BlendTransform*)Unsafe.AsPointer(ref this), isCached);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BlendTransform*, Bool32, void>)(lpVtbl[5]))((ID2D1BlendTransform*)Unsafe.AsPointer(ref this), isCached);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BlendTransform::SetDescription"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BlendTransform::SetDescription"]/*' />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1BlendTransform : ID2D1BlendTransform.Interface
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public void SetDescription(BlendDescription* description)
|
public void SetDescription(BlendDescription* description)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BlendTransform*, BlendDescription*, void>)(lpVtbl[6]))((ID2D1BlendTransform*)Unsafe.AsPointer(ref this), description);
|
||||||
((delegate* unmanaged<ID2D1BlendTransform*, BlendDescription*, void>)(lpVtbl[6]))((ID2D1BlendTransform*)Unsafe.AsPointer(ref this), description);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BlendTransform*, BlendDescription*, void>)(lpVtbl[6]))((ID2D1BlendTransform*)Unsafe.AsPointer(ref this), description);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BlendTransform::GetDescription"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BlendTransform::GetDescription"]/*' />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1BlendTransform : ID2D1BlendTransform.Interface
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public void GetDescription(BlendDescription* description)
|
public void GetDescription(BlendDescription* description)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BlendTransform*, BlendDescription*, void>)(lpVtbl[7]))((ID2D1BlendTransform*)Unsafe.AsPointer(ref this), description);
|
||||||
((delegate* unmanaged<ID2D1BlendTransform*, BlendDescription*, void>)(lpVtbl[7]))((ID2D1BlendTransform*)Unsafe.AsPointer(ref this), description);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BlendTransform*, BlendDescription*, void>)(lpVtbl[7]))((ID2D1BlendTransform*)Unsafe.AsPointer(ref this), description);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1ConcreteTransform.Interface
|
public interface Interface : ID2D1ConcreteTransform.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1BorderTransform : ID2D1BorderTransform.Interfa
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BorderTransform));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BorderTransform));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BorderTransform));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1BorderTransform : ID2D1BorderTransform.Interfa
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BorderTransform*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1BorderTransform*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BorderTransform*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1BorderTransform : ID2D1BorderTransform.Interfa
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BorderTransform*, uint>)(lpVtbl[1]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1BorderTransform*, uint>)(lpVtbl[1]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BorderTransform*, uint>)(lpVtbl[1]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1BorderTransform : ID2D1BorderTransform.Interfa
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BorderTransform*, uint>)(lpVtbl[2]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1BorderTransform*, uint>)(lpVtbl[2]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BorderTransform*, uint>)(lpVtbl[2]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1TransformNode.GetInputCount" />
|
/// <inheritdoc cref="ID2D1TransformNode.GetInputCount" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1BorderTransform : ID2D1BorderTransform.Interfa
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public uint GetInputCount()
|
public uint GetInputCount()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BorderTransform*, uint>)(lpVtbl[3]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1BorderTransform*, uint>)(lpVtbl[3]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BorderTransform*, uint>)(lpVtbl[3]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1ConcreteTransform.SetOutputBuffer" />
|
/// <inheritdoc cref="ID2D1ConcreteTransform.SetOutputBuffer" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1BorderTransform : ID2D1BorderTransform.Interfa
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult SetOutputBuffer(BufferPrecision bufferPrecision, ChannelDepth channelDepth)
|
public HResult SetOutputBuffer(BufferPrecision bufferPrecision, ChannelDepth channelDepth)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BorderTransform*, BufferPrecision, ChannelDepth, int>)(lpVtbl[4]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this), bufferPrecision, channelDepth);
|
||||||
return ((delegate* unmanaged<ID2D1BorderTransform*, BufferPrecision, ChannelDepth, int>)(lpVtbl[4]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this), bufferPrecision, channelDepth);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BorderTransform*, BufferPrecision, ChannelDepth, int>)(lpVtbl[4]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this), bufferPrecision, channelDepth);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1ConcreteTransform.SetCached" />
|
/// <inheritdoc cref="ID2D1ConcreteTransform.SetCached" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1BorderTransform : ID2D1BorderTransform.Interfa
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public void SetCached(Bool32 isCached)
|
public void SetCached(Bool32 isCached)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BorderTransform*, Bool32, void>)(lpVtbl[5]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this), isCached);
|
||||||
((delegate* unmanaged<ID2D1BorderTransform*, Bool32, void>)(lpVtbl[5]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this), isCached);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BorderTransform*, Bool32, void>)(lpVtbl[5]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this), isCached);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BorderTransform::SetExtendModeX"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BorderTransform::SetExtendModeX"]/*' />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1BorderTransform : ID2D1BorderTransform.Interfa
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public void SetExtendModeX(ExtendMode extendMode)
|
public void SetExtendModeX(ExtendMode extendMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BorderTransform*, ExtendMode, void>)(lpVtbl[6]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this), extendMode);
|
||||||
((delegate* unmanaged<ID2D1BorderTransform*, ExtendMode, void>)(lpVtbl[6]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this), extendMode);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BorderTransform*, ExtendMode, void>)(lpVtbl[6]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this), extendMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BorderTransform::SetExtendModeY"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BorderTransform::SetExtendModeY"]/*' />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1BorderTransform : ID2D1BorderTransform.Interfa
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public void SetExtendModeY(ExtendMode extendMode)
|
public void SetExtendModeY(ExtendMode extendMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BorderTransform*, ExtendMode, void>)(lpVtbl[7]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this), extendMode);
|
||||||
((delegate* unmanaged<ID2D1BorderTransform*, ExtendMode, void>)(lpVtbl[7]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this), extendMode);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BorderTransform*, ExtendMode, void>)(lpVtbl[7]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this), extendMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BorderTransform::GetExtendModeX"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BorderTransform::GetExtendModeX"]/*' />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1BorderTransform : ID2D1BorderTransform.Interfa
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public ExtendMode GetExtendModeX()
|
public ExtendMode GetExtendModeX()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BorderTransform*, ExtendMode>)(lpVtbl[8]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1BorderTransform*, ExtendMode>)(lpVtbl[8]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BorderTransform*, ExtendMode>)(lpVtbl[8]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BorderTransform::GetExtendModeY"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BorderTransform::GetExtendModeY"]/*' />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1BorderTransform : ID2D1BorderTransform.Interfa
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public ExtendMode GetExtendModeY()
|
public ExtendMode GetExtendModeY()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BorderTransform*, ExtendMode>)(lpVtbl[9]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1BorderTransform*, ExtendMode>)(lpVtbl[9]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BorderTransform*, ExtendMode>)(lpVtbl[9]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1ConcreteTransform.Interface
|
public interface Interface : ID2D1ConcreteTransform.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1BoundsAdjustmentTransform : ID2D1BoundsAdjustm
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BoundsAdjustmentTransform));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BoundsAdjustmentTransform));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BoundsAdjustmentTransform));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1BoundsAdjustmentTransform : ID2D1BoundsAdjustm
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BoundsAdjustmentTransform*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1BoundsAdjustmentTransform*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1BoundsAdjustmentTransform*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1BoundsAdjustmentTransform*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BoundsAdjustmentTransform*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1BoundsAdjustmentTransform*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1BoundsAdjustmentTransform : ID2D1BoundsAdjustm
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BoundsAdjustmentTransform*, uint>)(lpVtbl[1]))((ID2D1BoundsAdjustmentTransform*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1BoundsAdjustmentTransform*, uint>)(lpVtbl[1]))((ID2D1BoundsAdjustmentTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BoundsAdjustmentTransform*, uint>)(lpVtbl[1]))((ID2D1BoundsAdjustmentTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1BoundsAdjustmentTransform : ID2D1BoundsAdjustm
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BoundsAdjustmentTransform*, uint>)(lpVtbl[2]))((ID2D1BoundsAdjustmentTransform*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1BoundsAdjustmentTransform*, uint>)(lpVtbl[2]))((ID2D1BoundsAdjustmentTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BoundsAdjustmentTransform*, uint>)(lpVtbl[2]))((ID2D1BoundsAdjustmentTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1TransformNode.GetInputCount" />
|
/// <inheritdoc cref="ID2D1TransformNode.GetInputCount" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1BoundsAdjustmentTransform : ID2D1BoundsAdjustm
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public uint GetInputCount()
|
public uint GetInputCount()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1BoundsAdjustmentTransform*, uint>)(lpVtbl[3]))((ID2D1BoundsAdjustmentTransform*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1BoundsAdjustmentTransform*, uint>)(lpVtbl[3]))((ID2D1BoundsAdjustmentTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1BoundsAdjustmentTransform*, uint>)(lpVtbl[3]))((ID2D1BoundsAdjustmentTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BoundsAdjustmentTransform::SetOutputBounds"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BoundsAdjustmentTransform::SetOutputBounds"]/*' />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1BoundsAdjustmentTransform : ID2D1BoundsAdjustm
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public void SetOutputBounds(Rect* outputBounds)
|
public void SetOutputBounds(Rect* outputBounds)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BoundsAdjustmentTransform*, Rect*, void>)(lpVtbl[4]))((ID2D1BoundsAdjustmentTransform*)Unsafe.AsPointer(ref this), outputBounds);
|
||||||
((delegate* unmanaged<ID2D1BoundsAdjustmentTransform*, Rect*, void>)(lpVtbl[4]))((ID2D1BoundsAdjustmentTransform*)Unsafe.AsPointer(ref this), outputBounds);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BoundsAdjustmentTransform*, Rect*, void>)(lpVtbl[4]))((ID2D1BoundsAdjustmentTransform*)Unsafe.AsPointer(ref this), outputBounds);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BoundsAdjustmentTransform::GetOutputBounds"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1BoundsAdjustmentTransform::GetOutputBounds"]/*' />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1BoundsAdjustmentTransform : ID2D1BoundsAdjustm
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public void GetOutputBounds(Rect* outputBounds)
|
public void GetOutputBounds(Rect* outputBounds)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1BoundsAdjustmentTransform*, Rect*, void>)(lpVtbl[5]))((ID2D1BoundsAdjustmentTransform*)Unsafe.AsPointer(ref this), outputBounds);
|
||||||
((delegate* unmanaged<ID2D1BoundsAdjustmentTransform*, Rect*, void>)(lpVtbl[5]))((ID2D1BoundsAdjustmentTransform*)Unsafe.AsPointer(ref this), outputBounds);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1BoundsAdjustmentTransform*, Rect*, void>)(lpVtbl[5]))((ID2D1BoundsAdjustmentTransform*)Unsafe.AsPointer(ref this), outputBounds);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1TransformNode.Interface
|
public interface Interface : ID2D1TransformNode.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1Brush : ID2D1Brush.Interface, INativeGuid
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Brush));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Brush));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Brush));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1Brush : ID2D1Brush.Interface, INativeGuid
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Brush*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Brush*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1Brush*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Brush*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Brush*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Brush*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1Brush : ID2D1Brush.Interface, INativeGuid
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Brush*, uint>)(lpVtbl[1]))((ID2D1Brush*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Brush*, uint>)(lpVtbl[1]))((ID2D1Brush*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Brush*, uint>)(lpVtbl[1]))((ID2D1Brush*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1Brush : ID2D1Brush.Interface, INativeGuid
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Brush*, uint>)(lpVtbl[2]))((ID2D1Brush*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Brush*, uint>)(lpVtbl[2]))((ID2D1Brush*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Brush*, uint>)(lpVtbl[2]))((ID2D1Brush*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1Brush : ID2D1Brush.Interface, INativeGuid
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Brush*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Brush*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1Brush*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Brush*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Brush*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Brush*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Brush::SetOpacity"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Brush::SetOpacity"]/*' />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1Brush : ID2D1Brush.Interface, INativeGuid
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public void SetOpacity(float opacity)
|
public void SetOpacity(float opacity)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Brush*, float, void>)(lpVtbl[4]))((ID2D1Brush*)Unsafe.AsPointer(ref this), opacity);
|
||||||
((delegate* unmanaged<ID2D1Brush*, float, void>)(lpVtbl[4]))((ID2D1Brush*)Unsafe.AsPointer(ref this), opacity);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Brush*, float, void>)(lpVtbl[4]))((ID2D1Brush*)Unsafe.AsPointer(ref this), opacity);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Brush::SetTransform"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Brush::SetTransform"]/*' />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1Brush : ID2D1Brush.Interface, INativeGuid
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public void SetTransform(Matrix3x2* transform)
|
public void SetTransform(Matrix3x2* transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Brush*, Matrix3x2*, void>)(lpVtbl[5]))((ID2D1Brush*)Unsafe.AsPointer(ref this), transform);
|
||||||
((delegate* unmanaged<ID2D1Brush*, Matrix3x2*, void>)(lpVtbl[5]))((ID2D1Brush*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Brush*, Matrix3x2*, void>)(lpVtbl[5]))((ID2D1Brush*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Brush::GetOpacity"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Brush::GetOpacity"]/*' />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1Brush : ID2D1Brush.Interface, INativeGuid
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public float GetOpacity()
|
public float GetOpacity()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Brush*, float>)(lpVtbl[6]))((ID2D1Brush*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Brush*, float>)(lpVtbl[6]))((ID2D1Brush*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Brush*, float>)(lpVtbl[6]))((ID2D1Brush*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Brush::GetTransform"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Brush::GetTransform"]/*' />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1Brush : ID2D1Brush.Interface, INativeGuid
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public void GetTransform(Matrix3x2* transform)
|
public void GetTransform(Matrix3x2* transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Brush*, Matrix3x2*, void>)(lpVtbl[7]))((ID2D1Brush*)Unsafe.AsPointer(ref this), transform);
|
||||||
((delegate* unmanaged<ID2D1Brush*, Matrix3x2*, void>)(lpVtbl[7]))((ID2D1Brush*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Brush*, Matrix3x2*, void>)(lpVtbl[7]))((ID2D1Brush*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Resource.Interface
|
public interface Interface : ID2D1Resource.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1ColorContext : ID2D1ColorContext.Interface, IN
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ColorContext));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ColorContext));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ColorContext));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1ColorContext : ID2D1ColorContext.Interface, IN
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ColorContext*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1ColorContext*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1ColorContext*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1ColorContext*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ColorContext*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1ColorContext*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1ColorContext : ID2D1ColorContext.Interface, IN
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ColorContext*, uint>)(lpVtbl[1]))((ID2D1ColorContext*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1ColorContext*, uint>)(lpVtbl[1]))((ID2D1ColorContext*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ColorContext*, uint>)(lpVtbl[1]))((ID2D1ColorContext*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1ColorContext : ID2D1ColorContext.Interface, IN
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ColorContext*, uint>)(lpVtbl[2]))((ID2D1ColorContext*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1ColorContext*, uint>)(lpVtbl[2]))((ID2D1ColorContext*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ColorContext*, uint>)(lpVtbl[2]))((ID2D1ColorContext*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1ColorContext : ID2D1ColorContext.Interface, IN
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1ColorContext*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1ColorContext*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1ColorContext*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1ColorContext*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1ColorContext*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1ColorContext*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ColorContext::GetColorSpace"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ColorContext::GetColorSpace"]/*' />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1ColorContext : ID2D1ColorContext.Interface, IN
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public ColorSpace GetColorSpace()
|
public ColorSpace GetColorSpace()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ColorContext*, ColorSpace>)(lpVtbl[4]))((ID2D1ColorContext*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1ColorContext*, ColorSpace>)(lpVtbl[4]))((ID2D1ColorContext*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ColorContext*, ColorSpace>)(lpVtbl[4]))((ID2D1ColorContext*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ColorContext::GetProfileSize"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ColorContext::GetProfileSize"]/*' />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1ColorContext : ID2D1ColorContext.Interface, IN
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public uint GetProfileSize()
|
public uint GetProfileSize()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ColorContext*, uint>)(lpVtbl[5]))((ID2D1ColorContext*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1ColorContext*, uint>)(lpVtbl[5]))((ID2D1ColorContext*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ColorContext*, uint>)(lpVtbl[5]))((ID2D1ColorContext*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ColorContext::GetProfile"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ColorContext::GetProfile"]/*' />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1ColorContext : ID2D1ColorContext.Interface, IN
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult GetProfile(byte* profile, uint profileSize)
|
public HResult GetProfile(byte* profile, uint profileSize)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ColorContext*, byte*, uint, int>)(lpVtbl[6]))((ID2D1ColorContext*)Unsafe.AsPointer(ref this), profile, profileSize);
|
||||||
return ((delegate* unmanaged<ID2D1ColorContext*, byte*, uint, int>)(lpVtbl[6]))((ID2D1ColorContext*)Unsafe.AsPointer(ref this), profile, profileSize);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ColorContext*, byte*, uint, int>)(lpVtbl[6]))((ID2D1ColorContext*)Unsafe.AsPointer(ref this), profile, profileSize);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Resource.Interface
|
public interface Interface : ID2D1Resource.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1ColorContext1 : ID2D1ColorContext1.Interface,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ColorContext1));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ColorContext1));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ColorContext1));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1ColorContext1 : ID2D1ColorContext1.Interface,
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ColorContext1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1ColorContext1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ColorContext1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1ColorContext1 : ID2D1ColorContext1.Interface,
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ColorContext1*, uint>)(lpVtbl[1]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1ColorContext1*, uint>)(lpVtbl[1]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ColorContext1*, uint>)(lpVtbl[1]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1ColorContext1 : ID2D1ColorContext1.Interface,
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ColorContext1*, uint>)(lpVtbl[2]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1ColorContext1*, uint>)(lpVtbl[2]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ColorContext1*, uint>)(lpVtbl[2]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1ColorContext1 : ID2D1ColorContext1.Interface,
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1ColorContext1*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1ColorContext1*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1ColorContext1*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1ColorContext.GetColorSpace" />
|
/// <inheritdoc cref="ID2D1ColorContext.GetColorSpace" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1ColorContext1 : ID2D1ColorContext1.Interface,
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public ColorSpace GetColorSpace()
|
public ColorSpace GetColorSpace()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ColorContext1*, ColorSpace>)(lpVtbl[4]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1ColorContext1*, ColorSpace>)(lpVtbl[4]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ColorContext1*, ColorSpace>)(lpVtbl[4]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1ColorContext.GetProfileSize" />
|
/// <inheritdoc cref="ID2D1ColorContext.GetProfileSize" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1ColorContext1 : ID2D1ColorContext1.Interface,
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public uint GetProfileSize()
|
public uint GetProfileSize()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ColorContext1*, uint>)(lpVtbl[5]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1ColorContext1*, uint>)(lpVtbl[5]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ColorContext1*, uint>)(lpVtbl[5]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1ColorContext.GetProfile" />
|
/// <inheritdoc cref="ID2D1ColorContext.GetProfile" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1ColorContext1 : ID2D1ColorContext1.Interface,
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult GetProfile(byte* profile, uint profileSize)
|
public HResult GetProfile(byte* profile, uint profileSize)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ColorContext1*, byte*, uint, int>)(lpVtbl[6]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this), profile, profileSize);
|
||||||
return ((delegate* unmanaged<ID2D1ColorContext1*, byte*, uint, int>)(lpVtbl[6]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this), profile, profileSize);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ColorContext1*, byte*, uint, int>)(lpVtbl[6]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this), profile, profileSize);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ColorContext1::GetColorContextType"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ColorContext1::GetColorContextType"]/*' />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1ColorContext1 : ID2D1ColorContext1.Interface,
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public ColorContextType GetColorContextType()
|
public ColorContextType GetColorContextType()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ColorContext1*, ColorContextType>)(lpVtbl[7]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1ColorContext1*, ColorContextType>)(lpVtbl[7]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ColorContext1*, ColorContextType>)(lpVtbl[7]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ColorContext1::GetDXGIColorSpace"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ColorContext1::GetDXGIColorSpace"]/*' />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1ColorContext1 : ID2D1ColorContext1.Interface,
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public Graphics.Dxgi.Common.ColorSpaceType GetDXGIColorSpace()
|
public Graphics.Dxgi.Common.ColorSpaceType GetDXGIColorSpace()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ColorContext1*, Graphics.Dxgi.Common.ColorSpaceType>)(lpVtbl[8]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1ColorContext1*, Graphics.Dxgi.Common.ColorSpaceType>)(lpVtbl[8]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ColorContext1*, Graphics.Dxgi.Common.ColorSpaceType>)(lpVtbl[8]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ColorContext1::GetSimpleColorProfile"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ColorContext1::GetSimpleColorProfile"]/*' />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1ColorContext1 : ID2D1ColorContext1.Interface,
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult GetSimpleColorProfile(SimpleColorProfile* simpleProfile)
|
public HResult GetSimpleColorProfile(SimpleColorProfile* simpleProfile)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ColorContext1*, SimpleColorProfile*, int>)(lpVtbl[9]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this), simpleProfile);
|
||||||
return ((delegate* unmanaged<ID2D1ColorContext1*, SimpleColorProfile*, int>)(lpVtbl[9]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this), simpleProfile);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ColorContext1*, SimpleColorProfile*, int>)(lpVtbl[9]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this), simpleProfile);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1ColorContext.Interface
|
public interface Interface : ID2D1ColorContext.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1CommandList : ID2D1CommandList.Interface, INat
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandList));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandList));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandList));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1CommandList : ID2D1CommandList.Interface, INat
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandList*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1CommandList*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1CommandList*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1CommandList*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandList*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1CommandList*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1CommandList : ID2D1CommandList.Interface, INat
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandList*, uint>)(lpVtbl[1]))((ID2D1CommandList*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandList*, uint>)(lpVtbl[1]))((ID2D1CommandList*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandList*, uint>)(lpVtbl[1]))((ID2D1CommandList*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1CommandList : ID2D1CommandList.Interface, INat
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandList*, uint>)(lpVtbl[2]))((ID2D1CommandList*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandList*, uint>)(lpVtbl[2]))((ID2D1CommandList*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandList*, uint>)(lpVtbl[2]))((ID2D1CommandList*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1CommandList : ID2D1CommandList.Interface, INat
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1CommandList*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1CommandList*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1CommandList*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1CommandList*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1CommandList*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1CommandList*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandList::Stream"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandList::Stream"]/*' />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1CommandList : ID2D1CommandList.Interface, INat
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult Stream(ID2D1CommandSink* sink)
|
public HResult Stream(ID2D1CommandSink* sink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandList*, ID2D1CommandSink*, int>)(lpVtbl[4]))((ID2D1CommandList*)Unsafe.AsPointer(ref this), sink);
|
||||||
return ((delegate* unmanaged<ID2D1CommandList*, ID2D1CommandSink*, int>)(lpVtbl[4]))((ID2D1CommandList*)Unsafe.AsPointer(ref this), sink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandList*, ID2D1CommandSink*, int>)(lpVtbl[4]))((ID2D1CommandList*)Unsafe.AsPointer(ref this), sink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandList::Close"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandList::Close"]/*' />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1CommandList : ID2D1CommandList.Interface, INat
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult Close()
|
public HResult Close()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandList*, int>)(lpVtbl[5]))((ID2D1CommandList*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandList*, int>)(lpVtbl[5]))((ID2D1CommandList*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandList*, int>)(lpVtbl[5]))((ID2D1CommandList*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Image.Interface
|
public interface Interface : ID2D1Image.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink*, uint>)(lpVtbl[1]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink*, uint>)(lpVtbl[1]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink*, uint>)(lpVtbl[1]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink*, uint>)(lpVtbl[2]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink*, uint>)(lpVtbl[2]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink*, uint>)(lpVtbl[2]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::BeginDraw"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::BeginDraw"]/*' />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public HResult BeginDraw()
|
public HResult BeginDraw()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink*, int>)(lpVtbl[3]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink*, int>)(lpVtbl[3]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink*, int>)(lpVtbl[3]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::EndDraw"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::EndDraw"]/*' />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult EndDraw()
|
public HResult EndDraw()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink*, int>)(lpVtbl[4]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink*, int>)(lpVtbl[4]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink*, int>)(lpVtbl[4]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::SetAntialiasMode"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::SetAntialiasMode"]/*' />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult SetAntialiasMode(AntialiasMode antialiasMode)
|
public HResult SetAntialiasMode(AntialiasMode antialiasMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink*, AntialiasMode, int>)(lpVtbl[5]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), antialiasMode);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink*, AntialiasMode, int>)(lpVtbl[5]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), antialiasMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink*, AntialiasMode, int>)(lpVtbl[5]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), antialiasMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::SetTags"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::SetTags"]/*' />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult SetTags(ulong tag1, ulong tag2)
|
public HResult SetTags(ulong tag1, ulong tag2)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink*, ulong, ulong, int>)(lpVtbl[6]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), tag1, tag2);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink*, ulong, ulong, int>)(lpVtbl[6]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink*, ulong, ulong, int>)(lpVtbl[6]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::SetTextAntialiasMode"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::SetTextAntialiasMode"]/*' />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public HResult SetTextAntialiasMode(TextAntialiasMode textAntialiasMode)
|
public HResult SetTextAntialiasMode(TextAntialiasMode textAntialiasMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink*, TextAntialiasMode, int>)(lpVtbl[7]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), textAntialiasMode);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink*, TextAntialiasMode, int>)(lpVtbl[7]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), textAntialiasMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink*, TextAntialiasMode, int>)(lpVtbl[7]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), textAntialiasMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::SetTextRenderingParams"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::SetTextRenderingParams"]/*' />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult SetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams)
|
public HResult SetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink*, Graphics.DirectWrite.IDWriteRenderingParams*, int>)(lpVtbl[8]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), textRenderingParams);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink*, Graphics.DirectWrite.IDWriteRenderingParams*, int>)(lpVtbl[8]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink*, Graphics.DirectWrite.IDWriteRenderingParams*, int>)(lpVtbl[8]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::SetTransform"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::SetTransform"]/*' />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult SetTransform(Matrix3x2* transform)
|
public HResult SetTransform(Matrix3x2* transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink*, Matrix3x2*, int>)(lpVtbl[9]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), transform);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink*, Matrix3x2*, int>)(lpVtbl[9]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink*, Matrix3x2*, int>)(lpVtbl[9]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::SetPrimitiveBlend"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::SetPrimitiveBlend"]/*' />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult SetPrimitiveBlend(PrimitiveBlend primitiveBlend)
|
public HResult SetPrimitiveBlend(PrimitiveBlend primitiveBlend)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink*, PrimitiveBlend, int>)(lpVtbl[10]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), primitiveBlend);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink*, PrimitiveBlend, int>)(lpVtbl[10]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), primitiveBlend);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink*, PrimitiveBlend, int>)(lpVtbl[10]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), primitiveBlend);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::SetUnitMode"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::SetUnitMode"]/*' />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult SetUnitMode(UnitMode unitMode)
|
public HResult SetUnitMode(UnitMode unitMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink*, UnitMode, int>)(lpVtbl[11]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), unitMode);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink*, UnitMode, int>)(lpVtbl[11]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), unitMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink*, UnitMode, int>)(lpVtbl[11]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), unitMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::Clear"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::Clear"]/*' />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public HResult Clear(Color4* color)
|
public HResult Clear(Color4* color)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink*, Color4*, int>)(lpVtbl[12]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), color);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink*, Color4*, int>)(lpVtbl[12]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), color);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink*, Color4*, int>)(lpVtbl[12]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), color);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::DrawGlyphRun"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::DrawGlyphRun"]/*' />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult DrawGlyphRun(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode)
|
public HResult DrawGlyphRun(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink*, Vector2, 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<ID2D1CommandSink*, Vector2, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, int>)(lpVtbl[13]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink*, Vector2, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, int>)(lpVtbl[13]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::DrawLine"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::DrawLine"]/*' />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public HResult DrawLine(Vector2 point0, Vector2 point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public HResult DrawLine(Vector2 point0, Vector2 point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink*, Vector2, Vector2, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[14]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink*, Vector2, Vector2, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[14]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink*, Vector2, Vector2, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[14]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::DrawGeometry"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::DrawGeometry"]/*' />
|
||||||
@@ -235,11 +171,7 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public HResult DrawGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public HResult DrawGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink*, ID2D1Geometry*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[15]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink*, ID2D1Geometry*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[15]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink*, ID2D1Geometry*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[15]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::DrawRectangle"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::DrawRectangle"]/*' />
|
||||||
@@ -247,11 +179,7 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
|
|||||||
[VtblIndex(16)]
|
[VtblIndex(16)]
|
||||||
public HResult DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public HResult DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink*, Win32.Numerics.RectF*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[16]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink*, Win32.Numerics.RectF*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[16]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink*, Win32.Numerics.RectF*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[16]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::DrawBitmap"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::DrawBitmap"]/*' />
|
||||||
@@ -259,11 +187,7 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
|
|||||||
[VtblIndex(17)]
|
[VtblIndex(17)]
|
||||||
public HResult DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle, Matrix4x4* perspectiveTransform)
|
public HResult DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle, Matrix4x4* perspectiveTransform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink*, ID2D1Bitmap*, Win32.Numerics.RectF*, float, InterpolationMode, Win32.Numerics.RectF*, Matrix4x4*, int>)(lpVtbl[17]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink*, ID2D1Bitmap*, Win32.Numerics.RectF*, float, InterpolationMode, Win32.Numerics.RectF*, Matrix4x4*, int>)(lpVtbl[17]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink*, ID2D1Bitmap*, Win32.Numerics.RectF*, float, InterpolationMode, Win32.Numerics.RectF*, Matrix4x4*, int>)(lpVtbl[17]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::DrawImage"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::DrawImage"]/*' />
|
||||||
@@ -271,11 +195,7 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
|
|||||||
[VtblIndex(18)]
|
[VtblIndex(18)]
|
||||||
public HResult DrawImage(ID2D1Image* image, Vector2* targetOffset, Win32.Numerics.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode)
|
public HResult DrawImage(ID2D1Image* image, Vector2* targetOffset, Win32.Numerics.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink*, ID2D1Image*, Vector2*, Win32.Numerics.RectF*, InterpolationMode, Common.CompositeMode, int>)(lpVtbl[18]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink*, ID2D1Image*, Vector2*, Win32.Numerics.RectF*, InterpolationMode, Common.CompositeMode, int>)(lpVtbl[18]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink*, ID2D1Image*, Vector2*, Win32.Numerics.RectF*, InterpolationMode, Common.CompositeMode, int>)(lpVtbl[18]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::DrawGdiMetafile"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::DrawGdiMetafile"]/*' />
|
||||||
@@ -283,11 +203,7 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
|
|||||||
[VtblIndex(19)]
|
[VtblIndex(19)]
|
||||||
public HResult DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Vector2* targetOffset)
|
public HResult DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Vector2* targetOffset)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink*, ID2D1GdiMetafile*, Vector2*, int>)(lpVtbl[19]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), gdiMetafile, targetOffset);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink*, ID2D1GdiMetafile*, Vector2*, int>)(lpVtbl[19]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), gdiMetafile, targetOffset);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink*, ID2D1GdiMetafile*, Vector2*, int>)(lpVtbl[19]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), gdiMetafile, targetOffset);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::FillMesh"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::FillMesh"]/*' />
|
||||||
@@ -295,11 +211,7 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
|
|||||||
[VtblIndex(20)]
|
[VtblIndex(20)]
|
||||||
public HResult FillMesh(ID2D1Mesh* mesh, ID2D1Brush* brush)
|
public HResult FillMesh(ID2D1Mesh* mesh, ID2D1Brush* brush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink*, ID2D1Mesh*, ID2D1Brush*, int>)(lpVtbl[20]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), mesh, brush);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink*, ID2D1Mesh*, ID2D1Brush*, int>)(lpVtbl[20]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), mesh, brush);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink*, ID2D1Mesh*, ID2D1Brush*, int>)(lpVtbl[20]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), mesh, brush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::FillOpacityMask"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::FillOpacityMask"]/*' />
|
||||||
@@ -307,11 +219,7 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
|
|||||||
[VtblIndex(21)]
|
[VtblIndex(21)]
|
||||||
public HResult FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
|
public HResult FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink*, ID2D1Bitmap*, ID2D1Brush*, Win32.Numerics.RectF*, Win32.Numerics.RectF*, int>)(lpVtbl[21]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink*, ID2D1Bitmap*, ID2D1Brush*, Win32.Numerics.RectF*, Win32.Numerics.RectF*, int>)(lpVtbl[21]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink*, ID2D1Bitmap*, ID2D1Brush*, Win32.Numerics.RectF*, Win32.Numerics.RectF*, int>)(lpVtbl[21]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::FillGeometry"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::FillGeometry"]/*' />
|
||||||
@@ -319,11 +227,7 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
|
|||||||
[VtblIndex(22)]
|
[VtblIndex(22)]
|
||||||
public HResult FillGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, ID2D1Brush* opacityBrush)
|
public HResult FillGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, ID2D1Brush* opacityBrush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink*, ID2D1Geometry*, ID2D1Brush*, ID2D1Brush*, int>)(lpVtbl[22]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink*, ID2D1Geometry*, ID2D1Brush*, ID2D1Brush*, int>)(lpVtbl[22]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink*, ID2D1Geometry*, ID2D1Brush*, ID2D1Brush*, int>)(lpVtbl[22]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::FillRectangle"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::FillRectangle"]/*' />
|
||||||
@@ -331,11 +235,7 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
|
|||||||
[VtblIndex(23)]
|
[VtblIndex(23)]
|
||||||
public HResult FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush)
|
public HResult FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink*, Win32.Numerics.RectF*, ID2D1Brush*, int>)(lpVtbl[23]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), rect, brush);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink*, Win32.Numerics.RectF*, ID2D1Brush*, int>)(lpVtbl[23]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), rect, brush);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink*, Win32.Numerics.RectF*, ID2D1Brush*, int>)(lpVtbl[23]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), rect, brush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::PushAxisAlignedClip"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::PushAxisAlignedClip"]/*' />
|
||||||
@@ -343,11 +243,7 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
|
|||||||
[VtblIndex(24)]
|
[VtblIndex(24)]
|
||||||
public HResult PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode)
|
public HResult PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink*, Win32.Numerics.RectF*, AntialiasMode, int>)(lpVtbl[24]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink*, Win32.Numerics.RectF*, AntialiasMode, int>)(lpVtbl[24]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink*, Win32.Numerics.RectF*, AntialiasMode, int>)(lpVtbl[24]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::PushLayer"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::PushLayer"]/*' />
|
||||||
@@ -355,11 +251,7 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
|
|||||||
[VtblIndex(25)]
|
[VtblIndex(25)]
|
||||||
public HResult PushLayer(LayerParameters1* layerParameters1, ID2D1Layer* layer)
|
public HResult PushLayer(LayerParameters1* layerParameters1, ID2D1Layer* layer)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink*, LayerParameters1*, ID2D1Layer*, int>)(lpVtbl[25]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), layerParameters1, layer);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink*, LayerParameters1*, ID2D1Layer*, int>)(lpVtbl[25]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), layerParameters1, layer);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink*, LayerParameters1*, ID2D1Layer*, int>)(lpVtbl[25]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), layerParameters1, layer);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::PopAxisAlignedClip"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::PopAxisAlignedClip"]/*' />
|
||||||
@@ -367,11 +259,7 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
|
|||||||
[VtblIndex(26)]
|
[VtblIndex(26)]
|
||||||
public HResult PopAxisAlignedClip()
|
public HResult PopAxisAlignedClip()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink*, int>)(lpVtbl[26]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink*, int>)(lpVtbl[26]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink*, int>)(lpVtbl[26]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::PopLayer"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink::PopLayer"]/*' />
|
||||||
@@ -379,11 +267,7 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
|
|||||||
[VtblIndex(27)]
|
[VtblIndex(27)]
|
||||||
public HResult PopLayer()
|
public HResult PopLayer()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink*, int>)(lpVtbl[27]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink*, int>)(lpVtbl[27]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink*, int>)(lpVtbl[27]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : IUnknown.Interface
|
public interface Interface : IUnknown.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, IN
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink1));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink1));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink1));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, IN
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, IN
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink1*, uint>)(lpVtbl[1]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink1*, uint>)(lpVtbl[1]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, uint>)(lpVtbl[1]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, IN
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink1*, uint>)(lpVtbl[2]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink1*, uint>)(lpVtbl[2]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, uint>)(lpVtbl[2]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.BeginDraw" />
|
/// <inheritdoc cref="ID2D1CommandSink.BeginDraw" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, IN
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public HResult BeginDraw()
|
public HResult BeginDraw()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink1*, int>)(lpVtbl[3]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink1*, int>)(lpVtbl[3]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, int>)(lpVtbl[3]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.EndDraw" />
|
/// <inheritdoc cref="ID2D1CommandSink.EndDraw" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, IN
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult EndDraw()
|
public HResult EndDraw()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink1*, int>)(lpVtbl[4]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink1*, int>)(lpVtbl[4]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, int>)(lpVtbl[4]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetAntialiasMode" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetAntialiasMode" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, IN
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult SetAntialiasMode(AntialiasMode antialiasMode)
|
public HResult SetAntialiasMode(AntialiasMode antialiasMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink1*, AntialiasMode, int>)(lpVtbl[5]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), antialiasMode);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink1*, AntialiasMode, int>)(lpVtbl[5]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), antialiasMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, AntialiasMode, int>)(lpVtbl[5]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), antialiasMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetTags" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetTags" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, IN
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult SetTags(ulong tag1, ulong tag2)
|
public HResult SetTags(ulong tag1, ulong tag2)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink1*, ulong, ulong, int>)(lpVtbl[6]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), tag1, tag2);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink1*, ulong, ulong, int>)(lpVtbl[6]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, ulong, ulong, int>)(lpVtbl[6]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetTextAntialiasMode" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetTextAntialiasMode" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, IN
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public HResult SetTextAntialiasMode(TextAntialiasMode textAntialiasMode)
|
public HResult SetTextAntialiasMode(TextAntialiasMode textAntialiasMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink1*, TextAntialiasMode, int>)(lpVtbl[7]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), textAntialiasMode);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink1*, TextAntialiasMode, int>)(lpVtbl[7]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), textAntialiasMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, TextAntialiasMode, int>)(lpVtbl[7]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), textAntialiasMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetTextRenderingParams" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetTextRenderingParams" />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, IN
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult SetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams)
|
public HResult SetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink1*, Graphics.DirectWrite.IDWriteRenderingParams*, int>)(lpVtbl[8]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), textRenderingParams);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink1*, Graphics.DirectWrite.IDWriteRenderingParams*, int>)(lpVtbl[8]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, Graphics.DirectWrite.IDWriteRenderingParams*, int>)(lpVtbl[8]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetTransform" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetTransform" />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, IN
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult SetTransform(Matrix3x2* transform)
|
public HResult SetTransform(Matrix3x2* transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink1*, Matrix3x2*, int>)(lpVtbl[9]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), transform);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink1*, Matrix3x2*, int>)(lpVtbl[9]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, Matrix3x2*, int>)(lpVtbl[9]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetPrimitiveBlend" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetPrimitiveBlend" />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, IN
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult SetPrimitiveBlend(PrimitiveBlend primitiveBlend)
|
public HResult SetPrimitiveBlend(PrimitiveBlend primitiveBlend)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink1*, PrimitiveBlend, int>)(lpVtbl[10]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), primitiveBlend);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink1*, PrimitiveBlend, int>)(lpVtbl[10]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), primitiveBlend);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, PrimitiveBlend, int>)(lpVtbl[10]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), primitiveBlend);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetUnitMode" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetUnitMode" />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, IN
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult SetUnitMode(UnitMode unitMode)
|
public HResult SetUnitMode(UnitMode unitMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink1*, UnitMode, int>)(lpVtbl[11]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), unitMode);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink1*, UnitMode, int>)(lpVtbl[11]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), unitMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, UnitMode, int>)(lpVtbl[11]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), unitMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.Clear" />
|
/// <inheritdoc cref="ID2D1CommandSink.Clear" />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, IN
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public HResult Clear(Color4* color)
|
public HResult Clear(Color4* color)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink1*, Color4*, int>)(lpVtbl[12]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), color);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink1*, Color4*, int>)(lpVtbl[12]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), color);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, Color4*, int>)(lpVtbl[12]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), color);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawGlyphRun" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawGlyphRun" />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, IN
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult DrawGlyphRun(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode)
|
public HResult DrawGlyphRun(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink1*, Vector2, 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<ID2D1CommandSink1*, Vector2, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, int>)(lpVtbl[13]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, Vector2, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, int>)(lpVtbl[13]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawLine" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawLine" />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, IN
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public HResult DrawLine(Vector2 point0, Vector2 point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public HResult DrawLine(Vector2 point0, Vector2 point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink1*, Vector2, Vector2, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[14]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink1*, Vector2, Vector2, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[14]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, Vector2, Vector2, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[14]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawGeometry" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawGeometry" />
|
||||||
@@ -235,11 +171,7 @@ public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, IN
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public HResult DrawGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public HResult DrawGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink1*, ID2D1Geometry*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[15]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink1*, ID2D1Geometry*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[15]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, ID2D1Geometry*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[15]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawRectangle" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawRectangle" />
|
||||||
@@ -247,11 +179,7 @@ public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, IN
|
|||||||
[VtblIndex(16)]
|
[VtblIndex(16)]
|
||||||
public HResult DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public HResult DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink1*, Win32.Numerics.RectF*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[16]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink1*, Win32.Numerics.RectF*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[16]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, Win32.Numerics.RectF*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[16]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawBitmap" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawBitmap" />
|
||||||
@@ -259,11 +187,7 @@ public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, IN
|
|||||||
[VtblIndex(17)]
|
[VtblIndex(17)]
|
||||||
public HResult DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle, Matrix4x4* perspectiveTransform)
|
public HResult DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle, Matrix4x4* perspectiveTransform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink1*, ID2D1Bitmap*, Win32.Numerics.RectF*, float, InterpolationMode, Win32.Numerics.RectF*, Matrix4x4*, int>)(lpVtbl[17]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink1*, ID2D1Bitmap*, Win32.Numerics.RectF*, float, InterpolationMode, Win32.Numerics.RectF*, Matrix4x4*, int>)(lpVtbl[17]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, ID2D1Bitmap*, Win32.Numerics.RectF*, float, InterpolationMode, Win32.Numerics.RectF*, Matrix4x4*, int>)(lpVtbl[17]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawImage" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawImage" />
|
||||||
@@ -271,11 +195,7 @@ public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, IN
|
|||||||
[VtblIndex(18)]
|
[VtblIndex(18)]
|
||||||
public HResult DrawImage(ID2D1Image* image, Vector2* targetOffset, Win32.Numerics.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode)
|
public HResult DrawImage(ID2D1Image* image, Vector2* targetOffset, Win32.Numerics.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink1*, ID2D1Image*, Vector2*, Win32.Numerics.RectF*, InterpolationMode, Common.CompositeMode, int>)(lpVtbl[18]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink1*, ID2D1Image*, Vector2*, Win32.Numerics.RectF*, InterpolationMode, Common.CompositeMode, int>)(lpVtbl[18]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, ID2D1Image*, Vector2*, Win32.Numerics.RectF*, InterpolationMode, Common.CompositeMode, int>)(lpVtbl[18]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawGdiMetafile" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawGdiMetafile" />
|
||||||
@@ -283,11 +203,7 @@ public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, IN
|
|||||||
[VtblIndex(19)]
|
[VtblIndex(19)]
|
||||||
public HResult DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Vector2* targetOffset)
|
public HResult DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Vector2* targetOffset)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink1*, ID2D1GdiMetafile*, Vector2*, int>)(lpVtbl[19]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), gdiMetafile, targetOffset);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink1*, ID2D1GdiMetafile*, Vector2*, int>)(lpVtbl[19]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), gdiMetafile, targetOffset);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, ID2D1GdiMetafile*, Vector2*, int>)(lpVtbl[19]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), gdiMetafile, targetOffset);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.FillMesh" />
|
/// <inheritdoc cref="ID2D1CommandSink.FillMesh" />
|
||||||
@@ -295,11 +211,7 @@ public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, IN
|
|||||||
[VtblIndex(20)]
|
[VtblIndex(20)]
|
||||||
public HResult FillMesh(ID2D1Mesh* mesh, ID2D1Brush* brush)
|
public HResult FillMesh(ID2D1Mesh* mesh, ID2D1Brush* brush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink1*, ID2D1Mesh*, ID2D1Brush*, int>)(lpVtbl[20]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), mesh, brush);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink1*, ID2D1Mesh*, ID2D1Brush*, int>)(lpVtbl[20]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), mesh, brush);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, ID2D1Mesh*, ID2D1Brush*, int>)(lpVtbl[20]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), mesh, brush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.FillOpacityMask" />
|
/// <inheritdoc cref="ID2D1CommandSink.FillOpacityMask" />
|
||||||
@@ -307,11 +219,7 @@ public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, IN
|
|||||||
[VtblIndex(21)]
|
[VtblIndex(21)]
|
||||||
public HResult FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
|
public HResult FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink1*, ID2D1Bitmap*, ID2D1Brush*, Win32.Numerics.RectF*, Win32.Numerics.RectF*, int>)(lpVtbl[21]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink1*, ID2D1Bitmap*, ID2D1Brush*, Win32.Numerics.RectF*, Win32.Numerics.RectF*, int>)(lpVtbl[21]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, ID2D1Bitmap*, ID2D1Brush*, Win32.Numerics.RectF*, Win32.Numerics.RectF*, int>)(lpVtbl[21]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.FillGeometry" />
|
/// <inheritdoc cref="ID2D1CommandSink.FillGeometry" />
|
||||||
@@ -319,11 +227,7 @@ public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, IN
|
|||||||
[VtblIndex(22)]
|
[VtblIndex(22)]
|
||||||
public HResult FillGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, ID2D1Brush* opacityBrush)
|
public HResult FillGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, ID2D1Brush* opacityBrush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink1*, ID2D1Geometry*, ID2D1Brush*, ID2D1Brush*, int>)(lpVtbl[22]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink1*, ID2D1Geometry*, ID2D1Brush*, ID2D1Brush*, int>)(lpVtbl[22]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, ID2D1Geometry*, ID2D1Brush*, ID2D1Brush*, int>)(lpVtbl[22]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.FillRectangle" />
|
/// <inheritdoc cref="ID2D1CommandSink.FillRectangle" />
|
||||||
@@ -331,11 +235,7 @@ public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, IN
|
|||||||
[VtblIndex(23)]
|
[VtblIndex(23)]
|
||||||
public HResult FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush)
|
public HResult FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink1*, Win32.Numerics.RectF*, ID2D1Brush*, int>)(lpVtbl[23]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), rect, brush);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink1*, Win32.Numerics.RectF*, ID2D1Brush*, int>)(lpVtbl[23]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), rect, brush);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, Win32.Numerics.RectF*, ID2D1Brush*, int>)(lpVtbl[23]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), rect, brush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.PushAxisAlignedClip" />
|
/// <inheritdoc cref="ID2D1CommandSink.PushAxisAlignedClip" />
|
||||||
@@ -343,11 +243,7 @@ public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, IN
|
|||||||
[VtblIndex(24)]
|
[VtblIndex(24)]
|
||||||
public HResult PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode)
|
public HResult PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink1*, Win32.Numerics.RectF*, AntialiasMode, int>)(lpVtbl[24]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink1*, Win32.Numerics.RectF*, AntialiasMode, int>)(lpVtbl[24]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, Win32.Numerics.RectF*, AntialiasMode, int>)(lpVtbl[24]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.PushLayer" />
|
/// <inheritdoc cref="ID2D1CommandSink.PushLayer" />
|
||||||
@@ -355,11 +251,7 @@ public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, IN
|
|||||||
[VtblIndex(25)]
|
[VtblIndex(25)]
|
||||||
public HResult PushLayer(LayerParameters1* layerParameters1, ID2D1Layer* layer)
|
public HResult PushLayer(LayerParameters1* layerParameters1, ID2D1Layer* layer)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink1*, LayerParameters1*, ID2D1Layer*, int>)(lpVtbl[25]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), layerParameters1, layer);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink1*, LayerParameters1*, ID2D1Layer*, int>)(lpVtbl[25]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), layerParameters1, layer);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, LayerParameters1*, ID2D1Layer*, int>)(lpVtbl[25]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), layerParameters1, layer);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.PopAxisAlignedClip" />
|
/// <inheritdoc cref="ID2D1CommandSink.PopAxisAlignedClip" />
|
||||||
@@ -367,11 +259,7 @@ public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, IN
|
|||||||
[VtblIndex(26)]
|
[VtblIndex(26)]
|
||||||
public HResult PopAxisAlignedClip()
|
public HResult PopAxisAlignedClip()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink1*, int>)(lpVtbl[26]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink1*, int>)(lpVtbl[26]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, int>)(lpVtbl[26]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.PopLayer" />
|
/// <inheritdoc cref="ID2D1CommandSink.PopLayer" />
|
||||||
@@ -379,11 +267,7 @@ public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, IN
|
|||||||
[VtblIndex(27)]
|
[VtblIndex(27)]
|
||||||
public HResult PopLayer()
|
public HResult PopLayer()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink1*, int>)(lpVtbl[27]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink1*, int>)(lpVtbl[27]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, int>)(lpVtbl[27]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink1::SetPrimitiveBlend1"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink1::SetPrimitiveBlend1"]/*' />
|
||||||
@@ -391,11 +275,7 @@ public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, IN
|
|||||||
[VtblIndex(28)]
|
[VtblIndex(28)]
|
||||||
public HResult SetPrimitiveBlend1(PrimitiveBlend primitiveBlend)
|
public HResult SetPrimitiveBlend1(PrimitiveBlend primitiveBlend)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink1*, PrimitiveBlend, int>)(lpVtbl[28]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), primitiveBlend);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink1*, PrimitiveBlend, int>)(lpVtbl[28]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), primitiveBlend);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink1*, PrimitiveBlend, int>)(lpVtbl[28]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), primitiveBlend);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1CommandSink.Interface
|
public interface Interface : ID2D1CommandSink.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink2));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink2));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink2));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink2*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink2*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink2*, uint>)(lpVtbl[1]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink2*, uint>)(lpVtbl[1]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, uint>)(lpVtbl[1]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink2*, uint>)(lpVtbl[2]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink2*, uint>)(lpVtbl[2]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, uint>)(lpVtbl[2]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.BeginDraw" />
|
/// <inheritdoc cref="ID2D1CommandSink.BeginDraw" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public HResult BeginDraw()
|
public HResult BeginDraw()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink2*, int>)(lpVtbl[3]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink2*, int>)(lpVtbl[3]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, int>)(lpVtbl[3]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.EndDraw" />
|
/// <inheritdoc cref="ID2D1CommandSink.EndDraw" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult EndDraw()
|
public HResult EndDraw()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink2*, int>)(lpVtbl[4]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink2*, int>)(lpVtbl[4]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, int>)(lpVtbl[4]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetAntialiasMode" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetAntialiasMode" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult SetAntialiasMode(AntialiasMode antialiasMode)
|
public HResult SetAntialiasMode(AntialiasMode antialiasMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink2*, AntialiasMode, int>)(lpVtbl[5]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), antialiasMode);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink2*, AntialiasMode, int>)(lpVtbl[5]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), antialiasMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, AntialiasMode, int>)(lpVtbl[5]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), antialiasMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetTags" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetTags" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult SetTags(ulong tag1, ulong tag2)
|
public HResult SetTags(ulong tag1, ulong tag2)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink2*, ulong, ulong, int>)(lpVtbl[6]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), tag1, tag2);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink2*, ulong, ulong, int>)(lpVtbl[6]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, ulong, ulong, int>)(lpVtbl[6]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetTextAntialiasMode" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetTextAntialiasMode" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public HResult SetTextAntialiasMode(TextAntialiasMode textAntialiasMode)
|
public HResult SetTextAntialiasMode(TextAntialiasMode textAntialiasMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink2*, TextAntialiasMode, int>)(lpVtbl[7]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), textAntialiasMode);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink2*, TextAntialiasMode, int>)(lpVtbl[7]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), textAntialiasMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, TextAntialiasMode, int>)(lpVtbl[7]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), textAntialiasMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetTextRenderingParams" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetTextRenderingParams" />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult SetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams)
|
public HResult SetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink2*, Graphics.DirectWrite.IDWriteRenderingParams*, int>)(lpVtbl[8]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), textRenderingParams);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink2*, Graphics.DirectWrite.IDWriteRenderingParams*, int>)(lpVtbl[8]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, Graphics.DirectWrite.IDWriteRenderingParams*, int>)(lpVtbl[8]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetTransform" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetTransform" />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult SetTransform(Matrix3x2* transform)
|
public HResult SetTransform(Matrix3x2* transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink2*, Matrix3x2*, int>)(lpVtbl[9]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), transform);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink2*, Matrix3x2*, int>)(lpVtbl[9]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, Matrix3x2*, int>)(lpVtbl[9]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetPrimitiveBlend" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetPrimitiveBlend" />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult SetPrimitiveBlend(PrimitiveBlend primitiveBlend)
|
public HResult SetPrimitiveBlend(PrimitiveBlend primitiveBlend)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink2*, PrimitiveBlend, int>)(lpVtbl[10]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), primitiveBlend);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink2*, PrimitiveBlend, int>)(lpVtbl[10]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), primitiveBlend);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, PrimitiveBlend, int>)(lpVtbl[10]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), primitiveBlend);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetUnitMode" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetUnitMode" />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult SetUnitMode(UnitMode unitMode)
|
public HResult SetUnitMode(UnitMode unitMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink2*, UnitMode, int>)(lpVtbl[11]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), unitMode);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink2*, UnitMode, int>)(lpVtbl[11]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), unitMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, UnitMode, int>)(lpVtbl[11]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), unitMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.Clear" />
|
/// <inheritdoc cref="ID2D1CommandSink.Clear" />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public HResult Clear(Color4* color)
|
public HResult Clear(Color4* color)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink2*, Color4*, int>)(lpVtbl[12]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), color);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink2*, Color4*, int>)(lpVtbl[12]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), color);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, Color4*, int>)(lpVtbl[12]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), color);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawGlyphRun" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawGlyphRun" />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult DrawGlyphRun(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode)
|
public HResult DrawGlyphRun(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink2*, Vector2, 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<ID2D1CommandSink2*, Vector2, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, int>)(lpVtbl[13]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, Vector2, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, int>)(lpVtbl[13]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawLine" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawLine" />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public HResult DrawLine(Vector2 point0, Vector2 point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public HResult DrawLine(Vector2 point0, Vector2 point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink2*, Vector2, Vector2, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[14]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink2*, Vector2, Vector2, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[14]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, Vector2, Vector2, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[14]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawGeometry" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawGeometry" />
|
||||||
@@ -235,11 +171,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public HResult DrawGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public HResult DrawGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink2*, ID2D1Geometry*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[15]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink2*, ID2D1Geometry*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[15]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, ID2D1Geometry*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[15]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawRectangle" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawRectangle" />
|
||||||
@@ -247,11 +179,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
|
|||||||
[VtblIndex(16)]
|
[VtblIndex(16)]
|
||||||
public HResult DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public HResult DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink2*, Win32.Numerics.RectF*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[16]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink2*, Win32.Numerics.RectF*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[16]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, Win32.Numerics.RectF*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[16]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawBitmap" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawBitmap" />
|
||||||
@@ -259,11 +187,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
|
|||||||
[VtblIndex(17)]
|
[VtblIndex(17)]
|
||||||
public HResult DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle, Matrix4x4* perspectiveTransform)
|
public HResult DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle, Matrix4x4* perspectiveTransform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink2*, ID2D1Bitmap*, Win32.Numerics.RectF*, float, InterpolationMode, Win32.Numerics.RectF*, Matrix4x4*, int>)(lpVtbl[17]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink2*, ID2D1Bitmap*, Win32.Numerics.RectF*, float, InterpolationMode, Win32.Numerics.RectF*, Matrix4x4*, int>)(lpVtbl[17]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, ID2D1Bitmap*, Win32.Numerics.RectF*, float, InterpolationMode, Win32.Numerics.RectF*, Matrix4x4*, int>)(lpVtbl[17]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawImage" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawImage" />
|
||||||
@@ -271,11 +195,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
|
|||||||
[VtblIndex(18)]
|
[VtblIndex(18)]
|
||||||
public HResult DrawImage(ID2D1Image* image, Vector2* targetOffset, Win32.Numerics.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode)
|
public HResult DrawImage(ID2D1Image* image, Vector2* targetOffset, Win32.Numerics.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink2*, ID2D1Image*, Vector2*, Win32.Numerics.RectF*, InterpolationMode, Common.CompositeMode, int>)(lpVtbl[18]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink2*, ID2D1Image*, Vector2*, Win32.Numerics.RectF*, InterpolationMode, Common.CompositeMode, int>)(lpVtbl[18]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, ID2D1Image*, Vector2*, Win32.Numerics.RectF*, InterpolationMode, Common.CompositeMode, int>)(lpVtbl[18]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawGdiMetafile" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawGdiMetafile" />
|
||||||
@@ -283,11 +203,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
|
|||||||
[VtblIndex(19)]
|
[VtblIndex(19)]
|
||||||
public HResult DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Vector2* targetOffset)
|
public HResult DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Vector2* targetOffset)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink2*, ID2D1GdiMetafile*, Vector2*, int>)(lpVtbl[19]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), gdiMetafile, targetOffset);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink2*, ID2D1GdiMetafile*, Vector2*, int>)(lpVtbl[19]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), gdiMetafile, targetOffset);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, ID2D1GdiMetafile*, Vector2*, int>)(lpVtbl[19]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), gdiMetafile, targetOffset);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.FillMesh" />
|
/// <inheritdoc cref="ID2D1CommandSink.FillMesh" />
|
||||||
@@ -295,11 +211,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
|
|||||||
[VtblIndex(20)]
|
[VtblIndex(20)]
|
||||||
public HResult FillMesh(ID2D1Mesh* mesh, ID2D1Brush* brush)
|
public HResult FillMesh(ID2D1Mesh* mesh, ID2D1Brush* brush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink2*, ID2D1Mesh*, ID2D1Brush*, int>)(lpVtbl[20]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), mesh, brush);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink2*, ID2D1Mesh*, ID2D1Brush*, int>)(lpVtbl[20]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), mesh, brush);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, ID2D1Mesh*, ID2D1Brush*, int>)(lpVtbl[20]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), mesh, brush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.FillOpacityMask" />
|
/// <inheritdoc cref="ID2D1CommandSink.FillOpacityMask" />
|
||||||
@@ -307,11 +219,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
|
|||||||
[VtblIndex(21)]
|
[VtblIndex(21)]
|
||||||
public HResult FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
|
public HResult FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink2*, ID2D1Bitmap*, ID2D1Brush*, Win32.Numerics.RectF*, Win32.Numerics.RectF*, int>)(lpVtbl[21]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink2*, ID2D1Bitmap*, ID2D1Brush*, Win32.Numerics.RectF*, Win32.Numerics.RectF*, int>)(lpVtbl[21]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, ID2D1Bitmap*, ID2D1Brush*, Win32.Numerics.RectF*, Win32.Numerics.RectF*, int>)(lpVtbl[21]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.FillGeometry" />
|
/// <inheritdoc cref="ID2D1CommandSink.FillGeometry" />
|
||||||
@@ -319,11 +227,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
|
|||||||
[VtblIndex(22)]
|
[VtblIndex(22)]
|
||||||
public HResult FillGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, ID2D1Brush* opacityBrush)
|
public HResult FillGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, ID2D1Brush* opacityBrush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink2*, ID2D1Geometry*, ID2D1Brush*, ID2D1Brush*, int>)(lpVtbl[22]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink2*, ID2D1Geometry*, ID2D1Brush*, ID2D1Brush*, int>)(lpVtbl[22]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, ID2D1Geometry*, ID2D1Brush*, ID2D1Brush*, int>)(lpVtbl[22]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.FillRectangle" />
|
/// <inheritdoc cref="ID2D1CommandSink.FillRectangle" />
|
||||||
@@ -331,11 +235,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
|
|||||||
[VtblIndex(23)]
|
[VtblIndex(23)]
|
||||||
public HResult FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush)
|
public HResult FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink2*, Win32.Numerics.RectF*, ID2D1Brush*, int>)(lpVtbl[23]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), rect, brush);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink2*, Win32.Numerics.RectF*, ID2D1Brush*, int>)(lpVtbl[23]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), rect, brush);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, Win32.Numerics.RectF*, ID2D1Brush*, int>)(lpVtbl[23]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), rect, brush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.PushAxisAlignedClip" />
|
/// <inheritdoc cref="ID2D1CommandSink.PushAxisAlignedClip" />
|
||||||
@@ -343,11 +243,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
|
|||||||
[VtblIndex(24)]
|
[VtblIndex(24)]
|
||||||
public HResult PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode)
|
public HResult PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink2*, Win32.Numerics.RectF*, AntialiasMode, int>)(lpVtbl[24]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink2*, Win32.Numerics.RectF*, AntialiasMode, int>)(lpVtbl[24]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, Win32.Numerics.RectF*, AntialiasMode, int>)(lpVtbl[24]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.PushLayer" />
|
/// <inheritdoc cref="ID2D1CommandSink.PushLayer" />
|
||||||
@@ -355,11 +251,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
|
|||||||
[VtblIndex(25)]
|
[VtblIndex(25)]
|
||||||
public HResult PushLayer(LayerParameters1* layerParameters1, ID2D1Layer* layer)
|
public HResult PushLayer(LayerParameters1* layerParameters1, ID2D1Layer* layer)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink2*, LayerParameters1*, ID2D1Layer*, int>)(lpVtbl[25]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), layerParameters1, layer);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink2*, LayerParameters1*, ID2D1Layer*, int>)(lpVtbl[25]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), layerParameters1, layer);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, LayerParameters1*, ID2D1Layer*, int>)(lpVtbl[25]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), layerParameters1, layer);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.PopAxisAlignedClip" />
|
/// <inheritdoc cref="ID2D1CommandSink.PopAxisAlignedClip" />
|
||||||
@@ -367,11 +259,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
|
|||||||
[VtblIndex(26)]
|
[VtblIndex(26)]
|
||||||
public HResult PopAxisAlignedClip()
|
public HResult PopAxisAlignedClip()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink2*, int>)(lpVtbl[26]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink2*, int>)(lpVtbl[26]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, int>)(lpVtbl[26]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.PopLayer" />
|
/// <inheritdoc cref="ID2D1CommandSink.PopLayer" />
|
||||||
@@ -379,11 +267,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
|
|||||||
[VtblIndex(27)]
|
[VtblIndex(27)]
|
||||||
public HResult PopLayer()
|
public HResult PopLayer()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink2*, int>)(lpVtbl[27]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink2*, int>)(lpVtbl[27]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, int>)(lpVtbl[27]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink1.SetPrimitiveBlend1" />
|
/// <inheritdoc cref="ID2D1CommandSink1.SetPrimitiveBlend1" />
|
||||||
@@ -391,11 +275,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
|
|||||||
[VtblIndex(28)]
|
[VtblIndex(28)]
|
||||||
public HResult SetPrimitiveBlend1(PrimitiveBlend primitiveBlend)
|
public HResult SetPrimitiveBlend1(PrimitiveBlend primitiveBlend)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink2*, PrimitiveBlend, int>)(lpVtbl[28]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), primitiveBlend);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink2*, PrimitiveBlend, int>)(lpVtbl[28]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), primitiveBlend);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, PrimitiveBlend, int>)(lpVtbl[28]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), primitiveBlend);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink2::DrawInk"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink2::DrawInk"]/*' />
|
||||||
@@ -403,11 +283,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
|
|||||||
[VtblIndex(29)]
|
[VtblIndex(29)]
|
||||||
public HResult DrawInk(ID2D1Ink* ink, ID2D1Brush* brush, ID2D1InkStyle* inkStyle)
|
public HResult DrawInk(ID2D1Ink* ink, ID2D1Brush* brush, ID2D1InkStyle* inkStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink2*, ID2D1Ink*, ID2D1Brush*, ID2D1InkStyle*, int>)(lpVtbl[29]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), ink, brush, inkStyle);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink2*, ID2D1Ink*, ID2D1Brush*, ID2D1InkStyle*, int>)(lpVtbl[29]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), ink, brush, inkStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, ID2D1Ink*, ID2D1Brush*, ID2D1InkStyle*, int>)(lpVtbl[29]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), ink, brush, inkStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink2::DrawGradientMesh"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink2::DrawGradientMesh"]/*' />
|
||||||
@@ -415,11 +291,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
|
|||||||
[VtblIndex(30)]
|
[VtblIndex(30)]
|
||||||
public HResult DrawGradientMesh(ID2D1GradientMesh* gradientMesh)
|
public HResult DrawGradientMesh(ID2D1GradientMesh* gradientMesh)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink2*, ID2D1GradientMesh*, int>)(lpVtbl[30]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), gradientMesh);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink2*, ID2D1GradientMesh*, int>)(lpVtbl[30]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), gradientMesh);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, ID2D1GradientMesh*, int>)(lpVtbl[30]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), gradientMesh);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink2::DrawGdiMetafile"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink2::DrawGdiMetafile"]/*' />
|
||||||
@@ -427,11 +299,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
|
|||||||
[VtblIndex(31)]
|
[VtblIndex(31)]
|
||||||
public HResult DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
|
public HResult DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink2*, ID2D1GdiMetafile*, Win32.Numerics.RectF*, Win32.Numerics.RectF*, int>)(lpVtbl[31]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), gdiMetafile, destinationRectangle, sourceRectangle);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink2*, ID2D1GdiMetafile*, Win32.Numerics.RectF*, Win32.Numerics.RectF*, int>)(lpVtbl[31]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), gdiMetafile, destinationRectangle, sourceRectangle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink2*, ID2D1GdiMetafile*, Win32.Numerics.RectF*, Win32.Numerics.RectF*, int>)(lpVtbl[31]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), gdiMetafile, destinationRectangle, sourceRectangle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1CommandSink1.Interface
|
public interface Interface : ID2D1CommandSink1.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink3));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink3));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink3));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink3*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink3*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink3*, uint>)(lpVtbl[1]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink3*, uint>)(lpVtbl[1]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, uint>)(lpVtbl[1]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink3*, uint>)(lpVtbl[2]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink3*, uint>)(lpVtbl[2]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, uint>)(lpVtbl[2]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.BeginDraw" />
|
/// <inheritdoc cref="ID2D1CommandSink.BeginDraw" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public HResult BeginDraw()
|
public HResult BeginDraw()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink3*, int>)(lpVtbl[3]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink3*, int>)(lpVtbl[3]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, int>)(lpVtbl[3]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.EndDraw" />
|
/// <inheritdoc cref="ID2D1CommandSink.EndDraw" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult EndDraw()
|
public HResult EndDraw()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink3*, int>)(lpVtbl[4]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink3*, int>)(lpVtbl[4]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, int>)(lpVtbl[4]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetAntialiasMode" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetAntialiasMode" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult SetAntialiasMode(AntialiasMode antialiasMode)
|
public HResult SetAntialiasMode(AntialiasMode antialiasMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink3*, AntialiasMode, int>)(lpVtbl[5]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), antialiasMode);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink3*, AntialiasMode, int>)(lpVtbl[5]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), antialiasMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, AntialiasMode, int>)(lpVtbl[5]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), antialiasMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetTags" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetTags" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult SetTags(ulong tag1, ulong tag2)
|
public HResult SetTags(ulong tag1, ulong tag2)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink3*, ulong, ulong, int>)(lpVtbl[6]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), tag1, tag2);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink3*, ulong, ulong, int>)(lpVtbl[6]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, ulong, ulong, int>)(lpVtbl[6]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetTextAntialiasMode" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetTextAntialiasMode" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public HResult SetTextAntialiasMode(TextAntialiasMode textAntialiasMode)
|
public HResult SetTextAntialiasMode(TextAntialiasMode textAntialiasMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink3*, TextAntialiasMode, int>)(lpVtbl[7]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), textAntialiasMode);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink3*, TextAntialiasMode, int>)(lpVtbl[7]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), textAntialiasMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, TextAntialiasMode, int>)(lpVtbl[7]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), textAntialiasMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetTextRenderingParams" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetTextRenderingParams" />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult SetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams)
|
public HResult SetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink3*, Graphics.DirectWrite.IDWriteRenderingParams*, int>)(lpVtbl[8]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), textRenderingParams);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink3*, Graphics.DirectWrite.IDWriteRenderingParams*, int>)(lpVtbl[8]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, Graphics.DirectWrite.IDWriteRenderingParams*, int>)(lpVtbl[8]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetTransform" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetTransform" />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult SetTransform(Matrix3x2* transform)
|
public HResult SetTransform(Matrix3x2* transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink3*, Matrix3x2*, int>)(lpVtbl[9]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), transform);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink3*, Matrix3x2*, int>)(lpVtbl[9]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, Matrix3x2*, int>)(lpVtbl[9]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetPrimitiveBlend" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetPrimitiveBlend" />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult SetPrimitiveBlend(PrimitiveBlend primitiveBlend)
|
public HResult SetPrimitiveBlend(PrimitiveBlend primitiveBlend)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink3*, PrimitiveBlend, int>)(lpVtbl[10]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), primitiveBlend);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink3*, PrimitiveBlend, int>)(lpVtbl[10]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), primitiveBlend);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, PrimitiveBlend, int>)(lpVtbl[10]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), primitiveBlend);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetUnitMode" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetUnitMode" />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult SetUnitMode(UnitMode unitMode)
|
public HResult SetUnitMode(UnitMode unitMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink3*, UnitMode, int>)(lpVtbl[11]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), unitMode);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink3*, UnitMode, int>)(lpVtbl[11]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), unitMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, UnitMode, int>)(lpVtbl[11]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), unitMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.Clear" />
|
/// <inheritdoc cref="ID2D1CommandSink.Clear" />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public HResult Clear(Color4* color)
|
public HResult Clear(Color4* color)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink3*, Color4*, int>)(lpVtbl[12]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), color);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink3*, Color4*, int>)(lpVtbl[12]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), color);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, Color4*, int>)(lpVtbl[12]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), color);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawGlyphRun" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawGlyphRun" />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult DrawGlyphRun(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode)
|
public HResult DrawGlyphRun(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink3*, Vector2, 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<ID2D1CommandSink3*, Vector2, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, int>)(lpVtbl[13]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, Vector2, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, int>)(lpVtbl[13]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawLine" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawLine" />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public HResult DrawLine(Vector2 point0, Vector2 point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public HResult DrawLine(Vector2 point0, Vector2 point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink3*, Vector2, Vector2, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[14]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink3*, Vector2, Vector2, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[14]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, Vector2, Vector2, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[14]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawGeometry" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawGeometry" />
|
||||||
@@ -235,11 +171,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public HResult DrawGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public HResult DrawGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink3*, ID2D1Geometry*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[15]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink3*, ID2D1Geometry*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[15]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, ID2D1Geometry*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[15]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawRectangle" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawRectangle" />
|
||||||
@@ -247,11 +179,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
|
|||||||
[VtblIndex(16)]
|
[VtblIndex(16)]
|
||||||
public HResult DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public HResult DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink3*, Win32.Numerics.RectF*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[16]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink3*, Win32.Numerics.RectF*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[16]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, Win32.Numerics.RectF*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[16]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawBitmap" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawBitmap" />
|
||||||
@@ -259,11 +187,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
|
|||||||
[VtblIndex(17)]
|
[VtblIndex(17)]
|
||||||
public HResult DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle, Matrix4x4* perspectiveTransform)
|
public HResult DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle, Matrix4x4* perspectiveTransform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink3*, ID2D1Bitmap*, Win32.Numerics.RectF*, float, InterpolationMode, Win32.Numerics.RectF*, Matrix4x4*, int>)(lpVtbl[17]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink3*, ID2D1Bitmap*, Win32.Numerics.RectF*, float, InterpolationMode, Win32.Numerics.RectF*, Matrix4x4*, int>)(lpVtbl[17]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, ID2D1Bitmap*, Win32.Numerics.RectF*, float, InterpolationMode, Win32.Numerics.RectF*, Matrix4x4*, int>)(lpVtbl[17]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawImage" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawImage" />
|
||||||
@@ -271,11 +195,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
|
|||||||
[VtblIndex(18)]
|
[VtblIndex(18)]
|
||||||
public HResult DrawImage(ID2D1Image* image, Vector2* targetOffset, Win32.Numerics.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode)
|
public HResult DrawImage(ID2D1Image* image, Vector2* targetOffset, Win32.Numerics.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink3*, ID2D1Image*, Vector2*, Win32.Numerics.RectF*, InterpolationMode, Common.CompositeMode, int>)(lpVtbl[18]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink3*, ID2D1Image*, Vector2*, Win32.Numerics.RectF*, InterpolationMode, Common.CompositeMode, int>)(lpVtbl[18]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, ID2D1Image*, Vector2*, Win32.Numerics.RectF*, InterpolationMode, Common.CompositeMode, int>)(lpVtbl[18]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawGdiMetafile" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawGdiMetafile" />
|
||||||
@@ -283,11 +203,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
|
|||||||
[VtblIndex(19)]
|
[VtblIndex(19)]
|
||||||
public HResult DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Vector2* targetOffset)
|
public HResult DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Vector2* targetOffset)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink3*, ID2D1GdiMetafile*, Vector2*, int>)(lpVtbl[19]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), gdiMetafile, targetOffset);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink3*, ID2D1GdiMetafile*, Vector2*, int>)(lpVtbl[19]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), gdiMetafile, targetOffset);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, ID2D1GdiMetafile*, Vector2*, int>)(lpVtbl[19]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), gdiMetafile, targetOffset);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.FillMesh" />
|
/// <inheritdoc cref="ID2D1CommandSink.FillMesh" />
|
||||||
@@ -295,11 +211,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
|
|||||||
[VtblIndex(20)]
|
[VtblIndex(20)]
|
||||||
public HResult FillMesh(ID2D1Mesh* mesh, ID2D1Brush* brush)
|
public HResult FillMesh(ID2D1Mesh* mesh, ID2D1Brush* brush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink3*, ID2D1Mesh*, ID2D1Brush*, int>)(lpVtbl[20]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), mesh, brush);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink3*, ID2D1Mesh*, ID2D1Brush*, int>)(lpVtbl[20]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), mesh, brush);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, ID2D1Mesh*, ID2D1Brush*, int>)(lpVtbl[20]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), mesh, brush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.FillOpacityMask" />
|
/// <inheritdoc cref="ID2D1CommandSink.FillOpacityMask" />
|
||||||
@@ -307,11 +219,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
|
|||||||
[VtblIndex(21)]
|
[VtblIndex(21)]
|
||||||
public HResult FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
|
public HResult FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink3*, ID2D1Bitmap*, ID2D1Brush*, Win32.Numerics.RectF*, Win32.Numerics.RectF*, int>)(lpVtbl[21]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink3*, ID2D1Bitmap*, ID2D1Brush*, Win32.Numerics.RectF*, Win32.Numerics.RectF*, int>)(lpVtbl[21]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, ID2D1Bitmap*, ID2D1Brush*, Win32.Numerics.RectF*, Win32.Numerics.RectF*, int>)(lpVtbl[21]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.FillGeometry" />
|
/// <inheritdoc cref="ID2D1CommandSink.FillGeometry" />
|
||||||
@@ -319,11 +227,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
|
|||||||
[VtblIndex(22)]
|
[VtblIndex(22)]
|
||||||
public HResult FillGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, ID2D1Brush* opacityBrush)
|
public HResult FillGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, ID2D1Brush* opacityBrush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink3*, ID2D1Geometry*, ID2D1Brush*, ID2D1Brush*, int>)(lpVtbl[22]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink3*, ID2D1Geometry*, ID2D1Brush*, ID2D1Brush*, int>)(lpVtbl[22]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, ID2D1Geometry*, ID2D1Brush*, ID2D1Brush*, int>)(lpVtbl[22]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.FillRectangle" />
|
/// <inheritdoc cref="ID2D1CommandSink.FillRectangle" />
|
||||||
@@ -331,11 +235,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
|
|||||||
[VtblIndex(23)]
|
[VtblIndex(23)]
|
||||||
public HResult FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush)
|
public HResult FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink3*, Win32.Numerics.RectF*, ID2D1Brush*, int>)(lpVtbl[23]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), rect, brush);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink3*, Win32.Numerics.RectF*, ID2D1Brush*, int>)(lpVtbl[23]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), rect, brush);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, Win32.Numerics.RectF*, ID2D1Brush*, int>)(lpVtbl[23]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), rect, brush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.PushAxisAlignedClip" />
|
/// <inheritdoc cref="ID2D1CommandSink.PushAxisAlignedClip" />
|
||||||
@@ -343,11 +243,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
|
|||||||
[VtblIndex(24)]
|
[VtblIndex(24)]
|
||||||
public HResult PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode)
|
public HResult PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink3*, Win32.Numerics.RectF*, AntialiasMode, int>)(lpVtbl[24]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink3*, Win32.Numerics.RectF*, AntialiasMode, int>)(lpVtbl[24]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, Win32.Numerics.RectF*, AntialiasMode, int>)(lpVtbl[24]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.PushLayer" />
|
/// <inheritdoc cref="ID2D1CommandSink.PushLayer" />
|
||||||
@@ -355,11 +251,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
|
|||||||
[VtblIndex(25)]
|
[VtblIndex(25)]
|
||||||
public HResult PushLayer(LayerParameters1* layerParameters1, ID2D1Layer* layer)
|
public HResult PushLayer(LayerParameters1* layerParameters1, ID2D1Layer* layer)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink3*, LayerParameters1*, ID2D1Layer*, int>)(lpVtbl[25]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), layerParameters1, layer);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink3*, LayerParameters1*, ID2D1Layer*, int>)(lpVtbl[25]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), layerParameters1, layer);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, LayerParameters1*, ID2D1Layer*, int>)(lpVtbl[25]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), layerParameters1, layer);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.PopAxisAlignedClip" />
|
/// <inheritdoc cref="ID2D1CommandSink.PopAxisAlignedClip" />
|
||||||
@@ -367,11 +259,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
|
|||||||
[VtblIndex(26)]
|
[VtblIndex(26)]
|
||||||
public HResult PopAxisAlignedClip()
|
public HResult PopAxisAlignedClip()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink3*, int>)(lpVtbl[26]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink3*, int>)(lpVtbl[26]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, int>)(lpVtbl[26]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.PopLayer" />
|
/// <inheritdoc cref="ID2D1CommandSink.PopLayer" />
|
||||||
@@ -379,11 +267,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
|
|||||||
[VtblIndex(27)]
|
[VtblIndex(27)]
|
||||||
public HResult PopLayer()
|
public HResult PopLayer()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink3*, int>)(lpVtbl[27]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink3*, int>)(lpVtbl[27]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, int>)(lpVtbl[27]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink1.SetPrimitiveBlend1" />
|
/// <inheritdoc cref="ID2D1CommandSink1.SetPrimitiveBlend1" />
|
||||||
@@ -391,11 +275,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
|
|||||||
[VtblIndex(28)]
|
[VtblIndex(28)]
|
||||||
public HResult SetPrimitiveBlend1(PrimitiveBlend primitiveBlend)
|
public HResult SetPrimitiveBlend1(PrimitiveBlend primitiveBlend)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink3*, PrimitiveBlend, int>)(lpVtbl[28]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), primitiveBlend);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink3*, PrimitiveBlend, int>)(lpVtbl[28]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), primitiveBlend);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, PrimitiveBlend, int>)(lpVtbl[28]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), primitiveBlend);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink2.DrawInk" />
|
/// <inheritdoc cref="ID2D1CommandSink2.DrawInk" />
|
||||||
@@ -403,11 +283,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
|
|||||||
[VtblIndex(29)]
|
[VtblIndex(29)]
|
||||||
public HResult DrawInk(ID2D1Ink* ink, ID2D1Brush* brush, ID2D1InkStyle* inkStyle)
|
public HResult DrawInk(ID2D1Ink* ink, ID2D1Brush* brush, ID2D1InkStyle* inkStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink3*, ID2D1Ink*, ID2D1Brush*, ID2D1InkStyle*, int>)(lpVtbl[29]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), ink, brush, inkStyle);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink3*, ID2D1Ink*, ID2D1Brush*, ID2D1InkStyle*, int>)(lpVtbl[29]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), ink, brush, inkStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, ID2D1Ink*, ID2D1Brush*, ID2D1InkStyle*, int>)(lpVtbl[29]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), ink, brush, inkStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink2.DrawGradientMesh" />
|
/// <inheritdoc cref="ID2D1CommandSink2.DrawGradientMesh" />
|
||||||
@@ -415,11 +291,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
|
|||||||
[VtblIndex(30)]
|
[VtblIndex(30)]
|
||||||
public HResult DrawGradientMesh(ID2D1GradientMesh* gradientMesh)
|
public HResult DrawGradientMesh(ID2D1GradientMesh* gradientMesh)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink3*, ID2D1GradientMesh*, int>)(lpVtbl[30]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), gradientMesh);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink3*, ID2D1GradientMesh*, int>)(lpVtbl[30]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), gradientMesh);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, ID2D1GradientMesh*, int>)(lpVtbl[30]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), gradientMesh);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink2.DrawGdiMetafile" />
|
/// <inheritdoc cref="ID2D1CommandSink2.DrawGdiMetafile" />
|
||||||
@@ -427,11 +299,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
|
|||||||
[VtblIndex(31)]
|
[VtblIndex(31)]
|
||||||
public HResult DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
|
public HResult DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink3*, ID2D1GdiMetafile*, Win32.Numerics.RectF*, Win32.Numerics.RectF*, int>)(lpVtbl[31]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), gdiMetafile, destinationRectangle, sourceRectangle);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink3*, ID2D1GdiMetafile*, Win32.Numerics.RectF*, Win32.Numerics.RectF*, int>)(lpVtbl[31]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), gdiMetafile, destinationRectangle, sourceRectangle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink3*, ID2D1GdiMetafile*, Win32.Numerics.RectF*, Win32.Numerics.RectF*, int>)(lpVtbl[31]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), gdiMetafile, destinationRectangle, sourceRectangle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink3::DrawSpriteBatch"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink3::DrawSpriteBatch"]/*' />
|
||||||
@@ -439,11 +307,7 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
|
|||||||
[VtblIndex(32)]
|
[VtblIndex(32)]
|
||||||
public HResult DrawSpriteBatch(ID2D1SpriteBatch* spriteBatch, uint startIndex, uint spriteCount, ID2D1Bitmap* bitmap, BitmapInterpolationMode interpolationMode, SpriteOptions spriteOptions)
|
public HResult DrawSpriteBatch(ID2D1SpriteBatch* spriteBatch, uint startIndex, uint spriteCount, ID2D1Bitmap* bitmap, BitmapInterpolationMode interpolationMode, SpriteOptions spriteOptions)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink3*, ID2D1SpriteBatch*, uint, uint, ID2D1Bitmap*, BitmapInterpolationMode, SpriteOptions, int>)(lpVtbl[32]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), spriteBatch, startIndex, spriteCount, bitmap, interpolationMode, spriteOptions);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink3*, ID2D1SpriteBatch*, uint, uint, ID2D1Bitmap*, BitmapInterpolationMode, SpriteOptions, int>)(lpVtbl[32]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), spriteBatch, startIndex, spriteCount, bitmap, interpolationMode, spriteOptions);
|
|
||||||
#else
|
|
||||||
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);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1CommandSink2.Interface
|
public interface Interface : ID2D1CommandSink2.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink4));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink4));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink4));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink4*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink4*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink4*, uint>)(lpVtbl[1]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink4*, uint>)(lpVtbl[1]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, uint>)(lpVtbl[1]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink4*, uint>)(lpVtbl[2]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink4*, uint>)(lpVtbl[2]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, uint>)(lpVtbl[2]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.BeginDraw" />
|
/// <inheritdoc cref="ID2D1CommandSink.BeginDraw" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public HResult BeginDraw()
|
public HResult BeginDraw()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink4*, int>)(lpVtbl[3]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink4*, int>)(lpVtbl[3]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, int>)(lpVtbl[3]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.EndDraw" />
|
/// <inheritdoc cref="ID2D1CommandSink.EndDraw" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult EndDraw()
|
public HResult EndDraw()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink4*, int>)(lpVtbl[4]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink4*, int>)(lpVtbl[4]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, int>)(lpVtbl[4]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetAntialiasMode" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetAntialiasMode" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult SetAntialiasMode(AntialiasMode antialiasMode)
|
public HResult SetAntialiasMode(AntialiasMode antialiasMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink4*, AntialiasMode, int>)(lpVtbl[5]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), antialiasMode);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink4*, AntialiasMode, int>)(lpVtbl[5]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), antialiasMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, AntialiasMode, int>)(lpVtbl[5]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), antialiasMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetTags" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetTags" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult SetTags(ulong tag1, ulong tag2)
|
public HResult SetTags(ulong tag1, ulong tag2)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink4*, ulong, ulong, int>)(lpVtbl[6]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), tag1, tag2);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink4*, ulong, ulong, int>)(lpVtbl[6]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, ulong, ulong, int>)(lpVtbl[6]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetTextAntialiasMode" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetTextAntialiasMode" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public HResult SetTextAntialiasMode(TextAntialiasMode textAntialiasMode)
|
public HResult SetTextAntialiasMode(TextAntialiasMode textAntialiasMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink4*, TextAntialiasMode, int>)(lpVtbl[7]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), textAntialiasMode);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink4*, TextAntialiasMode, int>)(lpVtbl[7]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), textAntialiasMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, TextAntialiasMode, int>)(lpVtbl[7]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), textAntialiasMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetTextRenderingParams" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetTextRenderingParams" />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult SetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams)
|
public HResult SetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink4*, Graphics.DirectWrite.IDWriteRenderingParams*, int>)(lpVtbl[8]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), textRenderingParams);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink4*, Graphics.DirectWrite.IDWriteRenderingParams*, int>)(lpVtbl[8]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, Graphics.DirectWrite.IDWriteRenderingParams*, int>)(lpVtbl[8]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetTransform" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetTransform" />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult SetTransform(Matrix3x2* transform)
|
public HResult SetTransform(Matrix3x2* transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink4*, Matrix3x2*, int>)(lpVtbl[9]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), transform);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink4*, Matrix3x2*, int>)(lpVtbl[9]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, Matrix3x2*, int>)(lpVtbl[9]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetPrimitiveBlend" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetPrimitiveBlend" />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult SetPrimitiveBlend(PrimitiveBlend primitiveBlend)
|
public HResult SetPrimitiveBlend(PrimitiveBlend primitiveBlend)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink4*, PrimitiveBlend, int>)(lpVtbl[10]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), primitiveBlend);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink4*, PrimitiveBlend, int>)(lpVtbl[10]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), primitiveBlend);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, PrimitiveBlend, int>)(lpVtbl[10]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), primitiveBlend);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetUnitMode" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetUnitMode" />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult SetUnitMode(UnitMode unitMode)
|
public HResult SetUnitMode(UnitMode unitMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink4*, UnitMode, int>)(lpVtbl[11]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), unitMode);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink4*, UnitMode, int>)(lpVtbl[11]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), unitMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, UnitMode, int>)(lpVtbl[11]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), unitMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.Clear" />
|
/// <inheritdoc cref="ID2D1CommandSink.Clear" />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public HResult Clear(Color4* color)
|
public HResult Clear(Color4* color)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink4*, Color4*, int>)(lpVtbl[12]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), color);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink4*, Color4*, int>)(lpVtbl[12]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), color);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, Color4*, int>)(lpVtbl[12]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), color);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawGlyphRun" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawGlyphRun" />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult DrawGlyphRun(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode)
|
public HResult DrawGlyphRun(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink4*, Vector2, 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<ID2D1CommandSink4*, Vector2, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, int>)(lpVtbl[13]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, Vector2, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, int>)(lpVtbl[13]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawLine" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawLine" />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public HResult DrawLine(Vector2 point0, Vector2 point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public HResult DrawLine(Vector2 point0, Vector2 point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink4*, Vector2, Vector2, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[14]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink4*, Vector2, Vector2, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[14]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, Vector2, Vector2, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[14]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawGeometry" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawGeometry" />
|
||||||
@@ -235,11 +171,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public HResult DrawGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public HResult DrawGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink4*, ID2D1Geometry*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[15]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink4*, ID2D1Geometry*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[15]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, ID2D1Geometry*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[15]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawRectangle" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawRectangle" />
|
||||||
@@ -247,11 +179,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
[VtblIndex(16)]
|
[VtblIndex(16)]
|
||||||
public HResult DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public HResult DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink4*, Win32.Numerics.RectF*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[16]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink4*, Win32.Numerics.RectF*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[16]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, Win32.Numerics.RectF*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[16]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawBitmap" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawBitmap" />
|
||||||
@@ -259,11 +187,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
[VtblIndex(17)]
|
[VtblIndex(17)]
|
||||||
public HResult DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle, Matrix4x4* perspectiveTransform)
|
public HResult DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle, Matrix4x4* perspectiveTransform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink4*, ID2D1Bitmap*, Win32.Numerics.RectF*, float, InterpolationMode, Win32.Numerics.RectF*, Matrix4x4*, int>)(lpVtbl[17]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink4*, ID2D1Bitmap*, Win32.Numerics.RectF*, float, InterpolationMode, Win32.Numerics.RectF*, Matrix4x4*, int>)(lpVtbl[17]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, ID2D1Bitmap*, Win32.Numerics.RectF*, float, InterpolationMode, Win32.Numerics.RectF*, Matrix4x4*, int>)(lpVtbl[17]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawImage" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawImage" />
|
||||||
@@ -271,11 +195,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
[VtblIndex(18)]
|
[VtblIndex(18)]
|
||||||
public HResult DrawImage(ID2D1Image* image, Vector2* targetOffset, Win32.Numerics.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode)
|
public HResult DrawImage(ID2D1Image* image, Vector2* targetOffset, Win32.Numerics.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink4*, ID2D1Image*, Vector2*, Win32.Numerics.RectF*, InterpolationMode, Common.CompositeMode, int>)(lpVtbl[18]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink4*, ID2D1Image*, Vector2*, Win32.Numerics.RectF*, InterpolationMode, Common.CompositeMode, int>)(lpVtbl[18]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, ID2D1Image*, Vector2*, Win32.Numerics.RectF*, InterpolationMode, Common.CompositeMode, int>)(lpVtbl[18]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawGdiMetafile" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawGdiMetafile" />
|
||||||
@@ -283,11 +203,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
[VtblIndex(19)]
|
[VtblIndex(19)]
|
||||||
public HResult DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Vector2* targetOffset)
|
public HResult DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Vector2* targetOffset)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink4*, ID2D1GdiMetafile*, Vector2*, int>)(lpVtbl[19]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), gdiMetafile, targetOffset);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink4*, ID2D1GdiMetafile*, Vector2*, int>)(lpVtbl[19]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), gdiMetafile, targetOffset);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, ID2D1GdiMetafile*, Vector2*, int>)(lpVtbl[19]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), gdiMetafile, targetOffset);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.FillMesh" />
|
/// <inheritdoc cref="ID2D1CommandSink.FillMesh" />
|
||||||
@@ -295,11 +211,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
[VtblIndex(20)]
|
[VtblIndex(20)]
|
||||||
public HResult FillMesh(ID2D1Mesh* mesh, ID2D1Brush* brush)
|
public HResult FillMesh(ID2D1Mesh* mesh, ID2D1Brush* brush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink4*, ID2D1Mesh*, ID2D1Brush*, int>)(lpVtbl[20]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), mesh, brush);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink4*, ID2D1Mesh*, ID2D1Brush*, int>)(lpVtbl[20]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), mesh, brush);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, ID2D1Mesh*, ID2D1Brush*, int>)(lpVtbl[20]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), mesh, brush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.FillOpacityMask" />
|
/// <inheritdoc cref="ID2D1CommandSink.FillOpacityMask" />
|
||||||
@@ -307,11 +219,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
[VtblIndex(21)]
|
[VtblIndex(21)]
|
||||||
public HResult FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
|
public HResult FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink4*, ID2D1Bitmap*, ID2D1Brush*, Win32.Numerics.RectF*, Win32.Numerics.RectF*, int>)(lpVtbl[21]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink4*, ID2D1Bitmap*, ID2D1Brush*, Win32.Numerics.RectF*, Win32.Numerics.RectF*, int>)(lpVtbl[21]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, ID2D1Bitmap*, ID2D1Brush*, Win32.Numerics.RectF*, Win32.Numerics.RectF*, int>)(lpVtbl[21]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.FillGeometry" />
|
/// <inheritdoc cref="ID2D1CommandSink.FillGeometry" />
|
||||||
@@ -319,11 +227,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
[VtblIndex(22)]
|
[VtblIndex(22)]
|
||||||
public HResult FillGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, ID2D1Brush* opacityBrush)
|
public HResult FillGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, ID2D1Brush* opacityBrush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink4*, ID2D1Geometry*, ID2D1Brush*, ID2D1Brush*, int>)(lpVtbl[22]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink4*, ID2D1Geometry*, ID2D1Brush*, ID2D1Brush*, int>)(lpVtbl[22]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, ID2D1Geometry*, ID2D1Brush*, ID2D1Brush*, int>)(lpVtbl[22]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.FillRectangle" />
|
/// <inheritdoc cref="ID2D1CommandSink.FillRectangle" />
|
||||||
@@ -331,11 +235,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
[VtblIndex(23)]
|
[VtblIndex(23)]
|
||||||
public HResult FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush)
|
public HResult FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink4*, Win32.Numerics.RectF*, ID2D1Brush*, int>)(lpVtbl[23]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), rect, brush);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink4*, Win32.Numerics.RectF*, ID2D1Brush*, int>)(lpVtbl[23]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), rect, brush);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, Win32.Numerics.RectF*, ID2D1Brush*, int>)(lpVtbl[23]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), rect, brush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.PushAxisAlignedClip" />
|
/// <inheritdoc cref="ID2D1CommandSink.PushAxisAlignedClip" />
|
||||||
@@ -343,11 +243,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
[VtblIndex(24)]
|
[VtblIndex(24)]
|
||||||
public HResult PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode)
|
public HResult PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink4*, Win32.Numerics.RectF*, AntialiasMode, int>)(lpVtbl[24]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink4*, Win32.Numerics.RectF*, AntialiasMode, int>)(lpVtbl[24]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, Win32.Numerics.RectF*, AntialiasMode, int>)(lpVtbl[24]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.PushLayer" />
|
/// <inheritdoc cref="ID2D1CommandSink.PushLayer" />
|
||||||
@@ -355,11 +251,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
[VtblIndex(25)]
|
[VtblIndex(25)]
|
||||||
public HResult PushLayer(LayerParameters1* layerParameters1, ID2D1Layer* layer)
|
public HResult PushLayer(LayerParameters1* layerParameters1, ID2D1Layer* layer)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink4*, LayerParameters1*, ID2D1Layer*, int>)(lpVtbl[25]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), layerParameters1, layer);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink4*, LayerParameters1*, ID2D1Layer*, int>)(lpVtbl[25]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), layerParameters1, layer);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, LayerParameters1*, ID2D1Layer*, int>)(lpVtbl[25]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), layerParameters1, layer);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.PopAxisAlignedClip" />
|
/// <inheritdoc cref="ID2D1CommandSink.PopAxisAlignedClip" />
|
||||||
@@ -367,11 +259,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
[VtblIndex(26)]
|
[VtblIndex(26)]
|
||||||
public HResult PopAxisAlignedClip()
|
public HResult PopAxisAlignedClip()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink4*, int>)(lpVtbl[26]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink4*, int>)(lpVtbl[26]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, int>)(lpVtbl[26]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.PopLayer" />
|
/// <inheritdoc cref="ID2D1CommandSink.PopLayer" />
|
||||||
@@ -379,11 +267,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
[VtblIndex(27)]
|
[VtblIndex(27)]
|
||||||
public HResult PopLayer()
|
public HResult PopLayer()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink4*, int>)(lpVtbl[27]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink4*, int>)(lpVtbl[27]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, int>)(lpVtbl[27]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink1.SetPrimitiveBlend1" />
|
/// <inheritdoc cref="ID2D1CommandSink1.SetPrimitiveBlend1" />
|
||||||
@@ -391,11 +275,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
[VtblIndex(28)]
|
[VtblIndex(28)]
|
||||||
public HResult SetPrimitiveBlend1(PrimitiveBlend primitiveBlend)
|
public HResult SetPrimitiveBlend1(PrimitiveBlend primitiveBlend)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink4*, PrimitiveBlend, int>)(lpVtbl[28]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), primitiveBlend);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink4*, PrimitiveBlend, int>)(lpVtbl[28]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), primitiveBlend);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, PrimitiveBlend, int>)(lpVtbl[28]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), primitiveBlend);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink2.DrawInk" />
|
/// <inheritdoc cref="ID2D1CommandSink2.DrawInk" />
|
||||||
@@ -403,11 +283,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
[VtblIndex(29)]
|
[VtblIndex(29)]
|
||||||
public HResult DrawInk(ID2D1Ink* ink, ID2D1Brush* brush, ID2D1InkStyle* inkStyle)
|
public HResult DrawInk(ID2D1Ink* ink, ID2D1Brush* brush, ID2D1InkStyle* inkStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink4*, ID2D1Ink*, ID2D1Brush*, ID2D1InkStyle*, int>)(lpVtbl[29]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), ink, brush, inkStyle);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink4*, ID2D1Ink*, ID2D1Brush*, ID2D1InkStyle*, int>)(lpVtbl[29]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), ink, brush, inkStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, ID2D1Ink*, ID2D1Brush*, ID2D1InkStyle*, int>)(lpVtbl[29]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), ink, brush, inkStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink2.DrawGradientMesh" />
|
/// <inheritdoc cref="ID2D1CommandSink2.DrawGradientMesh" />
|
||||||
@@ -415,11 +291,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
[VtblIndex(30)]
|
[VtblIndex(30)]
|
||||||
public HResult DrawGradientMesh(ID2D1GradientMesh* gradientMesh)
|
public HResult DrawGradientMesh(ID2D1GradientMesh* gradientMesh)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink4*, ID2D1GradientMesh*, int>)(lpVtbl[30]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), gradientMesh);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink4*, ID2D1GradientMesh*, int>)(lpVtbl[30]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), gradientMesh);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, ID2D1GradientMesh*, int>)(lpVtbl[30]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), gradientMesh);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink2.DrawGdiMetafile" />
|
/// <inheritdoc cref="ID2D1CommandSink2.DrawGdiMetafile" />
|
||||||
@@ -427,11 +299,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
[VtblIndex(31)]
|
[VtblIndex(31)]
|
||||||
public HResult DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
|
public HResult DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink4*, ID2D1GdiMetafile*, Win32.Numerics.RectF*, Win32.Numerics.RectF*, int>)(lpVtbl[31]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), gdiMetafile, destinationRectangle, sourceRectangle);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink4*, ID2D1GdiMetafile*, Win32.Numerics.RectF*, Win32.Numerics.RectF*, int>)(lpVtbl[31]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), gdiMetafile, destinationRectangle, sourceRectangle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, ID2D1GdiMetafile*, Win32.Numerics.RectF*, Win32.Numerics.RectF*, int>)(lpVtbl[31]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), gdiMetafile, destinationRectangle, sourceRectangle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink3.DrawSpriteBatch" />
|
/// <inheritdoc cref="ID2D1CommandSink3.DrawSpriteBatch" />
|
||||||
@@ -439,11 +307,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
[VtblIndex(32)]
|
[VtblIndex(32)]
|
||||||
public HResult DrawSpriteBatch(ID2D1SpriteBatch* spriteBatch, uint startIndex, uint spriteCount, ID2D1Bitmap* bitmap, BitmapInterpolationMode interpolationMode, SpriteOptions spriteOptions)
|
public HResult DrawSpriteBatch(ID2D1SpriteBatch* spriteBatch, uint startIndex, uint spriteCount, ID2D1Bitmap* bitmap, BitmapInterpolationMode interpolationMode, SpriteOptions spriteOptions)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink4*, ID2D1SpriteBatch*, uint, uint, ID2D1Bitmap*, BitmapInterpolationMode, SpriteOptions, int>)(lpVtbl[32]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), spriteBatch, startIndex, spriteCount, bitmap, interpolationMode, spriteOptions);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink4*, ID2D1SpriteBatch*, uint, uint, ID2D1Bitmap*, BitmapInterpolationMode, SpriteOptions, int>)(lpVtbl[32]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), spriteBatch, startIndex, spriteCount, bitmap, interpolationMode, spriteOptions);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, ID2D1SpriteBatch*, uint, uint, ID2D1Bitmap*, BitmapInterpolationMode, SpriteOptions, int>)(lpVtbl[32]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), spriteBatch, startIndex, spriteCount, bitmap, interpolationMode, spriteOptions);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink4::SetPrimitiveBlend2"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink4::SetPrimitiveBlend2"]/*' />
|
||||||
@@ -451,11 +315,7 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
|
|||||||
[VtblIndex(33)]
|
[VtblIndex(33)]
|
||||||
public HResult SetPrimitiveBlend2(PrimitiveBlend primitiveBlend)
|
public HResult SetPrimitiveBlend2(PrimitiveBlend primitiveBlend)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink4*, PrimitiveBlend, int>)(lpVtbl[33]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), primitiveBlend);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink4*, PrimitiveBlend, int>)(lpVtbl[33]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), primitiveBlend);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink4*, PrimitiveBlend, int>)(lpVtbl[33]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), primitiveBlend);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1CommandSink3.Interface
|
public interface Interface : ID2D1CommandSink3.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink5));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink5));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink5));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink5*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, uint>)(lpVtbl[1]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink5*, uint>)(lpVtbl[1]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, uint>)(lpVtbl[1]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, uint>)(lpVtbl[2]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink5*, uint>)(lpVtbl[2]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, uint>)(lpVtbl[2]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.BeginDraw" />
|
/// <inheritdoc cref="ID2D1CommandSink.BeginDraw" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public HResult BeginDraw()
|
public HResult BeginDraw()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, int>)(lpVtbl[3]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink5*, int>)(lpVtbl[3]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, int>)(lpVtbl[3]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.EndDraw" />
|
/// <inheritdoc cref="ID2D1CommandSink.EndDraw" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult EndDraw()
|
public HResult EndDraw()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, int>)(lpVtbl[4]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink5*, int>)(lpVtbl[4]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, int>)(lpVtbl[4]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetAntialiasMode" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetAntialiasMode" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult SetAntialiasMode(AntialiasMode antialiasMode)
|
public HResult SetAntialiasMode(AntialiasMode antialiasMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, AntialiasMode, int>)(lpVtbl[5]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), antialiasMode);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink5*, AntialiasMode, int>)(lpVtbl[5]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), antialiasMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, AntialiasMode, int>)(lpVtbl[5]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), antialiasMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetTags" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetTags" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult SetTags(ulong tag1, ulong tag2)
|
public HResult SetTags(ulong tag1, ulong tag2)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, ulong, ulong, int>)(lpVtbl[6]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), tag1, tag2);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink5*, ulong, ulong, int>)(lpVtbl[6]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, ulong, ulong, int>)(lpVtbl[6]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetTextAntialiasMode" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetTextAntialiasMode" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public HResult SetTextAntialiasMode(TextAntialiasMode textAntialiasMode)
|
public HResult SetTextAntialiasMode(TextAntialiasMode textAntialiasMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, TextAntialiasMode, int>)(lpVtbl[7]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), textAntialiasMode);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink5*, TextAntialiasMode, int>)(lpVtbl[7]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), textAntialiasMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, TextAntialiasMode, int>)(lpVtbl[7]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), textAntialiasMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetTextRenderingParams" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetTextRenderingParams" />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult SetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams)
|
public HResult SetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, Graphics.DirectWrite.IDWriteRenderingParams*, int>)(lpVtbl[8]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), textRenderingParams);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink5*, Graphics.DirectWrite.IDWriteRenderingParams*, int>)(lpVtbl[8]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, Graphics.DirectWrite.IDWriteRenderingParams*, int>)(lpVtbl[8]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetTransform" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetTransform" />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult SetTransform(Matrix3x2* transform)
|
public HResult SetTransform(Matrix3x2* transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, Matrix3x2*, int>)(lpVtbl[9]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), transform);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink5*, Matrix3x2*, int>)(lpVtbl[9]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, Matrix3x2*, int>)(lpVtbl[9]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetPrimitiveBlend" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetPrimitiveBlend" />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult SetPrimitiveBlend(PrimitiveBlend primitiveBlend)
|
public HResult SetPrimitiveBlend(PrimitiveBlend primitiveBlend)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, PrimitiveBlend, int>)(lpVtbl[10]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), primitiveBlend);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink5*, PrimitiveBlend, int>)(lpVtbl[10]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), primitiveBlend);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, PrimitiveBlend, int>)(lpVtbl[10]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), primitiveBlend);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.SetUnitMode" />
|
/// <inheritdoc cref="ID2D1CommandSink.SetUnitMode" />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult SetUnitMode(UnitMode unitMode)
|
public HResult SetUnitMode(UnitMode unitMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, UnitMode, int>)(lpVtbl[11]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), unitMode);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink5*, UnitMode, int>)(lpVtbl[11]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), unitMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, UnitMode, int>)(lpVtbl[11]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), unitMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.Clear" />
|
/// <inheritdoc cref="ID2D1CommandSink.Clear" />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public HResult Clear(Color4* color)
|
public HResult Clear(Color4* color)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, Color4*, int>)(lpVtbl[12]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), color);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink5*, Color4*, int>)(lpVtbl[12]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), color);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, Color4*, int>)(lpVtbl[12]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), color);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawGlyphRun" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawGlyphRun" />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult DrawGlyphRun(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode)
|
public HResult DrawGlyphRun(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, Vector2, 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<ID2D1CommandSink5*, Vector2, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, int>)(lpVtbl[13]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, Vector2, Graphics.DirectWrite.GlyphRun*, Graphics.DirectWrite.GlyphRunDescription*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, int>)(lpVtbl[13]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawLine" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawLine" />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public HResult DrawLine(Vector2 point0, Vector2 point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public HResult DrawLine(Vector2 point0, Vector2 point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, Vector2, Vector2, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[14]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink5*, Vector2, Vector2, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[14]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, Vector2, Vector2, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[14]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawGeometry" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawGeometry" />
|
||||||
@@ -235,11 +171,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public HResult DrawGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public HResult DrawGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, ID2D1Geometry*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[15]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink5*, ID2D1Geometry*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[15]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, ID2D1Geometry*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[15]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawRectangle" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawRectangle" />
|
||||||
@@ -247,11 +179,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[VtblIndex(16)]
|
[VtblIndex(16)]
|
||||||
public HResult DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public HResult DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, Win32.Numerics.RectF*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[16]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink5*, Win32.Numerics.RectF*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[16]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, Win32.Numerics.RectF*, ID2D1Brush*, float, ID2D1StrokeStyle*, int>)(lpVtbl[16]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawBitmap" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawBitmap" />
|
||||||
@@ -259,11 +187,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[VtblIndex(17)]
|
[VtblIndex(17)]
|
||||||
public HResult DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle, Matrix4x4* perspectiveTransform)
|
public HResult DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle, Matrix4x4* perspectiveTransform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, ID2D1Bitmap*, Win32.Numerics.RectF*, float, InterpolationMode, Win32.Numerics.RectF*, Matrix4x4*, int>)(lpVtbl[17]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink5*, ID2D1Bitmap*, Win32.Numerics.RectF*, float, InterpolationMode, Win32.Numerics.RectF*, Matrix4x4*, int>)(lpVtbl[17]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, ID2D1Bitmap*, Win32.Numerics.RectF*, float, InterpolationMode, Win32.Numerics.RectF*, Matrix4x4*, int>)(lpVtbl[17]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawImage" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawImage" />
|
||||||
@@ -271,11 +195,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[VtblIndex(18)]
|
[VtblIndex(18)]
|
||||||
public HResult DrawImage(ID2D1Image* image, Vector2* targetOffset, Win32.Numerics.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode)
|
public HResult DrawImage(ID2D1Image* image, Vector2* targetOffset, Win32.Numerics.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, ID2D1Image*, Vector2*, Win32.Numerics.RectF*, InterpolationMode, Common.CompositeMode, int>)(lpVtbl[18]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink5*, ID2D1Image*, Vector2*, Win32.Numerics.RectF*, InterpolationMode, Common.CompositeMode, int>)(lpVtbl[18]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, ID2D1Image*, Vector2*, Win32.Numerics.RectF*, InterpolationMode, Common.CompositeMode, int>)(lpVtbl[18]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.DrawGdiMetafile" />
|
/// <inheritdoc cref="ID2D1CommandSink.DrawGdiMetafile" />
|
||||||
@@ -283,11 +203,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[VtblIndex(19)]
|
[VtblIndex(19)]
|
||||||
public HResult DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Vector2* targetOffset)
|
public HResult DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Vector2* targetOffset)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, ID2D1GdiMetafile*, Vector2*, int>)(lpVtbl[19]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), gdiMetafile, targetOffset);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink5*, ID2D1GdiMetafile*, Vector2*, int>)(lpVtbl[19]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), gdiMetafile, targetOffset);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, ID2D1GdiMetafile*, Vector2*, int>)(lpVtbl[19]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), gdiMetafile, targetOffset);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.FillMesh" />
|
/// <inheritdoc cref="ID2D1CommandSink.FillMesh" />
|
||||||
@@ -295,11 +211,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[VtblIndex(20)]
|
[VtblIndex(20)]
|
||||||
public HResult FillMesh(ID2D1Mesh* mesh, ID2D1Brush* brush)
|
public HResult FillMesh(ID2D1Mesh* mesh, ID2D1Brush* brush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, ID2D1Mesh*, ID2D1Brush*, int>)(lpVtbl[20]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), mesh, brush);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink5*, ID2D1Mesh*, ID2D1Brush*, int>)(lpVtbl[20]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), mesh, brush);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, ID2D1Mesh*, ID2D1Brush*, int>)(lpVtbl[20]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), mesh, brush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.FillOpacityMask" />
|
/// <inheritdoc cref="ID2D1CommandSink.FillOpacityMask" />
|
||||||
@@ -307,11 +219,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[VtblIndex(21)]
|
[VtblIndex(21)]
|
||||||
public HResult FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
|
public HResult FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, ID2D1Bitmap*, ID2D1Brush*, Win32.Numerics.RectF*, Win32.Numerics.RectF*, int>)(lpVtbl[21]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink5*, ID2D1Bitmap*, ID2D1Brush*, Win32.Numerics.RectF*, Win32.Numerics.RectF*, int>)(lpVtbl[21]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, ID2D1Bitmap*, ID2D1Brush*, Win32.Numerics.RectF*, Win32.Numerics.RectF*, int>)(lpVtbl[21]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.FillGeometry" />
|
/// <inheritdoc cref="ID2D1CommandSink.FillGeometry" />
|
||||||
@@ -319,11 +227,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[VtblIndex(22)]
|
[VtblIndex(22)]
|
||||||
public HResult FillGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, ID2D1Brush* opacityBrush)
|
public HResult FillGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, ID2D1Brush* opacityBrush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, ID2D1Geometry*, ID2D1Brush*, ID2D1Brush*, int>)(lpVtbl[22]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink5*, ID2D1Geometry*, ID2D1Brush*, ID2D1Brush*, int>)(lpVtbl[22]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, ID2D1Geometry*, ID2D1Brush*, ID2D1Brush*, int>)(lpVtbl[22]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.FillRectangle" />
|
/// <inheritdoc cref="ID2D1CommandSink.FillRectangle" />
|
||||||
@@ -331,11 +235,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[VtblIndex(23)]
|
[VtblIndex(23)]
|
||||||
public HResult FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush)
|
public HResult FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, Win32.Numerics.RectF*, ID2D1Brush*, int>)(lpVtbl[23]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), rect, brush);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink5*, Win32.Numerics.RectF*, ID2D1Brush*, int>)(lpVtbl[23]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), rect, brush);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, Win32.Numerics.RectF*, ID2D1Brush*, int>)(lpVtbl[23]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), rect, brush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.PushAxisAlignedClip" />
|
/// <inheritdoc cref="ID2D1CommandSink.PushAxisAlignedClip" />
|
||||||
@@ -343,11 +243,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[VtblIndex(24)]
|
[VtblIndex(24)]
|
||||||
public HResult PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode)
|
public HResult PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, Win32.Numerics.RectF*, AntialiasMode, int>)(lpVtbl[24]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink5*, Win32.Numerics.RectF*, AntialiasMode, int>)(lpVtbl[24]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, Win32.Numerics.RectF*, AntialiasMode, int>)(lpVtbl[24]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.PushLayer" />
|
/// <inheritdoc cref="ID2D1CommandSink.PushLayer" />
|
||||||
@@ -355,11 +251,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[VtblIndex(25)]
|
[VtblIndex(25)]
|
||||||
public HResult PushLayer(LayerParameters1* layerParameters1, ID2D1Layer* layer)
|
public HResult PushLayer(LayerParameters1* layerParameters1, ID2D1Layer* layer)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, LayerParameters1*, ID2D1Layer*, int>)(lpVtbl[25]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), layerParameters1, layer);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink5*, LayerParameters1*, ID2D1Layer*, int>)(lpVtbl[25]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), layerParameters1, layer);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, LayerParameters1*, ID2D1Layer*, int>)(lpVtbl[25]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), layerParameters1, layer);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.PopAxisAlignedClip" />
|
/// <inheritdoc cref="ID2D1CommandSink.PopAxisAlignedClip" />
|
||||||
@@ -367,11 +259,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[VtblIndex(26)]
|
[VtblIndex(26)]
|
||||||
public HResult PopAxisAlignedClip()
|
public HResult PopAxisAlignedClip()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, int>)(lpVtbl[26]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink5*, int>)(lpVtbl[26]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, int>)(lpVtbl[26]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink.PopLayer" />
|
/// <inheritdoc cref="ID2D1CommandSink.PopLayer" />
|
||||||
@@ -379,11 +267,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[VtblIndex(27)]
|
[VtblIndex(27)]
|
||||||
public HResult PopLayer()
|
public HResult PopLayer()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, int>)(lpVtbl[27]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink5*, int>)(lpVtbl[27]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, int>)(lpVtbl[27]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink1.SetPrimitiveBlend1" />
|
/// <inheritdoc cref="ID2D1CommandSink1.SetPrimitiveBlend1" />
|
||||||
@@ -391,11 +275,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[VtblIndex(28)]
|
[VtblIndex(28)]
|
||||||
public HResult SetPrimitiveBlend1(PrimitiveBlend primitiveBlend)
|
public HResult SetPrimitiveBlend1(PrimitiveBlend primitiveBlend)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, PrimitiveBlend, int>)(lpVtbl[28]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), primitiveBlend);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink5*, PrimitiveBlend, int>)(lpVtbl[28]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), primitiveBlend);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, PrimitiveBlend, int>)(lpVtbl[28]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), primitiveBlend);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink2.DrawInk" />
|
/// <inheritdoc cref="ID2D1CommandSink2.DrawInk" />
|
||||||
@@ -403,11 +283,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[VtblIndex(29)]
|
[VtblIndex(29)]
|
||||||
public HResult DrawInk(ID2D1Ink* ink, ID2D1Brush* brush, ID2D1InkStyle* inkStyle)
|
public HResult DrawInk(ID2D1Ink* ink, ID2D1Brush* brush, ID2D1InkStyle* inkStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, ID2D1Ink*, ID2D1Brush*, ID2D1InkStyle*, int>)(lpVtbl[29]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), ink, brush, inkStyle);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink5*, ID2D1Ink*, ID2D1Brush*, ID2D1InkStyle*, int>)(lpVtbl[29]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), ink, brush, inkStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, ID2D1Ink*, ID2D1Brush*, ID2D1InkStyle*, int>)(lpVtbl[29]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), ink, brush, inkStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink2.DrawGradientMesh" />
|
/// <inheritdoc cref="ID2D1CommandSink2.DrawGradientMesh" />
|
||||||
@@ -415,11 +291,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[VtblIndex(30)]
|
[VtblIndex(30)]
|
||||||
public HResult DrawGradientMesh(ID2D1GradientMesh* gradientMesh)
|
public HResult DrawGradientMesh(ID2D1GradientMesh* gradientMesh)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, ID2D1GradientMesh*, int>)(lpVtbl[30]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), gradientMesh);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink5*, ID2D1GradientMesh*, int>)(lpVtbl[30]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), gradientMesh);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, ID2D1GradientMesh*, int>)(lpVtbl[30]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), gradientMesh);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink2.DrawGdiMetafile" />
|
/// <inheritdoc cref="ID2D1CommandSink2.DrawGdiMetafile" />
|
||||||
@@ -427,11 +299,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[VtblIndex(31)]
|
[VtblIndex(31)]
|
||||||
public HResult DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
|
public HResult DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, ID2D1GdiMetafile*, Win32.Numerics.RectF*, Win32.Numerics.RectF*, int>)(lpVtbl[31]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), gdiMetafile, destinationRectangle, sourceRectangle);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink5*, ID2D1GdiMetafile*, Win32.Numerics.RectF*, Win32.Numerics.RectF*, int>)(lpVtbl[31]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), gdiMetafile, destinationRectangle, sourceRectangle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, ID2D1GdiMetafile*, Win32.Numerics.RectF*, Win32.Numerics.RectF*, int>)(lpVtbl[31]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), gdiMetafile, destinationRectangle, sourceRectangle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink3.DrawSpriteBatch" />
|
/// <inheritdoc cref="ID2D1CommandSink3.DrawSpriteBatch" />
|
||||||
@@ -439,11 +307,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[VtblIndex(32)]
|
[VtblIndex(32)]
|
||||||
public HResult DrawSpriteBatch(ID2D1SpriteBatch* spriteBatch, uint startIndex, uint spriteCount, ID2D1Bitmap* bitmap, BitmapInterpolationMode interpolationMode, SpriteOptions spriteOptions)
|
public HResult DrawSpriteBatch(ID2D1SpriteBatch* spriteBatch, uint startIndex, uint spriteCount, ID2D1Bitmap* bitmap, BitmapInterpolationMode interpolationMode, SpriteOptions spriteOptions)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, ID2D1SpriteBatch*, uint, uint, ID2D1Bitmap*, BitmapInterpolationMode, SpriteOptions, int>)(lpVtbl[32]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), spriteBatch, startIndex, spriteCount, bitmap, interpolationMode, spriteOptions);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink5*, ID2D1SpriteBatch*, uint, uint, ID2D1Bitmap*, BitmapInterpolationMode, SpriteOptions, int>)(lpVtbl[32]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), spriteBatch, startIndex, spriteCount, bitmap, interpolationMode, spriteOptions);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, ID2D1SpriteBatch*, uint, uint, ID2D1Bitmap*, BitmapInterpolationMode, SpriteOptions, int>)(lpVtbl[32]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), spriteBatch, startIndex, spriteCount, bitmap, interpolationMode, spriteOptions);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1CommandSink4.SetPrimitiveBlend2" />
|
/// <inheritdoc cref="ID2D1CommandSink4.SetPrimitiveBlend2" />
|
||||||
@@ -451,11 +315,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[VtblIndex(33)]
|
[VtblIndex(33)]
|
||||||
public HResult SetPrimitiveBlend2(PrimitiveBlend primitiveBlend)
|
public HResult SetPrimitiveBlend2(PrimitiveBlend primitiveBlend)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, PrimitiveBlend, int>)(lpVtbl[33]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), primitiveBlend);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink5*, PrimitiveBlend, int>)(lpVtbl[33]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), primitiveBlend);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, PrimitiveBlend, int>)(lpVtbl[33]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), primitiveBlend);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink5::BlendImage"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1CommandSink5::BlendImage"]/*' />
|
||||||
@@ -463,11 +323,7 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
|
|||||||
[VtblIndex(34)]
|
[VtblIndex(34)]
|
||||||
public HResult BlendImage(ID2D1Image* image, Common.BlendMode blendMode, Vector2* targetOffset, Win32.Numerics.RectF* imageRectangle, InterpolationMode interpolationMode)
|
public HResult BlendImage(ID2D1Image* image, Common.BlendMode blendMode, Vector2* targetOffset, Win32.Numerics.RectF* imageRectangle, InterpolationMode interpolationMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1CommandSink5*, ID2D1Image*, Common.BlendMode, Vector2*, Win32.Numerics.RectF*, InterpolationMode, int>)(lpVtbl[34]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), image, blendMode, targetOffset, imageRectangle, interpolationMode);
|
||||||
return ((delegate* unmanaged<ID2D1CommandSink5*, ID2D1Image*, Common.BlendMode, Vector2*, Win32.Numerics.RectF*, InterpolationMode, int>)(lpVtbl[34]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), image, blendMode, targetOffset, imageRectangle, interpolationMode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1CommandSink5*, ID2D1Image*, Common.BlendMode, Vector2*, Win32.Numerics.RectF*, InterpolationMode, int>)(lpVtbl[34]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), image, blendMode, targetOffset, imageRectangle, interpolationMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1CommandSink4.Interface
|
public interface Interface : ID2D1CommandSink4.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1ComputeInfo : ID2D1ComputeInfo.Interface, INat
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ComputeInfo));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ComputeInfo));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ComputeInfo));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1ComputeInfo : ID2D1ComputeInfo.Interface, INat
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ComputeInfo*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1ComputeInfo*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ComputeInfo*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1ComputeInfo : ID2D1ComputeInfo.Interface, INat
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ComputeInfo*, uint>)(lpVtbl[1]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1ComputeInfo*, uint>)(lpVtbl[1]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ComputeInfo*, uint>)(lpVtbl[1]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1ComputeInfo : ID2D1ComputeInfo.Interface, INat
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ComputeInfo*, uint>)(lpVtbl[2]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1ComputeInfo*, uint>)(lpVtbl[2]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ComputeInfo*, uint>)(lpVtbl[2]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderInfo.SetInputDescription" />
|
/// <inheritdoc cref="ID2D1RenderInfo.SetInputDescription" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1ComputeInfo : ID2D1ComputeInfo.Interface, INat
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public HResult SetInputDescription(uint inputIndex, InputDescription inputDescription)
|
public HResult SetInputDescription(uint inputIndex, InputDescription inputDescription)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ComputeInfo*, uint, InputDescription, int>)(lpVtbl[3]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this), inputIndex, inputDescription);
|
||||||
return ((delegate* unmanaged<ID2D1ComputeInfo*, uint, InputDescription, int>)(lpVtbl[3]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this), inputIndex, inputDescription);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ComputeInfo*, uint, InputDescription, int>)(lpVtbl[3]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this), inputIndex, inputDescription);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderInfo.SetOutputBuffer" />
|
/// <inheritdoc cref="ID2D1RenderInfo.SetOutputBuffer" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1ComputeInfo : ID2D1ComputeInfo.Interface, INat
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult SetOutputBuffer(BufferPrecision bufferPrecision, ChannelDepth channelDepth)
|
public HResult SetOutputBuffer(BufferPrecision bufferPrecision, ChannelDepth channelDepth)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ComputeInfo*, BufferPrecision, ChannelDepth, int>)(lpVtbl[4]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this), bufferPrecision, channelDepth);
|
||||||
return ((delegate* unmanaged<ID2D1ComputeInfo*, BufferPrecision, ChannelDepth, int>)(lpVtbl[4]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this), bufferPrecision, channelDepth);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ComputeInfo*, BufferPrecision, ChannelDepth, int>)(lpVtbl[4]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this), bufferPrecision, channelDepth);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderInfo.SetCached" />
|
/// <inheritdoc cref="ID2D1RenderInfo.SetCached" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1ComputeInfo : ID2D1ComputeInfo.Interface, INat
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public void SetCached(Bool32 isCached)
|
public void SetCached(Bool32 isCached)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1ComputeInfo*, Bool32, void>)(lpVtbl[5]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this), isCached);
|
||||||
((delegate* unmanaged<ID2D1ComputeInfo*, Bool32, void>)(lpVtbl[5]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this), isCached);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1ComputeInfo*, Bool32, void>)(lpVtbl[5]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this), isCached);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderInfo.SetInstructionCountHint" />
|
/// <inheritdoc cref="ID2D1RenderInfo.SetInstructionCountHint" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1ComputeInfo : ID2D1ComputeInfo.Interface, INat
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public void SetInstructionCountHint(uint instructionCount)
|
public void SetInstructionCountHint(uint instructionCount)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1ComputeInfo*, uint, void>)(lpVtbl[6]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this), instructionCount);
|
||||||
((delegate* unmanaged<ID2D1ComputeInfo*, uint, void>)(lpVtbl[6]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this), instructionCount);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1ComputeInfo*, uint, void>)(lpVtbl[6]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this), instructionCount);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ComputeInfo::SetComputeShaderConstantBuffer"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ComputeInfo::SetComputeShaderConstantBuffer"]/*' />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1ComputeInfo : ID2D1ComputeInfo.Interface, INat
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public HResult SetComputeShaderConstantBuffer(byte* buffer, uint bufferCount)
|
public HResult SetComputeShaderConstantBuffer(byte* buffer, uint bufferCount)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ComputeInfo*, byte*, uint, int>)(lpVtbl[7]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this), buffer, bufferCount);
|
||||||
return ((delegate* unmanaged<ID2D1ComputeInfo*, byte*, uint, int>)(lpVtbl[7]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this), buffer, bufferCount);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ComputeInfo*, byte*, uint, int>)(lpVtbl[7]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this), buffer, bufferCount);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ComputeInfo::SetComputeShader"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ComputeInfo::SetComputeShader"]/*' />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1ComputeInfo : ID2D1ComputeInfo.Interface, INat
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult SetComputeShader(Guid* shaderId)
|
public HResult SetComputeShader(Guid* shaderId)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ComputeInfo*, Guid*, int>)(lpVtbl[8]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this), shaderId);
|
||||||
return ((delegate* unmanaged<ID2D1ComputeInfo*, Guid*, int>)(lpVtbl[8]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this), shaderId);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ComputeInfo*, Guid*, int>)(lpVtbl[8]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this), shaderId);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ComputeInfo::SetResourceTexture"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ComputeInfo::SetResourceTexture"]/*' />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1ComputeInfo : ID2D1ComputeInfo.Interface, INat
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult SetResourceTexture(uint textureIndex, ID2D1ResourceTexture* resourceTexture)
|
public HResult SetResourceTexture(uint textureIndex, ID2D1ResourceTexture* resourceTexture)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ComputeInfo*, uint, ID2D1ResourceTexture*, int>)(lpVtbl[9]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this), textureIndex, resourceTexture);
|
||||||
return ((delegate* unmanaged<ID2D1ComputeInfo*, uint, ID2D1ResourceTexture*, int>)(lpVtbl[9]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this), textureIndex, resourceTexture);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ComputeInfo*, uint, ID2D1ResourceTexture*, int>)(lpVtbl[9]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this), textureIndex, resourceTexture);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1RenderInfo.Interface
|
public interface Interface : ID2D1RenderInfo.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1ComputeTransform : ID2D1ComputeTransform.Inter
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ComputeTransform));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ComputeTransform));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ComputeTransform));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1ComputeTransform : ID2D1ComputeTransform.Inter
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ComputeTransform*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1ComputeTransform*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ComputeTransform*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1ComputeTransform : ID2D1ComputeTransform.Inter
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ComputeTransform*, uint>)(lpVtbl[1]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1ComputeTransform*, uint>)(lpVtbl[1]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ComputeTransform*, uint>)(lpVtbl[1]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1ComputeTransform : ID2D1ComputeTransform.Inter
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ComputeTransform*, uint>)(lpVtbl[2]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1ComputeTransform*, uint>)(lpVtbl[2]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ComputeTransform*, uint>)(lpVtbl[2]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1TransformNode.GetInputCount" />
|
/// <inheritdoc cref="ID2D1TransformNode.GetInputCount" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1ComputeTransform : ID2D1ComputeTransform.Inter
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public uint GetInputCount()
|
public uint GetInputCount()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ComputeTransform*, uint>)(lpVtbl[3]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1ComputeTransform*, uint>)(lpVtbl[3]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ComputeTransform*, uint>)(lpVtbl[3]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Transform.MapOutputRectToInputRects" />
|
/// <inheritdoc cref="ID2D1Transform.MapOutputRectToInputRects" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1ComputeTransform : ID2D1ComputeTransform.Inter
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult MapOutputRectToInputRects(Rect* outputRect, Rect* inputRects, uint inputRectsCount)
|
public HResult MapOutputRectToInputRects(Rect* outputRect, Rect* inputRects, uint inputRectsCount)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ComputeTransform*, Rect*, Rect*, uint, int>)(lpVtbl[4]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this), outputRect, inputRects, inputRectsCount);
|
||||||
return ((delegate* unmanaged<ID2D1ComputeTransform*, Rect*, Rect*, uint, int>)(lpVtbl[4]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this), outputRect, inputRects, inputRectsCount);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ComputeTransform*, Rect*, Rect*, uint, int>)(lpVtbl[4]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this), outputRect, inputRects, inputRectsCount);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Transform.MapInputRectsToOutputRect" />
|
/// <inheritdoc cref="ID2D1Transform.MapInputRectsToOutputRect" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1ComputeTransform : ID2D1ComputeTransform.Inter
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult MapInputRectsToOutputRect(Rect* inputRects, Rect* inputOpaqueSubRects, uint inputRectCount, Rect* outputRect, Rect* outputOpaqueSubRect)
|
public HResult MapInputRectsToOutputRect(Rect* inputRects, Rect* inputOpaqueSubRects, uint inputRectCount, Rect* outputRect, Rect* outputOpaqueSubRect)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ComputeTransform*, Rect*, Rect*, uint, Rect*, Rect*, int>)(lpVtbl[5]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this), inputRects, inputOpaqueSubRects, inputRectCount, outputRect, outputOpaqueSubRect);
|
||||||
return ((delegate* unmanaged<ID2D1ComputeTransform*, Rect*, Rect*, uint, Rect*, Rect*, int>)(lpVtbl[5]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this), inputRects, inputOpaqueSubRects, inputRectCount, outputRect, outputOpaqueSubRect);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ComputeTransform*, Rect*, Rect*, uint, Rect*, Rect*, int>)(lpVtbl[5]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this), inputRects, inputOpaqueSubRects, inputRectCount, outputRect, outputOpaqueSubRect);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Transform.MapInvalidRect" />
|
/// <inheritdoc cref="ID2D1Transform.MapInvalidRect" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1ComputeTransform : ID2D1ComputeTransform.Inter
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult MapInvalidRect(uint inputIndex, Rect invalidInputRect, Rect* invalidOutputRect)
|
public HResult MapInvalidRect(uint inputIndex, Rect invalidInputRect, Rect* invalidOutputRect)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ComputeTransform*, uint, Rect, Rect*, int>)(lpVtbl[6]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this), inputIndex, invalidInputRect, invalidOutputRect);
|
||||||
return ((delegate* unmanaged<ID2D1ComputeTransform*, uint, Rect, Rect*, int>)(lpVtbl[6]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this), inputIndex, invalidInputRect, invalidOutputRect);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ComputeTransform*, uint, Rect, Rect*, int>)(lpVtbl[6]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this), inputIndex, invalidInputRect, invalidOutputRect);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ComputeTransform::SetComputeInfo"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ComputeTransform::SetComputeInfo"]/*' />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1ComputeTransform : ID2D1ComputeTransform.Inter
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public HResult SetComputeInfo(ID2D1ComputeInfo* computeInfo)
|
public HResult SetComputeInfo(ID2D1ComputeInfo* computeInfo)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ComputeTransform*, ID2D1ComputeInfo*, int>)(lpVtbl[7]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this), computeInfo);
|
||||||
return ((delegate* unmanaged<ID2D1ComputeTransform*, ID2D1ComputeInfo*, int>)(lpVtbl[7]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this), computeInfo);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ComputeTransform*, ID2D1ComputeInfo*, int>)(lpVtbl[7]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this), computeInfo);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ComputeTransform::CalculateThreadgroups"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ComputeTransform::CalculateThreadgroups"]/*' />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1ComputeTransform : ID2D1ComputeTransform.Inter
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CalculateThreadgroups(Rect* outputRect, uint* dimensionX, uint* dimensionY, uint* dimensionZ)
|
public HResult CalculateThreadgroups(Rect* outputRect, uint* dimensionX, uint* dimensionY, uint* dimensionZ)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ComputeTransform*, Rect*, uint*, uint*, uint*, int>)(lpVtbl[8]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this), outputRect, dimensionX, dimensionY, dimensionZ);
|
||||||
return ((delegate* unmanaged<ID2D1ComputeTransform*, Rect*, uint*, uint*, uint*, int>)(lpVtbl[8]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this), outputRect, dimensionX, dimensionY, dimensionZ);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ComputeTransform*, Rect*, uint*, uint*, uint*, int>)(lpVtbl[8]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this), outputRect, dimensionX, dimensionY, dimensionZ);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Transform.Interface
|
public interface Interface : ID2D1Transform.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1ConcreteTransform : ID2D1ConcreteTransform.Int
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ConcreteTransform));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ConcreteTransform));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ConcreteTransform));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1ConcreteTransform : ID2D1ConcreteTransform.Int
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ConcreteTransform*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1ConcreteTransform*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1ConcreteTransform*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1ConcreteTransform*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ConcreteTransform*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1ConcreteTransform*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1ConcreteTransform : ID2D1ConcreteTransform.Int
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ConcreteTransform*, uint>)(lpVtbl[1]))((ID2D1ConcreteTransform*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1ConcreteTransform*, uint>)(lpVtbl[1]))((ID2D1ConcreteTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ConcreteTransform*, uint>)(lpVtbl[1]))((ID2D1ConcreteTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1ConcreteTransform : ID2D1ConcreteTransform.Int
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ConcreteTransform*, uint>)(lpVtbl[2]))((ID2D1ConcreteTransform*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1ConcreteTransform*, uint>)(lpVtbl[2]))((ID2D1ConcreteTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ConcreteTransform*, uint>)(lpVtbl[2]))((ID2D1ConcreteTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1TransformNode.GetInputCount" />
|
/// <inheritdoc cref="ID2D1TransformNode.GetInputCount" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1ConcreteTransform : ID2D1ConcreteTransform.Int
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public uint GetInputCount()
|
public uint GetInputCount()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ConcreteTransform*, uint>)(lpVtbl[3]))((ID2D1ConcreteTransform*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1ConcreteTransform*, uint>)(lpVtbl[3]))((ID2D1ConcreteTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ConcreteTransform*, uint>)(lpVtbl[3]))((ID2D1ConcreteTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ConcreteTransform::SetOutputBuffer"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ConcreteTransform::SetOutputBuffer"]/*' />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1ConcreteTransform : ID2D1ConcreteTransform.Int
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult SetOutputBuffer(BufferPrecision bufferPrecision, ChannelDepth channelDepth)
|
public HResult SetOutputBuffer(BufferPrecision bufferPrecision, ChannelDepth channelDepth)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ConcreteTransform*, BufferPrecision, ChannelDepth, int>)(lpVtbl[4]))((ID2D1ConcreteTransform*)Unsafe.AsPointer(ref this), bufferPrecision, channelDepth);
|
||||||
return ((delegate* unmanaged<ID2D1ConcreteTransform*, BufferPrecision, ChannelDepth, int>)(lpVtbl[4]))((ID2D1ConcreteTransform*)Unsafe.AsPointer(ref this), bufferPrecision, channelDepth);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ConcreteTransform*, BufferPrecision, ChannelDepth, int>)(lpVtbl[4]))((ID2D1ConcreteTransform*)Unsafe.AsPointer(ref this), bufferPrecision, channelDepth);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ConcreteTransform::SetCached"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ConcreteTransform::SetCached"]/*' />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1ConcreteTransform : ID2D1ConcreteTransform.Int
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public void SetCached(Bool32 isCached)
|
public void SetCached(Bool32 isCached)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1ConcreteTransform*, Bool32, void>)(lpVtbl[5]))((ID2D1ConcreteTransform*)Unsafe.AsPointer(ref this), isCached);
|
||||||
((delegate* unmanaged<ID2D1ConcreteTransform*, Bool32, void>)(lpVtbl[5]))((ID2D1ConcreteTransform*)Unsafe.AsPointer(ref this), isCached);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1ConcreteTransform*, Bool32, void>)(lpVtbl[5]))((ID2D1ConcreteTransform*)Unsafe.AsPointer(ref this), isCached);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1TransformNode.Interface
|
public interface Interface : ID2D1TransformNode.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DCRenderTarget));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DCRenderTarget));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DCRenderTarget));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1DCRenderTarget*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, uint>)(lpVtbl[1]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1DCRenderTarget*, uint>)(lpVtbl[1]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, uint>)(lpVtbl[1]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, uint>)(lpVtbl[2]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1DCRenderTarget*, uint>)(lpVtbl[2]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, uint>)(lpVtbl[2]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1DCRenderTarget*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateBitmap" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateBitmap" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult CreateBitmap(System.Drawing.Size size, void* srcData, uint pitch, BitmapProperties* bitmapProperties, ID2D1Bitmap** bitmap)
|
public HResult CreateBitmap(System.Drawing.Size size, void* srcData, uint pitch, BitmapProperties* bitmapProperties, ID2D1Bitmap** bitmap)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, System.Drawing.Size, void*, uint, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[4]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), size, srcData, pitch, bitmapProperties, bitmap);
|
||||||
return ((delegate* unmanaged<ID2D1DCRenderTarget*, System.Drawing.Size, void*, uint, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[4]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), size, srcData, pitch, bitmapProperties, bitmap);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, System.Drawing.Size, void*, uint, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[4]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), size, srcData, pitch, bitmapProperties, bitmap);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateBitmapFromWicBitmap" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateBitmapFromWicBitmap" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult CreateBitmapFromWicBitmap(Graphics.Imaging.IWICBitmapSource* wicBitmapSource, BitmapProperties* bitmapProperties, ID2D1Bitmap** bitmap)
|
public HResult CreateBitmapFromWicBitmap(Graphics.Imaging.IWICBitmapSource* wicBitmapSource, BitmapProperties* bitmapProperties, ID2D1Bitmap** bitmap)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, Graphics.Imaging.IWICBitmapSource*, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[5]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), wicBitmapSource, bitmapProperties, bitmap);
|
||||||
return ((delegate* unmanaged<ID2D1DCRenderTarget*, Graphics.Imaging.IWICBitmapSource*, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[5]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), wicBitmapSource, bitmapProperties, bitmap);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, Graphics.Imaging.IWICBitmapSource*, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[5]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), wicBitmapSource, bitmapProperties, bitmap);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateSharedBitmap" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateSharedBitmap" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult CreateSharedBitmap(Guid* riid, void* data, BitmapProperties* bitmapProperties, ID2D1Bitmap** bitmap)
|
public HResult CreateSharedBitmap(Guid* riid, void* data, BitmapProperties* bitmapProperties, ID2D1Bitmap** bitmap)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, Guid*, void*, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[6]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), riid, data, bitmapProperties, bitmap);
|
||||||
return ((delegate* unmanaged<ID2D1DCRenderTarget*, Guid*, void*, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[6]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), riid, data, bitmapProperties, bitmap);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, Guid*, void*, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[6]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), riid, data, bitmapProperties, bitmap);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateBitmapBrush" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateBitmapBrush" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public HResult CreateBitmapBrush(ID2D1Bitmap* bitmap, BitmapBrushProperties* bitmapBrushProperties, BrushProperties* brushProperties, ID2D1BitmapBrush** bitmapBrush)
|
public HResult CreateBitmapBrush(ID2D1Bitmap* bitmap, BitmapBrushProperties* bitmapBrushProperties, BrushProperties* brushProperties, ID2D1BitmapBrush** bitmapBrush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, ID2D1Bitmap*, BitmapBrushProperties*, BrushProperties*, ID2D1BitmapBrush**, int>)(lpVtbl[7]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), bitmap, bitmapBrushProperties, brushProperties, bitmapBrush);
|
||||||
return ((delegate* unmanaged<ID2D1DCRenderTarget*, ID2D1Bitmap*, BitmapBrushProperties*, BrushProperties*, ID2D1BitmapBrush**, int>)(lpVtbl[7]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), bitmap, bitmapBrushProperties, brushProperties, bitmapBrush);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, ID2D1Bitmap*, BitmapBrushProperties*, BrushProperties*, ID2D1BitmapBrush**, int>)(lpVtbl[7]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), bitmap, bitmapBrushProperties, brushProperties, bitmapBrush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateSolidColorBrush" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateSolidColorBrush" />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CreateSolidColorBrush(Color4* color, BrushProperties* brushProperties, ID2D1SolidColorBrush** solidColorBrush)
|
public HResult CreateSolidColorBrush(Color4* color, BrushProperties* brushProperties, ID2D1SolidColorBrush** solidColorBrush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, Color4*, BrushProperties*, ID2D1SolidColorBrush**, int>)(lpVtbl[8]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
|
||||||
return ((delegate* unmanaged<ID2D1DCRenderTarget*, Color4*, BrushProperties*, ID2D1SolidColorBrush**, int>)(lpVtbl[8]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, Color4*, BrushProperties*, ID2D1SolidColorBrush**, int>)(lpVtbl[8]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateGradientStopCollection" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateGradientStopCollection" />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult CreateGradientStopCollection(GradientStop* gradientStops, uint gradientStopsCount, Gamma colorInterpolationGamma, ExtendMode extendMode, ID2D1GradientStopCollection** gradientStopCollection)
|
public HResult CreateGradientStopCollection(GradientStop* gradientStops, uint gradientStopsCount, Gamma colorInterpolationGamma, ExtendMode extendMode, ID2D1GradientStopCollection** gradientStopCollection)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, GradientStop*, uint, Gamma, ExtendMode, ID2D1GradientStopCollection**, int>)(lpVtbl[9]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount, colorInterpolationGamma, extendMode, gradientStopCollection);
|
||||||
return ((delegate* unmanaged<ID2D1DCRenderTarget*, GradientStop*, uint, Gamma, ExtendMode, ID2D1GradientStopCollection**, int>)(lpVtbl[9]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount, colorInterpolationGamma, extendMode, gradientStopCollection);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, GradientStop*, uint, Gamma, ExtendMode, ID2D1GradientStopCollection**, int>)(lpVtbl[9]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount, colorInterpolationGamma, extendMode, gradientStopCollection);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateLinearGradientBrush" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateLinearGradientBrush" />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult CreateLinearGradientBrush(LinearGradientBrushProperties* linearGradientBrushProperties, BrushProperties* brushProperties, ID2D1GradientStopCollection* gradientStopCollection, ID2D1LinearGradientBrush** linearGradientBrush)
|
public HResult CreateLinearGradientBrush(LinearGradientBrushProperties* linearGradientBrushProperties, BrushProperties* brushProperties, ID2D1GradientStopCollection* gradientStopCollection, ID2D1LinearGradientBrush** linearGradientBrush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, LinearGradientBrushProperties*, BrushProperties*, ID2D1GradientStopCollection*, ID2D1LinearGradientBrush**, int>)(lpVtbl[10]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), linearGradientBrushProperties, brushProperties, gradientStopCollection, linearGradientBrush);
|
||||||
return ((delegate* unmanaged<ID2D1DCRenderTarget*, LinearGradientBrushProperties*, BrushProperties*, ID2D1GradientStopCollection*, ID2D1LinearGradientBrush**, int>)(lpVtbl[10]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), linearGradientBrushProperties, brushProperties, gradientStopCollection, linearGradientBrush);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, LinearGradientBrushProperties*, BrushProperties*, ID2D1GradientStopCollection*, ID2D1LinearGradientBrush**, int>)(lpVtbl[10]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), linearGradientBrushProperties, brushProperties, gradientStopCollection, linearGradientBrush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateRadialGradientBrush" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateRadialGradientBrush" />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult CreateRadialGradientBrush(RadialGradientBrushProperties* radialGradientBrushProperties, BrushProperties* brushProperties, ID2D1GradientStopCollection* gradientStopCollection, ID2D1RadialGradientBrush** radialGradientBrush)
|
public HResult CreateRadialGradientBrush(RadialGradientBrushProperties* radialGradientBrushProperties, BrushProperties* brushProperties, ID2D1GradientStopCollection* gradientStopCollection, ID2D1RadialGradientBrush** radialGradientBrush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, RadialGradientBrushProperties*, BrushProperties*, ID2D1GradientStopCollection*, ID2D1RadialGradientBrush**, int>)(lpVtbl[11]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), radialGradientBrushProperties, brushProperties, gradientStopCollection, radialGradientBrush);
|
||||||
return ((delegate* unmanaged<ID2D1DCRenderTarget*, RadialGradientBrushProperties*, BrushProperties*, ID2D1GradientStopCollection*, ID2D1RadialGradientBrush**, int>)(lpVtbl[11]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), radialGradientBrushProperties, brushProperties, gradientStopCollection, radialGradientBrush);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, RadialGradientBrushProperties*, BrushProperties*, ID2D1GradientStopCollection*, ID2D1RadialGradientBrush**, int>)(lpVtbl[11]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), radialGradientBrushProperties, brushProperties, gradientStopCollection, radialGradientBrush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateCompatibleRenderTarget" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateCompatibleRenderTarget" />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public HResult CreateCompatibleRenderTarget(System.Drawing.SizeF* desiredSize, System.Drawing.Size* desiredPixelSize, Common.PixelFormat* desiredFormat, CompatibleRenderTargetOptions options, ID2D1BitmapRenderTarget** bitmapRenderTarget)
|
public HResult CreateCompatibleRenderTarget(System.Drawing.SizeF* desiredSize, System.Drawing.Size* desiredPixelSize, Common.PixelFormat* desiredFormat, CompatibleRenderTargetOptions options, ID2D1BitmapRenderTarget** bitmapRenderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, System.Drawing.SizeF*, System.Drawing.Size*, Common.PixelFormat*, CompatibleRenderTargetOptions, ID2D1BitmapRenderTarget**, int>)(lpVtbl[12]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), desiredSize, desiredPixelSize, desiredFormat, options, bitmapRenderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1DCRenderTarget*, System.Drawing.SizeF*, System.Drawing.Size*, Common.PixelFormat*, CompatibleRenderTargetOptions, ID2D1BitmapRenderTarget**, int>)(lpVtbl[12]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), desiredSize, desiredPixelSize, desiredFormat, options, bitmapRenderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, System.Drawing.SizeF*, System.Drawing.Size*, Common.PixelFormat*, CompatibleRenderTargetOptions, ID2D1BitmapRenderTarget**, int>)(lpVtbl[12]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), desiredSize, desiredPixelSize, desiredFormat, options, bitmapRenderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateLayer" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateLayer" />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult CreateLayer(System.Drawing.SizeF* size, ID2D1Layer** layer)
|
public HResult CreateLayer(System.Drawing.SizeF* size, ID2D1Layer** layer)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, System.Drawing.SizeF*, ID2D1Layer**, int>)(lpVtbl[13]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), size, layer);
|
||||||
return ((delegate* unmanaged<ID2D1DCRenderTarget*, System.Drawing.SizeF*, ID2D1Layer**, int>)(lpVtbl[13]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), size, layer);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, System.Drawing.SizeF*, ID2D1Layer**, int>)(lpVtbl[13]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), size, layer);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateMesh" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateMesh" />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public HResult CreateMesh(ID2D1Mesh** mesh)
|
public HResult CreateMesh(ID2D1Mesh** mesh)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, ID2D1Mesh**, int>)(lpVtbl[14]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), mesh);
|
||||||
return ((delegate* unmanaged<ID2D1DCRenderTarget*, ID2D1Mesh**, int>)(lpVtbl[14]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), mesh);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, ID2D1Mesh**, int>)(lpVtbl[14]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), mesh);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.DrawLine" />
|
/// <inheritdoc cref="ID2D1RenderTarget.DrawLine" />
|
||||||
@@ -235,11 +171,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public void DrawLine(Vector2 point0, Vector2 point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public void DrawLine(Vector2 point0, Vector2 point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, Vector2, Vector2, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[15]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
|
||||||
((delegate* unmanaged<ID2D1DCRenderTarget*, Vector2, Vector2, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[15]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, Vector2, Vector2, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[15]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.DrawRectangle" />
|
/// <inheritdoc cref="ID2D1RenderTarget.DrawRectangle" />
|
||||||
@@ -247,11 +179,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(16)]
|
[VtblIndex(16)]
|
||||||
public void DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public void DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, Win32.Numerics.RectF*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[16]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
|
||||||
((delegate* unmanaged<ID2D1DCRenderTarget*, Win32.Numerics.RectF*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[16]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, Win32.Numerics.RectF*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[16]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.FillRectangle" />
|
/// <inheritdoc cref="ID2D1RenderTarget.FillRectangle" />
|
||||||
@@ -259,11 +187,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(17)]
|
[VtblIndex(17)]
|
||||||
public void FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush)
|
public void FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, Win32.Numerics.RectF*, ID2D1Brush*, void>)(lpVtbl[17]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), rect, brush);
|
||||||
((delegate* unmanaged<ID2D1DCRenderTarget*, Win32.Numerics.RectF*, ID2D1Brush*, void>)(lpVtbl[17]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), rect, brush);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, Win32.Numerics.RectF*, ID2D1Brush*, void>)(lpVtbl[17]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), rect, brush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.DrawRoundedRectangle" />
|
/// <inheritdoc cref="ID2D1RenderTarget.DrawRoundedRectangle" />
|
||||||
@@ -271,11 +195,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(18)]
|
[VtblIndex(18)]
|
||||||
public void DrawRoundedRectangle(RoundedRect* roundedRect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public void DrawRoundedRectangle(RoundedRect* roundedRect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, RoundedRect*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[18]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), roundedRect, brush, strokeWidth, strokeStyle);
|
||||||
((delegate* unmanaged<ID2D1DCRenderTarget*, RoundedRect*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[18]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), roundedRect, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, RoundedRect*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[18]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), roundedRect, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.FillRoundedRectangle" />
|
/// <inheritdoc cref="ID2D1RenderTarget.FillRoundedRectangle" />
|
||||||
@@ -283,11 +203,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(19)]
|
[VtblIndex(19)]
|
||||||
public void FillRoundedRectangle(RoundedRect* roundedRect, ID2D1Brush* brush)
|
public void FillRoundedRectangle(RoundedRect* roundedRect, ID2D1Brush* brush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, RoundedRect*, ID2D1Brush*, void>)(lpVtbl[19]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), roundedRect, brush);
|
||||||
((delegate* unmanaged<ID2D1DCRenderTarget*, RoundedRect*, ID2D1Brush*, void>)(lpVtbl[19]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), roundedRect, brush);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, RoundedRect*, ID2D1Brush*, void>)(lpVtbl[19]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), roundedRect, brush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.DrawEllipse" />
|
/// <inheritdoc cref="ID2D1RenderTarget.DrawEllipse" />
|
||||||
@@ -295,11 +211,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(20)]
|
[VtblIndex(20)]
|
||||||
public void DrawEllipse(Ellipse* ellipse, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public void DrawEllipse(Ellipse* ellipse, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, Ellipse*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[20]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), ellipse, brush, strokeWidth, strokeStyle);
|
||||||
((delegate* unmanaged<ID2D1DCRenderTarget*, Ellipse*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[20]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), ellipse, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, Ellipse*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[20]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), ellipse, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.FillEllipse" />
|
/// <inheritdoc cref="ID2D1RenderTarget.FillEllipse" />
|
||||||
@@ -307,11 +219,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(21)]
|
[VtblIndex(21)]
|
||||||
public void FillEllipse(Ellipse* ellipse, ID2D1Brush* brush)
|
public void FillEllipse(Ellipse* ellipse, ID2D1Brush* brush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, Ellipse*, ID2D1Brush*, void>)(lpVtbl[21]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), ellipse, brush);
|
||||||
((delegate* unmanaged<ID2D1DCRenderTarget*, Ellipse*, ID2D1Brush*, void>)(lpVtbl[21]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), ellipse, brush);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, Ellipse*, ID2D1Brush*, void>)(lpVtbl[21]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), ellipse, brush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.DrawGeometry" />
|
/// <inheritdoc cref="ID2D1RenderTarget.DrawGeometry" />
|
||||||
@@ -319,11 +227,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(22)]
|
[VtblIndex(22)]
|
||||||
public void DrawGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public void DrawGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, ID2D1Geometry*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[22]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle);
|
||||||
((delegate* unmanaged<ID2D1DCRenderTarget*, ID2D1Geometry*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[22]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, ID2D1Geometry*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[22]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.FillGeometry" />
|
/// <inheritdoc cref="ID2D1RenderTarget.FillGeometry" />
|
||||||
@@ -331,11 +235,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(23)]
|
[VtblIndex(23)]
|
||||||
public void FillGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, ID2D1Brush* opacityBrush)
|
public void FillGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, ID2D1Brush* opacityBrush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, ID2D1Geometry*, ID2D1Brush*, ID2D1Brush*, void>)(lpVtbl[23]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush);
|
||||||
((delegate* unmanaged<ID2D1DCRenderTarget*, ID2D1Geometry*, ID2D1Brush*, ID2D1Brush*, void>)(lpVtbl[23]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, ID2D1Geometry*, ID2D1Brush*, ID2D1Brush*, void>)(lpVtbl[23]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.FillMesh" />
|
/// <inheritdoc cref="ID2D1RenderTarget.FillMesh" />
|
||||||
@@ -343,11 +243,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(24)]
|
[VtblIndex(24)]
|
||||||
public void FillMesh(ID2D1Mesh* mesh, ID2D1Brush* brush)
|
public void FillMesh(ID2D1Mesh* mesh, ID2D1Brush* brush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, ID2D1Mesh*, ID2D1Brush*, void>)(lpVtbl[24]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), mesh, brush);
|
||||||
((delegate* unmanaged<ID2D1DCRenderTarget*, ID2D1Mesh*, ID2D1Brush*, void>)(lpVtbl[24]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), mesh, brush);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, ID2D1Mesh*, ID2D1Brush*, void>)(lpVtbl[24]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), mesh, brush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.FillOpacityMask" />
|
/// <inheritdoc cref="ID2D1RenderTarget.FillOpacityMask" />
|
||||||
@@ -355,11 +251,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(25)]
|
[VtblIndex(25)]
|
||||||
public void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, OpacityMaskContent content, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
|
public void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, OpacityMaskContent content, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, ID2D1Bitmap*, ID2D1Brush*, OpacityMaskContent, Win32.Numerics.RectF*, Win32.Numerics.RectF*, void>)(lpVtbl[25]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), opacityMask, brush, content, destinationRectangle, sourceRectangle);
|
||||||
((delegate* unmanaged<ID2D1DCRenderTarget*, ID2D1Bitmap*, ID2D1Brush*, OpacityMaskContent, Win32.Numerics.RectF*, Win32.Numerics.RectF*, void>)(lpVtbl[25]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), opacityMask, brush, content, destinationRectangle, sourceRectangle);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, ID2D1Bitmap*, ID2D1Brush*, OpacityMaskContent, Win32.Numerics.RectF*, Win32.Numerics.RectF*, void>)(lpVtbl[25]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), opacityMask, brush, content, destinationRectangle, sourceRectangle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.DrawBitmap" />
|
/// <inheritdoc cref="ID2D1RenderTarget.DrawBitmap" />
|
||||||
@@ -367,11 +259,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(26)]
|
[VtblIndex(26)]
|
||||||
public void DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, BitmapInterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle)
|
public void DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, BitmapInterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, ID2D1Bitmap*, Win32.Numerics.RectF*, float, BitmapInterpolationMode, Win32.Numerics.RectF*, void>)(lpVtbl[26]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle);
|
||||||
((delegate* unmanaged<ID2D1DCRenderTarget*, ID2D1Bitmap*, Win32.Numerics.RectF*, float, BitmapInterpolationMode, Win32.Numerics.RectF*, void>)(lpVtbl[26]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, ID2D1Bitmap*, Win32.Numerics.RectF*, float, BitmapInterpolationMode, Win32.Numerics.RectF*, void>)(lpVtbl[26]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.DrawText" />
|
/// <inheritdoc cref="ID2D1RenderTarget.DrawText" />
|
||||||
@@ -379,11 +267,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(27)]
|
[VtblIndex(27)]
|
||||||
public void DrawText(ushort* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
|
public void DrawText(ushort* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, ushort*, uint, Graphics.DirectWrite.IDWriteTextFormat*, Win32.Numerics.RectF*, ID2D1Brush*, DrawTextOptions, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[27]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
|
||||||
((delegate* unmanaged<ID2D1DCRenderTarget*, ushort*, uint, Graphics.DirectWrite.IDWriteTextFormat*, Win32.Numerics.RectF*, ID2D1Brush*, DrawTextOptions, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[27]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, ushort*, uint, Graphics.DirectWrite.IDWriteTextFormat*, Win32.Numerics.RectF*, ID2D1Brush*, DrawTextOptions, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[27]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.DrawTextLayout" />
|
/// <inheritdoc cref="ID2D1RenderTarget.DrawTextLayout" />
|
||||||
@@ -391,11 +275,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(28)]
|
[VtblIndex(28)]
|
||||||
public void DrawTextLayout(Vector2 origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, DrawTextOptions options)
|
public void DrawTextLayout(Vector2 origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, DrawTextOptions options)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, Vector2, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, DrawTextOptions, void>)(lpVtbl[28]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options);
|
||||||
((delegate* unmanaged<ID2D1DCRenderTarget*, Vector2, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, DrawTextOptions, void>)(lpVtbl[28]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, Vector2, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, DrawTextOptions, void>)(lpVtbl[28]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.DrawGlyphRun" />
|
/// <inheritdoc cref="ID2D1RenderTarget.DrawGlyphRun" />
|
||||||
@@ -403,11 +283,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(29)]
|
[VtblIndex(29)]
|
||||||
public void DrawGlyphRun(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode)
|
public void DrawGlyphRun(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, Vector2, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[29]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode);
|
||||||
((delegate* unmanaged<ID2D1DCRenderTarget*, Vector2, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[29]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, Vector2, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[29]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.SetTransform" />
|
/// <inheritdoc cref="ID2D1RenderTarget.SetTransform" />
|
||||||
@@ -415,11 +291,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(30)]
|
[VtblIndex(30)]
|
||||||
public void SetTransform(Matrix3x2* transform)
|
public void SetTransform(Matrix3x2* transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, Matrix3x2*, void>)(lpVtbl[30]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), transform);
|
||||||
((delegate* unmanaged<ID2D1DCRenderTarget*, Matrix3x2*, void>)(lpVtbl[30]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, Matrix3x2*, void>)(lpVtbl[30]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.GetTransform" />
|
/// <inheritdoc cref="ID2D1RenderTarget.GetTransform" />
|
||||||
@@ -427,11 +299,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(31)]
|
[VtblIndex(31)]
|
||||||
public void GetTransform(Matrix3x2* transform)
|
public void GetTransform(Matrix3x2* transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, Matrix3x2*, void>)(lpVtbl[31]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), transform);
|
||||||
((delegate* unmanaged<ID2D1DCRenderTarget*, Matrix3x2*, void>)(lpVtbl[31]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, Matrix3x2*, void>)(lpVtbl[31]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.SetAntialiasMode" />
|
/// <inheritdoc cref="ID2D1RenderTarget.SetAntialiasMode" />
|
||||||
@@ -439,11 +307,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(32)]
|
[VtblIndex(32)]
|
||||||
public void SetAntialiasMode(AntialiasMode antialiasMode)
|
public void SetAntialiasMode(AntialiasMode antialiasMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, AntialiasMode, void>)(lpVtbl[32]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), antialiasMode);
|
||||||
((delegate* unmanaged<ID2D1DCRenderTarget*, AntialiasMode, void>)(lpVtbl[32]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), antialiasMode);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, AntialiasMode, void>)(lpVtbl[32]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), antialiasMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.GetAntialiasMode" />
|
/// <inheritdoc cref="ID2D1RenderTarget.GetAntialiasMode" />
|
||||||
@@ -451,11 +315,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(33)]
|
[VtblIndex(33)]
|
||||||
public AntialiasMode GetAntialiasMode()
|
public AntialiasMode GetAntialiasMode()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, AntialiasMode>)(lpVtbl[33]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1DCRenderTarget*, AntialiasMode>)(lpVtbl[33]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, AntialiasMode>)(lpVtbl[33]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.SetTextAntialiasMode" />
|
/// <inheritdoc cref="ID2D1RenderTarget.SetTextAntialiasMode" />
|
||||||
@@ -463,11 +323,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(34)]
|
[VtblIndex(34)]
|
||||||
public void SetTextAntialiasMode(TextAntialiasMode textAntialiasMode)
|
public void SetTextAntialiasMode(TextAntialiasMode textAntialiasMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, TextAntialiasMode, void>)(lpVtbl[34]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), textAntialiasMode);
|
||||||
((delegate* unmanaged<ID2D1DCRenderTarget*, TextAntialiasMode, void>)(lpVtbl[34]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), textAntialiasMode);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, TextAntialiasMode, void>)(lpVtbl[34]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), textAntialiasMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.GetTextAntialiasMode" />
|
/// <inheritdoc cref="ID2D1RenderTarget.GetTextAntialiasMode" />
|
||||||
@@ -475,11 +331,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(35)]
|
[VtblIndex(35)]
|
||||||
public TextAntialiasMode GetTextAntialiasMode()
|
public TextAntialiasMode GetTextAntialiasMode()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, TextAntialiasMode>)(lpVtbl[35]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1DCRenderTarget*, TextAntialiasMode>)(lpVtbl[35]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, TextAntialiasMode>)(lpVtbl[35]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.SetTextRenderingParams" />
|
/// <inheritdoc cref="ID2D1RenderTarget.SetTextRenderingParams" />
|
||||||
@@ -487,11 +339,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(36)]
|
[VtblIndex(36)]
|
||||||
public void SetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams)
|
public void SetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, Graphics.DirectWrite.IDWriteRenderingParams*, void>)(lpVtbl[36]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), textRenderingParams);
|
||||||
((delegate* unmanaged<ID2D1DCRenderTarget*, Graphics.DirectWrite.IDWriteRenderingParams*, void>)(lpVtbl[36]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, Graphics.DirectWrite.IDWriteRenderingParams*, void>)(lpVtbl[36]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.GetTextRenderingParams" />
|
/// <inheritdoc cref="ID2D1RenderTarget.GetTextRenderingParams" />
|
||||||
@@ -499,11 +347,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(37)]
|
[VtblIndex(37)]
|
||||||
public void GetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams** textRenderingParams)
|
public void GetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams** textRenderingParams)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, Graphics.DirectWrite.IDWriteRenderingParams**, void>)(lpVtbl[37]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), textRenderingParams);
|
||||||
((delegate* unmanaged<ID2D1DCRenderTarget*, Graphics.DirectWrite.IDWriteRenderingParams**, void>)(lpVtbl[37]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, Graphics.DirectWrite.IDWriteRenderingParams**, void>)(lpVtbl[37]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.SetTags" />
|
/// <inheritdoc cref="ID2D1RenderTarget.SetTags" />
|
||||||
@@ -511,11 +355,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(38)]
|
[VtblIndex(38)]
|
||||||
public void SetTags(ulong tag1, ulong tag2)
|
public void SetTags(ulong tag1, ulong tag2)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, ulong, ulong, void>)(lpVtbl[38]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
||||||
((delegate* unmanaged<ID2D1DCRenderTarget*, ulong, ulong, void>)(lpVtbl[38]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, ulong, ulong, void>)(lpVtbl[38]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.GetTags" />
|
/// <inheritdoc cref="ID2D1RenderTarget.GetTags" />
|
||||||
@@ -523,11 +363,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(39)]
|
[VtblIndex(39)]
|
||||||
public void GetTags(ulong* tag1, ulong* tag2)
|
public void GetTags(ulong* tag1, ulong* tag2)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, ulong*, ulong*, void>)(lpVtbl[39]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
||||||
((delegate* unmanaged<ID2D1DCRenderTarget*, ulong*, ulong*, void>)(lpVtbl[39]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, ulong*, ulong*, void>)(lpVtbl[39]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.PushLayer" />
|
/// <inheritdoc cref="ID2D1RenderTarget.PushLayer" />
|
||||||
@@ -535,11 +371,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(40)]
|
[VtblIndex(40)]
|
||||||
public void PushLayer(LayerParameters* layerParameters, ID2D1Layer* layer)
|
public void PushLayer(LayerParameters* layerParameters, ID2D1Layer* layer)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, LayerParameters*, ID2D1Layer*, void>)(lpVtbl[40]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), layerParameters, layer);
|
||||||
((delegate* unmanaged<ID2D1DCRenderTarget*, LayerParameters*, ID2D1Layer*, void>)(lpVtbl[40]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), layerParameters, layer);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, LayerParameters*, ID2D1Layer*, void>)(lpVtbl[40]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), layerParameters, layer);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.PopLayer" />
|
/// <inheritdoc cref="ID2D1RenderTarget.PopLayer" />
|
||||||
@@ -547,11 +379,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(41)]
|
[VtblIndex(41)]
|
||||||
public void PopLayer()
|
public void PopLayer()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, void>)(lpVtbl[41]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
((delegate* unmanaged<ID2D1DCRenderTarget*, void>)(lpVtbl[41]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, void>)(lpVtbl[41]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.Flush" />
|
/// <inheritdoc cref="ID2D1RenderTarget.Flush" />
|
||||||
@@ -559,11 +387,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(42)]
|
[VtblIndex(42)]
|
||||||
public HResult Flush(ulong* tag1, ulong* tag2)
|
public HResult Flush(ulong* tag1, ulong* tag2)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, ulong*, ulong*, int>)(lpVtbl[42]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
||||||
return ((delegate* unmanaged<ID2D1DCRenderTarget*, ulong*, ulong*, int>)(lpVtbl[42]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, ulong*, ulong*, int>)(lpVtbl[42]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.SaveDrawingState" />
|
/// <inheritdoc cref="ID2D1RenderTarget.SaveDrawingState" />
|
||||||
@@ -571,11 +395,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(43)]
|
[VtblIndex(43)]
|
||||||
public void SaveDrawingState(ID2D1DrawingStateBlock* drawingStateBlock)
|
public void SaveDrawingState(ID2D1DrawingStateBlock* drawingStateBlock)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, ID2D1DrawingStateBlock*, void>)(lpVtbl[43]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), drawingStateBlock);
|
||||||
((delegate* unmanaged<ID2D1DCRenderTarget*, ID2D1DrawingStateBlock*, void>)(lpVtbl[43]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), drawingStateBlock);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, ID2D1DrawingStateBlock*, void>)(lpVtbl[43]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), drawingStateBlock);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.RestoreDrawingState" />
|
/// <inheritdoc cref="ID2D1RenderTarget.RestoreDrawingState" />
|
||||||
@@ -583,11 +403,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(44)]
|
[VtblIndex(44)]
|
||||||
public void RestoreDrawingState(ID2D1DrawingStateBlock* drawingStateBlock)
|
public void RestoreDrawingState(ID2D1DrawingStateBlock* drawingStateBlock)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, ID2D1DrawingStateBlock*, void>)(lpVtbl[44]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), drawingStateBlock);
|
||||||
((delegate* unmanaged<ID2D1DCRenderTarget*, ID2D1DrawingStateBlock*, void>)(lpVtbl[44]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), drawingStateBlock);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, ID2D1DrawingStateBlock*, void>)(lpVtbl[44]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), drawingStateBlock);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.PushAxisAlignedClip" />
|
/// <inheritdoc cref="ID2D1RenderTarget.PushAxisAlignedClip" />
|
||||||
@@ -595,11 +411,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(45)]
|
[VtblIndex(45)]
|
||||||
public void PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode)
|
public void PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, Win32.Numerics.RectF*, AntialiasMode, void>)(lpVtbl[45]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
|
||||||
((delegate* unmanaged<ID2D1DCRenderTarget*, Win32.Numerics.RectF*, AntialiasMode, void>)(lpVtbl[45]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, Win32.Numerics.RectF*, AntialiasMode, void>)(lpVtbl[45]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.PopAxisAlignedClip" />
|
/// <inheritdoc cref="ID2D1RenderTarget.PopAxisAlignedClip" />
|
||||||
@@ -607,11 +419,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(46)]
|
[VtblIndex(46)]
|
||||||
public void PopAxisAlignedClip()
|
public void PopAxisAlignedClip()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, void>)(lpVtbl[46]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
((delegate* unmanaged<ID2D1DCRenderTarget*, void>)(lpVtbl[46]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, void>)(lpVtbl[46]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.Clear" />
|
/// <inheritdoc cref="ID2D1RenderTarget.Clear" />
|
||||||
@@ -619,11 +427,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(47)]
|
[VtblIndex(47)]
|
||||||
public void Clear(Color4* clearColor)
|
public void Clear(Color4* clearColor)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, Color4*, void>)(lpVtbl[47]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), clearColor);
|
||||||
((delegate* unmanaged<ID2D1DCRenderTarget*, Color4*, void>)(lpVtbl[47]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), clearColor);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, Color4*, void>)(lpVtbl[47]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), clearColor);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.BeginDraw" />
|
/// <inheritdoc cref="ID2D1RenderTarget.BeginDraw" />
|
||||||
@@ -631,11 +435,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(48)]
|
[VtblIndex(48)]
|
||||||
public void BeginDraw()
|
public void BeginDraw()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, void>)(lpVtbl[48]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
((delegate* unmanaged<ID2D1DCRenderTarget*, void>)(lpVtbl[48]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, void>)(lpVtbl[48]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.EndDraw" />
|
/// <inheritdoc cref="ID2D1RenderTarget.EndDraw" />
|
||||||
@@ -643,11 +443,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(49)]
|
[VtblIndex(49)]
|
||||||
public HResult EndDraw(ulong* tag1 = null, ulong* tag2 = null)
|
public HResult EndDraw(ulong* tag1 = null, ulong* tag2 = null)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, ulong*, ulong*, int>)(lpVtbl[49]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
||||||
return ((delegate* unmanaged<ID2D1DCRenderTarget*, ulong*, ulong*, int>)(lpVtbl[49]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, ulong*, ulong*, int>)(lpVtbl[49]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.GetPixelFormat" />
|
/// <inheritdoc cref="ID2D1RenderTarget.GetPixelFormat" />
|
||||||
@@ -656,11 +452,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
public Common.PixelFormat GetPixelFormat()
|
public Common.PixelFormat GetPixelFormat()
|
||||||
{
|
{
|
||||||
Common.PixelFormat result;
|
Common.PixelFormat result;
|
||||||
#if NET6_0_OR_GREATER
|
return *((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, Common.PixelFormat*, Common.PixelFormat*>)(lpVtbl[50]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), &result);
|
||||||
return *((delegate* unmanaged<ID2D1DCRenderTarget*, Common.PixelFormat*, Common.PixelFormat*>)(lpVtbl[50]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#else
|
|
||||||
return *((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, Common.PixelFormat*, Common.PixelFormat*>)(lpVtbl[50]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.SetDpi" />
|
/// <inheritdoc cref="ID2D1RenderTarget.SetDpi" />
|
||||||
@@ -668,11 +460,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(51)]
|
[VtblIndex(51)]
|
||||||
public void SetDpi(float dpiX, float dpiY)
|
public void SetDpi(float dpiX, float dpiY)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, float, float, void>)(lpVtbl[51]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
||||||
((delegate* unmanaged<ID2D1DCRenderTarget*, float, float, void>)(lpVtbl[51]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, float, float, void>)(lpVtbl[51]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.GetDpi" />
|
/// <inheritdoc cref="ID2D1RenderTarget.GetDpi" />
|
||||||
@@ -680,11 +468,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(52)]
|
[VtblIndex(52)]
|
||||||
public void GetDpi(float* dpiX, float* dpiY)
|
public void GetDpi(float* dpiX, float* dpiY)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, float*, float*, void>)(lpVtbl[52]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
||||||
((delegate* unmanaged<ID2D1DCRenderTarget*, float*, float*, void>)(lpVtbl[52]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, float*, float*, void>)(lpVtbl[52]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.GetSize" />
|
/// <inheritdoc cref="ID2D1RenderTarget.GetSize" />
|
||||||
@@ -693,11 +477,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
public System.Drawing.SizeF GetSize()
|
public System.Drawing.SizeF GetSize()
|
||||||
{
|
{
|
||||||
System.Drawing.SizeF result;
|
System.Drawing.SizeF result;
|
||||||
#if NET6_0_OR_GREATER
|
return *((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, System.Drawing.SizeF*, System.Drawing.SizeF*>)(lpVtbl[53]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), &result);
|
||||||
return *((delegate* unmanaged<ID2D1DCRenderTarget*, System.Drawing.SizeF*, System.Drawing.SizeF*>)(lpVtbl[53]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#else
|
|
||||||
return *((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, System.Drawing.SizeF*, System.Drawing.SizeF*>)(lpVtbl[53]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.GetPixelSize" />
|
/// <inheritdoc cref="ID2D1RenderTarget.GetPixelSize" />
|
||||||
@@ -706,11 +486,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
public System.Drawing.Size GetPixelSize()
|
public System.Drawing.Size GetPixelSize()
|
||||||
{
|
{
|
||||||
System.Drawing.Size result;
|
System.Drawing.Size result;
|
||||||
#if NET6_0_OR_GREATER
|
return *((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, System.Drawing.Size*, System.Drawing.Size*>)(lpVtbl[54]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), &result);
|
||||||
return *((delegate* unmanaged<ID2D1DCRenderTarget*, System.Drawing.Size*, System.Drawing.Size*>)(lpVtbl[54]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#else
|
|
||||||
return *((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, System.Drawing.Size*, System.Drawing.Size*>)(lpVtbl[54]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.GetMaximumBitmapSize" />
|
/// <inheritdoc cref="ID2D1RenderTarget.GetMaximumBitmapSize" />
|
||||||
@@ -718,11 +494,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(55)]
|
[VtblIndex(55)]
|
||||||
public uint GetMaximumBitmapSize()
|
public uint GetMaximumBitmapSize()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, uint>)(lpVtbl[55]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1DCRenderTarget*, uint>)(lpVtbl[55]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, uint>)(lpVtbl[55]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.IsSupported" />
|
/// <inheritdoc cref="ID2D1RenderTarget.IsSupported" />
|
||||||
@@ -730,11 +502,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(56)]
|
[VtblIndex(56)]
|
||||||
public Bool32 IsSupported(RenderTargetProperties* renderTargetProperties)
|
public Bool32 IsSupported(RenderTargetProperties* renderTargetProperties)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, RenderTargetProperties*, Bool32>)(lpVtbl[56]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), renderTargetProperties);
|
||||||
return ((delegate* unmanaged<ID2D1DCRenderTarget*, RenderTargetProperties*, Bool32>)(lpVtbl[56]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), renderTargetProperties);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, RenderTargetProperties*, Bool32>)(lpVtbl[56]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), renderTargetProperties);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1DCRenderTarget::BindDC"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1DCRenderTarget::BindDC"]/*' />
|
||||||
@@ -742,11 +510,7 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
|
|||||||
[VtblIndex(57)]
|
[VtblIndex(57)]
|
||||||
public HResult BindDC(IntPtr hDC, Rect* pSubRect)
|
public HResult BindDC(IntPtr hDC, Rect* pSubRect)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DCRenderTarget*, IntPtr, Rect*, int>)(lpVtbl[57]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), hDC, pSubRect);
|
||||||
return ((delegate* unmanaged<ID2D1DCRenderTarget*, IntPtr, Rect*, int>)(lpVtbl[57]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), hDC, pSubRect);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DCRenderTarget*, IntPtr, Rect*, int>)(lpVtbl[57]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), hDC, pSubRect);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1RenderTarget.Interface
|
public interface Interface : ID2D1RenderTarget.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1Device : ID2D1Device.Interface, INativeGuid
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1Device : ID2D1Device.Interface, INativeGuid
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Device*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1Device*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Device*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Device*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1Device : ID2D1Device.Interface, INativeGuid
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device*, uint>)(lpVtbl[1]))((ID2D1Device*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Device*, uint>)(lpVtbl[1]))((ID2D1Device*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device*, uint>)(lpVtbl[1]))((ID2D1Device*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1Device : ID2D1Device.Interface, INativeGuid
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device*, uint>)(lpVtbl[2]))((ID2D1Device*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Device*, uint>)(lpVtbl[2]))((ID2D1Device*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device*, uint>)(lpVtbl[2]))((ID2D1Device*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1Device : ID2D1Device.Interface, INativeGuid
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Device*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1Device*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Device*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Device*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Device::CreateDeviceContext"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Device::CreateDeviceContext"]/*' />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1Device : ID2D1Device.Interface, INativeGuid
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext** deviceContext)
|
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext** deviceContext)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device*, DeviceContextOptions, ID2D1DeviceContext**, int>)(lpVtbl[4]))((ID2D1Device*)Unsafe.AsPointer(ref this), options, deviceContext);
|
||||||
return ((delegate* unmanaged<ID2D1Device*, DeviceContextOptions, ID2D1DeviceContext**, int>)(lpVtbl[4]))((ID2D1Device*)Unsafe.AsPointer(ref this), options, deviceContext);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device*, DeviceContextOptions, ID2D1DeviceContext**, int>)(lpVtbl[4]))((ID2D1Device*)Unsafe.AsPointer(ref this), options, deviceContext);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Device::SetMaximumTextureMemory"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Device::SetMaximumTextureMemory"]/*' />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1Device : ID2D1Device.Interface, INativeGuid
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public void SetMaximumTextureMemory(ulong maximumInBytes)
|
public void SetMaximumTextureMemory(ulong maximumInBytes)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device*, ulong, void>)(lpVtbl[5]))((ID2D1Device*)Unsafe.AsPointer(ref this), maximumInBytes);
|
||||||
((delegate* unmanaged<ID2D1Device*, ulong, void>)(lpVtbl[5]))((ID2D1Device*)Unsafe.AsPointer(ref this), maximumInBytes);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device*, ulong, void>)(lpVtbl[5]))((ID2D1Device*)Unsafe.AsPointer(ref this), maximumInBytes);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Device::GetMaximumTextureMemory"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Device::GetMaximumTextureMemory"]/*' />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1Device : ID2D1Device.Interface, INativeGuid
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public ulong GetMaximumTextureMemory()
|
public ulong GetMaximumTextureMemory()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device*, ulong>)(lpVtbl[6]))((ID2D1Device*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Device*, ulong>)(lpVtbl[6]))((ID2D1Device*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device*, ulong>)(lpVtbl[6]))((ID2D1Device*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Device::ClearResources"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Device::ClearResources"]/*' />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1Device : ID2D1Device.Interface, INativeGuid
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public void ClearResources(uint millisecondsSinceUse)
|
public void ClearResources(uint millisecondsSinceUse)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device*, uint, void>)(lpVtbl[7]))((ID2D1Device*)Unsafe.AsPointer(ref this), millisecondsSinceUse);
|
||||||
((delegate* unmanaged<ID2D1Device*, uint, void>)(lpVtbl[7]))((ID2D1Device*)Unsafe.AsPointer(ref this), millisecondsSinceUse);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device*, uint, void>)(lpVtbl[7]))((ID2D1Device*)Unsafe.AsPointer(ref this), millisecondsSinceUse);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Resource.Interface
|
public interface Interface : ID2D1Resource.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1Device1 : ID2D1Device1.Interface, INativeGuid
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device1));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device1));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device1));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1Device1 : ID2D1Device1.Interface, INativeGuid
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Device1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1Device1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Device1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Device1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1Device1 : ID2D1Device1.Interface, INativeGuid
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device1*, uint>)(lpVtbl[1]))((ID2D1Device1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Device1*, uint>)(lpVtbl[1]))((ID2D1Device1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device1*, uint>)(lpVtbl[1]))((ID2D1Device1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1Device1 : ID2D1Device1.Interface, INativeGuid
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device1*, uint>)(lpVtbl[2]))((ID2D1Device1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Device1*, uint>)(lpVtbl[2]))((ID2D1Device1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device1*, uint>)(lpVtbl[2]))((ID2D1Device1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1Device1 : ID2D1Device1.Interface, INativeGuid
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device1*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Device1*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1Device1*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Device1*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device1*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Device1*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device.CreateDeviceContext" />
|
/// <inheritdoc cref="ID2D1Device.CreateDeviceContext" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1Device1 : ID2D1Device1.Interface, INativeGuid
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext** deviceContext)
|
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext** deviceContext)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device1*, DeviceContextOptions, ID2D1DeviceContext**, int>)(lpVtbl[4]))((ID2D1Device1*)Unsafe.AsPointer(ref this), options, deviceContext);
|
||||||
return ((delegate* unmanaged<ID2D1Device1*, DeviceContextOptions, ID2D1DeviceContext**, int>)(lpVtbl[4]))((ID2D1Device1*)Unsafe.AsPointer(ref this), options, deviceContext);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device1*, DeviceContextOptions, ID2D1DeviceContext**, int>)(lpVtbl[4]))((ID2D1Device1*)Unsafe.AsPointer(ref this), options, deviceContext);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device.SetMaximumTextureMemory" />
|
/// <inheritdoc cref="ID2D1Device.SetMaximumTextureMemory" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1Device1 : ID2D1Device1.Interface, INativeGuid
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public void SetMaximumTextureMemory(ulong maximumInBytes)
|
public void SetMaximumTextureMemory(ulong maximumInBytes)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device1*, ulong, void>)(lpVtbl[5]))((ID2D1Device1*)Unsafe.AsPointer(ref this), maximumInBytes);
|
||||||
((delegate* unmanaged<ID2D1Device1*, ulong, void>)(lpVtbl[5]))((ID2D1Device1*)Unsafe.AsPointer(ref this), maximumInBytes);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device1*, ulong, void>)(lpVtbl[5]))((ID2D1Device1*)Unsafe.AsPointer(ref this), maximumInBytes);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device.GetMaximumTextureMemory" />
|
/// <inheritdoc cref="ID2D1Device.GetMaximumTextureMemory" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1Device1 : ID2D1Device1.Interface, INativeGuid
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public ulong GetMaximumTextureMemory()
|
public ulong GetMaximumTextureMemory()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device1*, ulong>)(lpVtbl[6]))((ID2D1Device1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Device1*, ulong>)(lpVtbl[6]))((ID2D1Device1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device1*, ulong>)(lpVtbl[6]))((ID2D1Device1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device.ClearResources" />
|
/// <inheritdoc cref="ID2D1Device.ClearResources" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1Device1 : ID2D1Device1.Interface, INativeGuid
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public void ClearResources(uint millisecondsSinceUse)
|
public void ClearResources(uint millisecondsSinceUse)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device1*, uint, void>)(lpVtbl[7]))((ID2D1Device1*)Unsafe.AsPointer(ref this), millisecondsSinceUse);
|
||||||
((delegate* unmanaged<ID2D1Device1*, uint, void>)(lpVtbl[7]))((ID2D1Device1*)Unsafe.AsPointer(ref this), millisecondsSinceUse);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device1*, uint, void>)(lpVtbl[7]))((ID2D1Device1*)Unsafe.AsPointer(ref this), millisecondsSinceUse);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Device1::GetRenderingPriority"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Device1::GetRenderingPriority"]/*' />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1Device1 : ID2D1Device1.Interface, INativeGuid
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public RenderingPriority GetRenderingPriority()
|
public RenderingPriority GetRenderingPriority()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device1*, RenderingPriority>)(lpVtbl[8]))((ID2D1Device1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Device1*, RenderingPriority>)(lpVtbl[8]))((ID2D1Device1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device1*, RenderingPriority>)(lpVtbl[8]))((ID2D1Device1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Device1::SetRenderingPriority"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Device1::SetRenderingPriority"]/*' />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1Device1 : ID2D1Device1.Interface, INativeGuid
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public void SetRenderingPriority(RenderingPriority renderingPriority)
|
public void SetRenderingPriority(RenderingPriority renderingPriority)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device1*, RenderingPriority, void>)(lpVtbl[9]))((ID2D1Device1*)Unsafe.AsPointer(ref this), renderingPriority);
|
||||||
((delegate* unmanaged<ID2D1Device1*, RenderingPriority, void>)(lpVtbl[9]))((ID2D1Device1*)Unsafe.AsPointer(ref this), renderingPriority);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device1*, RenderingPriority, void>)(lpVtbl[9]))((ID2D1Device1*)Unsafe.AsPointer(ref this), renderingPriority);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Device1::CreateDeviceContext"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Device1::CreateDeviceContext"]/*' />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1Device1 : ID2D1Device1.Interface, INativeGuid
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext1** deviceContext1)
|
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext1** deviceContext1)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device1*, DeviceContextOptions, ID2D1DeviceContext1**, int>)(lpVtbl[10]))((ID2D1Device1*)Unsafe.AsPointer(ref this), options, deviceContext1);
|
||||||
return ((delegate* unmanaged<ID2D1Device1*, DeviceContextOptions, ID2D1DeviceContext1**, int>)(lpVtbl[10]))((ID2D1Device1*)Unsafe.AsPointer(ref this), options, deviceContext1);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device1*, DeviceContextOptions, ID2D1DeviceContext1**, int>)(lpVtbl[10]))((ID2D1Device1*)Unsafe.AsPointer(ref this), options, deviceContext1);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Device.Interface
|
public interface Interface : ID2D1Device.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1Device2 : ID2D1Device2.Interface, INativeGuid
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device2));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device2));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device2));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1Device2 : ID2D1Device2.Interface, INativeGuid
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device2*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Device2*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1Device2*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Device2*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device2*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Device2*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1Device2 : ID2D1Device2.Interface, INativeGuid
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device2*, uint>)(lpVtbl[1]))((ID2D1Device2*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Device2*, uint>)(lpVtbl[1]))((ID2D1Device2*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device2*, uint>)(lpVtbl[1]))((ID2D1Device2*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1Device2 : ID2D1Device2.Interface, INativeGuid
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device2*, uint>)(lpVtbl[2]))((ID2D1Device2*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Device2*, uint>)(lpVtbl[2]))((ID2D1Device2*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device2*, uint>)(lpVtbl[2]))((ID2D1Device2*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1Device2 : ID2D1Device2.Interface, INativeGuid
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device2*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Device2*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1Device2*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Device2*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device2*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Device2*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device.CreateDeviceContext" />
|
/// <inheritdoc cref="ID2D1Device.CreateDeviceContext" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1Device2 : ID2D1Device2.Interface, INativeGuid
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext** deviceContext)
|
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext** deviceContext)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device2*, DeviceContextOptions, ID2D1DeviceContext**, int>)(lpVtbl[4]))((ID2D1Device2*)Unsafe.AsPointer(ref this), options, deviceContext);
|
||||||
return ((delegate* unmanaged<ID2D1Device2*, DeviceContextOptions, ID2D1DeviceContext**, int>)(lpVtbl[4]))((ID2D1Device2*)Unsafe.AsPointer(ref this), options, deviceContext);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device2*, DeviceContextOptions, ID2D1DeviceContext**, int>)(lpVtbl[4]))((ID2D1Device2*)Unsafe.AsPointer(ref this), options, deviceContext);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device.SetMaximumTextureMemory" />
|
/// <inheritdoc cref="ID2D1Device.SetMaximumTextureMemory" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1Device2 : ID2D1Device2.Interface, INativeGuid
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public void SetMaximumTextureMemory(ulong maximumInBytes)
|
public void SetMaximumTextureMemory(ulong maximumInBytes)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device2*, ulong, void>)(lpVtbl[5]))((ID2D1Device2*)Unsafe.AsPointer(ref this), maximumInBytes);
|
||||||
((delegate* unmanaged<ID2D1Device2*, ulong, void>)(lpVtbl[5]))((ID2D1Device2*)Unsafe.AsPointer(ref this), maximumInBytes);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device2*, ulong, void>)(lpVtbl[5]))((ID2D1Device2*)Unsafe.AsPointer(ref this), maximumInBytes);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device.GetMaximumTextureMemory" />
|
/// <inheritdoc cref="ID2D1Device.GetMaximumTextureMemory" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1Device2 : ID2D1Device2.Interface, INativeGuid
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public ulong GetMaximumTextureMemory()
|
public ulong GetMaximumTextureMemory()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device2*, ulong>)(lpVtbl[6]))((ID2D1Device2*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Device2*, ulong>)(lpVtbl[6]))((ID2D1Device2*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device2*, ulong>)(lpVtbl[6]))((ID2D1Device2*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device.ClearResources" />
|
/// <inheritdoc cref="ID2D1Device.ClearResources" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1Device2 : ID2D1Device2.Interface, INativeGuid
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public void ClearResources(uint millisecondsSinceUse)
|
public void ClearResources(uint millisecondsSinceUse)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device2*, uint, void>)(lpVtbl[7]))((ID2D1Device2*)Unsafe.AsPointer(ref this), millisecondsSinceUse);
|
||||||
((delegate* unmanaged<ID2D1Device2*, uint, void>)(lpVtbl[7]))((ID2D1Device2*)Unsafe.AsPointer(ref this), millisecondsSinceUse);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device2*, uint, void>)(lpVtbl[7]))((ID2D1Device2*)Unsafe.AsPointer(ref this), millisecondsSinceUse);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device1.GetRenderingPriority" />
|
/// <inheritdoc cref="ID2D1Device1.GetRenderingPriority" />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1Device2 : ID2D1Device2.Interface, INativeGuid
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public RenderingPriority GetRenderingPriority()
|
public RenderingPriority GetRenderingPriority()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device2*, RenderingPriority>)(lpVtbl[8]))((ID2D1Device2*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Device2*, RenderingPriority>)(lpVtbl[8]))((ID2D1Device2*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device2*, RenderingPriority>)(lpVtbl[8]))((ID2D1Device2*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device1.SetRenderingPriority" />
|
/// <inheritdoc cref="ID2D1Device1.SetRenderingPriority" />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1Device2 : ID2D1Device2.Interface, INativeGuid
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public void SetRenderingPriority(RenderingPriority renderingPriority)
|
public void SetRenderingPriority(RenderingPriority renderingPriority)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device2*, RenderingPriority, void>)(lpVtbl[9]))((ID2D1Device2*)Unsafe.AsPointer(ref this), renderingPriority);
|
||||||
((delegate* unmanaged<ID2D1Device2*, RenderingPriority, void>)(lpVtbl[9]))((ID2D1Device2*)Unsafe.AsPointer(ref this), renderingPriority);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device2*, RenderingPriority, void>)(lpVtbl[9]))((ID2D1Device2*)Unsafe.AsPointer(ref this), renderingPriority);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device1.CreateDeviceContext" />
|
/// <inheritdoc cref="ID2D1Device1.CreateDeviceContext" />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1Device2 : ID2D1Device2.Interface, INativeGuid
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext1** deviceContext1)
|
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext1** deviceContext1)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device2*, DeviceContextOptions, ID2D1DeviceContext1**, int>)(lpVtbl[10]))((ID2D1Device2*)Unsafe.AsPointer(ref this), options, deviceContext1);
|
||||||
return ((delegate* unmanaged<ID2D1Device2*, DeviceContextOptions, ID2D1DeviceContext1**, int>)(lpVtbl[10]))((ID2D1Device2*)Unsafe.AsPointer(ref this), options, deviceContext1);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device2*, DeviceContextOptions, ID2D1DeviceContext1**, int>)(lpVtbl[10]))((ID2D1Device2*)Unsafe.AsPointer(ref this), options, deviceContext1);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Device2::CreateDeviceContext"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Device2::CreateDeviceContext"]/*' />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1Device2 : ID2D1Device2.Interface, INativeGuid
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext2** deviceContext2)
|
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext2** deviceContext2)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device2*, DeviceContextOptions, ID2D1DeviceContext2**, int>)(lpVtbl[11]))((ID2D1Device2*)Unsafe.AsPointer(ref this), options, deviceContext2);
|
||||||
return ((delegate* unmanaged<ID2D1Device2*, DeviceContextOptions, ID2D1DeviceContext2**, int>)(lpVtbl[11]))((ID2D1Device2*)Unsafe.AsPointer(ref this), options, deviceContext2);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device2*, DeviceContextOptions, ID2D1DeviceContext2**, int>)(lpVtbl[11]))((ID2D1Device2*)Unsafe.AsPointer(ref this), options, deviceContext2);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Device2::FlushDeviceContexts"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Device2::FlushDeviceContexts"]/*' />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1Device2 : ID2D1Device2.Interface, INativeGuid
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public void FlushDeviceContexts(ID2D1Bitmap* bitmap)
|
public void FlushDeviceContexts(ID2D1Bitmap* bitmap)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device2*, ID2D1Bitmap*, void>)(lpVtbl[12]))((ID2D1Device2*)Unsafe.AsPointer(ref this), bitmap);
|
||||||
((delegate* unmanaged<ID2D1Device2*, ID2D1Bitmap*, void>)(lpVtbl[12]))((ID2D1Device2*)Unsafe.AsPointer(ref this), bitmap);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device2*, ID2D1Bitmap*, void>)(lpVtbl[12]))((ID2D1Device2*)Unsafe.AsPointer(ref this), bitmap);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Device2::GetDxgiDevice"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Device2::GetDxgiDevice"]/*' />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1Device2 : ID2D1Device2.Interface, INativeGuid
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult GetDxgiDevice(Graphics.Dxgi.IDXGIDevice** dxgiDevice)
|
public HResult GetDxgiDevice(Graphics.Dxgi.IDXGIDevice** dxgiDevice)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device2*, Graphics.Dxgi.IDXGIDevice**, int>)(lpVtbl[13]))((ID2D1Device2*)Unsafe.AsPointer(ref this), dxgiDevice);
|
||||||
return ((delegate* unmanaged<ID2D1Device2*, Graphics.Dxgi.IDXGIDevice**, int>)(lpVtbl[13]))((ID2D1Device2*)Unsafe.AsPointer(ref this), dxgiDevice);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device2*, Graphics.Dxgi.IDXGIDevice**, int>)(lpVtbl[13]))((ID2D1Device2*)Unsafe.AsPointer(ref this), dxgiDevice);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Device1.Interface
|
public interface Interface : ID2D1Device1.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1Device3 : ID2D1Device3.Interface, INativeGuid
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device3));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device3));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device3));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1Device3 : ID2D1Device3.Interface, INativeGuid
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device3*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Device3*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1Device3*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Device3*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device3*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Device3*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1Device3 : ID2D1Device3.Interface, INativeGuid
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device3*, uint>)(lpVtbl[1]))((ID2D1Device3*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Device3*, uint>)(lpVtbl[1]))((ID2D1Device3*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device3*, uint>)(lpVtbl[1]))((ID2D1Device3*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1Device3 : ID2D1Device3.Interface, INativeGuid
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device3*, uint>)(lpVtbl[2]))((ID2D1Device3*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Device3*, uint>)(lpVtbl[2]))((ID2D1Device3*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device3*, uint>)(lpVtbl[2]))((ID2D1Device3*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1Device3 : ID2D1Device3.Interface, INativeGuid
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device3*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Device3*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1Device3*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Device3*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device3*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Device3*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device.CreateDeviceContext" />
|
/// <inheritdoc cref="ID2D1Device.CreateDeviceContext" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1Device3 : ID2D1Device3.Interface, INativeGuid
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext** deviceContext)
|
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext** deviceContext)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device3*, DeviceContextOptions, ID2D1DeviceContext**, int>)(lpVtbl[4]))((ID2D1Device3*)Unsafe.AsPointer(ref this), options, deviceContext);
|
||||||
return ((delegate* unmanaged<ID2D1Device3*, DeviceContextOptions, ID2D1DeviceContext**, int>)(lpVtbl[4]))((ID2D1Device3*)Unsafe.AsPointer(ref this), options, deviceContext);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device3*, DeviceContextOptions, ID2D1DeviceContext**, int>)(lpVtbl[4]))((ID2D1Device3*)Unsafe.AsPointer(ref this), options, deviceContext);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device.SetMaximumTextureMemory" />
|
/// <inheritdoc cref="ID2D1Device.SetMaximumTextureMemory" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1Device3 : ID2D1Device3.Interface, INativeGuid
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public void SetMaximumTextureMemory(ulong maximumInBytes)
|
public void SetMaximumTextureMemory(ulong maximumInBytes)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device3*, ulong, void>)(lpVtbl[5]))((ID2D1Device3*)Unsafe.AsPointer(ref this), maximumInBytes);
|
||||||
((delegate* unmanaged<ID2D1Device3*, ulong, void>)(lpVtbl[5]))((ID2D1Device3*)Unsafe.AsPointer(ref this), maximumInBytes);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device3*, ulong, void>)(lpVtbl[5]))((ID2D1Device3*)Unsafe.AsPointer(ref this), maximumInBytes);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device.GetMaximumTextureMemory" />
|
/// <inheritdoc cref="ID2D1Device.GetMaximumTextureMemory" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1Device3 : ID2D1Device3.Interface, INativeGuid
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public ulong GetMaximumTextureMemory()
|
public ulong GetMaximumTextureMemory()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device3*, ulong>)(lpVtbl[6]))((ID2D1Device3*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Device3*, ulong>)(lpVtbl[6]))((ID2D1Device3*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device3*, ulong>)(lpVtbl[6]))((ID2D1Device3*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device.ClearResources" />
|
/// <inheritdoc cref="ID2D1Device.ClearResources" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1Device3 : ID2D1Device3.Interface, INativeGuid
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public void ClearResources(uint millisecondsSinceUse)
|
public void ClearResources(uint millisecondsSinceUse)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device3*, uint, void>)(lpVtbl[7]))((ID2D1Device3*)Unsafe.AsPointer(ref this), millisecondsSinceUse);
|
||||||
((delegate* unmanaged<ID2D1Device3*, uint, void>)(lpVtbl[7]))((ID2D1Device3*)Unsafe.AsPointer(ref this), millisecondsSinceUse);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device3*, uint, void>)(lpVtbl[7]))((ID2D1Device3*)Unsafe.AsPointer(ref this), millisecondsSinceUse);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device1.GetRenderingPriority" />
|
/// <inheritdoc cref="ID2D1Device1.GetRenderingPriority" />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1Device3 : ID2D1Device3.Interface, INativeGuid
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public RenderingPriority GetRenderingPriority()
|
public RenderingPriority GetRenderingPriority()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device3*, RenderingPriority>)(lpVtbl[8]))((ID2D1Device3*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Device3*, RenderingPriority>)(lpVtbl[8]))((ID2D1Device3*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device3*, RenderingPriority>)(lpVtbl[8]))((ID2D1Device3*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device1.SetRenderingPriority" />
|
/// <inheritdoc cref="ID2D1Device1.SetRenderingPriority" />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1Device3 : ID2D1Device3.Interface, INativeGuid
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public void SetRenderingPriority(RenderingPriority renderingPriority)
|
public void SetRenderingPriority(RenderingPriority renderingPriority)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device3*, RenderingPriority, void>)(lpVtbl[9]))((ID2D1Device3*)Unsafe.AsPointer(ref this), renderingPriority);
|
||||||
((delegate* unmanaged<ID2D1Device3*, RenderingPriority, void>)(lpVtbl[9]))((ID2D1Device3*)Unsafe.AsPointer(ref this), renderingPriority);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device3*, RenderingPriority, void>)(lpVtbl[9]))((ID2D1Device3*)Unsafe.AsPointer(ref this), renderingPriority);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device1.CreateDeviceContext" />
|
/// <inheritdoc cref="ID2D1Device1.CreateDeviceContext" />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1Device3 : ID2D1Device3.Interface, INativeGuid
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext1** deviceContext1)
|
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext1** deviceContext1)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device3*, DeviceContextOptions, ID2D1DeviceContext1**, int>)(lpVtbl[10]))((ID2D1Device3*)Unsafe.AsPointer(ref this), options, deviceContext1);
|
||||||
return ((delegate* unmanaged<ID2D1Device3*, DeviceContextOptions, ID2D1DeviceContext1**, int>)(lpVtbl[10]))((ID2D1Device3*)Unsafe.AsPointer(ref this), options, deviceContext1);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device3*, DeviceContextOptions, ID2D1DeviceContext1**, int>)(lpVtbl[10]))((ID2D1Device3*)Unsafe.AsPointer(ref this), options, deviceContext1);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device2.CreateDeviceContext" />
|
/// <inheritdoc cref="ID2D1Device2.CreateDeviceContext" />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1Device3 : ID2D1Device3.Interface, INativeGuid
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext2** deviceContext2)
|
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext2** deviceContext2)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device3*, DeviceContextOptions, ID2D1DeviceContext2**, int>)(lpVtbl[11]))((ID2D1Device3*)Unsafe.AsPointer(ref this), options, deviceContext2);
|
||||||
return ((delegate* unmanaged<ID2D1Device3*, DeviceContextOptions, ID2D1DeviceContext2**, int>)(lpVtbl[11]))((ID2D1Device3*)Unsafe.AsPointer(ref this), options, deviceContext2);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device3*, DeviceContextOptions, ID2D1DeviceContext2**, int>)(lpVtbl[11]))((ID2D1Device3*)Unsafe.AsPointer(ref this), options, deviceContext2);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device2.FlushDeviceContexts" />
|
/// <inheritdoc cref="ID2D1Device2.FlushDeviceContexts" />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1Device3 : ID2D1Device3.Interface, INativeGuid
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public void FlushDeviceContexts(ID2D1Bitmap* bitmap)
|
public void FlushDeviceContexts(ID2D1Bitmap* bitmap)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device3*, ID2D1Bitmap*, void>)(lpVtbl[12]))((ID2D1Device3*)Unsafe.AsPointer(ref this), bitmap);
|
||||||
((delegate* unmanaged<ID2D1Device3*, ID2D1Bitmap*, void>)(lpVtbl[12]))((ID2D1Device3*)Unsafe.AsPointer(ref this), bitmap);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device3*, ID2D1Bitmap*, void>)(lpVtbl[12]))((ID2D1Device3*)Unsafe.AsPointer(ref this), bitmap);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device2.GetDxgiDevice" />
|
/// <inheritdoc cref="ID2D1Device2.GetDxgiDevice" />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1Device3 : ID2D1Device3.Interface, INativeGuid
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult GetDxgiDevice(Graphics.Dxgi.IDXGIDevice** dxgiDevice)
|
public HResult GetDxgiDevice(Graphics.Dxgi.IDXGIDevice** dxgiDevice)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device3*, Graphics.Dxgi.IDXGIDevice**, int>)(lpVtbl[13]))((ID2D1Device3*)Unsafe.AsPointer(ref this), dxgiDevice);
|
||||||
return ((delegate* unmanaged<ID2D1Device3*, Graphics.Dxgi.IDXGIDevice**, int>)(lpVtbl[13]))((ID2D1Device3*)Unsafe.AsPointer(ref this), dxgiDevice);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device3*, Graphics.Dxgi.IDXGIDevice**, int>)(lpVtbl[13]))((ID2D1Device3*)Unsafe.AsPointer(ref this), dxgiDevice);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Device3::CreateDeviceContext"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Device3::CreateDeviceContext"]/*' />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1Device3 : ID2D1Device3.Interface, INativeGuid
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext3** deviceContext3)
|
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext3** deviceContext3)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device3*, DeviceContextOptions, ID2D1DeviceContext3**, int>)(lpVtbl[14]))((ID2D1Device3*)Unsafe.AsPointer(ref this), options, deviceContext3);
|
||||||
return ((delegate* unmanaged<ID2D1Device3*, DeviceContextOptions, ID2D1DeviceContext3**, int>)(lpVtbl[14]))((ID2D1Device3*)Unsafe.AsPointer(ref this), options, deviceContext3);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device3*, DeviceContextOptions, ID2D1DeviceContext3**, int>)(lpVtbl[14]))((ID2D1Device3*)Unsafe.AsPointer(ref this), options, deviceContext3);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Device2.Interface
|
public interface Interface : ID2D1Device2.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1Device4 : ID2D1Device4.Interface, INativeGuid
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device4));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device4));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device4));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1Device4 : ID2D1Device4.Interface, INativeGuid
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device4*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Device4*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1Device4*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Device4*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device4*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Device4*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1Device4 : ID2D1Device4.Interface, INativeGuid
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device4*, uint>)(lpVtbl[1]))((ID2D1Device4*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Device4*, uint>)(lpVtbl[1]))((ID2D1Device4*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device4*, uint>)(lpVtbl[1]))((ID2D1Device4*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1Device4 : ID2D1Device4.Interface, INativeGuid
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device4*, uint>)(lpVtbl[2]))((ID2D1Device4*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Device4*, uint>)(lpVtbl[2]))((ID2D1Device4*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device4*, uint>)(lpVtbl[2]))((ID2D1Device4*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1Device4 : ID2D1Device4.Interface, INativeGuid
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device4*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Device4*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1Device4*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Device4*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device4*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Device4*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device.CreateDeviceContext" />
|
/// <inheritdoc cref="ID2D1Device.CreateDeviceContext" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1Device4 : ID2D1Device4.Interface, INativeGuid
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext** deviceContext)
|
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext** deviceContext)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device4*, DeviceContextOptions, ID2D1DeviceContext**, int>)(lpVtbl[4]))((ID2D1Device4*)Unsafe.AsPointer(ref this), options, deviceContext);
|
||||||
return ((delegate* unmanaged<ID2D1Device4*, DeviceContextOptions, ID2D1DeviceContext**, int>)(lpVtbl[4]))((ID2D1Device4*)Unsafe.AsPointer(ref this), options, deviceContext);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device4*, DeviceContextOptions, ID2D1DeviceContext**, int>)(lpVtbl[4]))((ID2D1Device4*)Unsafe.AsPointer(ref this), options, deviceContext);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device.SetMaximumTextureMemory" />
|
/// <inheritdoc cref="ID2D1Device.SetMaximumTextureMemory" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1Device4 : ID2D1Device4.Interface, INativeGuid
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public void SetMaximumTextureMemory(ulong maximumInBytes)
|
public void SetMaximumTextureMemory(ulong maximumInBytes)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device4*, ulong, void>)(lpVtbl[5]))((ID2D1Device4*)Unsafe.AsPointer(ref this), maximumInBytes);
|
||||||
((delegate* unmanaged<ID2D1Device4*, ulong, void>)(lpVtbl[5]))((ID2D1Device4*)Unsafe.AsPointer(ref this), maximumInBytes);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device4*, ulong, void>)(lpVtbl[5]))((ID2D1Device4*)Unsafe.AsPointer(ref this), maximumInBytes);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device.GetMaximumTextureMemory" />
|
/// <inheritdoc cref="ID2D1Device.GetMaximumTextureMemory" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1Device4 : ID2D1Device4.Interface, INativeGuid
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public ulong GetMaximumTextureMemory()
|
public ulong GetMaximumTextureMemory()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device4*, ulong>)(lpVtbl[6]))((ID2D1Device4*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Device4*, ulong>)(lpVtbl[6]))((ID2D1Device4*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device4*, ulong>)(lpVtbl[6]))((ID2D1Device4*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device.ClearResources" />
|
/// <inheritdoc cref="ID2D1Device.ClearResources" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1Device4 : ID2D1Device4.Interface, INativeGuid
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public void ClearResources(uint millisecondsSinceUse)
|
public void ClearResources(uint millisecondsSinceUse)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device4*, uint, void>)(lpVtbl[7]))((ID2D1Device4*)Unsafe.AsPointer(ref this), millisecondsSinceUse);
|
||||||
((delegate* unmanaged<ID2D1Device4*, uint, void>)(lpVtbl[7]))((ID2D1Device4*)Unsafe.AsPointer(ref this), millisecondsSinceUse);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device4*, uint, void>)(lpVtbl[7]))((ID2D1Device4*)Unsafe.AsPointer(ref this), millisecondsSinceUse);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device1.GetRenderingPriority" />
|
/// <inheritdoc cref="ID2D1Device1.GetRenderingPriority" />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1Device4 : ID2D1Device4.Interface, INativeGuid
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public RenderingPriority GetRenderingPriority()
|
public RenderingPriority GetRenderingPriority()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device4*, RenderingPriority>)(lpVtbl[8]))((ID2D1Device4*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Device4*, RenderingPriority>)(lpVtbl[8]))((ID2D1Device4*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device4*, RenderingPriority>)(lpVtbl[8]))((ID2D1Device4*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device1.SetRenderingPriority" />
|
/// <inheritdoc cref="ID2D1Device1.SetRenderingPriority" />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1Device4 : ID2D1Device4.Interface, INativeGuid
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public void SetRenderingPriority(RenderingPriority renderingPriority)
|
public void SetRenderingPriority(RenderingPriority renderingPriority)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device4*, RenderingPriority, void>)(lpVtbl[9]))((ID2D1Device4*)Unsafe.AsPointer(ref this), renderingPriority);
|
||||||
((delegate* unmanaged<ID2D1Device4*, RenderingPriority, void>)(lpVtbl[9]))((ID2D1Device4*)Unsafe.AsPointer(ref this), renderingPriority);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device4*, RenderingPriority, void>)(lpVtbl[9]))((ID2D1Device4*)Unsafe.AsPointer(ref this), renderingPriority);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device1.CreateDeviceContext" />
|
/// <inheritdoc cref="ID2D1Device1.CreateDeviceContext" />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1Device4 : ID2D1Device4.Interface, INativeGuid
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext1** deviceContext1)
|
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext1** deviceContext1)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device4*, DeviceContextOptions, ID2D1DeviceContext1**, int>)(lpVtbl[10]))((ID2D1Device4*)Unsafe.AsPointer(ref this), options, deviceContext1);
|
||||||
return ((delegate* unmanaged<ID2D1Device4*, DeviceContextOptions, ID2D1DeviceContext1**, int>)(lpVtbl[10]))((ID2D1Device4*)Unsafe.AsPointer(ref this), options, deviceContext1);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device4*, DeviceContextOptions, ID2D1DeviceContext1**, int>)(lpVtbl[10]))((ID2D1Device4*)Unsafe.AsPointer(ref this), options, deviceContext1);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device2.CreateDeviceContext" />
|
/// <inheritdoc cref="ID2D1Device2.CreateDeviceContext" />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1Device4 : ID2D1Device4.Interface, INativeGuid
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext2** deviceContext2)
|
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext2** deviceContext2)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device4*, DeviceContextOptions, ID2D1DeviceContext2**, int>)(lpVtbl[11]))((ID2D1Device4*)Unsafe.AsPointer(ref this), options, deviceContext2);
|
||||||
return ((delegate* unmanaged<ID2D1Device4*, DeviceContextOptions, ID2D1DeviceContext2**, int>)(lpVtbl[11]))((ID2D1Device4*)Unsafe.AsPointer(ref this), options, deviceContext2);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device4*, DeviceContextOptions, ID2D1DeviceContext2**, int>)(lpVtbl[11]))((ID2D1Device4*)Unsafe.AsPointer(ref this), options, deviceContext2);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device2.FlushDeviceContexts" />
|
/// <inheritdoc cref="ID2D1Device2.FlushDeviceContexts" />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1Device4 : ID2D1Device4.Interface, INativeGuid
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public void FlushDeviceContexts(ID2D1Bitmap* bitmap)
|
public void FlushDeviceContexts(ID2D1Bitmap* bitmap)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device4*, ID2D1Bitmap*, void>)(lpVtbl[12]))((ID2D1Device4*)Unsafe.AsPointer(ref this), bitmap);
|
||||||
((delegate* unmanaged<ID2D1Device4*, ID2D1Bitmap*, void>)(lpVtbl[12]))((ID2D1Device4*)Unsafe.AsPointer(ref this), bitmap);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device4*, ID2D1Bitmap*, void>)(lpVtbl[12]))((ID2D1Device4*)Unsafe.AsPointer(ref this), bitmap);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device2.GetDxgiDevice" />
|
/// <inheritdoc cref="ID2D1Device2.GetDxgiDevice" />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1Device4 : ID2D1Device4.Interface, INativeGuid
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult GetDxgiDevice(Graphics.Dxgi.IDXGIDevice** dxgiDevice)
|
public HResult GetDxgiDevice(Graphics.Dxgi.IDXGIDevice** dxgiDevice)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device4*, Graphics.Dxgi.IDXGIDevice**, int>)(lpVtbl[13]))((ID2D1Device4*)Unsafe.AsPointer(ref this), dxgiDevice);
|
||||||
return ((delegate* unmanaged<ID2D1Device4*, Graphics.Dxgi.IDXGIDevice**, int>)(lpVtbl[13]))((ID2D1Device4*)Unsafe.AsPointer(ref this), dxgiDevice);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device4*, Graphics.Dxgi.IDXGIDevice**, int>)(lpVtbl[13]))((ID2D1Device4*)Unsafe.AsPointer(ref this), dxgiDevice);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device3.CreateDeviceContext" />
|
/// <inheritdoc cref="ID2D1Device3.CreateDeviceContext" />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1Device4 : ID2D1Device4.Interface, INativeGuid
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext3** deviceContext3)
|
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext3** deviceContext3)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device4*, DeviceContextOptions, ID2D1DeviceContext3**, int>)(lpVtbl[14]))((ID2D1Device4*)Unsafe.AsPointer(ref this), options, deviceContext3);
|
||||||
return ((delegate* unmanaged<ID2D1Device4*, DeviceContextOptions, ID2D1DeviceContext3**, int>)(lpVtbl[14]))((ID2D1Device4*)Unsafe.AsPointer(ref this), options, deviceContext3);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device4*, DeviceContextOptions, ID2D1DeviceContext3**, int>)(lpVtbl[14]))((ID2D1Device4*)Unsafe.AsPointer(ref this), options, deviceContext3);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Device4::CreateDeviceContext"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Device4::CreateDeviceContext"]/*' />
|
||||||
@@ -235,11 +171,7 @@ public unsafe partial struct ID2D1Device4 : ID2D1Device4.Interface, INativeGuid
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext4** deviceContext4)
|
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext4** deviceContext4)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device4*, DeviceContextOptions, ID2D1DeviceContext4**, int>)(lpVtbl[15]))((ID2D1Device4*)Unsafe.AsPointer(ref this), options, deviceContext4);
|
||||||
return ((delegate* unmanaged<ID2D1Device4*, DeviceContextOptions, ID2D1DeviceContext4**, int>)(lpVtbl[15]))((ID2D1Device4*)Unsafe.AsPointer(ref this), options, deviceContext4);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device4*, DeviceContextOptions, ID2D1DeviceContext4**, int>)(lpVtbl[15]))((ID2D1Device4*)Unsafe.AsPointer(ref this), options, deviceContext4);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Device4::SetMaximumColorGlyphCacheMemory"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Device4::SetMaximumColorGlyphCacheMemory"]/*' />
|
||||||
@@ -247,11 +179,7 @@ public unsafe partial struct ID2D1Device4 : ID2D1Device4.Interface, INativeGuid
|
|||||||
[VtblIndex(16)]
|
[VtblIndex(16)]
|
||||||
public void SetMaximumColorGlyphCacheMemory(ulong maximumInBytes)
|
public void SetMaximumColorGlyphCacheMemory(ulong maximumInBytes)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device4*, ulong, void>)(lpVtbl[16]))((ID2D1Device4*)Unsafe.AsPointer(ref this), maximumInBytes);
|
||||||
((delegate* unmanaged<ID2D1Device4*, ulong, void>)(lpVtbl[16]))((ID2D1Device4*)Unsafe.AsPointer(ref this), maximumInBytes);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device4*, ulong, void>)(lpVtbl[16]))((ID2D1Device4*)Unsafe.AsPointer(ref this), maximumInBytes);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Device4::GetMaximumColorGlyphCacheMemory"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Device4::GetMaximumColorGlyphCacheMemory"]/*' />
|
||||||
@@ -259,11 +187,7 @@ public unsafe partial struct ID2D1Device4 : ID2D1Device4.Interface, INativeGuid
|
|||||||
[VtblIndex(17)]
|
[VtblIndex(17)]
|
||||||
public ulong GetMaximumColorGlyphCacheMemory()
|
public ulong GetMaximumColorGlyphCacheMemory()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device4*, ulong>)(lpVtbl[17]))((ID2D1Device4*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Device4*, ulong>)(lpVtbl[17]))((ID2D1Device4*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device4*, ulong>)(lpVtbl[17]))((ID2D1Device4*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Device3.Interface
|
public interface Interface : ID2D1Device3.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1Device5 : ID2D1Device5.Interface, INativeGuid
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device5));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device5));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device5));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1Device5 : ID2D1Device5.Interface, INativeGuid
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device5*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Device5*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1Device5*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Device5*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device5*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Device5*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1Device5 : ID2D1Device5.Interface, INativeGuid
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device5*, uint>)(lpVtbl[1]))((ID2D1Device5*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Device5*, uint>)(lpVtbl[1]))((ID2D1Device5*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device5*, uint>)(lpVtbl[1]))((ID2D1Device5*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1Device5 : ID2D1Device5.Interface, INativeGuid
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device5*, uint>)(lpVtbl[2]))((ID2D1Device5*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Device5*, uint>)(lpVtbl[2]))((ID2D1Device5*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device5*, uint>)(lpVtbl[2]))((ID2D1Device5*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1Device5 : ID2D1Device5.Interface, INativeGuid
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device5*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Device5*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1Device5*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Device5*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device5*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Device5*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device.CreateDeviceContext" />
|
/// <inheritdoc cref="ID2D1Device.CreateDeviceContext" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1Device5 : ID2D1Device5.Interface, INativeGuid
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext** deviceContext)
|
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext** deviceContext)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device5*, DeviceContextOptions, ID2D1DeviceContext**, int>)(lpVtbl[4]))((ID2D1Device5*)Unsafe.AsPointer(ref this), options, deviceContext);
|
||||||
return ((delegate* unmanaged<ID2D1Device5*, DeviceContextOptions, ID2D1DeviceContext**, int>)(lpVtbl[4]))((ID2D1Device5*)Unsafe.AsPointer(ref this), options, deviceContext);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device5*, DeviceContextOptions, ID2D1DeviceContext**, int>)(lpVtbl[4]))((ID2D1Device5*)Unsafe.AsPointer(ref this), options, deviceContext);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device.SetMaximumTextureMemory" />
|
/// <inheritdoc cref="ID2D1Device.SetMaximumTextureMemory" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1Device5 : ID2D1Device5.Interface, INativeGuid
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public void SetMaximumTextureMemory(ulong maximumInBytes)
|
public void SetMaximumTextureMemory(ulong maximumInBytes)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device5*, ulong, void>)(lpVtbl[5]))((ID2D1Device5*)Unsafe.AsPointer(ref this), maximumInBytes);
|
||||||
((delegate* unmanaged<ID2D1Device5*, ulong, void>)(lpVtbl[5]))((ID2D1Device5*)Unsafe.AsPointer(ref this), maximumInBytes);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device5*, ulong, void>)(lpVtbl[5]))((ID2D1Device5*)Unsafe.AsPointer(ref this), maximumInBytes);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device.GetMaximumTextureMemory" />
|
/// <inheritdoc cref="ID2D1Device.GetMaximumTextureMemory" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1Device5 : ID2D1Device5.Interface, INativeGuid
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public ulong GetMaximumTextureMemory()
|
public ulong GetMaximumTextureMemory()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device5*, ulong>)(lpVtbl[6]))((ID2D1Device5*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Device5*, ulong>)(lpVtbl[6]))((ID2D1Device5*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device5*, ulong>)(lpVtbl[6]))((ID2D1Device5*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device.ClearResources" />
|
/// <inheritdoc cref="ID2D1Device.ClearResources" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1Device5 : ID2D1Device5.Interface, INativeGuid
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public void ClearResources(uint millisecondsSinceUse)
|
public void ClearResources(uint millisecondsSinceUse)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device5*, uint, void>)(lpVtbl[7]))((ID2D1Device5*)Unsafe.AsPointer(ref this), millisecondsSinceUse);
|
||||||
((delegate* unmanaged<ID2D1Device5*, uint, void>)(lpVtbl[7]))((ID2D1Device5*)Unsafe.AsPointer(ref this), millisecondsSinceUse);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device5*, uint, void>)(lpVtbl[7]))((ID2D1Device5*)Unsafe.AsPointer(ref this), millisecondsSinceUse);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device1.GetRenderingPriority" />
|
/// <inheritdoc cref="ID2D1Device1.GetRenderingPriority" />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1Device5 : ID2D1Device5.Interface, INativeGuid
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public RenderingPriority GetRenderingPriority()
|
public RenderingPriority GetRenderingPriority()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device5*, RenderingPriority>)(lpVtbl[8]))((ID2D1Device5*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Device5*, RenderingPriority>)(lpVtbl[8]))((ID2D1Device5*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device5*, RenderingPriority>)(lpVtbl[8]))((ID2D1Device5*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device1.SetRenderingPriority" />
|
/// <inheritdoc cref="ID2D1Device1.SetRenderingPriority" />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1Device5 : ID2D1Device5.Interface, INativeGuid
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public void SetRenderingPriority(RenderingPriority renderingPriority)
|
public void SetRenderingPriority(RenderingPriority renderingPriority)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device5*, RenderingPriority, void>)(lpVtbl[9]))((ID2D1Device5*)Unsafe.AsPointer(ref this), renderingPriority);
|
||||||
((delegate* unmanaged<ID2D1Device5*, RenderingPriority, void>)(lpVtbl[9]))((ID2D1Device5*)Unsafe.AsPointer(ref this), renderingPriority);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device5*, RenderingPriority, void>)(lpVtbl[9]))((ID2D1Device5*)Unsafe.AsPointer(ref this), renderingPriority);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device1.CreateDeviceContext" />
|
/// <inheritdoc cref="ID2D1Device1.CreateDeviceContext" />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1Device5 : ID2D1Device5.Interface, INativeGuid
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext1** deviceContext1)
|
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext1** deviceContext1)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device5*, DeviceContextOptions, ID2D1DeviceContext1**, int>)(lpVtbl[10]))((ID2D1Device5*)Unsafe.AsPointer(ref this), options, deviceContext1);
|
||||||
return ((delegate* unmanaged<ID2D1Device5*, DeviceContextOptions, ID2D1DeviceContext1**, int>)(lpVtbl[10]))((ID2D1Device5*)Unsafe.AsPointer(ref this), options, deviceContext1);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device5*, DeviceContextOptions, ID2D1DeviceContext1**, int>)(lpVtbl[10]))((ID2D1Device5*)Unsafe.AsPointer(ref this), options, deviceContext1);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device2.CreateDeviceContext" />
|
/// <inheritdoc cref="ID2D1Device2.CreateDeviceContext" />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1Device5 : ID2D1Device5.Interface, INativeGuid
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext2** deviceContext2)
|
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext2** deviceContext2)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device5*, DeviceContextOptions, ID2D1DeviceContext2**, int>)(lpVtbl[11]))((ID2D1Device5*)Unsafe.AsPointer(ref this), options, deviceContext2);
|
||||||
return ((delegate* unmanaged<ID2D1Device5*, DeviceContextOptions, ID2D1DeviceContext2**, int>)(lpVtbl[11]))((ID2D1Device5*)Unsafe.AsPointer(ref this), options, deviceContext2);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device5*, DeviceContextOptions, ID2D1DeviceContext2**, int>)(lpVtbl[11]))((ID2D1Device5*)Unsafe.AsPointer(ref this), options, deviceContext2);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device2.FlushDeviceContexts" />
|
/// <inheritdoc cref="ID2D1Device2.FlushDeviceContexts" />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1Device5 : ID2D1Device5.Interface, INativeGuid
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public void FlushDeviceContexts(ID2D1Bitmap* bitmap)
|
public void FlushDeviceContexts(ID2D1Bitmap* bitmap)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device5*, ID2D1Bitmap*, void>)(lpVtbl[12]))((ID2D1Device5*)Unsafe.AsPointer(ref this), bitmap);
|
||||||
((delegate* unmanaged<ID2D1Device5*, ID2D1Bitmap*, void>)(lpVtbl[12]))((ID2D1Device5*)Unsafe.AsPointer(ref this), bitmap);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device5*, ID2D1Bitmap*, void>)(lpVtbl[12]))((ID2D1Device5*)Unsafe.AsPointer(ref this), bitmap);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device2.GetDxgiDevice" />
|
/// <inheritdoc cref="ID2D1Device2.GetDxgiDevice" />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1Device5 : ID2D1Device5.Interface, INativeGuid
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult GetDxgiDevice(Graphics.Dxgi.IDXGIDevice** dxgiDevice)
|
public HResult GetDxgiDevice(Graphics.Dxgi.IDXGIDevice** dxgiDevice)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device5*, Graphics.Dxgi.IDXGIDevice**, int>)(lpVtbl[13]))((ID2D1Device5*)Unsafe.AsPointer(ref this), dxgiDevice);
|
||||||
return ((delegate* unmanaged<ID2D1Device5*, Graphics.Dxgi.IDXGIDevice**, int>)(lpVtbl[13]))((ID2D1Device5*)Unsafe.AsPointer(ref this), dxgiDevice);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device5*, Graphics.Dxgi.IDXGIDevice**, int>)(lpVtbl[13]))((ID2D1Device5*)Unsafe.AsPointer(ref this), dxgiDevice);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device3.CreateDeviceContext" />
|
/// <inheritdoc cref="ID2D1Device3.CreateDeviceContext" />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1Device5 : ID2D1Device5.Interface, INativeGuid
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext3** deviceContext3)
|
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext3** deviceContext3)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device5*, DeviceContextOptions, ID2D1DeviceContext3**, int>)(lpVtbl[14]))((ID2D1Device5*)Unsafe.AsPointer(ref this), options, deviceContext3);
|
||||||
return ((delegate* unmanaged<ID2D1Device5*, DeviceContextOptions, ID2D1DeviceContext3**, int>)(lpVtbl[14]))((ID2D1Device5*)Unsafe.AsPointer(ref this), options, deviceContext3);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device5*, DeviceContextOptions, ID2D1DeviceContext3**, int>)(lpVtbl[14]))((ID2D1Device5*)Unsafe.AsPointer(ref this), options, deviceContext3);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device4.CreateDeviceContext" />
|
/// <inheritdoc cref="ID2D1Device4.CreateDeviceContext" />
|
||||||
@@ -235,11 +171,7 @@ public unsafe partial struct ID2D1Device5 : ID2D1Device5.Interface, INativeGuid
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext4** deviceContext4)
|
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext4** deviceContext4)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device5*, DeviceContextOptions, ID2D1DeviceContext4**, int>)(lpVtbl[15]))((ID2D1Device5*)Unsafe.AsPointer(ref this), options, deviceContext4);
|
||||||
return ((delegate* unmanaged<ID2D1Device5*, DeviceContextOptions, ID2D1DeviceContext4**, int>)(lpVtbl[15]))((ID2D1Device5*)Unsafe.AsPointer(ref this), options, deviceContext4);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device5*, DeviceContextOptions, ID2D1DeviceContext4**, int>)(lpVtbl[15]))((ID2D1Device5*)Unsafe.AsPointer(ref this), options, deviceContext4);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device4.SetMaximumColorGlyphCacheMemory" />
|
/// <inheritdoc cref="ID2D1Device4.SetMaximumColorGlyphCacheMemory" />
|
||||||
@@ -247,11 +179,7 @@ public unsafe partial struct ID2D1Device5 : ID2D1Device5.Interface, INativeGuid
|
|||||||
[VtblIndex(16)]
|
[VtblIndex(16)]
|
||||||
public void SetMaximumColorGlyphCacheMemory(ulong maximumInBytes)
|
public void SetMaximumColorGlyphCacheMemory(ulong maximumInBytes)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device5*, ulong, void>)(lpVtbl[16]))((ID2D1Device5*)Unsafe.AsPointer(ref this), maximumInBytes);
|
||||||
((delegate* unmanaged<ID2D1Device5*, ulong, void>)(lpVtbl[16]))((ID2D1Device5*)Unsafe.AsPointer(ref this), maximumInBytes);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device5*, ulong, void>)(lpVtbl[16]))((ID2D1Device5*)Unsafe.AsPointer(ref this), maximumInBytes);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device4.GetMaximumColorGlyphCacheMemory" />
|
/// <inheritdoc cref="ID2D1Device4.GetMaximumColorGlyphCacheMemory" />
|
||||||
@@ -259,11 +187,7 @@ public unsafe partial struct ID2D1Device5 : ID2D1Device5.Interface, INativeGuid
|
|||||||
[VtblIndex(17)]
|
[VtblIndex(17)]
|
||||||
public ulong GetMaximumColorGlyphCacheMemory()
|
public ulong GetMaximumColorGlyphCacheMemory()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device5*, ulong>)(lpVtbl[17]))((ID2D1Device5*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Device5*, ulong>)(lpVtbl[17]))((ID2D1Device5*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device5*, ulong>)(lpVtbl[17]))((ID2D1Device5*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Device5::CreateDeviceContext"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Device5::CreateDeviceContext"]/*' />
|
||||||
@@ -271,11 +195,7 @@ public unsafe partial struct ID2D1Device5 : ID2D1Device5.Interface, INativeGuid
|
|||||||
[VtblIndex(18)]
|
[VtblIndex(18)]
|
||||||
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext5** deviceContext5)
|
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext5** deviceContext5)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device5*, DeviceContextOptions, ID2D1DeviceContext5**, int>)(lpVtbl[18]))((ID2D1Device5*)Unsafe.AsPointer(ref this), options, deviceContext5);
|
||||||
return ((delegate* unmanaged<ID2D1Device5*, DeviceContextOptions, ID2D1DeviceContext5**, int>)(lpVtbl[18]))((ID2D1Device5*)Unsafe.AsPointer(ref this), options, deviceContext5);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device5*, DeviceContextOptions, ID2D1DeviceContext5**, int>)(lpVtbl[18]))((ID2D1Device5*)Unsafe.AsPointer(ref this), options, deviceContext5);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Device4.Interface
|
public interface Interface : ID2D1Device4.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1Device6 : ID2D1Device6.Interface, INativeGuid
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device6));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device6));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device6));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1Device6 : ID2D1Device6.Interface, INativeGuid
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device6*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Device6*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1Device6*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Device6*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device6*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Device6*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1Device6 : ID2D1Device6.Interface, INativeGuid
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device6*, uint>)(lpVtbl[1]))((ID2D1Device6*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Device6*, uint>)(lpVtbl[1]))((ID2D1Device6*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device6*, uint>)(lpVtbl[1]))((ID2D1Device6*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1Device6 : ID2D1Device6.Interface, INativeGuid
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device6*, uint>)(lpVtbl[2]))((ID2D1Device6*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Device6*, uint>)(lpVtbl[2]))((ID2D1Device6*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device6*, uint>)(lpVtbl[2]))((ID2D1Device6*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1Device6 : ID2D1Device6.Interface, INativeGuid
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device6*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Device6*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1Device6*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Device6*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device6*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Device6*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device.CreateDeviceContext" />
|
/// <inheritdoc cref="ID2D1Device.CreateDeviceContext" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1Device6 : ID2D1Device6.Interface, INativeGuid
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext** deviceContext)
|
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext** deviceContext)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device6*, DeviceContextOptions, ID2D1DeviceContext**, int>)(lpVtbl[4]))((ID2D1Device6*)Unsafe.AsPointer(ref this), options, deviceContext);
|
||||||
return ((delegate* unmanaged<ID2D1Device6*, DeviceContextOptions, ID2D1DeviceContext**, int>)(lpVtbl[4]))((ID2D1Device6*)Unsafe.AsPointer(ref this), options, deviceContext);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device6*, DeviceContextOptions, ID2D1DeviceContext**, int>)(lpVtbl[4]))((ID2D1Device6*)Unsafe.AsPointer(ref this), options, deviceContext);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device.SetMaximumTextureMemory" />
|
/// <inheritdoc cref="ID2D1Device.SetMaximumTextureMemory" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1Device6 : ID2D1Device6.Interface, INativeGuid
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public void SetMaximumTextureMemory(ulong maximumInBytes)
|
public void SetMaximumTextureMemory(ulong maximumInBytes)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device6*, ulong, void>)(lpVtbl[5]))((ID2D1Device6*)Unsafe.AsPointer(ref this), maximumInBytes);
|
||||||
((delegate* unmanaged<ID2D1Device6*, ulong, void>)(lpVtbl[5]))((ID2D1Device6*)Unsafe.AsPointer(ref this), maximumInBytes);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device6*, ulong, void>)(lpVtbl[5]))((ID2D1Device6*)Unsafe.AsPointer(ref this), maximumInBytes);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device.GetMaximumTextureMemory" />
|
/// <inheritdoc cref="ID2D1Device.GetMaximumTextureMemory" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1Device6 : ID2D1Device6.Interface, INativeGuid
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public ulong GetMaximumTextureMemory()
|
public ulong GetMaximumTextureMemory()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device6*, ulong>)(lpVtbl[6]))((ID2D1Device6*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Device6*, ulong>)(lpVtbl[6]))((ID2D1Device6*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device6*, ulong>)(lpVtbl[6]))((ID2D1Device6*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device.ClearResources" />
|
/// <inheritdoc cref="ID2D1Device.ClearResources" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1Device6 : ID2D1Device6.Interface, INativeGuid
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public void ClearResources(uint millisecondsSinceUse)
|
public void ClearResources(uint millisecondsSinceUse)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device6*, uint, void>)(lpVtbl[7]))((ID2D1Device6*)Unsafe.AsPointer(ref this), millisecondsSinceUse);
|
||||||
((delegate* unmanaged<ID2D1Device6*, uint, void>)(lpVtbl[7]))((ID2D1Device6*)Unsafe.AsPointer(ref this), millisecondsSinceUse);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device6*, uint, void>)(lpVtbl[7]))((ID2D1Device6*)Unsafe.AsPointer(ref this), millisecondsSinceUse);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device1.GetRenderingPriority" />
|
/// <inheritdoc cref="ID2D1Device1.GetRenderingPriority" />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1Device6 : ID2D1Device6.Interface, INativeGuid
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public RenderingPriority GetRenderingPriority()
|
public RenderingPriority GetRenderingPriority()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device6*, RenderingPriority>)(lpVtbl[8]))((ID2D1Device6*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Device6*, RenderingPriority>)(lpVtbl[8]))((ID2D1Device6*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device6*, RenderingPriority>)(lpVtbl[8]))((ID2D1Device6*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device1.SetRenderingPriority" />
|
/// <inheritdoc cref="ID2D1Device1.SetRenderingPriority" />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1Device6 : ID2D1Device6.Interface, INativeGuid
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public void SetRenderingPriority(RenderingPriority renderingPriority)
|
public void SetRenderingPriority(RenderingPriority renderingPriority)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device6*, RenderingPriority, void>)(lpVtbl[9]))((ID2D1Device6*)Unsafe.AsPointer(ref this), renderingPriority);
|
||||||
((delegate* unmanaged<ID2D1Device6*, RenderingPriority, void>)(lpVtbl[9]))((ID2D1Device6*)Unsafe.AsPointer(ref this), renderingPriority);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device6*, RenderingPriority, void>)(lpVtbl[9]))((ID2D1Device6*)Unsafe.AsPointer(ref this), renderingPriority);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device1.CreateDeviceContext" />
|
/// <inheritdoc cref="ID2D1Device1.CreateDeviceContext" />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1Device6 : ID2D1Device6.Interface, INativeGuid
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext1** deviceContext1)
|
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext1** deviceContext1)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device6*, DeviceContextOptions, ID2D1DeviceContext1**, int>)(lpVtbl[10]))((ID2D1Device6*)Unsafe.AsPointer(ref this), options, deviceContext1);
|
||||||
return ((delegate* unmanaged<ID2D1Device6*, DeviceContextOptions, ID2D1DeviceContext1**, int>)(lpVtbl[10]))((ID2D1Device6*)Unsafe.AsPointer(ref this), options, deviceContext1);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device6*, DeviceContextOptions, ID2D1DeviceContext1**, int>)(lpVtbl[10]))((ID2D1Device6*)Unsafe.AsPointer(ref this), options, deviceContext1);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device2.CreateDeviceContext" />
|
/// <inheritdoc cref="ID2D1Device2.CreateDeviceContext" />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1Device6 : ID2D1Device6.Interface, INativeGuid
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext2** deviceContext2)
|
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext2** deviceContext2)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device6*, DeviceContextOptions, ID2D1DeviceContext2**, int>)(lpVtbl[11]))((ID2D1Device6*)Unsafe.AsPointer(ref this), options, deviceContext2);
|
||||||
return ((delegate* unmanaged<ID2D1Device6*, DeviceContextOptions, ID2D1DeviceContext2**, int>)(lpVtbl[11]))((ID2D1Device6*)Unsafe.AsPointer(ref this), options, deviceContext2);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device6*, DeviceContextOptions, ID2D1DeviceContext2**, int>)(lpVtbl[11]))((ID2D1Device6*)Unsafe.AsPointer(ref this), options, deviceContext2);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device2.FlushDeviceContexts" />
|
/// <inheritdoc cref="ID2D1Device2.FlushDeviceContexts" />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1Device6 : ID2D1Device6.Interface, INativeGuid
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public void FlushDeviceContexts(ID2D1Bitmap* bitmap)
|
public void FlushDeviceContexts(ID2D1Bitmap* bitmap)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device6*, ID2D1Bitmap*, void>)(lpVtbl[12]))((ID2D1Device6*)Unsafe.AsPointer(ref this), bitmap);
|
||||||
((delegate* unmanaged<ID2D1Device6*, ID2D1Bitmap*, void>)(lpVtbl[12]))((ID2D1Device6*)Unsafe.AsPointer(ref this), bitmap);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device6*, ID2D1Bitmap*, void>)(lpVtbl[12]))((ID2D1Device6*)Unsafe.AsPointer(ref this), bitmap);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device2.GetDxgiDevice" />
|
/// <inheritdoc cref="ID2D1Device2.GetDxgiDevice" />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1Device6 : ID2D1Device6.Interface, INativeGuid
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult GetDxgiDevice(Graphics.Dxgi.IDXGIDevice** dxgiDevice)
|
public HResult GetDxgiDevice(Graphics.Dxgi.IDXGIDevice** dxgiDevice)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device6*, Graphics.Dxgi.IDXGIDevice**, int>)(lpVtbl[13]))((ID2D1Device6*)Unsafe.AsPointer(ref this), dxgiDevice);
|
||||||
return ((delegate* unmanaged<ID2D1Device6*, Graphics.Dxgi.IDXGIDevice**, int>)(lpVtbl[13]))((ID2D1Device6*)Unsafe.AsPointer(ref this), dxgiDevice);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device6*, Graphics.Dxgi.IDXGIDevice**, int>)(lpVtbl[13]))((ID2D1Device6*)Unsafe.AsPointer(ref this), dxgiDevice);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device3.CreateDeviceContext" />
|
/// <inheritdoc cref="ID2D1Device3.CreateDeviceContext" />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1Device6 : ID2D1Device6.Interface, INativeGuid
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext3** deviceContext3)
|
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext3** deviceContext3)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device6*, DeviceContextOptions, ID2D1DeviceContext3**, int>)(lpVtbl[14]))((ID2D1Device6*)Unsafe.AsPointer(ref this), options, deviceContext3);
|
||||||
return ((delegate* unmanaged<ID2D1Device6*, DeviceContextOptions, ID2D1DeviceContext3**, int>)(lpVtbl[14]))((ID2D1Device6*)Unsafe.AsPointer(ref this), options, deviceContext3);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device6*, DeviceContextOptions, ID2D1DeviceContext3**, int>)(lpVtbl[14]))((ID2D1Device6*)Unsafe.AsPointer(ref this), options, deviceContext3);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device4.CreateDeviceContext" />
|
/// <inheritdoc cref="ID2D1Device4.CreateDeviceContext" />
|
||||||
@@ -235,11 +171,7 @@ public unsafe partial struct ID2D1Device6 : ID2D1Device6.Interface, INativeGuid
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext4** deviceContext4)
|
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext4** deviceContext4)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device6*, DeviceContextOptions, ID2D1DeviceContext4**, int>)(lpVtbl[15]))((ID2D1Device6*)Unsafe.AsPointer(ref this), options, deviceContext4);
|
||||||
return ((delegate* unmanaged<ID2D1Device6*, DeviceContextOptions, ID2D1DeviceContext4**, int>)(lpVtbl[15]))((ID2D1Device6*)Unsafe.AsPointer(ref this), options, deviceContext4);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device6*, DeviceContextOptions, ID2D1DeviceContext4**, int>)(lpVtbl[15]))((ID2D1Device6*)Unsafe.AsPointer(ref this), options, deviceContext4);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device4.SetMaximumColorGlyphCacheMemory" />
|
/// <inheritdoc cref="ID2D1Device4.SetMaximumColorGlyphCacheMemory" />
|
||||||
@@ -247,11 +179,7 @@ public unsafe partial struct ID2D1Device6 : ID2D1Device6.Interface, INativeGuid
|
|||||||
[VtblIndex(16)]
|
[VtblIndex(16)]
|
||||||
public void SetMaximumColorGlyphCacheMemory(ulong maximumInBytes)
|
public void SetMaximumColorGlyphCacheMemory(ulong maximumInBytes)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Device6*, ulong, void>)(lpVtbl[16]))((ID2D1Device6*)Unsafe.AsPointer(ref this), maximumInBytes);
|
||||||
((delegate* unmanaged<ID2D1Device6*, ulong, void>)(lpVtbl[16]))((ID2D1Device6*)Unsafe.AsPointer(ref this), maximumInBytes);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Device6*, ulong, void>)(lpVtbl[16]))((ID2D1Device6*)Unsafe.AsPointer(ref this), maximumInBytes);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device4.GetMaximumColorGlyphCacheMemory" />
|
/// <inheritdoc cref="ID2D1Device4.GetMaximumColorGlyphCacheMemory" />
|
||||||
@@ -259,11 +187,7 @@ public unsafe partial struct ID2D1Device6 : ID2D1Device6.Interface, INativeGuid
|
|||||||
[VtblIndex(17)]
|
[VtblIndex(17)]
|
||||||
public ulong GetMaximumColorGlyphCacheMemory()
|
public ulong GetMaximumColorGlyphCacheMemory()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device6*, ulong>)(lpVtbl[17]))((ID2D1Device6*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Device6*, ulong>)(lpVtbl[17]))((ID2D1Device6*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device6*, ulong>)(lpVtbl[17]))((ID2D1Device6*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Device5.CreateDeviceContext" />
|
/// <inheritdoc cref="ID2D1Device5.CreateDeviceContext" />
|
||||||
@@ -271,11 +195,7 @@ public unsafe partial struct ID2D1Device6 : ID2D1Device6.Interface, INativeGuid
|
|||||||
[VtblIndex(18)]
|
[VtblIndex(18)]
|
||||||
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext5** deviceContext5)
|
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext5** deviceContext5)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device6*, DeviceContextOptions, ID2D1DeviceContext5**, int>)(lpVtbl[18]))((ID2D1Device6*)Unsafe.AsPointer(ref this), options, deviceContext5);
|
||||||
return ((delegate* unmanaged<ID2D1Device6*, DeviceContextOptions, ID2D1DeviceContext5**, int>)(lpVtbl[18]))((ID2D1Device6*)Unsafe.AsPointer(ref this), options, deviceContext5);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device6*, DeviceContextOptions, ID2D1DeviceContext5**, int>)(lpVtbl[18]))((ID2D1Device6*)Unsafe.AsPointer(ref this), options, deviceContext5);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Device6::CreateDeviceContext"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Device6::CreateDeviceContext"]/*' />
|
||||||
@@ -283,11 +203,7 @@ public unsafe partial struct ID2D1Device6 : ID2D1Device6.Interface, INativeGuid
|
|||||||
[VtblIndex(19)]
|
[VtblIndex(19)]
|
||||||
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext6** deviceContext6)
|
public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext6** deviceContext6)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Device6*, DeviceContextOptions, ID2D1DeviceContext6**, int>)(lpVtbl[19]))((ID2D1Device6*)Unsafe.AsPointer(ref this), options, deviceContext6);
|
||||||
return ((delegate* unmanaged<ID2D1Device6*, DeviceContextOptions, ID2D1DeviceContext6**, int>)(lpVtbl[19]))((ID2D1Device6*)Unsafe.AsPointer(ref this), options, deviceContext6);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Device6*, DeviceContextOptions, ID2D1DeviceContext6**, int>)(lpVtbl[19]))((ID2D1Device6*)Unsafe.AsPointer(ref this), options, deviceContext6);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Device5.Interface
|
public interface Interface : ID2D1Device5.Interface
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1DrawInfo : ID2D1DrawInfo.Interface, INativeGui
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DrawInfo));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DrawInfo));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DrawInfo));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1DrawInfo : ID2D1DrawInfo.Interface, INativeGui
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DrawInfo*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1DrawInfo*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DrawInfo*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1DrawInfo : ID2D1DrawInfo.Interface, INativeGui
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DrawInfo*, uint>)(lpVtbl[1]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1DrawInfo*, uint>)(lpVtbl[1]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DrawInfo*, uint>)(lpVtbl[1]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1DrawInfo : ID2D1DrawInfo.Interface, INativeGui
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DrawInfo*, uint>)(lpVtbl[2]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1DrawInfo*, uint>)(lpVtbl[2]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DrawInfo*, uint>)(lpVtbl[2]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderInfo.SetInputDescription" />
|
/// <inheritdoc cref="ID2D1RenderInfo.SetInputDescription" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1DrawInfo : ID2D1DrawInfo.Interface, INativeGui
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public HResult SetInputDescription(uint inputIndex, InputDescription inputDescription)
|
public HResult SetInputDescription(uint inputIndex, InputDescription inputDescription)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DrawInfo*, uint, InputDescription, int>)(lpVtbl[3]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), inputIndex, inputDescription);
|
||||||
return ((delegate* unmanaged<ID2D1DrawInfo*, uint, InputDescription, int>)(lpVtbl[3]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), inputIndex, inputDescription);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DrawInfo*, uint, InputDescription, int>)(lpVtbl[3]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), inputIndex, inputDescription);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderInfo.SetOutputBuffer" />
|
/// <inheritdoc cref="ID2D1RenderInfo.SetOutputBuffer" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1DrawInfo : ID2D1DrawInfo.Interface, INativeGui
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult SetOutputBuffer(BufferPrecision bufferPrecision, ChannelDepth channelDepth)
|
public HResult SetOutputBuffer(BufferPrecision bufferPrecision, ChannelDepth channelDepth)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DrawInfo*, BufferPrecision, ChannelDepth, int>)(lpVtbl[4]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), bufferPrecision, channelDepth);
|
||||||
return ((delegate* unmanaged<ID2D1DrawInfo*, BufferPrecision, ChannelDepth, int>)(lpVtbl[4]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), bufferPrecision, channelDepth);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DrawInfo*, BufferPrecision, ChannelDepth, int>)(lpVtbl[4]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), bufferPrecision, channelDepth);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderInfo.SetCached" />
|
/// <inheritdoc cref="ID2D1RenderInfo.SetCached" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1DrawInfo : ID2D1DrawInfo.Interface, INativeGui
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public void SetCached(Bool32 isCached)
|
public void SetCached(Bool32 isCached)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DrawInfo*, Bool32, void>)(lpVtbl[5]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), isCached);
|
||||||
((delegate* unmanaged<ID2D1DrawInfo*, Bool32, void>)(lpVtbl[5]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), isCached);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DrawInfo*, Bool32, void>)(lpVtbl[5]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), isCached);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderInfo.SetInstructionCountHint" />
|
/// <inheritdoc cref="ID2D1RenderInfo.SetInstructionCountHint" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1DrawInfo : ID2D1DrawInfo.Interface, INativeGui
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public void SetInstructionCountHint(uint instructionCount)
|
public void SetInstructionCountHint(uint instructionCount)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DrawInfo*, uint, void>)(lpVtbl[6]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), instructionCount);
|
||||||
((delegate* unmanaged<ID2D1DrawInfo*, uint, void>)(lpVtbl[6]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), instructionCount);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DrawInfo*, uint, void>)(lpVtbl[6]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), instructionCount);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1DrawInfo::SetPixelShaderConstantBuffer"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1DrawInfo::SetPixelShaderConstantBuffer"]/*' />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1DrawInfo : ID2D1DrawInfo.Interface, INativeGui
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public HResult SetPixelShaderConstantBuffer(byte* buffer, uint bufferCount)
|
public HResult SetPixelShaderConstantBuffer(byte* buffer, uint bufferCount)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DrawInfo*, byte*, uint, int>)(lpVtbl[7]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), buffer, bufferCount);
|
||||||
return ((delegate* unmanaged<ID2D1DrawInfo*, byte*, uint, int>)(lpVtbl[7]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), buffer, bufferCount);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DrawInfo*, byte*, uint, int>)(lpVtbl[7]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), buffer, bufferCount);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1DrawInfo::SetResourceTexture"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1DrawInfo::SetResourceTexture"]/*' />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1DrawInfo : ID2D1DrawInfo.Interface, INativeGui
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult SetResourceTexture(uint textureIndex, ID2D1ResourceTexture* resourceTexture)
|
public HResult SetResourceTexture(uint textureIndex, ID2D1ResourceTexture* resourceTexture)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DrawInfo*, uint, ID2D1ResourceTexture*, int>)(lpVtbl[8]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), textureIndex, resourceTexture);
|
||||||
return ((delegate* unmanaged<ID2D1DrawInfo*, uint, ID2D1ResourceTexture*, int>)(lpVtbl[8]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), textureIndex, resourceTexture);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DrawInfo*, uint, ID2D1ResourceTexture*, int>)(lpVtbl[8]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), textureIndex, resourceTexture);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1DrawInfo::SetVertexShaderConstantBuffer"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1DrawInfo::SetVertexShaderConstantBuffer"]/*' />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1DrawInfo : ID2D1DrawInfo.Interface, INativeGui
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult SetVertexShaderConstantBuffer(byte* buffer, uint bufferCount)
|
public HResult SetVertexShaderConstantBuffer(byte* buffer, uint bufferCount)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DrawInfo*, byte*, uint, int>)(lpVtbl[9]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), buffer, bufferCount);
|
||||||
return ((delegate* unmanaged<ID2D1DrawInfo*, byte*, uint, int>)(lpVtbl[9]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), buffer, bufferCount);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DrawInfo*, byte*, uint, int>)(lpVtbl[9]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), buffer, bufferCount);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1DrawInfo::SetPixelShader"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1DrawInfo::SetPixelShader"]/*' />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1DrawInfo : ID2D1DrawInfo.Interface, INativeGui
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult SetPixelShader(Guid* shaderId, PixelOptions pixelOptions)
|
public HResult SetPixelShader(Guid* shaderId, PixelOptions pixelOptions)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DrawInfo*, Guid*, PixelOptions, int>)(lpVtbl[10]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), shaderId, pixelOptions);
|
||||||
return ((delegate* unmanaged<ID2D1DrawInfo*, Guid*, PixelOptions, int>)(lpVtbl[10]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), shaderId, pixelOptions);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DrawInfo*, Guid*, PixelOptions, int>)(lpVtbl[10]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), shaderId, pixelOptions);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1DrawInfo::SetVertexProcessing"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1DrawInfo::SetVertexProcessing"]/*' />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1DrawInfo : ID2D1DrawInfo.Interface, INativeGui
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult SetVertexProcessing(ID2D1VertexBuffer* vertexBuffer, VertexOptions vertexOptions, BlendDescription* blendDescription, VertexRange* vertexRange, Guid* vertexShader)
|
public HResult SetVertexProcessing(ID2D1VertexBuffer* vertexBuffer, VertexOptions vertexOptions, BlendDescription* blendDescription, VertexRange* vertexRange, Guid* vertexShader)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DrawInfo*, ID2D1VertexBuffer*, VertexOptions, BlendDescription*, VertexRange*, Guid*, int>)(lpVtbl[11]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), vertexBuffer, vertexOptions, blendDescription, vertexRange, vertexShader);
|
||||||
return ((delegate* unmanaged<ID2D1DrawInfo*, ID2D1VertexBuffer*, VertexOptions, BlendDescription*, VertexRange*, Guid*, int>)(lpVtbl[11]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), vertexBuffer, vertexOptions, blendDescription, vertexRange, vertexShader);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DrawInfo*, ID2D1VertexBuffer*, VertexOptions, BlendDescription*, VertexRange*, Guid*, int>)(lpVtbl[11]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), vertexBuffer, vertexOptions, blendDescription, vertexRange, vertexShader);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1RenderInfo.Interface
|
public interface Interface : ID2D1RenderInfo.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1DrawTransform : ID2D1DrawTransform.Interface,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DrawTransform));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DrawTransform));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DrawTransform));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1DrawTransform : ID2D1DrawTransform.Interface,
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DrawTransform*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1DrawTransform*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1DrawTransform*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1DrawTransform*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DrawTransform*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1DrawTransform*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1DrawTransform : ID2D1DrawTransform.Interface,
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DrawTransform*, uint>)(lpVtbl[1]))((ID2D1DrawTransform*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1DrawTransform*, uint>)(lpVtbl[1]))((ID2D1DrawTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DrawTransform*, uint>)(lpVtbl[1]))((ID2D1DrawTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1DrawTransform : ID2D1DrawTransform.Interface,
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DrawTransform*, uint>)(lpVtbl[2]))((ID2D1DrawTransform*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1DrawTransform*, uint>)(lpVtbl[2]))((ID2D1DrawTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DrawTransform*, uint>)(lpVtbl[2]))((ID2D1DrawTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1TransformNode.GetInputCount" />
|
/// <inheritdoc cref="ID2D1TransformNode.GetInputCount" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1DrawTransform : ID2D1DrawTransform.Interface,
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public uint GetInputCount()
|
public uint GetInputCount()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DrawTransform*, uint>)(lpVtbl[3]))((ID2D1DrawTransform*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1DrawTransform*, uint>)(lpVtbl[3]))((ID2D1DrawTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DrawTransform*, uint>)(lpVtbl[3]))((ID2D1DrawTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Transform.MapOutputRectToInputRects" />
|
/// <inheritdoc cref="ID2D1Transform.MapOutputRectToInputRects" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1DrawTransform : ID2D1DrawTransform.Interface,
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult MapOutputRectToInputRects(Rect* outputRect, Rect* inputRects, uint inputRectsCount)
|
public HResult MapOutputRectToInputRects(Rect* outputRect, Rect* inputRects, uint inputRectsCount)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DrawTransform*, Rect*, Rect*, uint, int>)(lpVtbl[4]))((ID2D1DrawTransform*)Unsafe.AsPointer(ref this), outputRect, inputRects, inputRectsCount);
|
||||||
return ((delegate* unmanaged<ID2D1DrawTransform*, Rect*, Rect*, uint, int>)(lpVtbl[4]))((ID2D1DrawTransform*)Unsafe.AsPointer(ref this), outputRect, inputRects, inputRectsCount);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DrawTransform*, Rect*, Rect*, uint, int>)(lpVtbl[4]))((ID2D1DrawTransform*)Unsafe.AsPointer(ref this), outputRect, inputRects, inputRectsCount);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Transform.MapInputRectsToOutputRect" />
|
/// <inheritdoc cref="ID2D1Transform.MapInputRectsToOutputRect" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1DrawTransform : ID2D1DrawTransform.Interface,
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult MapInputRectsToOutputRect(Rect* inputRects, Rect* inputOpaqueSubRects, uint inputRectCount, Rect* outputRect, Rect* outputOpaqueSubRect)
|
public HResult MapInputRectsToOutputRect(Rect* inputRects, Rect* inputOpaqueSubRects, uint inputRectCount, Rect* outputRect, Rect* outputOpaqueSubRect)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DrawTransform*, Rect*, Rect*, uint, Rect*, Rect*, int>)(lpVtbl[5]))((ID2D1DrawTransform*)Unsafe.AsPointer(ref this), inputRects, inputOpaqueSubRects, inputRectCount, outputRect, outputOpaqueSubRect);
|
||||||
return ((delegate* unmanaged<ID2D1DrawTransform*, Rect*, Rect*, uint, Rect*, Rect*, int>)(lpVtbl[5]))((ID2D1DrawTransform*)Unsafe.AsPointer(ref this), inputRects, inputOpaqueSubRects, inputRectCount, outputRect, outputOpaqueSubRect);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DrawTransform*, Rect*, Rect*, uint, Rect*, Rect*, int>)(lpVtbl[5]))((ID2D1DrawTransform*)Unsafe.AsPointer(ref this), inputRects, inputOpaqueSubRects, inputRectCount, outputRect, outputOpaqueSubRect);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Transform.MapInvalidRect" />
|
/// <inheritdoc cref="ID2D1Transform.MapInvalidRect" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1DrawTransform : ID2D1DrawTransform.Interface,
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult MapInvalidRect(uint inputIndex, Rect invalidInputRect, Rect* invalidOutputRect)
|
public HResult MapInvalidRect(uint inputIndex, Rect invalidInputRect, Rect* invalidOutputRect)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DrawTransform*, uint, Rect, Rect*, int>)(lpVtbl[6]))((ID2D1DrawTransform*)Unsafe.AsPointer(ref this), inputIndex, invalidInputRect, invalidOutputRect);
|
||||||
return ((delegate* unmanaged<ID2D1DrawTransform*, uint, Rect, Rect*, int>)(lpVtbl[6]))((ID2D1DrawTransform*)Unsafe.AsPointer(ref this), inputIndex, invalidInputRect, invalidOutputRect);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DrawTransform*, uint, Rect, Rect*, int>)(lpVtbl[6]))((ID2D1DrawTransform*)Unsafe.AsPointer(ref this), inputIndex, invalidInputRect, invalidOutputRect);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1DrawTransform::SetDrawInfo"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1DrawTransform::SetDrawInfo"]/*' />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1DrawTransform : ID2D1DrawTransform.Interface,
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public HResult SetDrawInfo(ID2D1DrawInfo* drawInfo)
|
public HResult SetDrawInfo(ID2D1DrawInfo* drawInfo)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DrawTransform*, ID2D1DrawInfo*, int>)(lpVtbl[7]))((ID2D1DrawTransform*)Unsafe.AsPointer(ref this), drawInfo);
|
||||||
return ((delegate* unmanaged<ID2D1DrawTransform*, ID2D1DrawInfo*, int>)(lpVtbl[7]))((ID2D1DrawTransform*)Unsafe.AsPointer(ref this), drawInfo);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DrawTransform*, ID2D1DrawInfo*, int>)(lpVtbl[7]))((ID2D1DrawTransform*)Unsafe.AsPointer(ref this), drawInfo);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Transform.Interface
|
public interface Interface : ID2D1Transform.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1DrawingStateBlock : ID2D1DrawingStateBlock.Int
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DrawingStateBlock));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DrawingStateBlock));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DrawingStateBlock));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1DrawingStateBlock : ID2D1DrawingStateBlock.Int
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DrawingStateBlock*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1DrawingStateBlock*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1DrawingStateBlock*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1DrawingStateBlock*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DrawingStateBlock*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1DrawingStateBlock*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1DrawingStateBlock : ID2D1DrawingStateBlock.Int
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DrawingStateBlock*, uint>)(lpVtbl[1]))((ID2D1DrawingStateBlock*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1DrawingStateBlock*, uint>)(lpVtbl[1]))((ID2D1DrawingStateBlock*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DrawingStateBlock*, uint>)(lpVtbl[1]))((ID2D1DrawingStateBlock*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1DrawingStateBlock : ID2D1DrawingStateBlock.Int
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DrawingStateBlock*, uint>)(lpVtbl[2]))((ID2D1DrawingStateBlock*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1DrawingStateBlock*, uint>)(lpVtbl[2]))((ID2D1DrawingStateBlock*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DrawingStateBlock*, uint>)(lpVtbl[2]))((ID2D1DrawingStateBlock*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1DrawingStateBlock : ID2D1DrawingStateBlock.Int
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DrawingStateBlock*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1DrawingStateBlock*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1DrawingStateBlock*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1DrawingStateBlock*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DrawingStateBlock*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1DrawingStateBlock*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1DrawingStateBlock::GetDescription"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1DrawingStateBlock::GetDescription"]/*' />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1DrawingStateBlock : ID2D1DrawingStateBlock.Int
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public void GetDescription(DrawingStateDescription* stateDescription)
|
public void GetDescription(DrawingStateDescription* stateDescription)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DrawingStateBlock*, DrawingStateDescription*, void>)(lpVtbl[4]))((ID2D1DrawingStateBlock*)Unsafe.AsPointer(ref this), stateDescription);
|
||||||
((delegate* unmanaged<ID2D1DrawingStateBlock*, DrawingStateDescription*, void>)(lpVtbl[4]))((ID2D1DrawingStateBlock*)Unsafe.AsPointer(ref this), stateDescription);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DrawingStateBlock*, DrawingStateDescription*, void>)(lpVtbl[4]))((ID2D1DrawingStateBlock*)Unsafe.AsPointer(ref this), stateDescription);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1DrawingStateBlock::SetDescription"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1DrawingStateBlock::SetDescription"]/*' />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1DrawingStateBlock : ID2D1DrawingStateBlock.Int
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public void SetDescription(DrawingStateDescription* stateDescription)
|
public void SetDescription(DrawingStateDescription* stateDescription)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DrawingStateBlock*, DrawingStateDescription*, void>)(lpVtbl[5]))((ID2D1DrawingStateBlock*)Unsafe.AsPointer(ref this), stateDescription);
|
||||||
((delegate* unmanaged<ID2D1DrawingStateBlock*, DrawingStateDescription*, void>)(lpVtbl[5]))((ID2D1DrawingStateBlock*)Unsafe.AsPointer(ref this), stateDescription);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DrawingStateBlock*, DrawingStateDescription*, void>)(lpVtbl[5]))((ID2D1DrawingStateBlock*)Unsafe.AsPointer(ref this), stateDescription);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1DrawingStateBlock::SetTextRenderingParams"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1DrawingStateBlock::SetTextRenderingParams"]/*' />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1DrawingStateBlock : ID2D1DrawingStateBlock.Int
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public void SetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams)
|
public void SetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DrawingStateBlock*, Graphics.DirectWrite.IDWriteRenderingParams*, void>)(lpVtbl[6]))((ID2D1DrawingStateBlock*)Unsafe.AsPointer(ref this), textRenderingParams);
|
||||||
((delegate* unmanaged<ID2D1DrawingStateBlock*, Graphics.DirectWrite.IDWriteRenderingParams*, void>)(lpVtbl[6]))((ID2D1DrawingStateBlock*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DrawingStateBlock*, Graphics.DirectWrite.IDWriteRenderingParams*, void>)(lpVtbl[6]))((ID2D1DrawingStateBlock*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1DrawingStateBlock::GetTextRenderingParams"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1DrawingStateBlock::GetTextRenderingParams"]/*' />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1DrawingStateBlock : ID2D1DrawingStateBlock.Int
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public void GetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams** textRenderingParams)
|
public void GetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams** textRenderingParams)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DrawingStateBlock*, Graphics.DirectWrite.IDWriteRenderingParams**, void>)(lpVtbl[7]))((ID2D1DrawingStateBlock*)Unsafe.AsPointer(ref this), textRenderingParams);
|
||||||
((delegate* unmanaged<ID2D1DrawingStateBlock*, Graphics.DirectWrite.IDWriteRenderingParams**, void>)(lpVtbl[7]))((ID2D1DrawingStateBlock*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DrawingStateBlock*, Graphics.DirectWrite.IDWriteRenderingParams**, void>)(lpVtbl[7]))((ID2D1DrawingStateBlock*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Resource.Interface
|
public interface Interface : ID2D1Resource.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1DrawingStateBlock1 : ID2D1DrawingStateBlock1.I
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DrawingStateBlock1));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DrawingStateBlock1));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DrawingStateBlock1));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1DrawingStateBlock1 : ID2D1DrawingStateBlock1.I
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DrawingStateBlock1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1DrawingStateBlock1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DrawingStateBlock1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1DrawingStateBlock1 : ID2D1DrawingStateBlock1.I
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DrawingStateBlock1*, uint>)(lpVtbl[1]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1DrawingStateBlock1*, uint>)(lpVtbl[1]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DrawingStateBlock1*, uint>)(lpVtbl[1]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1DrawingStateBlock1 : ID2D1DrawingStateBlock1.I
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1DrawingStateBlock1*, uint>)(lpVtbl[2]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1DrawingStateBlock1*, uint>)(lpVtbl[2]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1DrawingStateBlock1*, uint>)(lpVtbl[2]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1DrawingStateBlock1 : ID2D1DrawingStateBlock1.I
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DrawingStateBlock1*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1DrawingStateBlock1*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DrawingStateBlock1*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1DrawingStateBlock.GetDescription" />
|
/// <inheritdoc cref="ID2D1DrawingStateBlock.GetDescription" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1DrawingStateBlock1 : ID2D1DrawingStateBlock1.I
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public void GetDescription(DrawingStateDescription* stateDescription)
|
public void GetDescription(DrawingStateDescription* stateDescription)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DrawingStateBlock1*, DrawingStateDescription*, void>)(lpVtbl[4]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this), stateDescription);
|
||||||
((delegate* unmanaged<ID2D1DrawingStateBlock1*, DrawingStateDescription*, void>)(lpVtbl[4]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this), stateDescription);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DrawingStateBlock1*, DrawingStateDescription*, void>)(lpVtbl[4]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this), stateDescription);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1DrawingStateBlock.SetDescription" />
|
/// <inheritdoc cref="ID2D1DrawingStateBlock.SetDescription" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1DrawingStateBlock1 : ID2D1DrawingStateBlock1.I
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public void SetDescription(DrawingStateDescription* stateDescription)
|
public void SetDescription(DrawingStateDescription* stateDescription)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DrawingStateBlock1*, DrawingStateDescription*, void>)(lpVtbl[5]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this), stateDescription);
|
||||||
((delegate* unmanaged<ID2D1DrawingStateBlock1*, DrawingStateDescription*, void>)(lpVtbl[5]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this), stateDescription);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DrawingStateBlock1*, DrawingStateDescription*, void>)(lpVtbl[5]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this), stateDescription);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1DrawingStateBlock.SetTextRenderingParams" />
|
/// <inheritdoc cref="ID2D1DrawingStateBlock.SetTextRenderingParams" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1DrawingStateBlock1 : ID2D1DrawingStateBlock1.I
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public void SetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams)
|
public void SetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DrawingStateBlock1*, Graphics.DirectWrite.IDWriteRenderingParams*, void>)(lpVtbl[6]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this), textRenderingParams);
|
||||||
((delegate* unmanaged<ID2D1DrawingStateBlock1*, Graphics.DirectWrite.IDWriteRenderingParams*, void>)(lpVtbl[6]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DrawingStateBlock1*, Graphics.DirectWrite.IDWriteRenderingParams*, void>)(lpVtbl[6]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1DrawingStateBlock.GetTextRenderingParams" />
|
/// <inheritdoc cref="ID2D1DrawingStateBlock.GetTextRenderingParams" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1DrawingStateBlock1 : ID2D1DrawingStateBlock1.I
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public void GetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams** textRenderingParams)
|
public void GetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams** textRenderingParams)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DrawingStateBlock1*, Graphics.DirectWrite.IDWriteRenderingParams**, void>)(lpVtbl[7]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this), textRenderingParams);
|
||||||
((delegate* unmanaged<ID2D1DrawingStateBlock1*, Graphics.DirectWrite.IDWriteRenderingParams**, void>)(lpVtbl[7]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DrawingStateBlock1*, Graphics.DirectWrite.IDWriteRenderingParams**, void>)(lpVtbl[7]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1DrawingStateBlock1::GetDescription"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1DrawingStateBlock1::GetDescription"]/*' />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1DrawingStateBlock1 : ID2D1DrawingStateBlock1.I
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public void GetDescription(DrawingStateDescription1* stateDescription)
|
public void GetDescription(DrawingStateDescription1* stateDescription)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DrawingStateBlock1*, DrawingStateDescription1*, void>)(lpVtbl[8]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this), stateDescription);
|
||||||
((delegate* unmanaged<ID2D1DrawingStateBlock1*, DrawingStateDescription1*, void>)(lpVtbl[8]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this), stateDescription);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DrawingStateBlock1*, DrawingStateDescription1*, void>)(lpVtbl[8]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this), stateDescription);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1DrawingStateBlock1::SetDescription"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1DrawingStateBlock1::SetDescription"]/*' />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1DrawingStateBlock1 : ID2D1DrawingStateBlock1.I
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public void SetDescription(DrawingStateDescription1* stateDescription)
|
public void SetDescription(DrawingStateDescription1* stateDescription)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1DrawingStateBlock1*, DrawingStateDescription1*, void>)(lpVtbl[9]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this), stateDescription);
|
||||||
((delegate* unmanaged<ID2D1DrawingStateBlock1*, DrawingStateDescription1*, void>)(lpVtbl[9]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this), stateDescription);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1DrawingStateBlock1*, DrawingStateDescription1*, void>)(lpVtbl[9]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this), stateDescription);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1DrawingStateBlock.Interface
|
public interface Interface : ID2D1DrawingStateBlock.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Effect));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Effect));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Effect));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Effect*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Effect*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1Effect*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Effect*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Effect*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Effect*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Effect*, uint>)(lpVtbl[1]))((ID2D1Effect*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Effect*, uint>)(lpVtbl[1]))((ID2D1Effect*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Effect*, uint>)(lpVtbl[1]))((ID2D1Effect*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Effect*, uint>)(lpVtbl[2]))((ID2D1Effect*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Effect*, uint>)(lpVtbl[2]))((ID2D1Effect*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Effect*, uint>)(lpVtbl[2]))((ID2D1Effect*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Properties.GetPropertyCount" />
|
/// <inheritdoc cref="ID2D1Properties.GetPropertyCount" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public uint GetPropertyCount()
|
public uint GetPropertyCount()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Effect*, uint>)(lpVtbl[3]))((ID2D1Effect*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Effect*, uint>)(lpVtbl[3]))((ID2D1Effect*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Effect*, uint>)(lpVtbl[3]))((ID2D1Effect*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Properties.GetPropertyName" />
|
/// <inheritdoc cref="ID2D1Properties.GetPropertyName" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult GetPropertyName(uint index, ushort* name, uint nameCount)
|
public HResult GetPropertyName(uint index, ushort* name, uint nameCount)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Effect*, uint, ushort*, uint, int>)(lpVtbl[4]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, name, nameCount);
|
||||||
return ((delegate* unmanaged<ID2D1Effect*, uint, ushort*, uint, int>)(lpVtbl[4]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, name, nameCount);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Effect*, uint, ushort*, uint, int>)(lpVtbl[4]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, name, nameCount);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Properties.GetPropertyNameLength" />
|
/// <inheritdoc cref="ID2D1Properties.GetPropertyNameLength" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public uint GetPropertyNameLength(uint index)
|
public uint GetPropertyNameLength(uint index)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Effect*, uint, uint>)(lpVtbl[5]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index);
|
||||||
return ((delegate* unmanaged<ID2D1Effect*, uint, uint>)(lpVtbl[5]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Effect*, uint, uint>)(lpVtbl[5]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Properties.GetType" />
|
/// <inheritdoc cref="ID2D1Properties.GetType" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public PropertyType GetType(uint index)
|
public PropertyType GetType(uint index)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Effect*, uint, PropertyType>)(lpVtbl[6]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index);
|
||||||
return ((delegate* unmanaged<ID2D1Effect*, uint, PropertyType>)(lpVtbl[6]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Effect*, uint, PropertyType>)(lpVtbl[6]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Properties.GetPropertyIndex" />
|
/// <inheritdoc cref="ID2D1Properties.GetPropertyIndex" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public uint GetPropertyIndex(ushort* name)
|
public uint GetPropertyIndex(ushort* name)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Effect*, ushort*, uint>)(lpVtbl[7]))((ID2D1Effect*)Unsafe.AsPointer(ref this), name);
|
||||||
return ((delegate* unmanaged<ID2D1Effect*, ushort*, uint>)(lpVtbl[7]))((ID2D1Effect*)Unsafe.AsPointer(ref this), name);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Effect*, ushort*, uint>)(lpVtbl[7]))((ID2D1Effect*)Unsafe.AsPointer(ref this), name);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Properties.SetValueByName" />
|
/// <inheritdoc cref="ID2D1Properties.SetValueByName" />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult SetValueByName(ushort* name, PropertyType type, byte* data, uint dataSize)
|
public HResult SetValueByName(ushort* name, PropertyType type, byte* data, uint dataSize)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Effect*, ushort*, PropertyType, byte*, uint, int>)(lpVtbl[8]))((ID2D1Effect*)Unsafe.AsPointer(ref this), name, type, data, dataSize);
|
||||||
return ((delegate* unmanaged<ID2D1Effect*, ushort*, PropertyType, byte*, uint, int>)(lpVtbl[8]))((ID2D1Effect*)Unsafe.AsPointer(ref this), name, type, data, dataSize);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Effect*, ushort*, PropertyType, byte*, uint, int>)(lpVtbl[8]))((ID2D1Effect*)Unsafe.AsPointer(ref this), name, type, data, dataSize);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Properties.SetValue" />
|
/// <inheritdoc cref="ID2D1Properties.SetValue" />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult SetValue(uint index, PropertyType type, byte* data, uint dataSize)
|
public HResult SetValue(uint index, PropertyType type, byte* data, uint dataSize)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Effect*, uint, PropertyType, byte*, uint, int>)(lpVtbl[9]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, type, data, dataSize);
|
||||||
return ((delegate* unmanaged<ID2D1Effect*, uint, PropertyType, byte*, uint, int>)(lpVtbl[9]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, type, data, dataSize);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Effect*, uint, PropertyType, byte*, uint, int>)(lpVtbl[9]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, type, data, dataSize);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Properties.GetValueByName" />
|
/// <inheritdoc cref="ID2D1Properties.GetValueByName" />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult GetValueByName(ushort* name, PropertyType type, byte* data, uint dataSize)
|
public HResult GetValueByName(ushort* name, PropertyType type, byte* data, uint dataSize)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Effect*, ushort*, PropertyType, byte*, uint, int>)(lpVtbl[10]))((ID2D1Effect*)Unsafe.AsPointer(ref this), name, type, data, dataSize);
|
||||||
return ((delegate* unmanaged<ID2D1Effect*, ushort*, PropertyType, byte*, uint, int>)(lpVtbl[10]))((ID2D1Effect*)Unsafe.AsPointer(ref this), name, type, data, dataSize);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Effect*, ushort*, PropertyType, byte*, uint, int>)(lpVtbl[10]))((ID2D1Effect*)Unsafe.AsPointer(ref this), name, type, data, dataSize);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Properties.GetValue" />
|
/// <inheritdoc cref="ID2D1Properties.GetValue" />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult GetValue(uint index, PropertyType type, byte* data, uint dataSize)
|
public HResult GetValue(uint index, PropertyType type, byte* data, uint dataSize)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Effect*, uint, PropertyType, byte*, uint, int>)(lpVtbl[11]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, type, data, dataSize);
|
||||||
return ((delegate* unmanaged<ID2D1Effect*, uint, PropertyType, byte*, uint, int>)(lpVtbl[11]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, type, data, dataSize);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Effect*, uint, PropertyType, byte*, uint, int>)(lpVtbl[11]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, type, data, dataSize);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Properties.GetValueSize" />
|
/// <inheritdoc cref="ID2D1Properties.GetValueSize" />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public uint GetValueSize(uint index)
|
public uint GetValueSize(uint index)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Effect*, uint, uint>)(lpVtbl[12]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index);
|
||||||
return ((delegate* unmanaged<ID2D1Effect*, uint, uint>)(lpVtbl[12]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Effect*, uint, uint>)(lpVtbl[12]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Properties.GetSubProperties" />
|
/// <inheritdoc cref="ID2D1Properties.GetSubProperties" />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult GetSubProperties(uint index, ID2D1Properties** subProperties)
|
public HResult GetSubProperties(uint index, ID2D1Properties** subProperties)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Effect*, uint, ID2D1Properties**, int>)(lpVtbl[13]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, subProperties);
|
||||||
return ((delegate* unmanaged<ID2D1Effect*, uint, ID2D1Properties**, int>)(lpVtbl[13]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, subProperties);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Effect*, uint, ID2D1Properties**, int>)(lpVtbl[13]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, subProperties);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Effect::SetInput"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Effect::SetInput"]/*' />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public void SetInput(uint index, ID2D1Image* input, Bool32 invalidate)
|
public void SetInput(uint index, ID2D1Image* input, Bool32 invalidate)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Effect*, uint, ID2D1Image*, Bool32, void>)(lpVtbl[14]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, input, invalidate);
|
||||||
((delegate* unmanaged<ID2D1Effect*, uint, ID2D1Image*, Bool32, void>)(lpVtbl[14]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, input, invalidate);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Effect*, uint, ID2D1Image*, Bool32, void>)(lpVtbl[14]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, input, invalidate);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Effect::SetInputCount"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Effect::SetInputCount"]/*' />
|
||||||
@@ -235,11 +171,7 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public HResult SetInputCount(uint inputCount)
|
public HResult SetInputCount(uint inputCount)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Effect*, uint, int>)(lpVtbl[15]))((ID2D1Effect*)Unsafe.AsPointer(ref this), inputCount);
|
||||||
return ((delegate* unmanaged<ID2D1Effect*, uint, int>)(lpVtbl[15]))((ID2D1Effect*)Unsafe.AsPointer(ref this), inputCount);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Effect*, uint, int>)(lpVtbl[15]))((ID2D1Effect*)Unsafe.AsPointer(ref this), inputCount);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Effect::GetInput"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Effect::GetInput"]/*' />
|
||||||
@@ -247,11 +179,7 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
|||||||
[VtblIndex(16)]
|
[VtblIndex(16)]
|
||||||
public void GetInput(uint index, ID2D1Image** input)
|
public void GetInput(uint index, ID2D1Image** input)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Effect*, uint, ID2D1Image**, void>)(lpVtbl[16]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, input);
|
||||||
((delegate* unmanaged<ID2D1Effect*, uint, ID2D1Image**, void>)(lpVtbl[16]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, input);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Effect*, uint, ID2D1Image**, void>)(lpVtbl[16]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, input);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Effect::GetInputCount"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Effect::GetInputCount"]/*' />
|
||||||
@@ -259,11 +187,7 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
|||||||
[VtblIndex(17)]
|
[VtblIndex(17)]
|
||||||
public uint GetInputCount()
|
public uint GetInputCount()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Effect*, uint>)(lpVtbl[17]))((ID2D1Effect*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Effect*, uint>)(lpVtbl[17]))((ID2D1Effect*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Effect*, uint>)(lpVtbl[17]))((ID2D1Effect*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Effect::GetOutput"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Effect::GetOutput"]/*' />
|
||||||
@@ -271,11 +195,7 @@ public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
|
|||||||
[VtblIndex(18)]
|
[VtblIndex(18)]
|
||||||
public void GetOutput(ID2D1Image** outputImage)
|
public void GetOutput(ID2D1Image** outputImage)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Effect*, ID2D1Image**, void>)(lpVtbl[18]))((ID2D1Effect*)Unsafe.AsPointer(ref this), outputImage);
|
||||||
((delegate* unmanaged<ID2D1Effect*, ID2D1Image**, void>)(lpVtbl[18]))((ID2D1Effect*)Unsafe.AsPointer(ref this), outputImage);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Effect*, ID2D1Image**, void>)(lpVtbl[18]))((ID2D1Effect*)Unsafe.AsPointer(ref this), outputImage);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Properties.Interface
|
public interface Interface : ID2D1Properties.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1EffectContext : ID2D1EffectContext.Interface,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1EffectContext));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1EffectContext));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1EffectContext));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1EffectContext : ID2D1EffectContext.Interface,
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1EffectContext : ID2D1EffectContext.Interface,
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext*, uint>)(lpVtbl[1]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext*, uint>)(lpVtbl[1]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext*, uint>)(lpVtbl[1]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1EffectContext : ID2D1EffectContext.Interface,
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext*, uint>)(lpVtbl[2]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext*, uint>)(lpVtbl[2]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext*, uint>)(lpVtbl[2]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::GetDpi"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::GetDpi"]/*' />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1EffectContext : ID2D1EffectContext.Interface,
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetDpi(float* dpiX, float* dpiY)
|
public void GetDpi(float* dpiX, float* dpiY)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1EffectContext*, float*, float*, void>)(lpVtbl[3]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
||||||
((delegate* unmanaged<ID2D1EffectContext*, float*, float*, void>)(lpVtbl[3]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1EffectContext*, float*, float*, void>)(lpVtbl[3]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::CreateEffect"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::CreateEffect"]/*' />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1EffectContext : ID2D1EffectContext.Interface,
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult CreateEffect(Guid* effectId, ID2D1Effect** effect)
|
public HResult CreateEffect(Guid* effectId, ID2D1Effect** effect)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext*, Guid*, ID2D1Effect**, int>)(lpVtbl[4]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), effectId, effect);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext*, Guid*, ID2D1Effect**, int>)(lpVtbl[4]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), effectId, effect);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext*, Guid*, ID2D1Effect**, int>)(lpVtbl[4]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), effectId, effect);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::GetMaximumSupportedFeatureLevel"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::GetMaximumSupportedFeatureLevel"]/*' />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1EffectContext : ID2D1EffectContext.Interface,
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult GetMaximumSupportedFeatureLevel(Graphics.Direct3D.FeatureLevel* featureLevels, uint featureLevelsCount, Graphics.Direct3D.FeatureLevel* maximumSupportedFeatureLevel)
|
public HResult GetMaximumSupportedFeatureLevel(Graphics.Direct3D.FeatureLevel* featureLevels, uint featureLevelsCount, Graphics.Direct3D.FeatureLevel* maximumSupportedFeatureLevel)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext*, Graphics.Direct3D.FeatureLevel*, uint, Graphics.Direct3D.FeatureLevel*, int>)(lpVtbl[5]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), featureLevels, featureLevelsCount, maximumSupportedFeatureLevel);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext*, Graphics.Direct3D.FeatureLevel*, uint, Graphics.Direct3D.FeatureLevel*, int>)(lpVtbl[5]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), featureLevels, featureLevelsCount, maximumSupportedFeatureLevel);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext*, Graphics.Direct3D.FeatureLevel*, uint, Graphics.Direct3D.FeatureLevel*, int>)(lpVtbl[5]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), featureLevels, featureLevelsCount, maximumSupportedFeatureLevel);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::CreateTransformNodeFromEffect"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::CreateTransformNodeFromEffect"]/*' />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1EffectContext : ID2D1EffectContext.Interface,
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult CreateTransformNodeFromEffect(ID2D1Effect* effect, ID2D1TransformNode** transformNode)
|
public HResult CreateTransformNodeFromEffect(ID2D1Effect* effect, ID2D1TransformNode** transformNode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext*, ID2D1Effect*, ID2D1TransformNode**, int>)(lpVtbl[6]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), effect, transformNode);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext*, ID2D1Effect*, ID2D1TransformNode**, int>)(lpVtbl[6]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), effect, transformNode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext*, ID2D1Effect*, ID2D1TransformNode**, int>)(lpVtbl[6]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), effect, transformNode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::CreateBlendTransform"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::CreateBlendTransform"]/*' />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1EffectContext : ID2D1EffectContext.Interface,
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public HResult CreateBlendTransform(uint numInputs, BlendDescription* blendDescription, ID2D1BlendTransform** transform)
|
public HResult CreateBlendTransform(uint numInputs, BlendDescription* blendDescription, ID2D1BlendTransform** transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext*, uint, BlendDescription*, ID2D1BlendTransform**, int>)(lpVtbl[7]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), numInputs, blendDescription, transform);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext*, uint, BlendDescription*, ID2D1BlendTransform**, int>)(lpVtbl[7]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), numInputs, blendDescription, transform);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext*, uint, BlendDescription*, ID2D1BlendTransform**, int>)(lpVtbl[7]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), numInputs, blendDescription, transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::CreateBorderTransform"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::CreateBorderTransform"]/*' />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1EffectContext : ID2D1EffectContext.Interface,
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CreateBorderTransform(ExtendMode extendModeX, ExtendMode extendModeY, ID2D1BorderTransform** transform)
|
public HResult CreateBorderTransform(ExtendMode extendModeX, ExtendMode extendModeY, ID2D1BorderTransform** transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext*, ExtendMode, ExtendMode, ID2D1BorderTransform**, int>)(lpVtbl[8]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), extendModeX, extendModeY, transform);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext*, ExtendMode, ExtendMode, ID2D1BorderTransform**, int>)(lpVtbl[8]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), extendModeX, extendModeY, transform);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext*, ExtendMode, ExtendMode, ID2D1BorderTransform**, int>)(lpVtbl[8]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), extendModeX, extendModeY, transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::CreateOffsetTransform"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::CreateOffsetTransform"]/*' />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1EffectContext : ID2D1EffectContext.Interface,
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult CreateOffsetTransform(System.Drawing.Point offset, ID2D1OffsetTransform** transform)
|
public HResult CreateOffsetTransform(System.Drawing.Point offset, ID2D1OffsetTransform** transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext*, System.Drawing.Point, ID2D1OffsetTransform**, int>)(lpVtbl[9]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), offset, transform);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext*, System.Drawing.Point, ID2D1OffsetTransform**, int>)(lpVtbl[9]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), offset, transform);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext*, System.Drawing.Point, ID2D1OffsetTransform**, int>)(lpVtbl[9]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), offset, transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::CreateBoundsAdjustmentTransform"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::CreateBoundsAdjustmentTransform"]/*' />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1EffectContext : ID2D1EffectContext.Interface,
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult CreateBoundsAdjustmentTransform(Rect* outputRectangle, ID2D1BoundsAdjustmentTransform** transform)
|
public HResult CreateBoundsAdjustmentTransform(Rect* outputRectangle, ID2D1BoundsAdjustmentTransform** transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext*, Rect*, ID2D1BoundsAdjustmentTransform**, int>)(lpVtbl[10]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), outputRectangle, transform);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext*, Rect*, ID2D1BoundsAdjustmentTransform**, int>)(lpVtbl[10]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), outputRectangle, transform);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext*, Rect*, ID2D1BoundsAdjustmentTransform**, int>)(lpVtbl[10]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), outputRectangle, transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::LoadPixelShader"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::LoadPixelShader"]/*' />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1EffectContext : ID2D1EffectContext.Interface,
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult LoadPixelShader(Guid* shaderId, byte* shaderBuffer, uint shaderBufferCount)
|
public HResult LoadPixelShader(Guid* shaderId, byte* shaderBuffer, uint shaderBufferCount)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext*, Guid*, byte*, uint, int>)(lpVtbl[11]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), shaderId, shaderBuffer, shaderBufferCount);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext*, Guid*, byte*, uint, int>)(lpVtbl[11]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), shaderId, shaderBuffer, shaderBufferCount);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext*, Guid*, byte*, uint, int>)(lpVtbl[11]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), shaderId, shaderBuffer, shaderBufferCount);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::LoadVertexShader"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::LoadVertexShader"]/*' />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1EffectContext : ID2D1EffectContext.Interface,
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public HResult LoadVertexShader(Guid* resourceId, byte* shaderBuffer, uint shaderBufferCount)
|
public HResult LoadVertexShader(Guid* resourceId, byte* shaderBuffer, uint shaderBufferCount)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext*, Guid*, byte*, uint, int>)(lpVtbl[12]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), resourceId, shaderBuffer, shaderBufferCount);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext*, Guid*, byte*, uint, int>)(lpVtbl[12]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), resourceId, shaderBuffer, shaderBufferCount);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext*, Guid*, byte*, uint, int>)(lpVtbl[12]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), resourceId, shaderBuffer, shaderBufferCount);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::LoadComputeShader"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::LoadComputeShader"]/*' />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1EffectContext : ID2D1EffectContext.Interface,
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult LoadComputeShader(Guid* resourceId, byte* shaderBuffer, uint shaderBufferCount)
|
public HResult LoadComputeShader(Guid* resourceId, byte* shaderBuffer, uint shaderBufferCount)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext*, Guid*, byte*, uint, int>)(lpVtbl[13]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), resourceId, shaderBuffer, shaderBufferCount);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext*, Guid*, byte*, uint, int>)(lpVtbl[13]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), resourceId, shaderBuffer, shaderBufferCount);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext*, Guid*, byte*, uint, int>)(lpVtbl[13]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), resourceId, shaderBuffer, shaderBufferCount);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::IsShaderLoaded"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::IsShaderLoaded"]/*' />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1EffectContext : ID2D1EffectContext.Interface,
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public Bool32 IsShaderLoaded(Guid* shaderId)
|
public Bool32 IsShaderLoaded(Guid* shaderId)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext*, Guid*, Bool32>)(lpVtbl[14]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), shaderId);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext*, Guid*, Bool32>)(lpVtbl[14]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), shaderId);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext*, Guid*, Bool32>)(lpVtbl[14]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), shaderId);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::CreateResourceTexture"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::CreateResourceTexture"]/*' />
|
||||||
@@ -235,11 +171,7 @@ public unsafe partial struct ID2D1EffectContext : ID2D1EffectContext.Interface,
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public HResult CreateResourceTexture(Guid* resourceId, ResourceTextureProperties* resourceTextureProperties, byte* data, uint* strides, uint dataSize, ID2D1ResourceTexture** resourceTexture)
|
public HResult CreateResourceTexture(Guid* resourceId, ResourceTextureProperties* resourceTextureProperties, byte* data, uint* strides, uint dataSize, ID2D1ResourceTexture** resourceTexture)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext*, Guid*, ResourceTextureProperties*, byte*, uint*, uint, ID2D1ResourceTexture**, int>)(lpVtbl[15]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), resourceId, resourceTextureProperties, data, strides, dataSize, resourceTexture);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext*, Guid*, ResourceTextureProperties*, byte*, uint*, uint, ID2D1ResourceTexture**, int>)(lpVtbl[15]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), resourceId, resourceTextureProperties, data, strides, dataSize, resourceTexture);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext*, Guid*, ResourceTextureProperties*, byte*, uint*, uint, ID2D1ResourceTexture**, int>)(lpVtbl[15]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), resourceId, resourceTextureProperties, data, strides, dataSize, resourceTexture);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::FindResourceTexture"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::FindResourceTexture"]/*' />
|
||||||
@@ -247,11 +179,7 @@ public unsafe partial struct ID2D1EffectContext : ID2D1EffectContext.Interface,
|
|||||||
[VtblIndex(16)]
|
[VtblIndex(16)]
|
||||||
public HResult FindResourceTexture(Guid* resourceId, ID2D1ResourceTexture** resourceTexture)
|
public HResult FindResourceTexture(Guid* resourceId, ID2D1ResourceTexture** resourceTexture)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext*, Guid*, ID2D1ResourceTexture**, int>)(lpVtbl[16]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), resourceId, resourceTexture);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext*, Guid*, ID2D1ResourceTexture**, int>)(lpVtbl[16]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), resourceId, resourceTexture);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext*, Guid*, ID2D1ResourceTexture**, int>)(lpVtbl[16]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), resourceId, resourceTexture);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::CreateVertexBuffer"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::CreateVertexBuffer"]/*' />
|
||||||
@@ -259,11 +187,7 @@ public unsafe partial struct ID2D1EffectContext : ID2D1EffectContext.Interface,
|
|||||||
[VtblIndex(17)]
|
[VtblIndex(17)]
|
||||||
public HResult CreateVertexBuffer(VertexBufferProperties* vertexBufferProperties, Guid* resourceId, CustomVertexBufferProperties* customVertexBufferProperties, ID2D1VertexBuffer** buffer)
|
public HResult CreateVertexBuffer(VertexBufferProperties* vertexBufferProperties, Guid* resourceId, CustomVertexBufferProperties* customVertexBufferProperties, ID2D1VertexBuffer** buffer)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext*, VertexBufferProperties*, Guid*, CustomVertexBufferProperties*, ID2D1VertexBuffer**, int>)(lpVtbl[17]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), vertexBufferProperties, resourceId, customVertexBufferProperties, buffer);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext*, VertexBufferProperties*, Guid*, CustomVertexBufferProperties*, ID2D1VertexBuffer**, int>)(lpVtbl[17]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), vertexBufferProperties, resourceId, customVertexBufferProperties, buffer);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext*, VertexBufferProperties*, Guid*, CustomVertexBufferProperties*, ID2D1VertexBuffer**, int>)(lpVtbl[17]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), vertexBufferProperties, resourceId, customVertexBufferProperties, buffer);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::FindVertexBuffer"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::FindVertexBuffer"]/*' />
|
||||||
@@ -271,11 +195,7 @@ public unsafe partial struct ID2D1EffectContext : ID2D1EffectContext.Interface,
|
|||||||
[VtblIndex(18)]
|
[VtblIndex(18)]
|
||||||
public HResult FindVertexBuffer(Guid* resourceId, ID2D1VertexBuffer** buffer)
|
public HResult FindVertexBuffer(Guid* resourceId, ID2D1VertexBuffer** buffer)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext*, Guid*, ID2D1VertexBuffer**, int>)(lpVtbl[18]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), resourceId, buffer);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext*, Guid*, ID2D1VertexBuffer**, int>)(lpVtbl[18]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), resourceId, buffer);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext*, Guid*, ID2D1VertexBuffer**, int>)(lpVtbl[18]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), resourceId, buffer);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::CreateColorContext"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::CreateColorContext"]/*' />
|
||||||
@@ -283,11 +203,7 @@ public unsafe partial struct ID2D1EffectContext : ID2D1EffectContext.Interface,
|
|||||||
[VtblIndex(19)]
|
[VtblIndex(19)]
|
||||||
public HResult CreateColorContext(ColorSpace space, byte* profile, uint profileSize, ID2D1ColorContext** colorContext)
|
public HResult CreateColorContext(ColorSpace space, byte* profile, uint profileSize, ID2D1ColorContext** colorContext)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext*, ColorSpace, byte*, uint, ID2D1ColorContext**, int>)(lpVtbl[19]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), space, profile, profileSize, colorContext);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext*, ColorSpace, byte*, uint, ID2D1ColorContext**, int>)(lpVtbl[19]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), space, profile, profileSize, colorContext);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext*, ColorSpace, byte*, uint, ID2D1ColorContext**, int>)(lpVtbl[19]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), space, profile, profileSize, colorContext);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::CreateColorContextFromFilename"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::CreateColorContextFromFilename"]/*' />
|
||||||
@@ -295,11 +211,7 @@ public unsafe partial struct ID2D1EffectContext : ID2D1EffectContext.Interface,
|
|||||||
[VtblIndex(20)]
|
[VtblIndex(20)]
|
||||||
public HResult CreateColorContextFromFilename(ushort* filename, ID2D1ColorContext** colorContext)
|
public HResult CreateColorContextFromFilename(ushort* filename, ID2D1ColorContext** colorContext)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext*, ushort*, ID2D1ColorContext**, int>)(lpVtbl[20]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), filename, colorContext);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext*, ushort*, ID2D1ColorContext**, int>)(lpVtbl[20]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), filename, colorContext);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext*, ushort*, ID2D1ColorContext**, int>)(lpVtbl[20]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), filename, colorContext);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::CreateColorContextFromWicColorContext"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::CreateColorContextFromWicColorContext"]/*' />
|
||||||
@@ -307,11 +219,7 @@ public unsafe partial struct ID2D1EffectContext : ID2D1EffectContext.Interface,
|
|||||||
[VtblIndex(21)]
|
[VtblIndex(21)]
|
||||||
public HResult CreateColorContextFromWicColorContext(Graphics.Imaging.IWICColorContext* wicColorContext, ID2D1ColorContext** colorContext)
|
public HResult CreateColorContextFromWicColorContext(Graphics.Imaging.IWICColorContext* wicColorContext, ID2D1ColorContext** colorContext)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext*, Graphics.Imaging.IWICColorContext*, ID2D1ColorContext**, int>)(lpVtbl[21]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), wicColorContext, colorContext);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext*, Graphics.Imaging.IWICColorContext*, ID2D1ColorContext**, int>)(lpVtbl[21]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), wicColorContext, colorContext);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext*, Graphics.Imaging.IWICColorContext*, ID2D1ColorContext**, int>)(lpVtbl[21]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), wicColorContext, colorContext);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::CheckFeatureSupport"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::CheckFeatureSupport"]/*' />
|
||||||
@@ -319,11 +227,7 @@ public unsafe partial struct ID2D1EffectContext : ID2D1EffectContext.Interface,
|
|||||||
[VtblIndex(22)]
|
[VtblIndex(22)]
|
||||||
public HResult CheckFeatureSupport(Feature feature, void* featureSupportData, uint featureSupportDataSize)
|
public HResult CheckFeatureSupport(Feature feature, void* featureSupportData, uint featureSupportDataSize)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext*, Feature, void*, uint, int>)(lpVtbl[22]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), feature, featureSupportData, featureSupportDataSize);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext*, Feature, void*, uint, int>)(lpVtbl[22]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), feature, featureSupportData, featureSupportDataSize);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext*, Feature, void*, uint, int>)(lpVtbl[22]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), feature, featureSupportData, featureSupportDataSize);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::IsBufferPrecisionSupported"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext::IsBufferPrecisionSupported"]/*' />
|
||||||
@@ -331,11 +235,7 @@ public unsafe partial struct ID2D1EffectContext : ID2D1EffectContext.Interface,
|
|||||||
[VtblIndex(23)]
|
[VtblIndex(23)]
|
||||||
public Bool32 IsBufferPrecisionSupported(BufferPrecision bufferPrecision)
|
public Bool32 IsBufferPrecisionSupported(BufferPrecision bufferPrecision)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext*, BufferPrecision, Bool32>)(lpVtbl[23]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), bufferPrecision);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext*, BufferPrecision, Bool32>)(lpVtbl[23]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), bufferPrecision);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext*, BufferPrecision, Bool32>)(lpVtbl[23]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), bufferPrecision);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : IUnknown.Interface
|
public interface Interface : IUnknown.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1EffectContext1 : ID2D1EffectContext1.Interface
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1EffectContext1));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1EffectContext1));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1EffectContext1));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1EffectContext1 : ID2D1EffectContext1.Interface
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1EffectContext1 : ID2D1EffectContext1.Interface
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext1*, uint>)(lpVtbl[1]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext1*, uint>)(lpVtbl[1]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext1*, uint>)(lpVtbl[1]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1EffectContext1 : ID2D1EffectContext1.Interface
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext1*, uint>)(lpVtbl[2]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext1*, uint>)(lpVtbl[2]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext1*, uint>)(lpVtbl[2]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.GetDpi" />
|
/// <inheritdoc cref="ID2D1EffectContext.GetDpi" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1EffectContext1 : ID2D1EffectContext1.Interface
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetDpi(float* dpiX, float* dpiY)
|
public void GetDpi(float* dpiX, float* dpiY)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1EffectContext1*, float*, float*, void>)(lpVtbl[3]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
||||||
((delegate* unmanaged<ID2D1EffectContext1*, float*, float*, void>)(lpVtbl[3]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1EffectContext1*, float*, float*, void>)(lpVtbl[3]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.CreateEffect" />
|
/// <inheritdoc cref="ID2D1EffectContext.CreateEffect" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1EffectContext1 : ID2D1EffectContext1.Interface
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult CreateEffect(Guid* effectId, ID2D1Effect** effect)
|
public HResult CreateEffect(Guid* effectId, ID2D1Effect** effect)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext1*, Guid*, ID2D1Effect**, int>)(lpVtbl[4]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), effectId, effect);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext1*, Guid*, ID2D1Effect**, int>)(lpVtbl[4]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), effectId, effect);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext1*, Guid*, ID2D1Effect**, int>)(lpVtbl[4]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), effectId, effect);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.GetMaximumSupportedFeatureLevel" />
|
/// <inheritdoc cref="ID2D1EffectContext.GetMaximumSupportedFeatureLevel" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1EffectContext1 : ID2D1EffectContext1.Interface
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult GetMaximumSupportedFeatureLevel(Graphics.Direct3D.FeatureLevel* featureLevels, uint featureLevelsCount, Graphics.Direct3D.FeatureLevel* maximumSupportedFeatureLevel)
|
public HResult GetMaximumSupportedFeatureLevel(Graphics.Direct3D.FeatureLevel* featureLevels, uint featureLevelsCount, Graphics.Direct3D.FeatureLevel* maximumSupportedFeatureLevel)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext1*, Graphics.Direct3D.FeatureLevel*, uint, Graphics.Direct3D.FeatureLevel*, int>)(lpVtbl[5]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), featureLevels, featureLevelsCount, maximumSupportedFeatureLevel);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext1*, Graphics.Direct3D.FeatureLevel*, uint, Graphics.Direct3D.FeatureLevel*, int>)(lpVtbl[5]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), featureLevels, featureLevelsCount, maximumSupportedFeatureLevel);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext1*, Graphics.Direct3D.FeatureLevel*, uint, Graphics.Direct3D.FeatureLevel*, int>)(lpVtbl[5]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), featureLevels, featureLevelsCount, maximumSupportedFeatureLevel);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.CreateTransformNodeFromEffect" />
|
/// <inheritdoc cref="ID2D1EffectContext.CreateTransformNodeFromEffect" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1EffectContext1 : ID2D1EffectContext1.Interface
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult CreateTransformNodeFromEffect(ID2D1Effect* effect, ID2D1TransformNode** transformNode)
|
public HResult CreateTransformNodeFromEffect(ID2D1Effect* effect, ID2D1TransformNode** transformNode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext1*, ID2D1Effect*, ID2D1TransformNode**, int>)(lpVtbl[6]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), effect, transformNode);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext1*, ID2D1Effect*, ID2D1TransformNode**, int>)(lpVtbl[6]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), effect, transformNode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext1*, ID2D1Effect*, ID2D1TransformNode**, int>)(lpVtbl[6]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), effect, transformNode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.CreateBlendTransform" />
|
/// <inheritdoc cref="ID2D1EffectContext.CreateBlendTransform" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1EffectContext1 : ID2D1EffectContext1.Interface
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public HResult CreateBlendTransform(uint numInputs, BlendDescription* blendDescription, ID2D1BlendTransform** transform)
|
public HResult CreateBlendTransform(uint numInputs, BlendDescription* blendDescription, ID2D1BlendTransform** transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext1*, uint, BlendDescription*, ID2D1BlendTransform**, int>)(lpVtbl[7]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), numInputs, blendDescription, transform);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext1*, uint, BlendDescription*, ID2D1BlendTransform**, int>)(lpVtbl[7]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), numInputs, blendDescription, transform);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext1*, uint, BlendDescription*, ID2D1BlendTransform**, int>)(lpVtbl[7]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), numInputs, blendDescription, transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.CreateBorderTransform" />
|
/// <inheritdoc cref="ID2D1EffectContext.CreateBorderTransform" />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1EffectContext1 : ID2D1EffectContext1.Interface
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CreateBorderTransform(ExtendMode extendModeX, ExtendMode extendModeY, ID2D1BorderTransform** transform)
|
public HResult CreateBorderTransform(ExtendMode extendModeX, ExtendMode extendModeY, ID2D1BorderTransform** transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext1*, ExtendMode, ExtendMode, ID2D1BorderTransform**, int>)(lpVtbl[8]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), extendModeX, extendModeY, transform);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext1*, ExtendMode, ExtendMode, ID2D1BorderTransform**, int>)(lpVtbl[8]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), extendModeX, extendModeY, transform);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext1*, ExtendMode, ExtendMode, ID2D1BorderTransform**, int>)(lpVtbl[8]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), extendModeX, extendModeY, transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.CreateOffsetTransform" />
|
/// <inheritdoc cref="ID2D1EffectContext.CreateOffsetTransform" />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1EffectContext1 : ID2D1EffectContext1.Interface
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult CreateOffsetTransform(System.Drawing.Point offset, ID2D1OffsetTransform** transform)
|
public HResult CreateOffsetTransform(System.Drawing.Point offset, ID2D1OffsetTransform** transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext1*, System.Drawing.Point, ID2D1OffsetTransform**, int>)(lpVtbl[9]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), offset, transform);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext1*, System.Drawing.Point, ID2D1OffsetTransform**, int>)(lpVtbl[9]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), offset, transform);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext1*, System.Drawing.Point, ID2D1OffsetTransform**, int>)(lpVtbl[9]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), offset, transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.CreateBoundsAdjustmentTransform" />
|
/// <inheritdoc cref="ID2D1EffectContext.CreateBoundsAdjustmentTransform" />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1EffectContext1 : ID2D1EffectContext1.Interface
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult CreateBoundsAdjustmentTransform(Rect* outputRectangle, ID2D1BoundsAdjustmentTransform** transform)
|
public HResult CreateBoundsAdjustmentTransform(Rect* outputRectangle, ID2D1BoundsAdjustmentTransform** transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext1*, Rect*, ID2D1BoundsAdjustmentTransform**, int>)(lpVtbl[10]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), outputRectangle, transform);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext1*, Rect*, ID2D1BoundsAdjustmentTransform**, int>)(lpVtbl[10]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), outputRectangle, transform);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext1*, Rect*, ID2D1BoundsAdjustmentTransform**, int>)(lpVtbl[10]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), outputRectangle, transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.LoadPixelShader" />
|
/// <inheritdoc cref="ID2D1EffectContext.LoadPixelShader" />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1EffectContext1 : ID2D1EffectContext1.Interface
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult LoadPixelShader(Guid* shaderId, byte* shaderBuffer, uint shaderBufferCount)
|
public HResult LoadPixelShader(Guid* shaderId, byte* shaderBuffer, uint shaderBufferCount)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext1*, Guid*, byte*, uint, int>)(lpVtbl[11]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), shaderId, shaderBuffer, shaderBufferCount);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext1*, Guid*, byte*, uint, int>)(lpVtbl[11]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), shaderId, shaderBuffer, shaderBufferCount);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext1*, Guid*, byte*, uint, int>)(lpVtbl[11]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), shaderId, shaderBuffer, shaderBufferCount);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.LoadVertexShader" />
|
/// <inheritdoc cref="ID2D1EffectContext.LoadVertexShader" />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1EffectContext1 : ID2D1EffectContext1.Interface
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public HResult LoadVertexShader(Guid* resourceId, byte* shaderBuffer, uint shaderBufferCount)
|
public HResult LoadVertexShader(Guid* resourceId, byte* shaderBuffer, uint shaderBufferCount)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext1*, Guid*, byte*, uint, int>)(lpVtbl[12]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), resourceId, shaderBuffer, shaderBufferCount);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext1*, Guid*, byte*, uint, int>)(lpVtbl[12]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), resourceId, shaderBuffer, shaderBufferCount);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext1*, Guid*, byte*, uint, int>)(lpVtbl[12]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), resourceId, shaderBuffer, shaderBufferCount);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.LoadComputeShader" />
|
/// <inheritdoc cref="ID2D1EffectContext.LoadComputeShader" />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1EffectContext1 : ID2D1EffectContext1.Interface
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult LoadComputeShader(Guid* resourceId, byte* shaderBuffer, uint shaderBufferCount)
|
public HResult LoadComputeShader(Guid* resourceId, byte* shaderBuffer, uint shaderBufferCount)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext1*, Guid*, byte*, uint, int>)(lpVtbl[13]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), resourceId, shaderBuffer, shaderBufferCount);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext1*, Guid*, byte*, uint, int>)(lpVtbl[13]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), resourceId, shaderBuffer, shaderBufferCount);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext1*, Guid*, byte*, uint, int>)(lpVtbl[13]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), resourceId, shaderBuffer, shaderBufferCount);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.IsShaderLoaded" />
|
/// <inheritdoc cref="ID2D1EffectContext.IsShaderLoaded" />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1EffectContext1 : ID2D1EffectContext1.Interface
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public Bool32 IsShaderLoaded(Guid* shaderId)
|
public Bool32 IsShaderLoaded(Guid* shaderId)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext1*, Guid*, Bool32>)(lpVtbl[14]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), shaderId);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext1*, Guid*, Bool32>)(lpVtbl[14]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), shaderId);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext1*, Guid*, Bool32>)(lpVtbl[14]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), shaderId);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.CreateResourceTexture" />
|
/// <inheritdoc cref="ID2D1EffectContext.CreateResourceTexture" />
|
||||||
@@ -235,11 +171,7 @@ public unsafe partial struct ID2D1EffectContext1 : ID2D1EffectContext1.Interface
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public HResult CreateResourceTexture(Guid* resourceId, ResourceTextureProperties* resourceTextureProperties, byte* data, uint* strides, uint dataSize, ID2D1ResourceTexture** resourceTexture)
|
public HResult CreateResourceTexture(Guid* resourceId, ResourceTextureProperties* resourceTextureProperties, byte* data, uint* strides, uint dataSize, ID2D1ResourceTexture** resourceTexture)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext1*, Guid*, ResourceTextureProperties*, byte*, uint*, uint, ID2D1ResourceTexture**, int>)(lpVtbl[15]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), resourceId, resourceTextureProperties, data, strides, dataSize, resourceTexture);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext1*, Guid*, ResourceTextureProperties*, byte*, uint*, uint, ID2D1ResourceTexture**, int>)(lpVtbl[15]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), resourceId, resourceTextureProperties, data, strides, dataSize, resourceTexture);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext1*, Guid*, ResourceTextureProperties*, byte*, uint*, uint, ID2D1ResourceTexture**, int>)(lpVtbl[15]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), resourceId, resourceTextureProperties, data, strides, dataSize, resourceTexture);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.FindResourceTexture" />
|
/// <inheritdoc cref="ID2D1EffectContext.FindResourceTexture" />
|
||||||
@@ -247,11 +179,7 @@ public unsafe partial struct ID2D1EffectContext1 : ID2D1EffectContext1.Interface
|
|||||||
[VtblIndex(16)]
|
[VtblIndex(16)]
|
||||||
public HResult FindResourceTexture(Guid* resourceId, ID2D1ResourceTexture** resourceTexture)
|
public HResult FindResourceTexture(Guid* resourceId, ID2D1ResourceTexture** resourceTexture)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext1*, Guid*, ID2D1ResourceTexture**, int>)(lpVtbl[16]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), resourceId, resourceTexture);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext1*, Guid*, ID2D1ResourceTexture**, int>)(lpVtbl[16]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), resourceId, resourceTexture);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext1*, Guid*, ID2D1ResourceTexture**, int>)(lpVtbl[16]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), resourceId, resourceTexture);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.CreateVertexBuffer" />
|
/// <inheritdoc cref="ID2D1EffectContext.CreateVertexBuffer" />
|
||||||
@@ -259,11 +187,7 @@ public unsafe partial struct ID2D1EffectContext1 : ID2D1EffectContext1.Interface
|
|||||||
[VtblIndex(17)]
|
[VtblIndex(17)]
|
||||||
public HResult CreateVertexBuffer(VertexBufferProperties* vertexBufferProperties, Guid* resourceId, CustomVertexBufferProperties* customVertexBufferProperties, ID2D1VertexBuffer** buffer)
|
public HResult CreateVertexBuffer(VertexBufferProperties* vertexBufferProperties, Guid* resourceId, CustomVertexBufferProperties* customVertexBufferProperties, ID2D1VertexBuffer** buffer)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext1*, VertexBufferProperties*, Guid*, CustomVertexBufferProperties*, ID2D1VertexBuffer**, int>)(lpVtbl[17]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), vertexBufferProperties, resourceId, customVertexBufferProperties, buffer);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext1*, VertexBufferProperties*, Guid*, CustomVertexBufferProperties*, ID2D1VertexBuffer**, int>)(lpVtbl[17]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), vertexBufferProperties, resourceId, customVertexBufferProperties, buffer);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext1*, VertexBufferProperties*, Guid*, CustomVertexBufferProperties*, ID2D1VertexBuffer**, int>)(lpVtbl[17]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), vertexBufferProperties, resourceId, customVertexBufferProperties, buffer);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.FindVertexBuffer" />
|
/// <inheritdoc cref="ID2D1EffectContext.FindVertexBuffer" />
|
||||||
@@ -271,11 +195,7 @@ public unsafe partial struct ID2D1EffectContext1 : ID2D1EffectContext1.Interface
|
|||||||
[VtblIndex(18)]
|
[VtblIndex(18)]
|
||||||
public HResult FindVertexBuffer(Guid* resourceId, ID2D1VertexBuffer** buffer)
|
public HResult FindVertexBuffer(Guid* resourceId, ID2D1VertexBuffer** buffer)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext1*, Guid*, ID2D1VertexBuffer**, int>)(lpVtbl[18]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), resourceId, buffer);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext1*, Guid*, ID2D1VertexBuffer**, int>)(lpVtbl[18]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), resourceId, buffer);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext1*, Guid*, ID2D1VertexBuffer**, int>)(lpVtbl[18]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), resourceId, buffer);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.CreateColorContext" />
|
/// <inheritdoc cref="ID2D1EffectContext.CreateColorContext" />
|
||||||
@@ -283,11 +203,7 @@ public unsafe partial struct ID2D1EffectContext1 : ID2D1EffectContext1.Interface
|
|||||||
[VtblIndex(19)]
|
[VtblIndex(19)]
|
||||||
public HResult CreateColorContext(ColorSpace space, byte* profile, uint profileSize, ID2D1ColorContext** colorContext)
|
public HResult CreateColorContext(ColorSpace space, byte* profile, uint profileSize, ID2D1ColorContext** colorContext)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext1*, ColorSpace, byte*, uint, ID2D1ColorContext**, int>)(lpVtbl[19]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), space, profile, profileSize, colorContext);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext1*, ColorSpace, byte*, uint, ID2D1ColorContext**, int>)(lpVtbl[19]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), space, profile, profileSize, colorContext);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext1*, ColorSpace, byte*, uint, ID2D1ColorContext**, int>)(lpVtbl[19]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), space, profile, profileSize, colorContext);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.CreateColorContextFromFilename" />
|
/// <inheritdoc cref="ID2D1EffectContext.CreateColorContextFromFilename" />
|
||||||
@@ -295,11 +211,7 @@ public unsafe partial struct ID2D1EffectContext1 : ID2D1EffectContext1.Interface
|
|||||||
[VtblIndex(20)]
|
[VtblIndex(20)]
|
||||||
public HResult CreateColorContextFromFilename(ushort* filename, ID2D1ColorContext** colorContext)
|
public HResult CreateColorContextFromFilename(ushort* filename, ID2D1ColorContext** colorContext)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext1*, ushort*, ID2D1ColorContext**, int>)(lpVtbl[20]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), filename, colorContext);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext1*, ushort*, ID2D1ColorContext**, int>)(lpVtbl[20]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), filename, colorContext);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext1*, ushort*, ID2D1ColorContext**, int>)(lpVtbl[20]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), filename, colorContext);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.CreateColorContextFromWicColorContext" />
|
/// <inheritdoc cref="ID2D1EffectContext.CreateColorContextFromWicColorContext" />
|
||||||
@@ -307,11 +219,7 @@ public unsafe partial struct ID2D1EffectContext1 : ID2D1EffectContext1.Interface
|
|||||||
[VtblIndex(21)]
|
[VtblIndex(21)]
|
||||||
public HResult CreateColorContextFromWicColorContext(Graphics.Imaging.IWICColorContext* wicColorContext, ID2D1ColorContext** colorContext)
|
public HResult CreateColorContextFromWicColorContext(Graphics.Imaging.IWICColorContext* wicColorContext, ID2D1ColorContext** colorContext)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext1*, Graphics.Imaging.IWICColorContext*, ID2D1ColorContext**, int>)(lpVtbl[21]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), wicColorContext, colorContext);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext1*, Graphics.Imaging.IWICColorContext*, ID2D1ColorContext**, int>)(lpVtbl[21]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), wicColorContext, colorContext);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext1*, Graphics.Imaging.IWICColorContext*, ID2D1ColorContext**, int>)(lpVtbl[21]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), wicColorContext, colorContext);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.CheckFeatureSupport" />
|
/// <inheritdoc cref="ID2D1EffectContext.CheckFeatureSupport" />
|
||||||
@@ -319,11 +227,7 @@ public unsafe partial struct ID2D1EffectContext1 : ID2D1EffectContext1.Interface
|
|||||||
[VtblIndex(22)]
|
[VtblIndex(22)]
|
||||||
public HResult CheckFeatureSupport(Feature feature, void* featureSupportData, uint featureSupportDataSize)
|
public HResult CheckFeatureSupport(Feature feature, void* featureSupportData, uint featureSupportDataSize)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext1*, Feature, void*, uint, int>)(lpVtbl[22]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), feature, featureSupportData, featureSupportDataSize);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext1*, Feature, void*, uint, int>)(lpVtbl[22]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), feature, featureSupportData, featureSupportDataSize);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext1*, Feature, void*, uint, int>)(lpVtbl[22]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), feature, featureSupportData, featureSupportDataSize);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.IsBufferPrecisionSupported" />
|
/// <inheritdoc cref="ID2D1EffectContext.IsBufferPrecisionSupported" />
|
||||||
@@ -331,11 +235,7 @@ public unsafe partial struct ID2D1EffectContext1 : ID2D1EffectContext1.Interface
|
|||||||
[VtblIndex(23)]
|
[VtblIndex(23)]
|
||||||
public Bool32 IsBufferPrecisionSupported(BufferPrecision bufferPrecision)
|
public Bool32 IsBufferPrecisionSupported(BufferPrecision bufferPrecision)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext1*, BufferPrecision, Bool32>)(lpVtbl[23]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), bufferPrecision);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext1*, BufferPrecision, Bool32>)(lpVtbl[23]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), bufferPrecision);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext1*, BufferPrecision, Bool32>)(lpVtbl[23]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), bufferPrecision);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext1::CreateLookupTable3D"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext1::CreateLookupTable3D"]/*' />
|
||||||
@@ -343,11 +243,7 @@ public unsafe partial struct ID2D1EffectContext1 : ID2D1EffectContext1.Interface
|
|||||||
[VtblIndex(24)]
|
[VtblIndex(24)]
|
||||||
public HResult CreateLookupTable3D(BufferPrecision precision, uint* extents, byte* data, uint dataCount, uint* strides, ID2D1LookupTable3D** lookupTable)
|
public HResult CreateLookupTable3D(BufferPrecision precision, uint* extents, byte* data, uint dataCount, uint* strides, ID2D1LookupTable3D** lookupTable)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext1*, BufferPrecision, uint*, byte*, uint, uint*, ID2D1LookupTable3D**, int>)(lpVtbl[24]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), precision, extents, data, dataCount, strides, lookupTable);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext1*, BufferPrecision, uint*, byte*, uint, uint*, ID2D1LookupTable3D**, int>)(lpVtbl[24]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), precision, extents, data, dataCount, strides, lookupTable);
|
|
||||||
#else
|
|
||||||
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);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1EffectContext.Interface
|
public interface Interface : ID2D1EffectContext.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1EffectContext2 : ID2D1EffectContext2.Interface
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1EffectContext2));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1EffectContext2));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1EffectContext2));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1EffectContext2 : ID2D1EffectContext2.Interface
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext2*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext2*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext2*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1EffectContext2 : ID2D1EffectContext2.Interface
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext2*, uint>)(lpVtbl[1]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext2*, uint>)(lpVtbl[1]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext2*, uint>)(lpVtbl[1]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1EffectContext2 : ID2D1EffectContext2.Interface
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext2*, uint>)(lpVtbl[2]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext2*, uint>)(lpVtbl[2]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext2*, uint>)(lpVtbl[2]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.GetDpi" />
|
/// <inheritdoc cref="ID2D1EffectContext.GetDpi" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1EffectContext2 : ID2D1EffectContext2.Interface
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetDpi(float* dpiX, float* dpiY)
|
public void GetDpi(float* dpiX, float* dpiY)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1EffectContext2*, float*, float*, void>)(lpVtbl[3]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
||||||
((delegate* unmanaged<ID2D1EffectContext2*, float*, float*, void>)(lpVtbl[3]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1EffectContext2*, float*, float*, void>)(lpVtbl[3]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.CreateEffect" />
|
/// <inheritdoc cref="ID2D1EffectContext.CreateEffect" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1EffectContext2 : ID2D1EffectContext2.Interface
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult CreateEffect(Guid* effectId, ID2D1Effect** effect)
|
public HResult CreateEffect(Guid* effectId, ID2D1Effect** effect)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext2*, Guid*, ID2D1Effect**, int>)(lpVtbl[4]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), effectId, effect);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext2*, Guid*, ID2D1Effect**, int>)(lpVtbl[4]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), effectId, effect);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext2*, Guid*, ID2D1Effect**, int>)(lpVtbl[4]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), effectId, effect);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.GetMaximumSupportedFeatureLevel" />
|
/// <inheritdoc cref="ID2D1EffectContext.GetMaximumSupportedFeatureLevel" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1EffectContext2 : ID2D1EffectContext2.Interface
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult GetMaximumSupportedFeatureLevel(Graphics.Direct3D.FeatureLevel* featureLevels, uint featureLevelsCount, Graphics.Direct3D.FeatureLevel* maximumSupportedFeatureLevel)
|
public HResult GetMaximumSupportedFeatureLevel(Graphics.Direct3D.FeatureLevel* featureLevels, uint featureLevelsCount, Graphics.Direct3D.FeatureLevel* maximumSupportedFeatureLevel)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext2*, Graphics.Direct3D.FeatureLevel*, uint, Graphics.Direct3D.FeatureLevel*, int>)(lpVtbl[5]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), featureLevels, featureLevelsCount, maximumSupportedFeatureLevel);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext2*, Graphics.Direct3D.FeatureLevel*, uint, Graphics.Direct3D.FeatureLevel*, int>)(lpVtbl[5]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), featureLevels, featureLevelsCount, maximumSupportedFeatureLevel);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext2*, Graphics.Direct3D.FeatureLevel*, uint, Graphics.Direct3D.FeatureLevel*, int>)(lpVtbl[5]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), featureLevels, featureLevelsCount, maximumSupportedFeatureLevel);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.CreateTransformNodeFromEffect" />
|
/// <inheritdoc cref="ID2D1EffectContext.CreateTransformNodeFromEffect" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1EffectContext2 : ID2D1EffectContext2.Interface
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult CreateTransformNodeFromEffect(ID2D1Effect* effect, ID2D1TransformNode** transformNode)
|
public HResult CreateTransformNodeFromEffect(ID2D1Effect* effect, ID2D1TransformNode** transformNode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext2*, ID2D1Effect*, ID2D1TransformNode**, int>)(lpVtbl[6]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), effect, transformNode);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext2*, ID2D1Effect*, ID2D1TransformNode**, int>)(lpVtbl[6]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), effect, transformNode);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext2*, ID2D1Effect*, ID2D1TransformNode**, int>)(lpVtbl[6]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), effect, transformNode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.CreateBlendTransform" />
|
/// <inheritdoc cref="ID2D1EffectContext.CreateBlendTransform" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1EffectContext2 : ID2D1EffectContext2.Interface
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public HResult CreateBlendTransform(uint numInputs, BlendDescription* blendDescription, ID2D1BlendTransform** transform)
|
public HResult CreateBlendTransform(uint numInputs, BlendDescription* blendDescription, ID2D1BlendTransform** transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext2*, uint, BlendDescription*, ID2D1BlendTransform**, int>)(lpVtbl[7]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), numInputs, blendDescription, transform);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext2*, uint, BlendDescription*, ID2D1BlendTransform**, int>)(lpVtbl[7]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), numInputs, blendDescription, transform);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext2*, uint, BlendDescription*, ID2D1BlendTransform**, int>)(lpVtbl[7]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), numInputs, blendDescription, transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.CreateBorderTransform" />
|
/// <inheritdoc cref="ID2D1EffectContext.CreateBorderTransform" />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1EffectContext2 : ID2D1EffectContext2.Interface
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CreateBorderTransform(ExtendMode extendModeX, ExtendMode extendModeY, ID2D1BorderTransform** transform)
|
public HResult CreateBorderTransform(ExtendMode extendModeX, ExtendMode extendModeY, ID2D1BorderTransform** transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext2*, ExtendMode, ExtendMode, ID2D1BorderTransform**, int>)(lpVtbl[8]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), extendModeX, extendModeY, transform);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext2*, ExtendMode, ExtendMode, ID2D1BorderTransform**, int>)(lpVtbl[8]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), extendModeX, extendModeY, transform);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext2*, ExtendMode, ExtendMode, ID2D1BorderTransform**, int>)(lpVtbl[8]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), extendModeX, extendModeY, transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.CreateOffsetTransform" />
|
/// <inheritdoc cref="ID2D1EffectContext.CreateOffsetTransform" />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1EffectContext2 : ID2D1EffectContext2.Interface
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult CreateOffsetTransform(System.Drawing.Point offset, ID2D1OffsetTransform** transform)
|
public HResult CreateOffsetTransform(System.Drawing.Point offset, ID2D1OffsetTransform** transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext2*, System.Drawing.Point, ID2D1OffsetTransform**, int>)(lpVtbl[9]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), offset, transform);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext2*, System.Drawing.Point, ID2D1OffsetTransform**, int>)(lpVtbl[9]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), offset, transform);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext2*, System.Drawing.Point, ID2D1OffsetTransform**, int>)(lpVtbl[9]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), offset, transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.CreateBoundsAdjustmentTransform" />
|
/// <inheritdoc cref="ID2D1EffectContext.CreateBoundsAdjustmentTransform" />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1EffectContext2 : ID2D1EffectContext2.Interface
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult CreateBoundsAdjustmentTransform(Rect* outputRectangle, ID2D1BoundsAdjustmentTransform** transform)
|
public HResult CreateBoundsAdjustmentTransform(Rect* outputRectangle, ID2D1BoundsAdjustmentTransform** transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext2*, Rect*, ID2D1BoundsAdjustmentTransform**, int>)(lpVtbl[10]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), outputRectangle, transform);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext2*, Rect*, ID2D1BoundsAdjustmentTransform**, int>)(lpVtbl[10]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), outputRectangle, transform);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext2*, Rect*, ID2D1BoundsAdjustmentTransform**, int>)(lpVtbl[10]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), outputRectangle, transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.LoadPixelShader" />
|
/// <inheritdoc cref="ID2D1EffectContext.LoadPixelShader" />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1EffectContext2 : ID2D1EffectContext2.Interface
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult LoadPixelShader(Guid* shaderId, byte* shaderBuffer, uint shaderBufferCount)
|
public HResult LoadPixelShader(Guid* shaderId, byte* shaderBuffer, uint shaderBufferCount)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext2*, Guid*, byte*, uint, int>)(lpVtbl[11]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), shaderId, shaderBuffer, shaderBufferCount);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext2*, Guid*, byte*, uint, int>)(lpVtbl[11]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), shaderId, shaderBuffer, shaderBufferCount);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext2*, Guid*, byte*, uint, int>)(lpVtbl[11]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), shaderId, shaderBuffer, shaderBufferCount);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.LoadVertexShader" />
|
/// <inheritdoc cref="ID2D1EffectContext.LoadVertexShader" />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1EffectContext2 : ID2D1EffectContext2.Interface
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public HResult LoadVertexShader(Guid* resourceId, byte* shaderBuffer, uint shaderBufferCount)
|
public HResult LoadVertexShader(Guid* resourceId, byte* shaderBuffer, uint shaderBufferCount)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext2*, Guid*, byte*, uint, int>)(lpVtbl[12]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), resourceId, shaderBuffer, shaderBufferCount);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext2*, Guid*, byte*, uint, int>)(lpVtbl[12]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), resourceId, shaderBuffer, shaderBufferCount);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext2*, Guid*, byte*, uint, int>)(lpVtbl[12]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), resourceId, shaderBuffer, shaderBufferCount);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.LoadComputeShader" />
|
/// <inheritdoc cref="ID2D1EffectContext.LoadComputeShader" />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1EffectContext2 : ID2D1EffectContext2.Interface
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult LoadComputeShader(Guid* resourceId, byte* shaderBuffer, uint shaderBufferCount)
|
public HResult LoadComputeShader(Guid* resourceId, byte* shaderBuffer, uint shaderBufferCount)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext2*, Guid*, byte*, uint, int>)(lpVtbl[13]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), resourceId, shaderBuffer, shaderBufferCount);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext2*, Guid*, byte*, uint, int>)(lpVtbl[13]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), resourceId, shaderBuffer, shaderBufferCount);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext2*, Guid*, byte*, uint, int>)(lpVtbl[13]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), resourceId, shaderBuffer, shaderBufferCount);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.IsShaderLoaded" />
|
/// <inheritdoc cref="ID2D1EffectContext.IsShaderLoaded" />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1EffectContext2 : ID2D1EffectContext2.Interface
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public Bool32 IsShaderLoaded(Guid* shaderId)
|
public Bool32 IsShaderLoaded(Guid* shaderId)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext2*, Guid*, Bool32>)(lpVtbl[14]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), shaderId);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext2*, Guid*, Bool32>)(lpVtbl[14]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), shaderId);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext2*, Guid*, Bool32>)(lpVtbl[14]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), shaderId);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.CreateResourceTexture" />
|
/// <inheritdoc cref="ID2D1EffectContext.CreateResourceTexture" />
|
||||||
@@ -235,11 +171,7 @@ public unsafe partial struct ID2D1EffectContext2 : ID2D1EffectContext2.Interface
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public HResult CreateResourceTexture(Guid* resourceId, ResourceTextureProperties* resourceTextureProperties, byte* data, uint* strides, uint dataSize, ID2D1ResourceTexture** resourceTexture)
|
public HResult CreateResourceTexture(Guid* resourceId, ResourceTextureProperties* resourceTextureProperties, byte* data, uint* strides, uint dataSize, ID2D1ResourceTexture** resourceTexture)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext2*, Guid*, ResourceTextureProperties*, byte*, uint*, uint, ID2D1ResourceTexture**, int>)(lpVtbl[15]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), resourceId, resourceTextureProperties, data, strides, dataSize, resourceTexture);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext2*, Guid*, ResourceTextureProperties*, byte*, uint*, uint, ID2D1ResourceTexture**, int>)(lpVtbl[15]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), resourceId, resourceTextureProperties, data, strides, dataSize, resourceTexture);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext2*, Guid*, ResourceTextureProperties*, byte*, uint*, uint, ID2D1ResourceTexture**, int>)(lpVtbl[15]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), resourceId, resourceTextureProperties, data, strides, dataSize, resourceTexture);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.FindResourceTexture" />
|
/// <inheritdoc cref="ID2D1EffectContext.FindResourceTexture" />
|
||||||
@@ -247,11 +179,7 @@ public unsafe partial struct ID2D1EffectContext2 : ID2D1EffectContext2.Interface
|
|||||||
[VtblIndex(16)]
|
[VtblIndex(16)]
|
||||||
public HResult FindResourceTexture(Guid* resourceId, ID2D1ResourceTexture** resourceTexture)
|
public HResult FindResourceTexture(Guid* resourceId, ID2D1ResourceTexture** resourceTexture)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext2*, Guid*, ID2D1ResourceTexture**, int>)(lpVtbl[16]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), resourceId, resourceTexture);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext2*, Guid*, ID2D1ResourceTexture**, int>)(lpVtbl[16]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), resourceId, resourceTexture);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext2*, Guid*, ID2D1ResourceTexture**, int>)(lpVtbl[16]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), resourceId, resourceTexture);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.CreateVertexBuffer" />
|
/// <inheritdoc cref="ID2D1EffectContext.CreateVertexBuffer" />
|
||||||
@@ -259,11 +187,7 @@ public unsafe partial struct ID2D1EffectContext2 : ID2D1EffectContext2.Interface
|
|||||||
[VtblIndex(17)]
|
[VtblIndex(17)]
|
||||||
public HResult CreateVertexBuffer(VertexBufferProperties* vertexBufferProperties, Guid* resourceId, CustomVertexBufferProperties* customVertexBufferProperties, ID2D1VertexBuffer** buffer)
|
public HResult CreateVertexBuffer(VertexBufferProperties* vertexBufferProperties, Guid* resourceId, CustomVertexBufferProperties* customVertexBufferProperties, ID2D1VertexBuffer** buffer)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext2*, VertexBufferProperties*, Guid*, CustomVertexBufferProperties*, ID2D1VertexBuffer**, int>)(lpVtbl[17]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), vertexBufferProperties, resourceId, customVertexBufferProperties, buffer);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext2*, VertexBufferProperties*, Guid*, CustomVertexBufferProperties*, ID2D1VertexBuffer**, int>)(lpVtbl[17]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), vertexBufferProperties, resourceId, customVertexBufferProperties, buffer);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext2*, VertexBufferProperties*, Guid*, CustomVertexBufferProperties*, ID2D1VertexBuffer**, int>)(lpVtbl[17]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), vertexBufferProperties, resourceId, customVertexBufferProperties, buffer);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.FindVertexBuffer" />
|
/// <inheritdoc cref="ID2D1EffectContext.FindVertexBuffer" />
|
||||||
@@ -271,11 +195,7 @@ public unsafe partial struct ID2D1EffectContext2 : ID2D1EffectContext2.Interface
|
|||||||
[VtblIndex(18)]
|
[VtblIndex(18)]
|
||||||
public HResult FindVertexBuffer(Guid* resourceId, ID2D1VertexBuffer** buffer)
|
public HResult FindVertexBuffer(Guid* resourceId, ID2D1VertexBuffer** buffer)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext2*, Guid*, ID2D1VertexBuffer**, int>)(lpVtbl[18]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), resourceId, buffer);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext2*, Guid*, ID2D1VertexBuffer**, int>)(lpVtbl[18]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), resourceId, buffer);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext2*, Guid*, ID2D1VertexBuffer**, int>)(lpVtbl[18]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), resourceId, buffer);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.CreateColorContext" />
|
/// <inheritdoc cref="ID2D1EffectContext.CreateColorContext" />
|
||||||
@@ -283,11 +203,7 @@ public unsafe partial struct ID2D1EffectContext2 : ID2D1EffectContext2.Interface
|
|||||||
[VtblIndex(19)]
|
[VtblIndex(19)]
|
||||||
public HResult CreateColorContext(ColorSpace space, byte* profile, uint profileSize, ID2D1ColorContext** colorContext)
|
public HResult CreateColorContext(ColorSpace space, byte* profile, uint profileSize, ID2D1ColorContext** colorContext)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext2*, ColorSpace, byte*, uint, ID2D1ColorContext**, int>)(lpVtbl[19]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), space, profile, profileSize, colorContext);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext2*, ColorSpace, byte*, uint, ID2D1ColorContext**, int>)(lpVtbl[19]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), space, profile, profileSize, colorContext);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext2*, ColorSpace, byte*, uint, ID2D1ColorContext**, int>)(lpVtbl[19]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), space, profile, profileSize, colorContext);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.CreateColorContextFromFilename" />
|
/// <inheritdoc cref="ID2D1EffectContext.CreateColorContextFromFilename" />
|
||||||
@@ -295,11 +211,7 @@ public unsafe partial struct ID2D1EffectContext2 : ID2D1EffectContext2.Interface
|
|||||||
[VtblIndex(20)]
|
[VtblIndex(20)]
|
||||||
public HResult CreateColorContextFromFilename(ushort* filename, ID2D1ColorContext** colorContext)
|
public HResult CreateColorContextFromFilename(ushort* filename, ID2D1ColorContext** colorContext)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext2*, ushort*, ID2D1ColorContext**, int>)(lpVtbl[20]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), filename, colorContext);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext2*, ushort*, ID2D1ColorContext**, int>)(lpVtbl[20]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), filename, colorContext);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext2*, ushort*, ID2D1ColorContext**, int>)(lpVtbl[20]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), filename, colorContext);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.CreateColorContextFromWicColorContext" />
|
/// <inheritdoc cref="ID2D1EffectContext.CreateColorContextFromWicColorContext" />
|
||||||
@@ -307,11 +219,7 @@ public unsafe partial struct ID2D1EffectContext2 : ID2D1EffectContext2.Interface
|
|||||||
[VtblIndex(21)]
|
[VtblIndex(21)]
|
||||||
public HResult CreateColorContextFromWicColorContext(Graphics.Imaging.IWICColorContext* wicColorContext, ID2D1ColorContext** colorContext)
|
public HResult CreateColorContextFromWicColorContext(Graphics.Imaging.IWICColorContext* wicColorContext, ID2D1ColorContext** colorContext)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext2*, Graphics.Imaging.IWICColorContext*, ID2D1ColorContext**, int>)(lpVtbl[21]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), wicColorContext, colorContext);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext2*, Graphics.Imaging.IWICColorContext*, ID2D1ColorContext**, int>)(lpVtbl[21]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), wicColorContext, colorContext);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext2*, Graphics.Imaging.IWICColorContext*, ID2D1ColorContext**, int>)(lpVtbl[21]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), wicColorContext, colorContext);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.CheckFeatureSupport" />
|
/// <inheritdoc cref="ID2D1EffectContext.CheckFeatureSupport" />
|
||||||
@@ -319,11 +227,7 @@ public unsafe partial struct ID2D1EffectContext2 : ID2D1EffectContext2.Interface
|
|||||||
[VtblIndex(22)]
|
[VtblIndex(22)]
|
||||||
public HResult CheckFeatureSupport(Feature feature, void* featureSupportData, uint featureSupportDataSize)
|
public HResult CheckFeatureSupport(Feature feature, void* featureSupportData, uint featureSupportDataSize)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext2*, Feature, void*, uint, int>)(lpVtbl[22]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), feature, featureSupportData, featureSupportDataSize);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext2*, Feature, void*, uint, int>)(lpVtbl[22]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), feature, featureSupportData, featureSupportDataSize);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext2*, Feature, void*, uint, int>)(lpVtbl[22]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), feature, featureSupportData, featureSupportDataSize);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext.IsBufferPrecisionSupported" />
|
/// <inheritdoc cref="ID2D1EffectContext.IsBufferPrecisionSupported" />
|
||||||
@@ -331,11 +235,7 @@ public unsafe partial struct ID2D1EffectContext2 : ID2D1EffectContext2.Interface
|
|||||||
[VtblIndex(23)]
|
[VtblIndex(23)]
|
||||||
public Bool32 IsBufferPrecisionSupported(BufferPrecision bufferPrecision)
|
public Bool32 IsBufferPrecisionSupported(BufferPrecision bufferPrecision)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext2*, BufferPrecision, Bool32>)(lpVtbl[23]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), bufferPrecision);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext2*, BufferPrecision, Bool32>)(lpVtbl[23]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), bufferPrecision);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext2*, BufferPrecision, Bool32>)(lpVtbl[23]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), bufferPrecision);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1EffectContext1.CreateLookupTable3D" />
|
/// <inheritdoc cref="ID2D1EffectContext1.CreateLookupTable3D" />
|
||||||
@@ -343,11 +243,7 @@ public unsafe partial struct ID2D1EffectContext2 : ID2D1EffectContext2.Interface
|
|||||||
[VtblIndex(24)]
|
[VtblIndex(24)]
|
||||||
public HResult CreateLookupTable3D(BufferPrecision precision, uint* extents, byte* data, uint dataCount, uint* strides, ID2D1LookupTable3D** lookupTable)
|
public HResult CreateLookupTable3D(BufferPrecision precision, uint* extents, byte* data, uint dataCount, uint* strides, ID2D1LookupTable3D** lookupTable)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext2*, BufferPrecision, uint*, byte*, uint, uint*, ID2D1LookupTable3D**, int>)(lpVtbl[24]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), precision, extents, data, dataCount, strides, lookupTable);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext2*, BufferPrecision, uint*, byte*, uint, uint*, ID2D1LookupTable3D**, int>)(lpVtbl[24]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), precision, extents, data, dataCount, strides, lookupTable);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext2*, BufferPrecision, uint*, byte*, uint, uint*, ID2D1LookupTable3D**, int>)(lpVtbl[24]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), precision, extents, data, dataCount, strides, lookupTable);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext2::CreateColorContextFromDxgiColorSpace"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext2::CreateColorContextFromDxgiColorSpace"]/*' />
|
||||||
@@ -355,11 +251,7 @@ public unsafe partial struct ID2D1EffectContext2 : ID2D1EffectContext2.Interface
|
|||||||
[VtblIndex(25)]
|
[VtblIndex(25)]
|
||||||
public HResult CreateColorContextFromDxgiColorSpace(Graphics.Dxgi.Common.ColorSpaceType colorSpace, ID2D1ColorContext1** colorContext)
|
public HResult CreateColorContextFromDxgiColorSpace(Graphics.Dxgi.Common.ColorSpaceType colorSpace, ID2D1ColorContext1** colorContext)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext2*, Graphics.Dxgi.Common.ColorSpaceType, ID2D1ColorContext1**, int>)(lpVtbl[25]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), colorSpace, colorContext);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext2*, Graphics.Dxgi.Common.ColorSpaceType, ID2D1ColorContext1**, int>)(lpVtbl[25]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), colorSpace, colorContext);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext2*, Graphics.Dxgi.Common.ColorSpaceType, ID2D1ColorContext1**, int>)(lpVtbl[25]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), colorSpace, colorContext);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext2::CreateColorContextFromSimpleColorProfile"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectContext2::CreateColorContextFromSimpleColorProfile"]/*' />
|
||||||
@@ -367,11 +259,7 @@ public unsafe partial struct ID2D1EffectContext2 : ID2D1EffectContext2.Interface
|
|||||||
[VtblIndex(26)]
|
[VtblIndex(26)]
|
||||||
public HResult CreateColorContextFromSimpleColorProfile(SimpleColorProfile* simpleProfile, ID2D1ColorContext1** colorContext)
|
public HResult CreateColorContextFromSimpleColorProfile(SimpleColorProfile* simpleProfile, ID2D1ColorContext1** colorContext)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectContext2*, SimpleColorProfile*, ID2D1ColorContext1**, int>)(lpVtbl[26]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), simpleProfile, colorContext);
|
||||||
return ((delegate* unmanaged<ID2D1EffectContext2*, SimpleColorProfile*, ID2D1ColorContext1**, int>)(lpVtbl[26]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), simpleProfile, colorContext);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectContext2*, SimpleColorProfile*, ID2D1ColorContext1**, int>)(lpVtbl[26]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), simpleProfile, colorContext);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1EffectContext1.Interface
|
public interface Interface : ID2D1EffectContext1.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1EffectImpl : ID2D1EffectImpl.Interface, INativ
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1EffectImpl));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1EffectImpl));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1EffectImpl));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1EffectImpl : ID2D1EffectImpl.Interface, INativ
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectImpl*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1EffectImpl*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1EffectImpl*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1EffectImpl*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectImpl*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1EffectImpl*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1EffectImpl : ID2D1EffectImpl.Interface, INativ
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectImpl*, uint>)(lpVtbl[1]))((ID2D1EffectImpl*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1EffectImpl*, uint>)(lpVtbl[1]))((ID2D1EffectImpl*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectImpl*, uint>)(lpVtbl[1]))((ID2D1EffectImpl*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1EffectImpl : ID2D1EffectImpl.Interface, INativ
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectImpl*, uint>)(lpVtbl[2]))((ID2D1EffectImpl*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1EffectImpl*, uint>)(lpVtbl[2]))((ID2D1EffectImpl*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectImpl*, uint>)(lpVtbl[2]))((ID2D1EffectImpl*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectImpl::Initialize"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectImpl::Initialize"]/*' />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1EffectImpl : ID2D1EffectImpl.Interface, INativ
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public HResult Initialize(ID2D1EffectContext* effectContext, ID2D1TransformGraph* transformGraph)
|
public HResult Initialize(ID2D1EffectContext* effectContext, ID2D1TransformGraph* transformGraph)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectImpl*, ID2D1EffectContext*, ID2D1TransformGraph*, int>)(lpVtbl[3]))((ID2D1EffectImpl*)Unsafe.AsPointer(ref this), effectContext, transformGraph);
|
||||||
return ((delegate* unmanaged<ID2D1EffectImpl*, ID2D1EffectContext*, ID2D1TransformGraph*, int>)(lpVtbl[3]))((ID2D1EffectImpl*)Unsafe.AsPointer(ref this), effectContext, transformGraph);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectImpl*, ID2D1EffectContext*, ID2D1TransformGraph*, int>)(lpVtbl[3]))((ID2D1EffectImpl*)Unsafe.AsPointer(ref this), effectContext, transformGraph);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectImpl::PrepareForRender"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectImpl::PrepareForRender"]/*' />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1EffectImpl : ID2D1EffectImpl.Interface, INativ
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult PrepareForRender(ChangeType changeType)
|
public HResult PrepareForRender(ChangeType changeType)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectImpl*, ChangeType, int>)(lpVtbl[4]))((ID2D1EffectImpl*)Unsafe.AsPointer(ref this), changeType);
|
||||||
return ((delegate* unmanaged<ID2D1EffectImpl*, ChangeType, int>)(lpVtbl[4]))((ID2D1EffectImpl*)Unsafe.AsPointer(ref this), changeType);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectImpl*, ChangeType, int>)(lpVtbl[4]))((ID2D1EffectImpl*)Unsafe.AsPointer(ref this), changeType);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectImpl::SetGraph"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EffectImpl::SetGraph"]/*' />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1EffectImpl : ID2D1EffectImpl.Interface, INativ
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult SetGraph(ID2D1TransformGraph* transformGraph)
|
public HResult SetGraph(ID2D1TransformGraph* transformGraph)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EffectImpl*, ID2D1TransformGraph*, int>)(lpVtbl[5]))((ID2D1EffectImpl*)Unsafe.AsPointer(ref this), transformGraph);
|
||||||
return ((delegate* unmanaged<ID2D1EffectImpl*, ID2D1TransformGraph*, int>)(lpVtbl[5]))((ID2D1EffectImpl*)Unsafe.AsPointer(ref this), transformGraph);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EffectImpl*, ID2D1TransformGraph*, int>)(lpVtbl[5]))((ID2D1EffectImpl*)Unsafe.AsPointer(ref this), transformGraph);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : IUnknown.Interface
|
public interface Interface : IUnknown.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1EllipseGeometry : ID2D1EllipseGeometry.Interfa
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1EllipseGeometry));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1EllipseGeometry));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1EllipseGeometry));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1EllipseGeometry : ID2D1EllipseGeometry.Interfa
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EllipseGeometry*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1EllipseGeometry*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EllipseGeometry*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1EllipseGeometry : ID2D1EllipseGeometry.Interfa
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EllipseGeometry*, uint>)(lpVtbl[1]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1EllipseGeometry*, uint>)(lpVtbl[1]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EllipseGeometry*, uint>)(lpVtbl[1]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1EllipseGeometry : ID2D1EllipseGeometry.Interfa
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EllipseGeometry*, uint>)(lpVtbl[2]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1EllipseGeometry*, uint>)(lpVtbl[2]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EllipseGeometry*, uint>)(lpVtbl[2]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1EllipseGeometry : ID2D1EllipseGeometry.Interfa
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1EllipseGeometry*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1EllipseGeometry*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1EllipseGeometry*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.GetBounds" />
|
/// <inheritdoc cref="ID2D1Geometry.GetBounds" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1EllipseGeometry : ID2D1EllipseGeometry.Interfa
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult GetBounds(Matrix3x2* worldTransform, Win32.Numerics.RectF** bounds)
|
public HResult GetBounds(Matrix3x2* worldTransform, Win32.Numerics.RectF** bounds)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EllipseGeometry*, Matrix3x2*, Win32.Numerics.RectF**, int>)(lpVtbl[4]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), worldTransform, bounds);
|
||||||
return ((delegate* unmanaged<ID2D1EllipseGeometry*, Matrix3x2*, Win32.Numerics.RectF**, int>)(lpVtbl[4]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), worldTransform, bounds);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EllipseGeometry*, Matrix3x2*, Win32.Numerics.RectF**, int>)(lpVtbl[4]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), worldTransform, bounds);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.GetWidenedBounds" />
|
/// <inheritdoc cref="ID2D1Geometry.GetWidenedBounds" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1EllipseGeometry : ID2D1EllipseGeometry.Interfa
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult GetWidenedBounds(float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Win32.Numerics.RectF** bounds)
|
public HResult GetWidenedBounds(float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Win32.Numerics.RectF** bounds)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EllipseGeometry*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Win32.Numerics.RectF**, int>)(lpVtbl[5]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, bounds);
|
||||||
return ((delegate* unmanaged<ID2D1EllipseGeometry*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Win32.Numerics.RectF**, int>)(lpVtbl[5]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, bounds);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EllipseGeometry*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Win32.Numerics.RectF**, int>)(lpVtbl[5]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, bounds);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.StrokeContainsPoint" />
|
/// <inheritdoc cref="ID2D1Geometry.StrokeContainsPoint" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1EllipseGeometry : ID2D1EllipseGeometry.Interfa
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult StrokeContainsPoint(Vector2 point, float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains)
|
public HResult StrokeContainsPoint(Vector2 point, float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EllipseGeometry*, Vector2, float, ID2D1StrokeStyle*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[6]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains);
|
||||||
return ((delegate* unmanaged<ID2D1EllipseGeometry*, Vector2, float, ID2D1StrokeStyle*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[6]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EllipseGeometry*, Vector2, float, ID2D1StrokeStyle*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[6]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.FillContainsPoint" />
|
/// <inheritdoc cref="ID2D1Geometry.FillContainsPoint" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1EllipseGeometry : ID2D1EllipseGeometry.Interfa
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public HResult FillContainsPoint(Vector2 point, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains)
|
public HResult FillContainsPoint(Vector2 point, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EllipseGeometry*, Vector2, Matrix3x2*, float, Bool32*, int>)(lpVtbl[7]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains);
|
||||||
return ((delegate* unmanaged<ID2D1EllipseGeometry*, Vector2, Matrix3x2*, float, Bool32*, int>)(lpVtbl[7]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EllipseGeometry*, Vector2, Matrix3x2*, float, Bool32*, int>)(lpVtbl[7]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.CompareWithGeometry" />
|
/// <inheritdoc cref="ID2D1Geometry.CompareWithGeometry" />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1EllipseGeometry : ID2D1EllipseGeometry.Interfa
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CompareWithGeometry(ID2D1Geometry* inputGeometry, Matrix3x2* inputGeometryTransform, float flatteningTolerance, GeometryRelation* relation)
|
public HResult CompareWithGeometry(ID2D1Geometry* inputGeometry, Matrix3x2* inputGeometryTransform, float flatteningTolerance, GeometryRelation* relation)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EllipseGeometry*, ID2D1Geometry*, Matrix3x2*, float, GeometryRelation*, int>)(lpVtbl[8]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), inputGeometry, inputGeometryTransform, flatteningTolerance, relation);
|
||||||
return ((delegate* unmanaged<ID2D1EllipseGeometry*, ID2D1Geometry*, Matrix3x2*, float, GeometryRelation*, int>)(lpVtbl[8]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), inputGeometry, inputGeometryTransform, flatteningTolerance, relation);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EllipseGeometry*, ID2D1Geometry*, Matrix3x2*, float, GeometryRelation*, int>)(lpVtbl[8]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), inputGeometry, inputGeometryTransform, flatteningTolerance, relation);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.Simplify" />
|
/// <inheritdoc cref="ID2D1Geometry.Simplify" />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1EllipseGeometry : ID2D1EllipseGeometry.Interfa
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult Simplify(GeometrySimplificationOption simplificationOption, Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
public HResult Simplify(GeometrySimplificationOption simplificationOption, Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EllipseGeometry*, GeometrySimplificationOption, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[9]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), simplificationOption, worldTransform, flatteningTolerance, geometrySink);
|
||||||
return ((delegate* unmanaged<ID2D1EllipseGeometry*, GeometrySimplificationOption, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[9]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), simplificationOption, worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EllipseGeometry*, GeometrySimplificationOption, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[9]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), simplificationOption, worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.Tessellate" />
|
/// <inheritdoc cref="ID2D1Geometry.Tessellate" />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1EllipseGeometry : ID2D1EllipseGeometry.Interfa
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult Tessellate(Matrix3x2* worldTransform, float flatteningTolerance, ID2D1TessellationSink* tessellationSink)
|
public HResult Tessellate(Matrix3x2* worldTransform, float flatteningTolerance, ID2D1TessellationSink* tessellationSink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EllipseGeometry*, Matrix3x2*, float, ID2D1TessellationSink*, int>)(lpVtbl[10]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, tessellationSink);
|
||||||
return ((delegate* unmanaged<ID2D1EllipseGeometry*, Matrix3x2*, float, ID2D1TessellationSink*, int>)(lpVtbl[10]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, tessellationSink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EllipseGeometry*, Matrix3x2*, float, ID2D1TessellationSink*, int>)(lpVtbl[10]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, tessellationSink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.CombineWithGeometry" />
|
/// <inheritdoc cref="ID2D1Geometry.CombineWithGeometry" />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1EllipseGeometry : ID2D1EllipseGeometry.Interfa
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult CombineWithGeometry(ID2D1Geometry* inputGeometry, CombineMode combineMode, Matrix3x2* inputGeometryTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
public HResult CombineWithGeometry(ID2D1Geometry* inputGeometry, CombineMode combineMode, Matrix3x2* inputGeometryTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EllipseGeometry*, ID2D1Geometry*, CombineMode, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[11]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), inputGeometry, combineMode, inputGeometryTransform, flatteningTolerance, geometrySink);
|
||||||
return ((delegate* unmanaged<ID2D1EllipseGeometry*, ID2D1Geometry*, CombineMode, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[11]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), inputGeometry, combineMode, inputGeometryTransform, flatteningTolerance, geometrySink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EllipseGeometry*, ID2D1Geometry*, CombineMode, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[11]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), inputGeometry, combineMode, inputGeometryTransform, flatteningTolerance, geometrySink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.Outline" />
|
/// <inheritdoc cref="ID2D1Geometry.Outline" />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1EllipseGeometry : ID2D1EllipseGeometry.Interfa
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public HResult Outline(Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
public HResult Outline(Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EllipseGeometry*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[12]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, geometrySink);
|
||||||
return ((delegate* unmanaged<ID2D1EllipseGeometry*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[12]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EllipseGeometry*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[12]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.ComputeArea" />
|
/// <inheritdoc cref="ID2D1Geometry.ComputeArea" />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1EllipseGeometry : ID2D1EllipseGeometry.Interfa
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult ComputeArea(Matrix3x2* worldTransform, float flatteningTolerance, float* area)
|
public HResult ComputeArea(Matrix3x2* worldTransform, float flatteningTolerance, float* area)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EllipseGeometry*, Matrix3x2*, float, float*, int>)(lpVtbl[13]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, area);
|
||||||
return ((delegate* unmanaged<ID2D1EllipseGeometry*, Matrix3x2*, float, float*, int>)(lpVtbl[13]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, area);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EllipseGeometry*, Matrix3x2*, float, float*, int>)(lpVtbl[13]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, area);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.ComputeLength" />
|
/// <inheritdoc cref="ID2D1Geometry.ComputeLength" />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1EllipseGeometry : ID2D1EllipseGeometry.Interfa
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public HResult ComputeLength(Matrix3x2* worldTransform, float flatteningTolerance, float* length)
|
public HResult ComputeLength(Matrix3x2* worldTransform, float flatteningTolerance, float* length)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EllipseGeometry*, Matrix3x2*, float, float*, int>)(lpVtbl[14]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, length);
|
||||||
return ((delegate* unmanaged<ID2D1EllipseGeometry*, Matrix3x2*, float, float*, int>)(lpVtbl[14]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, length);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EllipseGeometry*, Matrix3x2*, float, float*, int>)(lpVtbl[14]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, length);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.ComputePointAtLength" />
|
/// <inheritdoc cref="ID2D1Geometry.ComputePointAtLength" />
|
||||||
@@ -235,11 +171,7 @@ public unsafe partial struct ID2D1EllipseGeometry : ID2D1EllipseGeometry.Interfa
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public HResult ComputePointAtLength(float length, Matrix3x2* worldTransform, float flatteningTolerance, Vector2* point, Vector2* unitTangentVector)
|
public HResult ComputePointAtLength(float length, Matrix3x2* worldTransform, float flatteningTolerance, Vector2* point, Vector2* unitTangentVector)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EllipseGeometry*, float, Matrix3x2*, float, Vector2*, Vector2*, int>)(lpVtbl[15]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector);
|
||||||
return ((delegate* unmanaged<ID2D1EllipseGeometry*, float, Matrix3x2*, float, Vector2*, Vector2*, int>)(lpVtbl[15]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EllipseGeometry*, float, Matrix3x2*, float, Vector2*, Vector2*, int>)(lpVtbl[15]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.Widen" />
|
/// <inheritdoc cref="ID2D1Geometry.Widen" />
|
||||||
@@ -247,11 +179,7 @@ public unsafe partial struct ID2D1EllipseGeometry : ID2D1EllipseGeometry.Interfa
|
|||||||
[VtblIndex(16)]
|
[VtblIndex(16)]
|
||||||
public HResult Widen(float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
public HResult Widen(float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1EllipseGeometry*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[16]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, geometrySink);
|
||||||
return ((delegate* unmanaged<ID2D1EllipseGeometry*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[16]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1EllipseGeometry*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[16]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EllipseGeometry::GetEllipse"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1EllipseGeometry::GetEllipse"]/*' />
|
||||||
@@ -259,11 +187,7 @@ public unsafe partial struct ID2D1EllipseGeometry : ID2D1EllipseGeometry.Interfa
|
|||||||
[VtblIndex(17)]
|
[VtblIndex(17)]
|
||||||
public void GetEllipse(Ellipse* ellipse)
|
public void GetEllipse(Ellipse* ellipse)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1EllipseGeometry*, Ellipse*, void>)(lpVtbl[17]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), ellipse);
|
||||||
((delegate* unmanaged<ID2D1EllipseGeometry*, Ellipse*, void>)(lpVtbl[17]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), ellipse);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1EllipseGeometry*, Ellipse*, void>)(lpVtbl[17]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), ellipse);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Geometry.Interface
|
public interface Interface : ID2D1Geometry.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1Factory : ID2D1Factory.Interface, INativeGuid
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1Factory : ID2D1Factory.Interface, INativeGuid
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Factory*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1Factory*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Factory*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Factory*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1Factory : ID2D1Factory.Interface, INativeGuid
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory*, uint>)(lpVtbl[1]))((ID2D1Factory*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Factory*, uint>)(lpVtbl[1]))((ID2D1Factory*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory*, uint>)(lpVtbl[1]))((ID2D1Factory*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1Factory : ID2D1Factory.Interface, INativeGuid
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory*, uint>)(lpVtbl[2]))((ID2D1Factory*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Factory*, uint>)(lpVtbl[2]))((ID2D1Factory*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory*, uint>)(lpVtbl[2]))((ID2D1Factory*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory::ReloadSystemMetrics"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory::ReloadSystemMetrics"]/*' />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1Factory : ID2D1Factory.Interface, INativeGuid
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public HResult ReloadSystemMetrics()
|
public HResult ReloadSystemMetrics()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory*, int>)(lpVtbl[3]))((ID2D1Factory*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Factory*, int>)(lpVtbl[3]))((ID2D1Factory*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory*, int>)(lpVtbl[3]))((ID2D1Factory*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory::GetDesktopDpi"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory::GetDesktopDpi"]/*' />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1Factory : ID2D1Factory.Interface, INativeGuid
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public void GetDesktopDpi(float* dpiX, float* dpiY)
|
public void GetDesktopDpi(float* dpiX, float* dpiY)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Factory*, float*, float*, void>)(lpVtbl[4]))((ID2D1Factory*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
||||||
((delegate* unmanaged<ID2D1Factory*, float*, float*, void>)(lpVtbl[4]))((ID2D1Factory*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Factory*, float*, float*, void>)(lpVtbl[4]))((ID2D1Factory*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory::CreateRectangleGeometry"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory::CreateRectangleGeometry"]/*' />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1Factory : ID2D1Factory.Interface, INativeGuid
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult CreateRectangleGeometry(Win32.Numerics.RectF* rectangle, ID2D1RectangleGeometry** rectangleGeometry)
|
public HResult CreateRectangleGeometry(Win32.Numerics.RectF* rectangle, ID2D1RectangleGeometry** rectangleGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory*, Win32.Numerics.RectF*, ID2D1RectangleGeometry**, int>)(lpVtbl[5]))((ID2D1Factory*)Unsafe.AsPointer(ref this), rectangle, rectangleGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory*, Win32.Numerics.RectF*, ID2D1RectangleGeometry**, int>)(lpVtbl[5]))((ID2D1Factory*)Unsafe.AsPointer(ref this), rectangle, rectangleGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory*, Win32.Numerics.RectF*, ID2D1RectangleGeometry**, int>)(lpVtbl[5]))((ID2D1Factory*)Unsafe.AsPointer(ref this), rectangle, rectangleGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory::CreateRoundedRectangleGeometry"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory::CreateRoundedRectangleGeometry"]/*' />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1Factory : ID2D1Factory.Interface, INativeGuid
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult CreateRoundedRectangleGeometry(RoundedRect* roundedRectangle, ID2D1RoundedRectangleGeometry** roundedRectangleGeometry)
|
public HResult CreateRoundedRectangleGeometry(RoundedRect* roundedRectangle, ID2D1RoundedRectangleGeometry** roundedRectangleGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory*, RoundedRect*, ID2D1RoundedRectangleGeometry**, int>)(lpVtbl[6]))((ID2D1Factory*)Unsafe.AsPointer(ref this), roundedRectangle, roundedRectangleGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory*, RoundedRect*, ID2D1RoundedRectangleGeometry**, int>)(lpVtbl[6]))((ID2D1Factory*)Unsafe.AsPointer(ref this), roundedRectangle, roundedRectangleGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory*, RoundedRect*, ID2D1RoundedRectangleGeometry**, int>)(lpVtbl[6]))((ID2D1Factory*)Unsafe.AsPointer(ref this), roundedRectangle, roundedRectangleGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory::CreateEllipseGeometry"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory::CreateEllipseGeometry"]/*' />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1Factory : ID2D1Factory.Interface, INativeGuid
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public HResult CreateEllipseGeometry(Ellipse* ellipse, ID2D1EllipseGeometry** ellipseGeometry)
|
public HResult CreateEllipseGeometry(Ellipse* ellipse, ID2D1EllipseGeometry** ellipseGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory*, Ellipse*, ID2D1EllipseGeometry**, int>)(lpVtbl[7]))((ID2D1Factory*)Unsafe.AsPointer(ref this), ellipse, ellipseGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory*, Ellipse*, ID2D1EllipseGeometry**, int>)(lpVtbl[7]))((ID2D1Factory*)Unsafe.AsPointer(ref this), ellipse, ellipseGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory*, Ellipse*, ID2D1EllipseGeometry**, int>)(lpVtbl[7]))((ID2D1Factory*)Unsafe.AsPointer(ref this), ellipse, ellipseGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory::CreateGeometryGroup"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory::CreateGeometryGroup"]/*' />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1Factory : ID2D1Factory.Interface, INativeGuid
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CreateGeometryGroup(Common.FillMode fillMode, ID2D1Geometry** geometries, uint geometriesCount, ID2D1GeometryGroup** geometryGroup)
|
public HResult CreateGeometryGroup(Common.FillMode fillMode, ID2D1Geometry** geometries, uint geometriesCount, ID2D1GeometryGroup** geometryGroup)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory*, Common.FillMode, ID2D1Geometry**, uint, ID2D1GeometryGroup**, int>)(lpVtbl[8]))((ID2D1Factory*)Unsafe.AsPointer(ref this), fillMode, geometries, geometriesCount, geometryGroup);
|
||||||
return ((delegate* unmanaged<ID2D1Factory*, Common.FillMode, ID2D1Geometry**, uint, ID2D1GeometryGroup**, int>)(lpVtbl[8]))((ID2D1Factory*)Unsafe.AsPointer(ref this), fillMode, geometries, geometriesCount, geometryGroup);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory*, Common.FillMode, ID2D1Geometry**, uint, ID2D1GeometryGroup**, int>)(lpVtbl[8]))((ID2D1Factory*)Unsafe.AsPointer(ref this), fillMode, geometries, geometriesCount, geometryGroup);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory::CreateTransformedGeometry"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory::CreateTransformedGeometry"]/*' />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1Factory : ID2D1Factory.Interface, INativeGuid
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult CreateTransformedGeometry(ID2D1Geometry* sourceGeometry, Matrix3x2* transform, ID2D1TransformedGeometry** transformedGeometry)
|
public HResult CreateTransformedGeometry(ID2D1Geometry* sourceGeometry, Matrix3x2* transform, ID2D1TransformedGeometry** transformedGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory*, ID2D1Geometry*, Matrix3x2*, ID2D1TransformedGeometry**, int>)(lpVtbl[9]))((ID2D1Factory*)Unsafe.AsPointer(ref this), sourceGeometry, transform, transformedGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory*, ID2D1Geometry*, Matrix3x2*, ID2D1TransformedGeometry**, int>)(lpVtbl[9]))((ID2D1Factory*)Unsafe.AsPointer(ref this), sourceGeometry, transform, transformedGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory*, ID2D1Geometry*, Matrix3x2*, ID2D1TransformedGeometry**, int>)(lpVtbl[9]))((ID2D1Factory*)Unsafe.AsPointer(ref this), sourceGeometry, transform, transformedGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory::CreatePathGeometry"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory::CreatePathGeometry"]/*' />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1Factory : ID2D1Factory.Interface, INativeGuid
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult CreatePathGeometry(ID2D1PathGeometry** pathGeometry)
|
public HResult CreatePathGeometry(ID2D1PathGeometry** pathGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory*, ID2D1PathGeometry**, int>)(lpVtbl[10]))((ID2D1Factory*)Unsafe.AsPointer(ref this), pathGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory*, ID2D1PathGeometry**, int>)(lpVtbl[10]))((ID2D1Factory*)Unsafe.AsPointer(ref this), pathGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory*, ID2D1PathGeometry**, int>)(lpVtbl[10]))((ID2D1Factory*)Unsafe.AsPointer(ref this), pathGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory::CreateStrokeStyle"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory::CreateStrokeStyle"]/*' />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1Factory : ID2D1Factory.Interface, INativeGuid
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult CreateStrokeStyle(StrokeStyleProperties* strokeStyleProperties, float* dashes, uint dashesCount, ID2D1StrokeStyle** strokeStyle)
|
public HResult CreateStrokeStyle(StrokeStyleProperties* strokeStyleProperties, float* dashes, uint dashesCount, ID2D1StrokeStyle** strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory*, StrokeStyleProperties*, float*, uint, ID2D1StrokeStyle**, int>)(lpVtbl[11]))((ID2D1Factory*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
||||||
return ((delegate* unmanaged<ID2D1Factory*, StrokeStyleProperties*, float*, uint, ID2D1StrokeStyle**, int>)(lpVtbl[11]))((ID2D1Factory*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory*, StrokeStyleProperties*, float*, uint, ID2D1StrokeStyle**, int>)(lpVtbl[11]))((ID2D1Factory*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory::CreateDrawingStateBlock"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory::CreateDrawingStateBlock"]/*' />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1Factory : ID2D1Factory.Interface, INativeGuid
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public HResult CreateDrawingStateBlock(DrawingStateDescription* drawingStateDescription, Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams, ID2D1DrawingStateBlock** drawingStateBlock)
|
public HResult CreateDrawingStateBlock(DrawingStateDescription* drawingStateDescription, Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams, ID2D1DrawingStateBlock** drawingStateBlock)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory*, DrawingStateDescription*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock**, int>)(lpVtbl[12]))((ID2D1Factory*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
||||||
return ((delegate* unmanaged<ID2D1Factory*, DrawingStateDescription*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock**, int>)(lpVtbl[12]))((ID2D1Factory*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory*, DrawingStateDescription*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock**, int>)(lpVtbl[12]))((ID2D1Factory*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory::CreateWicBitmapRenderTarget"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory::CreateWicBitmapRenderTarget"]/*' />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1Factory : ID2D1Factory.Interface, INativeGuid
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult CreateWicBitmapRenderTarget(Graphics.Imaging.IWICBitmap* target, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget)
|
public HResult CreateWicBitmapRenderTarget(Graphics.Imaging.IWICBitmap* target, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory*, Graphics.Imaging.IWICBitmap*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[13]))((ID2D1Factory*)Unsafe.AsPointer(ref this), target, renderTargetProperties, renderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1Factory*, Graphics.Imaging.IWICBitmap*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[13]))((ID2D1Factory*)Unsafe.AsPointer(ref this), target, renderTargetProperties, renderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory*, Graphics.Imaging.IWICBitmap*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[13]))((ID2D1Factory*)Unsafe.AsPointer(ref this), target, renderTargetProperties, renderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory::CreateHwndRenderTarget"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory::CreateHwndRenderTarget"]/*' />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1Factory : ID2D1Factory.Interface, INativeGuid
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public HResult CreateHwndRenderTarget(RenderTargetProperties* renderTargetProperties, HwndRenderTargetProperties* hwndRenderTargetProperties, ID2D1HwndRenderTarget** hwndRenderTarget)
|
public HResult CreateHwndRenderTarget(RenderTargetProperties* renderTargetProperties, HwndRenderTargetProperties* hwndRenderTargetProperties, ID2D1HwndRenderTarget** hwndRenderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory*, RenderTargetProperties*, HwndRenderTargetProperties*, ID2D1HwndRenderTarget**, int>)(lpVtbl[14]))((ID2D1Factory*)Unsafe.AsPointer(ref this), renderTargetProperties, hwndRenderTargetProperties, hwndRenderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1Factory*, RenderTargetProperties*, HwndRenderTargetProperties*, ID2D1HwndRenderTarget**, int>)(lpVtbl[14]))((ID2D1Factory*)Unsafe.AsPointer(ref this), renderTargetProperties, hwndRenderTargetProperties, hwndRenderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory*, RenderTargetProperties*, HwndRenderTargetProperties*, ID2D1HwndRenderTarget**, int>)(lpVtbl[14]))((ID2D1Factory*)Unsafe.AsPointer(ref this), renderTargetProperties, hwndRenderTargetProperties, hwndRenderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory::CreateDxgiSurfaceRenderTarget"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory::CreateDxgiSurfaceRenderTarget"]/*' />
|
||||||
@@ -235,11 +171,7 @@ public unsafe partial struct ID2D1Factory : ID2D1Factory.Interface, INativeGuid
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public HResult CreateDxgiSurfaceRenderTarget(Graphics.Dxgi.IDXGISurface* dxgiSurface, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget)
|
public HResult CreateDxgiSurfaceRenderTarget(Graphics.Dxgi.IDXGISurface* dxgiSurface, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory*, Graphics.Dxgi.IDXGISurface*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[15]))((ID2D1Factory*)Unsafe.AsPointer(ref this), dxgiSurface, renderTargetProperties, renderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1Factory*, Graphics.Dxgi.IDXGISurface*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[15]))((ID2D1Factory*)Unsafe.AsPointer(ref this), dxgiSurface, renderTargetProperties, renderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory*, Graphics.Dxgi.IDXGISurface*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[15]))((ID2D1Factory*)Unsafe.AsPointer(ref this), dxgiSurface, renderTargetProperties, renderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory::CreateDCRenderTarget"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory::CreateDCRenderTarget"]/*' />
|
||||||
@@ -247,11 +179,7 @@ public unsafe partial struct ID2D1Factory : ID2D1Factory.Interface, INativeGuid
|
|||||||
[VtblIndex(16)]
|
[VtblIndex(16)]
|
||||||
public HResult CreateDCRenderTarget(RenderTargetProperties* renderTargetProperties, ID2D1DCRenderTarget** dcRenderTarget)
|
public HResult CreateDCRenderTarget(RenderTargetProperties* renderTargetProperties, ID2D1DCRenderTarget** dcRenderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory*, RenderTargetProperties*, ID2D1DCRenderTarget**, int>)(lpVtbl[16]))((ID2D1Factory*)Unsafe.AsPointer(ref this), renderTargetProperties, dcRenderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1Factory*, RenderTargetProperties*, ID2D1DCRenderTarget**, int>)(lpVtbl[16]))((ID2D1Factory*)Unsafe.AsPointer(ref this), renderTargetProperties, dcRenderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory*, RenderTargetProperties*, ID2D1DCRenderTarget**, int>)(lpVtbl[16]))((ID2D1Factory*)Unsafe.AsPointer(ref this), renderTargetProperties, dcRenderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : IUnknown.Interface
|
public interface Interface : IUnknown.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1Factory1 : ID2D1Factory1.Interface, INativeGui
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory1));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory1));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory1));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1Factory1 : ID2D1Factory1.Interface, INativeGui
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1Factory1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1Factory1 : ID2D1Factory1.Interface, INativeGui
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory1*, uint>)(lpVtbl[1]))((ID2D1Factory1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Factory1*, uint>)(lpVtbl[1]))((ID2D1Factory1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory1*, uint>)(lpVtbl[1]))((ID2D1Factory1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1Factory1 : ID2D1Factory1.Interface, INativeGui
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory1*, uint>)(lpVtbl[2]))((ID2D1Factory1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Factory1*, uint>)(lpVtbl[2]))((ID2D1Factory1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory1*, uint>)(lpVtbl[2]))((ID2D1Factory1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.ReloadSystemMetrics" />
|
/// <inheritdoc cref="ID2D1Factory.ReloadSystemMetrics" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1Factory1 : ID2D1Factory1.Interface, INativeGui
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public HResult ReloadSystemMetrics()
|
public HResult ReloadSystemMetrics()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory1*, int>)(lpVtbl[3]))((ID2D1Factory1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Factory1*, int>)(lpVtbl[3]))((ID2D1Factory1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory1*, int>)(lpVtbl[3]))((ID2D1Factory1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.GetDesktopDpi" />
|
/// <inheritdoc cref="ID2D1Factory.GetDesktopDpi" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1Factory1 : ID2D1Factory1.Interface, INativeGui
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public void GetDesktopDpi(float* dpiX, float* dpiY)
|
public void GetDesktopDpi(float* dpiX, float* dpiY)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Factory1*, float*, float*, void>)(lpVtbl[4]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
||||||
((delegate* unmanaged<ID2D1Factory1*, float*, float*, void>)(lpVtbl[4]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Factory1*, float*, float*, void>)(lpVtbl[4]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateRectangleGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreateRectangleGeometry" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1Factory1 : ID2D1Factory1.Interface, INativeGui
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult CreateRectangleGeometry(Win32.Numerics.RectF* rectangle, ID2D1RectangleGeometry** rectangleGeometry)
|
public HResult CreateRectangleGeometry(Win32.Numerics.RectF* rectangle, ID2D1RectangleGeometry** rectangleGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory1*, Win32.Numerics.RectF*, ID2D1RectangleGeometry**, int>)(lpVtbl[5]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), rectangle, rectangleGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory1*, Win32.Numerics.RectF*, ID2D1RectangleGeometry**, int>)(lpVtbl[5]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), rectangle, rectangleGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory1*, Win32.Numerics.RectF*, ID2D1RectangleGeometry**, int>)(lpVtbl[5]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), rectangle, rectangleGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateRoundedRectangleGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreateRoundedRectangleGeometry" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1Factory1 : ID2D1Factory1.Interface, INativeGui
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult CreateRoundedRectangleGeometry(RoundedRect* roundedRectangle, ID2D1RoundedRectangleGeometry** roundedRectangleGeometry)
|
public HResult CreateRoundedRectangleGeometry(RoundedRect* roundedRectangle, ID2D1RoundedRectangleGeometry** roundedRectangleGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory1*, RoundedRect*, ID2D1RoundedRectangleGeometry**, int>)(lpVtbl[6]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), roundedRectangle, roundedRectangleGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory1*, RoundedRect*, ID2D1RoundedRectangleGeometry**, int>)(lpVtbl[6]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), roundedRectangle, roundedRectangleGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory1*, RoundedRect*, ID2D1RoundedRectangleGeometry**, int>)(lpVtbl[6]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), roundedRectangle, roundedRectangleGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateEllipseGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreateEllipseGeometry" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1Factory1 : ID2D1Factory1.Interface, INativeGui
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public HResult CreateEllipseGeometry(Ellipse* ellipse, ID2D1EllipseGeometry** ellipseGeometry)
|
public HResult CreateEllipseGeometry(Ellipse* ellipse, ID2D1EllipseGeometry** ellipseGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory1*, Ellipse*, ID2D1EllipseGeometry**, int>)(lpVtbl[7]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), ellipse, ellipseGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory1*, Ellipse*, ID2D1EllipseGeometry**, int>)(lpVtbl[7]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), ellipse, ellipseGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory1*, Ellipse*, ID2D1EllipseGeometry**, int>)(lpVtbl[7]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), ellipse, ellipseGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateGeometryGroup" />
|
/// <inheritdoc cref="ID2D1Factory.CreateGeometryGroup" />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1Factory1 : ID2D1Factory1.Interface, INativeGui
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CreateGeometryGroup(Common.FillMode fillMode, ID2D1Geometry** geometries, uint geometriesCount, ID2D1GeometryGroup** geometryGroup)
|
public HResult CreateGeometryGroup(Common.FillMode fillMode, ID2D1Geometry** geometries, uint geometriesCount, ID2D1GeometryGroup** geometryGroup)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory1*, Common.FillMode, ID2D1Geometry**, uint, ID2D1GeometryGroup**, int>)(lpVtbl[8]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), fillMode, geometries, geometriesCount, geometryGroup);
|
||||||
return ((delegate* unmanaged<ID2D1Factory1*, Common.FillMode, ID2D1Geometry**, uint, ID2D1GeometryGroup**, int>)(lpVtbl[8]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), fillMode, geometries, geometriesCount, geometryGroup);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory1*, Common.FillMode, ID2D1Geometry**, uint, ID2D1GeometryGroup**, int>)(lpVtbl[8]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), fillMode, geometries, geometriesCount, geometryGroup);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateTransformedGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreateTransformedGeometry" />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1Factory1 : ID2D1Factory1.Interface, INativeGui
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult CreateTransformedGeometry(ID2D1Geometry* sourceGeometry, Matrix3x2* transform, ID2D1TransformedGeometry** transformedGeometry)
|
public HResult CreateTransformedGeometry(ID2D1Geometry* sourceGeometry, Matrix3x2* transform, ID2D1TransformedGeometry** transformedGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory1*, ID2D1Geometry*, Matrix3x2*, ID2D1TransformedGeometry**, int>)(lpVtbl[9]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), sourceGeometry, transform, transformedGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory1*, ID2D1Geometry*, Matrix3x2*, ID2D1TransformedGeometry**, int>)(lpVtbl[9]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), sourceGeometry, transform, transformedGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory1*, ID2D1Geometry*, Matrix3x2*, ID2D1TransformedGeometry**, int>)(lpVtbl[9]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), sourceGeometry, transform, transformedGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreatePathGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreatePathGeometry" />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1Factory1 : ID2D1Factory1.Interface, INativeGui
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult CreatePathGeometry(ID2D1PathGeometry** pathGeometry)
|
public HResult CreatePathGeometry(ID2D1PathGeometry** pathGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory1*, ID2D1PathGeometry**, int>)(lpVtbl[10]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), pathGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory1*, ID2D1PathGeometry**, int>)(lpVtbl[10]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), pathGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory1*, ID2D1PathGeometry**, int>)(lpVtbl[10]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), pathGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateStrokeStyle" />
|
/// <inheritdoc cref="ID2D1Factory.CreateStrokeStyle" />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1Factory1 : ID2D1Factory1.Interface, INativeGui
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult CreateStrokeStyle(StrokeStyleProperties* strokeStyleProperties, float* dashes, uint dashesCount, ID2D1StrokeStyle** strokeStyle)
|
public HResult CreateStrokeStyle(StrokeStyleProperties* strokeStyleProperties, float* dashes, uint dashesCount, ID2D1StrokeStyle** strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory1*, StrokeStyleProperties*, float*, uint, ID2D1StrokeStyle**, int>)(lpVtbl[11]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
||||||
return ((delegate* unmanaged<ID2D1Factory1*, StrokeStyleProperties*, float*, uint, ID2D1StrokeStyle**, int>)(lpVtbl[11]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory1*, StrokeStyleProperties*, float*, uint, ID2D1StrokeStyle**, int>)(lpVtbl[11]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateDrawingStateBlock" />
|
/// <inheritdoc cref="ID2D1Factory.CreateDrawingStateBlock" />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1Factory1 : ID2D1Factory1.Interface, INativeGui
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public HResult CreateDrawingStateBlock(DrawingStateDescription* drawingStateDescription, Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams, ID2D1DrawingStateBlock** drawingStateBlock)
|
public HResult CreateDrawingStateBlock(DrawingStateDescription* drawingStateDescription, Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams, ID2D1DrawingStateBlock** drawingStateBlock)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory1*, DrawingStateDescription*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock**, int>)(lpVtbl[12]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
||||||
return ((delegate* unmanaged<ID2D1Factory1*, DrawingStateDescription*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock**, int>)(lpVtbl[12]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory1*, DrawingStateDescription*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock**, int>)(lpVtbl[12]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateWicBitmapRenderTarget" />
|
/// <inheritdoc cref="ID2D1Factory.CreateWicBitmapRenderTarget" />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1Factory1 : ID2D1Factory1.Interface, INativeGui
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult CreateWicBitmapRenderTarget(Graphics.Imaging.IWICBitmap* target, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget)
|
public HResult CreateWicBitmapRenderTarget(Graphics.Imaging.IWICBitmap* target, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory1*, Graphics.Imaging.IWICBitmap*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[13]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), target, renderTargetProperties, renderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1Factory1*, Graphics.Imaging.IWICBitmap*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[13]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), target, renderTargetProperties, renderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory1*, Graphics.Imaging.IWICBitmap*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[13]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), target, renderTargetProperties, renderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateHwndRenderTarget" />
|
/// <inheritdoc cref="ID2D1Factory.CreateHwndRenderTarget" />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1Factory1 : ID2D1Factory1.Interface, INativeGui
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public HResult CreateHwndRenderTarget(RenderTargetProperties* renderTargetProperties, HwndRenderTargetProperties* hwndRenderTargetProperties, ID2D1HwndRenderTarget** hwndRenderTarget)
|
public HResult CreateHwndRenderTarget(RenderTargetProperties* renderTargetProperties, HwndRenderTargetProperties* hwndRenderTargetProperties, ID2D1HwndRenderTarget** hwndRenderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory1*, RenderTargetProperties*, HwndRenderTargetProperties*, ID2D1HwndRenderTarget**, int>)(lpVtbl[14]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), renderTargetProperties, hwndRenderTargetProperties, hwndRenderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1Factory1*, RenderTargetProperties*, HwndRenderTargetProperties*, ID2D1HwndRenderTarget**, int>)(lpVtbl[14]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), renderTargetProperties, hwndRenderTargetProperties, hwndRenderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory1*, RenderTargetProperties*, HwndRenderTargetProperties*, ID2D1HwndRenderTarget**, int>)(lpVtbl[14]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), renderTargetProperties, hwndRenderTargetProperties, hwndRenderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateDxgiSurfaceRenderTarget" />
|
/// <inheritdoc cref="ID2D1Factory.CreateDxgiSurfaceRenderTarget" />
|
||||||
@@ -235,11 +171,7 @@ public unsafe partial struct ID2D1Factory1 : ID2D1Factory1.Interface, INativeGui
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public HResult CreateDxgiSurfaceRenderTarget(Graphics.Dxgi.IDXGISurface* dxgiSurface, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget)
|
public HResult CreateDxgiSurfaceRenderTarget(Graphics.Dxgi.IDXGISurface* dxgiSurface, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory1*, Graphics.Dxgi.IDXGISurface*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[15]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), dxgiSurface, renderTargetProperties, renderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1Factory1*, Graphics.Dxgi.IDXGISurface*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[15]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), dxgiSurface, renderTargetProperties, renderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory1*, Graphics.Dxgi.IDXGISurface*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[15]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), dxgiSurface, renderTargetProperties, renderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateDCRenderTarget" />
|
/// <inheritdoc cref="ID2D1Factory.CreateDCRenderTarget" />
|
||||||
@@ -247,11 +179,7 @@ public unsafe partial struct ID2D1Factory1 : ID2D1Factory1.Interface, INativeGui
|
|||||||
[VtblIndex(16)]
|
[VtblIndex(16)]
|
||||||
public HResult CreateDCRenderTarget(RenderTargetProperties* renderTargetProperties, ID2D1DCRenderTarget** dcRenderTarget)
|
public HResult CreateDCRenderTarget(RenderTargetProperties* renderTargetProperties, ID2D1DCRenderTarget** dcRenderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory1*, RenderTargetProperties*, ID2D1DCRenderTarget**, int>)(lpVtbl[16]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), renderTargetProperties, dcRenderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1Factory1*, RenderTargetProperties*, ID2D1DCRenderTarget**, int>)(lpVtbl[16]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), renderTargetProperties, dcRenderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory1*, RenderTargetProperties*, ID2D1DCRenderTarget**, int>)(lpVtbl[16]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), renderTargetProperties, dcRenderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory1::CreateDevice"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory1::CreateDevice"]/*' />
|
||||||
@@ -259,11 +187,7 @@ public unsafe partial struct ID2D1Factory1 : ID2D1Factory1.Interface, INativeGui
|
|||||||
[VtblIndex(17)]
|
[VtblIndex(17)]
|
||||||
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device** d2dDevice)
|
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device** d2dDevice)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory1*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device**, int>)(lpVtbl[17]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice);
|
||||||
return ((delegate* unmanaged<ID2D1Factory1*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device**, int>)(lpVtbl[17]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory1*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device**, int>)(lpVtbl[17]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory1::CreateStrokeStyle"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory1::CreateStrokeStyle"]/*' />
|
||||||
@@ -271,11 +195,7 @@ public unsafe partial struct ID2D1Factory1 : ID2D1Factory1.Interface, INativeGui
|
|||||||
[VtblIndex(18)]
|
[VtblIndex(18)]
|
||||||
public HResult CreateStrokeStyle(StrokeStyleProperties1* strokeStyleProperties, float* dashes, uint dashesCount, ID2D1StrokeStyle1** strokeStyle)
|
public HResult CreateStrokeStyle(StrokeStyleProperties1* strokeStyleProperties, float* dashes, uint dashesCount, ID2D1StrokeStyle1** strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory1*, StrokeStyleProperties1*, float*, uint, ID2D1StrokeStyle1**, int>)(lpVtbl[18]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
||||||
return ((delegate* unmanaged<ID2D1Factory1*, StrokeStyleProperties1*, float*, uint, ID2D1StrokeStyle1**, int>)(lpVtbl[18]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory1*, StrokeStyleProperties1*, float*, uint, ID2D1StrokeStyle1**, int>)(lpVtbl[18]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory1::CreatePathGeometry"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory1::CreatePathGeometry"]/*' />
|
||||||
@@ -283,11 +203,7 @@ public unsafe partial struct ID2D1Factory1 : ID2D1Factory1.Interface, INativeGui
|
|||||||
[VtblIndex(19)]
|
[VtblIndex(19)]
|
||||||
public HResult CreatePathGeometry(ID2D1PathGeometry1** pathGeometry)
|
public HResult CreatePathGeometry(ID2D1PathGeometry1** pathGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory1*, ID2D1PathGeometry1**, int>)(lpVtbl[19]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), pathGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory1*, ID2D1PathGeometry1**, int>)(lpVtbl[19]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), pathGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory1*, ID2D1PathGeometry1**, int>)(lpVtbl[19]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), pathGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory1::CreateDrawingStateBlock"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory1::CreateDrawingStateBlock"]/*' />
|
||||||
@@ -295,11 +211,7 @@ public unsafe partial struct ID2D1Factory1 : ID2D1Factory1.Interface, INativeGui
|
|||||||
[VtblIndex(20)]
|
[VtblIndex(20)]
|
||||||
public HResult CreateDrawingStateBlock(DrawingStateDescription1* drawingStateDescription, Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams, ID2D1DrawingStateBlock1** drawingStateBlock)
|
public HResult CreateDrawingStateBlock(DrawingStateDescription1* drawingStateDescription, Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams, ID2D1DrawingStateBlock1** drawingStateBlock)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory1*, DrawingStateDescription1*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock1**, int>)(lpVtbl[20]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
||||||
return ((delegate* unmanaged<ID2D1Factory1*, DrawingStateDescription1*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock1**, int>)(lpVtbl[20]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory1*, DrawingStateDescription1*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock1**, int>)(lpVtbl[20]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory1::CreateGdiMetafile"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory1::CreateGdiMetafile"]/*' />
|
||||||
@@ -307,11 +219,7 @@ public unsafe partial struct ID2D1Factory1 : ID2D1Factory1.Interface, INativeGui
|
|||||||
[VtblIndex(21)]
|
[VtblIndex(21)]
|
||||||
public HResult CreateGdiMetafile(Com.IStream* metafileStream, ID2D1GdiMetafile** metafile)
|
public HResult CreateGdiMetafile(Com.IStream* metafileStream, ID2D1GdiMetafile** metafile)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory1*, Com.IStream*, ID2D1GdiMetafile**, int>)(lpVtbl[21]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), metafileStream, metafile);
|
||||||
return ((delegate* unmanaged<ID2D1Factory1*, Com.IStream*, ID2D1GdiMetafile**, int>)(lpVtbl[21]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), metafileStream, metafile);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory1*, Com.IStream*, ID2D1GdiMetafile**, int>)(lpVtbl[21]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), metafileStream, metafile);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory1::RegisterEffectFromStream"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory1::RegisterEffectFromStream"]/*' />
|
||||||
@@ -319,11 +227,7 @@ public unsafe partial struct ID2D1Factory1 : ID2D1Factory1.Interface, INativeGui
|
|||||||
[VtblIndex(22)]
|
[VtblIndex(22)]
|
||||||
public HResult RegisterEffectFromStream(Guid* classId, Com.IStream* propertyXml, PropertyBinding* bindings, uint bindingsCount, delegate* unmanaged[Stdcall]<IUnknown**, HResult> effectFactory)
|
public HResult RegisterEffectFromStream(Guid* classId, Com.IStream* propertyXml, PropertyBinding* bindings, uint bindingsCount, delegate* unmanaged[Stdcall]<IUnknown**, HResult> effectFactory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory1*, Guid*, Com.IStream*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[22]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
||||||
return ((delegate* unmanaged<ID2D1Factory1*, Guid*, Com.IStream*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[22]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory1*, Guid*, Com.IStream*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[22]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory1::RegisterEffectFromString"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory1::RegisterEffectFromString"]/*' />
|
||||||
@@ -331,11 +235,7 @@ public unsafe partial struct ID2D1Factory1 : ID2D1Factory1.Interface, INativeGui
|
|||||||
[VtblIndex(23)]
|
[VtblIndex(23)]
|
||||||
public HResult RegisterEffectFromString(Guid* classId, ushort* propertyXml, PropertyBinding* bindings, uint bindingsCount, delegate* unmanaged[Stdcall]<IUnknown**, HResult> effectFactory)
|
public HResult RegisterEffectFromString(Guid* classId, ushort* propertyXml, PropertyBinding* bindings, uint bindingsCount, delegate* unmanaged[Stdcall]<IUnknown**, HResult> effectFactory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory1*, Guid*, ushort*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[23]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
||||||
return ((delegate* unmanaged<ID2D1Factory1*, Guid*, ushort*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[23]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory1*, Guid*, ushort*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[23]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory1::UnregisterEffect"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory1::UnregisterEffect"]/*' />
|
||||||
@@ -343,11 +243,7 @@ public unsafe partial struct ID2D1Factory1 : ID2D1Factory1.Interface, INativeGui
|
|||||||
[VtblIndex(24)]
|
[VtblIndex(24)]
|
||||||
public HResult UnregisterEffect(Guid* classId)
|
public HResult UnregisterEffect(Guid* classId)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory1*, Guid*, int>)(lpVtbl[24]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), classId);
|
||||||
return ((delegate* unmanaged<ID2D1Factory1*, Guid*, int>)(lpVtbl[24]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), classId);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory1*, Guid*, int>)(lpVtbl[24]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), classId);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory1::GetRegisteredEffects"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory1::GetRegisteredEffects"]/*' />
|
||||||
@@ -355,11 +251,7 @@ public unsafe partial struct ID2D1Factory1 : ID2D1Factory1.Interface, INativeGui
|
|||||||
[VtblIndex(25)]
|
[VtblIndex(25)]
|
||||||
public HResult GetRegisteredEffects(Guid* effects, uint effectsCount, uint* effectsReturned, uint* effectsRegistered)
|
public HResult GetRegisteredEffects(Guid* effects, uint effectsCount, uint* effectsReturned, uint* effectsRegistered)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory1*, Guid*, uint, uint*, uint*, int>)(lpVtbl[25]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), effects, effectsCount, effectsReturned, effectsRegistered);
|
||||||
return ((delegate* unmanaged<ID2D1Factory1*, Guid*, uint, uint*, uint*, int>)(lpVtbl[25]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), effects, effectsCount, effectsReturned, effectsRegistered);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory1*, Guid*, uint, uint*, uint*, int>)(lpVtbl[25]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), effects, effectsCount, effectsReturned, effectsRegistered);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory1::GetEffectProperties"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory1::GetEffectProperties"]/*' />
|
||||||
@@ -367,11 +259,7 @@ public unsafe partial struct ID2D1Factory1 : ID2D1Factory1.Interface, INativeGui
|
|||||||
[VtblIndex(26)]
|
[VtblIndex(26)]
|
||||||
public HResult GetEffectProperties(Guid* effectId, ID2D1Properties** properties)
|
public HResult GetEffectProperties(Guid* effectId, ID2D1Properties** properties)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory1*, Guid*, ID2D1Properties**, int>)(lpVtbl[26]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), effectId, properties);
|
||||||
return ((delegate* unmanaged<ID2D1Factory1*, Guid*, ID2D1Properties**, int>)(lpVtbl[26]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), effectId, properties);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory1*, Guid*, ID2D1Properties**, int>)(lpVtbl[26]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), effectId, properties);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Factory.Interface
|
public interface Interface : ID2D1Factory.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1Factory2 : ID2D1Factory2.Interface, INativeGui
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory2));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory2));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory2));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1Factory2 : ID2D1Factory2.Interface, INativeGui
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory2*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1Factory2*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory2*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1Factory2 : ID2D1Factory2.Interface, INativeGui
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory2*, uint>)(lpVtbl[1]))((ID2D1Factory2*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Factory2*, uint>)(lpVtbl[1]))((ID2D1Factory2*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory2*, uint>)(lpVtbl[1]))((ID2D1Factory2*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1Factory2 : ID2D1Factory2.Interface, INativeGui
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory2*, uint>)(lpVtbl[2]))((ID2D1Factory2*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Factory2*, uint>)(lpVtbl[2]))((ID2D1Factory2*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory2*, uint>)(lpVtbl[2]))((ID2D1Factory2*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.ReloadSystemMetrics" />
|
/// <inheritdoc cref="ID2D1Factory.ReloadSystemMetrics" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1Factory2 : ID2D1Factory2.Interface, INativeGui
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public HResult ReloadSystemMetrics()
|
public HResult ReloadSystemMetrics()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory2*, int>)(lpVtbl[3]))((ID2D1Factory2*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Factory2*, int>)(lpVtbl[3]))((ID2D1Factory2*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory2*, int>)(lpVtbl[3]))((ID2D1Factory2*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.GetDesktopDpi" />
|
/// <inheritdoc cref="ID2D1Factory.GetDesktopDpi" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1Factory2 : ID2D1Factory2.Interface, INativeGui
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public void GetDesktopDpi(float* dpiX, float* dpiY)
|
public void GetDesktopDpi(float* dpiX, float* dpiY)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Factory2*, float*, float*, void>)(lpVtbl[4]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
||||||
((delegate* unmanaged<ID2D1Factory2*, float*, float*, void>)(lpVtbl[4]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Factory2*, float*, float*, void>)(lpVtbl[4]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateRectangleGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreateRectangleGeometry" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1Factory2 : ID2D1Factory2.Interface, INativeGui
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult CreateRectangleGeometry(Win32.Numerics.RectF* rectangle, ID2D1RectangleGeometry** rectangleGeometry)
|
public HResult CreateRectangleGeometry(Win32.Numerics.RectF* rectangle, ID2D1RectangleGeometry** rectangleGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory2*, Win32.Numerics.RectF*, ID2D1RectangleGeometry**, int>)(lpVtbl[5]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), rectangle, rectangleGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory2*, Win32.Numerics.RectF*, ID2D1RectangleGeometry**, int>)(lpVtbl[5]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), rectangle, rectangleGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory2*, Win32.Numerics.RectF*, ID2D1RectangleGeometry**, int>)(lpVtbl[5]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), rectangle, rectangleGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateRoundedRectangleGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreateRoundedRectangleGeometry" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1Factory2 : ID2D1Factory2.Interface, INativeGui
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult CreateRoundedRectangleGeometry(RoundedRect* roundedRectangle, ID2D1RoundedRectangleGeometry** roundedRectangleGeometry)
|
public HResult CreateRoundedRectangleGeometry(RoundedRect* roundedRectangle, ID2D1RoundedRectangleGeometry** roundedRectangleGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory2*, RoundedRect*, ID2D1RoundedRectangleGeometry**, int>)(lpVtbl[6]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), roundedRectangle, roundedRectangleGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory2*, RoundedRect*, ID2D1RoundedRectangleGeometry**, int>)(lpVtbl[6]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), roundedRectangle, roundedRectangleGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory2*, RoundedRect*, ID2D1RoundedRectangleGeometry**, int>)(lpVtbl[6]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), roundedRectangle, roundedRectangleGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateEllipseGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreateEllipseGeometry" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1Factory2 : ID2D1Factory2.Interface, INativeGui
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public HResult CreateEllipseGeometry(Ellipse* ellipse, ID2D1EllipseGeometry** ellipseGeometry)
|
public HResult CreateEllipseGeometry(Ellipse* ellipse, ID2D1EllipseGeometry** ellipseGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory2*, Ellipse*, ID2D1EllipseGeometry**, int>)(lpVtbl[7]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), ellipse, ellipseGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory2*, Ellipse*, ID2D1EllipseGeometry**, int>)(lpVtbl[7]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), ellipse, ellipseGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory2*, Ellipse*, ID2D1EllipseGeometry**, int>)(lpVtbl[7]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), ellipse, ellipseGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateGeometryGroup" />
|
/// <inheritdoc cref="ID2D1Factory.CreateGeometryGroup" />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1Factory2 : ID2D1Factory2.Interface, INativeGui
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CreateGeometryGroup(Common.FillMode fillMode, ID2D1Geometry** geometries, uint geometriesCount, ID2D1GeometryGroup** geometryGroup)
|
public HResult CreateGeometryGroup(Common.FillMode fillMode, ID2D1Geometry** geometries, uint geometriesCount, ID2D1GeometryGroup** geometryGroup)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory2*, Common.FillMode, ID2D1Geometry**, uint, ID2D1GeometryGroup**, int>)(lpVtbl[8]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), fillMode, geometries, geometriesCount, geometryGroup);
|
||||||
return ((delegate* unmanaged<ID2D1Factory2*, Common.FillMode, ID2D1Geometry**, uint, ID2D1GeometryGroup**, int>)(lpVtbl[8]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), fillMode, geometries, geometriesCount, geometryGroup);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory2*, Common.FillMode, ID2D1Geometry**, uint, ID2D1GeometryGroup**, int>)(lpVtbl[8]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), fillMode, geometries, geometriesCount, geometryGroup);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateTransformedGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreateTransformedGeometry" />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1Factory2 : ID2D1Factory2.Interface, INativeGui
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult CreateTransformedGeometry(ID2D1Geometry* sourceGeometry, Matrix3x2* transform, ID2D1TransformedGeometry** transformedGeometry)
|
public HResult CreateTransformedGeometry(ID2D1Geometry* sourceGeometry, Matrix3x2* transform, ID2D1TransformedGeometry** transformedGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory2*, ID2D1Geometry*, Matrix3x2*, ID2D1TransformedGeometry**, int>)(lpVtbl[9]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), sourceGeometry, transform, transformedGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory2*, ID2D1Geometry*, Matrix3x2*, ID2D1TransformedGeometry**, int>)(lpVtbl[9]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), sourceGeometry, transform, transformedGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory2*, ID2D1Geometry*, Matrix3x2*, ID2D1TransformedGeometry**, int>)(lpVtbl[9]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), sourceGeometry, transform, transformedGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreatePathGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreatePathGeometry" />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1Factory2 : ID2D1Factory2.Interface, INativeGui
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult CreatePathGeometry(ID2D1PathGeometry** pathGeometry)
|
public HResult CreatePathGeometry(ID2D1PathGeometry** pathGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory2*, ID2D1PathGeometry**, int>)(lpVtbl[10]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), pathGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory2*, ID2D1PathGeometry**, int>)(lpVtbl[10]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), pathGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory2*, ID2D1PathGeometry**, int>)(lpVtbl[10]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), pathGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateStrokeStyle" />
|
/// <inheritdoc cref="ID2D1Factory.CreateStrokeStyle" />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1Factory2 : ID2D1Factory2.Interface, INativeGui
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult CreateStrokeStyle(StrokeStyleProperties* strokeStyleProperties, float* dashes, uint dashesCount, ID2D1StrokeStyle** strokeStyle)
|
public HResult CreateStrokeStyle(StrokeStyleProperties* strokeStyleProperties, float* dashes, uint dashesCount, ID2D1StrokeStyle** strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory2*, StrokeStyleProperties*, float*, uint, ID2D1StrokeStyle**, int>)(lpVtbl[11]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
||||||
return ((delegate* unmanaged<ID2D1Factory2*, StrokeStyleProperties*, float*, uint, ID2D1StrokeStyle**, int>)(lpVtbl[11]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory2*, StrokeStyleProperties*, float*, uint, ID2D1StrokeStyle**, int>)(lpVtbl[11]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateDrawingStateBlock" />
|
/// <inheritdoc cref="ID2D1Factory.CreateDrawingStateBlock" />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1Factory2 : ID2D1Factory2.Interface, INativeGui
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public HResult CreateDrawingStateBlock(DrawingStateDescription* drawingStateDescription, Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams, ID2D1DrawingStateBlock** drawingStateBlock)
|
public HResult CreateDrawingStateBlock(DrawingStateDescription* drawingStateDescription, Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams, ID2D1DrawingStateBlock** drawingStateBlock)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory2*, DrawingStateDescription*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock**, int>)(lpVtbl[12]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
||||||
return ((delegate* unmanaged<ID2D1Factory2*, DrawingStateDescription*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock**, int>)(lpVtbl[12]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory2*, DrawingStateDescription*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock**, int>)(lpVtbl[12]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateWicBitmapRenderTarget" />
|
/// <inheritdoc cref="ID2D1Factory.CreateWicBitmapRenderTarget" />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1Factory2 : ID2D1Factory2.Interface, INativeGui
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult CreateWicBitmapRenderTarget(Graphics.Imaging.IWICBitmap* target, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget)
|
public HResult CreateWicBitmapRenderTarget(Graphics.Imaging.IWICBitmap* target, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory2*, Graphics.Imaging.IWICBitmap*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[13]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), target, renderTargetProperties, renderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1Factory2*, Graphics.Imaging.IWICBitmap*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[13]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), target, renderTargetProperties, renderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory2*, Graphics.Imaging.IWICBitmap*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[13]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), target, renderTargetProperties, renderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateHwndRenderTarget" />
|
/// <inheritdoc cref="ID2D1Factory.CreateHwndRenderTarget" />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1Factory2 : ID2D1Factory2.Interface, INativeGui
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public HResult CreateHwndRenderTarget(RenderTargetProperties* renderTargetProperties, HwndRenderTargetProperties* hwndRenderTargetProperties, ID2D1HwndRenderTarget** hwndRenderTarget)
|
public HResult CreateHwndRenderTarget(RenderTargetProperties* renderTargetProperties, HwndRenderTargetProperties* hwndRenderTargetProperties, ID2D1HwndRenderTarget** hwndRenderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory2*, RenderTargetProperties*, HwndRenderTargetProperties*, ID2D1HwndRenderTarget**, int>)(lpVtbl[14]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), renderTargetProperties, hwndRenderTargetProperties, hwndRenderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1Factory2*, RenderTargetProperties*, HwndRenderTargetProperties*, ID2D1HwndRenderTarget**, int>)(lpVtbl[14]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), renderTargetProperties, hwndRenderTargetProperties, hwndRenderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory2*, RenderTargetProperties*, HwndRenderTargetProperties*, ID2D1HwndRenderTarget**, int>)(lpVtbl[14]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), renderTargetProperties, hwndRenderTargetProperties, hwndRenderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateDxgiSurfaceRenderTarget" />
|
/// <inheritdoc cref="ID2D1Factory.CreateDxgiSurfaceRenderTarget" />
|
||||||
@@ -235,11 +171,7 @@ public unsafe partial struct ID2D1Factory2 : ID2D1Factory2.Interface, INativeGui
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public HResult CreateDxgiSurfaceRenderTarget(Graphics.Dxgi.IDXGISurface* dxgiSurface, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget)
|
public HResult CreateDxgiSurfaceRenderTarget(Graphics.Dxgi.IDXGISurface* dxgiSurface, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory2*, Graphics.Dxgi.IDXGISurface*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[15]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), dxgiSurface, renderTargetProperties, renderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1Factory2*, Graphics.Dxgi.IDXGISurface*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[15]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), dxgiSurface, renderTargetProperties, renderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory2*, Graphics.Dxgi.IDXGISurface*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[15]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), dxgiSurface, renderTargetProperties, renderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateDCRenderTarget" />
|
/// <inheritdoc cref="ID2D1Factory.CreateDCRenderTarget" />
|
||||||
@@ -247,11 +179,7 @@ public unsafe partial struct ID2D1Factory2 : ID2D1Factory2.Interface, INativeGui
|
|||||||
[VtblIndex(16)]
|
[VtblIndex(16)]
|
||||||
public HResult CreateDCRenderTarget(RenderTargetProperties* renderTargetProperties, ID2D1DCRenderTarget** dcRenderTarget)
|
public HResult CreateDCRenderTarget(RenderTargetProperties* renderTargetProperties, ID2D1DCRenderTarget** dcRenderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory2*, RenderTargetProperties*, ID2D1DCRenderTarget**, int>)(lpVtbl[16]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), renderTargetProperties, dcRenderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1Factory2*, RenderTargetProperties*, ID2D1DCRenderTarget**, int>)(lpVtbl[16]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), renderTargetProperties, dcRenderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory2*, RenderTargetProperties*, ID2D1DCRenderTarget**, int>)(lpVtbl[16]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), renderTargetProperties, dcRenderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.CreateDevice" />
|
/// <inheritdoc cref="ID2D1Factory1.CreateDevice" />
|
||||||
@@ -259,11 +187,7 @@ public unsafe partial struct ID2D1Factory2 : ID2D1Factory2.Interface, INativeGui
|
|||||||
[VtblIndex(17)]
|
[VtblIndex(17)]
|
||||||
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device** d2dDevice)
|
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device** d2dDevice)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory2*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device**, int>)(lpVtbl[17]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice);
|
||||||
return ((delegate* unmanaged<ID2D1Factory2*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device**, int>)(lpVtbl[17]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory2*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device**, int>)(lpVtbl[17]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.CreateStrokeStyle" />
|
/// <inheritdoc cref="ID2D1Factory1.CreateStrokeStyle" />
|
||||||
@@ -271,11 +195,7 @@ public unsafe partial struct ID2D1Factory2 : ID2D1Factory2.Interface, INativeGui
|
|||||||
[VtblIndex(18)]
|
[VtblIndex(18)]
|
||||||
public HResult CreateStrokeStyle(StrokeStyleProperties1* strokeStyleProperties, float* dashes, uint dashesCount, ID2D1StrokeStyle1** strokeStyle)
|
public HResult CreateStrokeStyle(StrokeStyleProperties1* strokeStyleProperties, float* dashes, uint dashesCount, ID2D1StrokeStyle1** strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory2*, StrokeStyleProperties1*, float*, uint, ID2D1StrokeStyle1**, int>)(lpVtbl[18]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
||||||
return ((delegate* unmanaged<ID2D1Factory2*, StrokeStyleProperties1*, float*, uint, ID2D1StrokeStyle1**, int>)(lpVtbl[18]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory2*, StrokeStyleProperties1*, float*, uint, ID2D1StrokeStyle1**, int>)(lpVtbl[18]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.CreatePathGeometry" />
|
/// <inheritdoc cref="ID2D1Factory1.CreatePathGeometry" />
|
||||||
@@ -283,11 +203,7 @@ public unsafe partial struct ID2D1Factory2 : ID2D1Factory2.Interface, INativeGui
|
|||||||
[VtblIndex(19)]
|
[VtblIndex(19)]
|
||||||
public HResult CreatePathGeometry(ID2D1PathGeometry1** pathGeometry)
|
public HResult CreatePathGeometry(ID2D1PathGeometry1** pathGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory2*, ID2D1PathGeometry1**, int>)(lpVtbl[19]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), pathGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory2*, ID2D1PathGeometry1**, int>)(lpVtbl[19]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), pathGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory2*, ID2D1PathGeometry1**, int>)(lpVtbl[19]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), pathGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.CreateDrawingStateBlock" />
|
/// <inheritdoc cref="ID2D1Factory1.CreateDrawingStateBlock" />
|
||||||
@@ -295,11 +211,7 @@ public unsafe partial struct ID2D1Factory2 : ID2D1Factory2.Interface, INativeGui
|
|||||||
[VtblIndex(20)]
|
[VtblIndex(20)]
|
||||||
public HResult CreateDrawingStateBlock(DrawingStateDescription1* drawingStateDescription, Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams, ID2D1DrawingStateBlock1** drawingStateBlock)
|
public HResult CreateDrawingStateBlock(DrawingStateDescription1* drawingStateDescription, Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams, ID2D1DrawingStateBlock1** drawingStateBlock)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory2*, DrawingStateDescription1*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock1**, int>)(lpVtbl[20]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
||||||
return ((delegate* unmanaged<ID2D1Factory2*, DrawingStateDescription1*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock1**, int>)(lpVtbl[20]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory2*, DrawingStateDescription1*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock1**, int>)(lpVtbl[20]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.CreateGdiMetafile" />
|
/// <inheritdoc cref="ID2D1Factory1.CreateGdiMetafile" />
|
||||||
@@ -307,11 +219,7 @@ public unsafe partial struct ID2D1Factory2 : ID2D1Factory2.Interface, INativeGui
|
|||||||
[VtblIndex(21)]
|
[VtblIndex(21)]
|
||||||
public HResult CreateGdiMetafile(Com.IStream* metafileStream, ID2D1GdiMetafile** metafile)
|
public HResult CreateGdiMetafile(Com.IStream* metafileStream, ID2D1GdiMetafile** metafile)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory2*, Com.IStream*, ID2D1GdiMetafile**, int>)(lpVtbl[21]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), metafileStream, metafile);
|
||||||
return ((delegate* unmanaged<ID2D1Factory2*, Com.IStream*, ID2D1GdiMetafile**, int>)(lpVtbl[21]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), metafileStream, metafile);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory2*, Com.IStream*, ID2D1GdiMetafile**, int>)(lpVtbl[21]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), metafileStream, metafile);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.RegisterEffectFromStream" />
|
/// <inheritdoc cref="ID2D1Factory1.RegisterEffectFromStream" />
|
||||||
@@ -319,11 +227,7 @@ public unsafe partial struct ID2D1Factory2 : ID2D1Factory2.Interface, INativeGui
|
|||||||
[VtblIndex(22)]
|
[VtblIndex(22)]
|
||||||
public HResult RegisterEffectFromStream(Guid* classId, Com.IStream* propertyXml, PropertyBinding* bindings, uint bindingsCount, delegate* unmanaged[Stdcall]<IUnknown**, HResult> effectFactory)
|
public HResult RegisterEffectFromStream(Guid* classId, Com.IStream* propertyXml, PropertyBinding* bindings, uint bindingsCount, delegate* unmanaged[Stdcall]<IUnknown**, HResult> effectFactory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory2*, Guid*, Com.IStream*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[22]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
||||||
return ((delegate* unmanaged<ID2D1Factory2*, Guid*, Com.IStream*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[22]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory2*, Guid*, Com.IStream*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[22]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.RegisterEffectFromString" />
|
/// <inheritdoc cref="ID2D1Factory1.RegisterEffectFromString" />
|
||||||
@@ -331,11 +235,7 @@ public unsafe partial struct ID2D1Factory2 : ID2D1Factory2.Interface, INativeGui
|
|||||||
[VtblIndex(23)]
|
[VtblIndex(23)]
|
||||||
public HResult RegisterEffectFromString(Guid* classId, ushort* propertyXml, PropertyBinding* bindings, uint bindingsCount, delegate* unmanaged[Stdcall]<IUnknown**, HResult> effectFactory)
|
public HResult RegisterEffectFromString(Guid* classId, ushort* propertyXml, PropertyBinding* bindings, uint bindingsCount, delegate* unmanaged[Stdcall]<IUnknown**, HResult> effectFactory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory2*, Guid*, ushort*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[23]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
||||||
return ((delegate* unmanaged<ID2D1Factory2*, Guid*, ushort*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[23]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory2*, Guid*, ushort*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[23]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.UnregisterEffect" />
|
/// <inheritdoc cref="ID2D1Factory1.UnregisterEffect" />
|
||||||
@@ -343,11 +243,7 @@ public unsafe partial struct ID2D1Factory2 : ID2D1Factory2.Interface, INativeGui
|
|||||||
[VtblIndex(24)]
|
[VtblIndex(24)]
|
||||||
public HResult UnregisterEffect(Guid* classId)
|
public HResult UnregisterEffect(Guid* classId)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory2*, Guid*, int>)(lpVtbl[24]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), classId);
|
||||||
return ((delegate* unmanaged<ID2D1Factory2*, Guid*, int>)(lpVtbl[24]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), classId);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory2*, Guid*, int>)(lpVtbl[24]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), classId);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.GetRegisteredEffects" />
|
/// <inheritdoc cref="ID2D1Factory1.GetRegisteredEffects" />
|
||||||
@@ -355,11 +251,7 @@ public unsafe partial struct ID2D1Factory2 : ID2D1Factory2.Interface, INativeGui
|
|||||||
[VtblIndex(25)]
|
[VtblIndex(25)]
|
||||||
public HResult GetRegisteredEffects(Guid* effects, uint effectsCount, uint* effectsReturned, uint* effectsRegistered)
|
public HResult GetRegisteredEffects(Guid* effects, uint effectsCount, uint* effectsReturned, uint* effectsRegistered)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory2*, Guid*, uint, uint*, uint*, int>)(lpVtbl[25]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), effects, effectsCount, effectsReturned, effectsRegistered);
|
||||||
return ((delegate* unmanaged<ID2D1Factory2*, Guid*, uint, uint*, uint*, int>)(lpVtbl[25]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), effects, effectsCount, effectsReturned, effectsRegistered);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory2*, Guid*, uint, uint*, uint*, int>)(lpVtbl[25]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), effects, effectsCount, effectsReturned, effectsRegistered);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.GetEffectProperties" />
|
/// <inheritdoc cref="ID2D1Factory1.GetEffectProperties" />
|
||||||
@@ -367,11 +259,7 @@ public unsafe partial struct ID2D1Factory2 : ID2D1Factory2.Interface, INativeGui
|
|||||||
[VtblIndex(26)]
|
[VtblIndex(26)]
|
||||||
public HResult GetEffectProperties(Guid* effectId, ID2D1Properties** properties)
|
public HResult GetEffectProperties(Guid* effectId, ID2D1Properties** properties)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory2*, Guid*, ID2D1Properties**, int>)(lpVtbl[26]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), effectId, properties);
|
||||||
return ((delegate* unmanaged<ID2D1Factory2*, Guid*, ID2D1Properties**, int>)(lpVtbl[26]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), effectId, properties);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory2*, Guid*, ID2D1Properties**, int>)(lpVtbl[26]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), effectId, properties);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory2::CreateDevice"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory2::CreateDevice"]/*' />
|
||||||
@@ -379,11 +267,7 @@ public unsafe partial struct ID2D1Factory2 : ID2D1Factory2.Interface, INativeGui
|
|||||||
[VtblIndex(27)]
|
[VtblIndex(27)]
|
||||||
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device1** d2dDevice1)
|
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device1** d2dDevice1)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory2*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device1**, int>)(lpVtbl[27]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice1);
|
||||||
return ((delegate* unmanaged<ID2D1Factory2*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device1**, int>)(lpVtbl[27]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice1);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory2*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device1**, int>)(lpVtbl[27]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice1);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Factory1.Interface
|
public interface Interface : ID2D1Factory1.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1Factory3 : ID2D1Factory3.Interface, INativeGui
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory3));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory3));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory3));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1Factory3 : ID2D1Factory3.Interface, INativeGui
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory3*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1Factory3*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory3*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1Factory3 : ID2D1Factory3.Interface, INativeGui
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory3*, uint>)(lpVtbl[1]))((ID2D1Factory3*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Factory3*, uint>)(lpVtbl[1]))((ID2D1Factory3*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory3*, uint>)(lpVtbl[1]))((ID2D1Factory3*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1Factory3 : ID2D1Factory3.Interface, INativeGui
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory3*, uint>)(lpVtbl[2]))((ID2D1Factory3*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Factory3*, uint>)(lpVtbl[2]))((ID2D1Factory3*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory3*, uint>)(lpVtbl[2]))((ID2D1Factory3*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.ReloadSystemMetrics" />
|
/// <inheritdoc cref="ID2D1Factory.ReloadSystemMetrics" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1Factory3 : ID2D1Factory3.Interface, INativeGui
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public HResult ReloadSystemMetrics()
|
public HResult ReloadSystemMetrics()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory3*, int>)(lpVtbl[3]))((ID2D1Factory3*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Factory3*, int>)(lpVtbl[3]))((ID2D1Factory3*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory3*, int>)(lpVtbl[3]))((ID2D1Factory3*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.GetDesktopDpi" />
|
/// <inheritdoc cref="ID2D1Factory.GetDesktopDpi" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1Factory3 : ID2D1Factory3.Interface, INativeGui
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public void GetDesktopDpi(float* dpiX, float* dpiY)
|
public void GetDesktopDpi(float* dpiX, float* dpiY)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Factory3*, float*, float*, void>)(lpVtbl[4]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
||||||
((delegate* unmanaged<ID2D1Factory3*, float*, float*, void>)(lpVtbl[4]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Factory3*, float*, float*, void>)(lpVtbl[4]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateRectangleGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreateRectangleGeometry" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1Factory3 : ID2D1Factory3.Interface, INativeGui
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult CreateRectangleGeometry(Win32.Numerics.RectF* rectangle, ID2D1RectangleGeometry** rectangleGeometry)
|
public HResult CreateRectangleGeometry(Win32.Numerics.RectF* rectangle, ID2D1RectangleGeometry** rectangleGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory3*, Win32.Numerics.RectF*, ID2D1RectangleGeometry**, int>)(lpVtbl[5]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), rectangle, rectangleGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory3*, Win32.Numerics.RectF*, ID2D1RectangleGeometry**, int>)(lpVtbl[5]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), rectangle, rectangleGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory3*, Win32.Numerics.RectF*, ID2D1RectangleGeometry**, int>)(lpVtbl[5]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), rectangle, rectangleGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateRoundedRectangleGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreateRoundedRectangleGeometry" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1Factory3 : ID2D1Factory3.Interface, INativeGui
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult CreateRoundedRectangleGeometry(RoundedRect* roundedRectangle, ID2D1RoundedRectangleGeometry** roundedRectangleGeometry)
|
public HResult CreateRoundedRectangleGeometry(RoundedRect* roundedRectangle, ID2D1RoundedRectangleGeometry** roundedRectangleGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory3*, RoundedRect*, ID2D1RoundedRectangleGeometry**, int>)(lpVtbl[6]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), roundedRectangle, roundedRectangleGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory3*, RoundedRect*, ID2D1RoundedRectangleGeometry**, int>)(lpVtbl[6]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), roundedRectangle, roundedRectangleGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory3*, RoundedRect*, ID2D1RoundedRectangleGeometry**, int>)(lpVtbl[6]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), roundedRectangle, roundedRectangleGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateEllipseGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreateEllipseGeometry" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1Factory3 : ID2D1Factory3.Interface, INativeGui
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public HResult CreateEllipseGeometry(Ellipse* ellipse, ID2D1EllipseGeometry** ellipseGeometry)
|
public HResult CreateEllipseGeometry(Ellipse* ellipse, ID2D1EllipseGeometry** ellipseGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory3*, Ellipse*, ID2D1EllipseGeometry**, int>)(lpVtbl[7]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), ellipse, ellipseGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory3*, Ellipse*, ID2D1EllipseGeometry**, int>)(lpVtbl[7]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), ellipse, ellipseGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory3*, Ellipse*, ID2D1EllipseGeometry**, int>)(lpVtbl[7]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), ellipse, ellipseGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateGeometryGroup" />
|
/// <inheritdoc cref="ID2D1Factory.CreateGeometryGroup" />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1Factory3 : ID2D1Factory3.Interface, INativeGui
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CreateGeometryGroup(Common.FillMode fillMode, ID2D1Geometry** geometries, uint geometriesCount, ID2D1GeometryGroup** geometryGroup)
|
public HResult CreateGeometryGroup(Common.FillMode fillMode, ID2D1Geometry** geometries, uint geometriesCount, ID2D1GeometryGroup** geometryGroup)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory3*, Common.FillMode, ID2D1Geometry**, uint, ID2D1GeometryGroup**, int>)(lpVtbl[8]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), fillMode, geometries, geometriesCount, geometryGroup);
|
||||||
return ((delegate* unmanaged<ID2D1Factory3*, Common.FillMode, ID2D1Geometry**, uint, ID2D1GeometryGroup**, int>)(lpVtbl[8]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), fillMode, geometries, geometriesCount, geometryGroup);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory3*, Common.FillMode, ID2D1Geometry**, uint, ID2D1GeometryGroup**, int>)(lpVtbl[8]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), fillMode, geometries, geometriesCount, geometryGroup);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateTransformedGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreateTransformedGeometry" />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1Factory3 : ID2D1Factory3.Interface, INativeGui
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult CreateTransformedGeometry(ID2D1Geometry* sourceGeometry, Matrix3x2* transform, ID2D1TransformedGeometry** transformedGeometry)
|
public HResult CreateTransformedGeometry(ID2D1Geometry* sourceGeometry, Matrix3x2* transform, ID2D1TransformedGeometry** transformedGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory3*, ID2D1Geometry*, Matrix3x2*, ID2D1TransformedGeometry**, int>)(lpVtbl[9]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), sourceGeometry, transform, transformedGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory3*, ID2D1Geometry*, Matrix3x2*, ID2D1TransformedGeometry**, int>)(lpVtbl[9]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), sourceGeometry, transform, transformedGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory3*, ID2D1Geometry*, Matrix3x2*, ID2D1TransformedGeometry**, int>)(lpVtbl[9]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), sourceGeometry, transform, transformedGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreatePathGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreatePathGeometry" />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1Factory3 : ID2D1Factory3.Interface, INativeGui
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult CreatePathGeometry(ID2D1PathGeometry** pathGeometry)
|
public HResult CreatePathGeometry(ID2D1PathGeometry** pathGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory3*, ID2D1PathGeometry**, int>)(lpVtbl[10]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), pathGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory3*, ID2D1PathGeometry**, int>)(lpVtbl[10]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), pathGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory3*, ID2D1PathGeometry**, int>)(lpVtbl[10]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), pathGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateStrokeStyle" />
|
/// <inheritdoc cref="ID2D1Factory.CreateStrokeStyle" />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1Factory3 : ID2D1Factory3.Interface, INativeGui
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult CreateStrokeStyle(StrokeStyleProperties* strokeStyleProperties, float* dashes, uint dashesCount, ID2D1StrokeStyle** strokeStyle)
|
public HResult CreateStrokeStyle(StrokeStyleProperties* strokeStyleProperties, float* dashes, uint dashesCount, ID2D1StrokeStyle** strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory3*, StrokeStyleProperties*, float*, uint, ID2D1StrokeStyle**, int>)(lpVtbl[11]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
||||||
return ((delegate* unmanaged<ID2D1Factory3*, StrokeStyleProperties*, float*, uint, ID2D1StrokeStyle**, int>)(lpVtbl[11]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory3*, StrokeStyleProperties*, float*, uint, ID2D1StrokeStyle**, int>)(lpVtbl[11]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateDrawingStateBlock" />
|
/// <inheritdoc cref="ID2D1Factory.CreateDrawingStateBlock" />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1Factory3 : ID2D1Factory3.Interface, INativeGui
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public HResult CreateDrawingStateBlock(DrawingStateDescription* drawingStateDescription, Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams, ID2D1DrawingStateBlock** drawingStateBlock)
|
public HResult CreateDrawingStateBlock(DrawingStateDescription* drawingStateDescription, Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams, ID2D1DrawingStateBlock** drawingStateBlock)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory3*, DrawingStateDescription*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock**, int>)(lpVtbl[12]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
||||||
return ((delegate* unmanaged<ID2D1Factory3*, DrawingStateDescription*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock**, int>)(lpVtbl[12]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory3*, DrawingStateDescription*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock**, int>)(lpVtbl[12]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateWicBitmapRenderTarget" />
|
/// <inheritdoc cref="ID2D1Factory.CreateWicBitmapRenderTarget" />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1Factory3 : ID2D1Factory3.Interface, INativeGui
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult CreateWicBitmapRenderTarget(Graphics.Imaging.IWICBitmap* target, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget)
|
public HResult CreateWicBitmapRenderTarget(Graphics.Imaging.IWICBitmap* target, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory3*, Graphics.Imaging.IWICBitmap*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[13]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), target, renderTargetProperties, renderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1Factory3*, Graphics.Imaging.IWICBitmap*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[13]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), target, renderTargetProperties, renderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory3*, Graphics.Imaging.IWICBitmap*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[13]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), target, renderTargetProperties, renderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateHwndRenderTarget" />
|
/// <inheritdoc cref="ID2D1Factory.CreateHwndRenderTarget" />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1Factory3 : ID2D1Factory3.Interface, INativeGui
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public HResult CreateHwndRenderTarget(RenderTargetProperties* renderTargetProperties, HwndRenderTargetProperties* hwndRenderTargetProperties, ID2D1HwndRenderTarget** hwndRenderTarget)
|
public HResult CreateHwndRenderTarget(RenderTargetProperties* renderTargetProperties, HwndRenderTargetProperties* hwndRenderTargetProperties, ID2D1HwndRenderTarget** hwndRenderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory3*, RenderTargetProperties*, HwndRenderTargetProperties*, ID2D1HwndRenderTarget**, int>)(lpVtbl[14]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), renderTargetProperties, hwndRenderTargetProperties, hwndRenderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1Factory3*, RenderTargetProperties*, HwndRenderTargetProperties*, ID2D1HwndRenderTarget**, int>)(lpVtbl[14]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), renderTargetProperties, hwndRenderTargetProperties, hwndRenderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory3*, RenderTargetProperties*, HwndRenderTargetProperties*, ID2D1HwndRenderTarget**, int>)(lpVtbl[14]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), renderTargetProperties, hwndRenderTargetProperties, hwndRenderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateDxgiSurfaceRenderTarget" />
|
/// <inheritdoc cref="ID2D1Factory.CreateDxgiSurfaceRenderTarget" />
|
||||||
@@ -235,11 +171,7 @@ public unsafe partial struct ID2D1Factory3 : ID2D1Factory3.Interface, INativeGui
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public HResult CreateDxgiSurfaceRenderTarget(Graphics.Dxgi.IDXGISurface* dxgiSurface, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget)
|
public HResult CreateDxgiSurfaceRenderTarget(Graphics.Dxgi.IDXGISurface* dxgiSurface, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory3*, Graphics.Dxgi.IDXGISurface*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[15]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), dxgiSurface, renderTargetProperties, renderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1Factory3*, Graphics.Dxgi.IDXGISurface*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[15]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), dxgiSurface, renderTargetProperties, renderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory3*, Graphics.Dxgi.IDXGISurface*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[15]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), dxgiSurface, renderTargetProperties, renderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateDCRenderTarget" />
|
/// <inheritdoc cref="ID2D1Factory.CreateDCRenderTarget" />
|
||||||
@@ -247,11 +179,7 @@ public unsafe partial struct ID2D1Factory3 : ID2D1Factory3.Interface, INativeGui
|
|||||||
[VtblIndex(16)]
|
[VtblIndex(16)]
|
||||||
public HResult CreateDCRenderTarget(RenderTargetProperties* renderTargetProperties, ID2D1DCRenderTarget** dcRenderTarget)
|
public HResult CreateDCRenderTarget(RenderTargetProperties* renderTargetProperties, ID2D1DCRenderTarget** dcRenderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory3*, RenderTargetProperties*, ID2D1DCRenderTarget**, int>)(lpVtbl[16]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), renderTargetProperties, dcRenderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1Factory3*, RenderTargetProperties*, ID2D1DCRenderTarget**, int>)(lpVtbl[16]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), renderTargetProperties, dcRenderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory3*, RenderTargetProperties*, ID2D1DCRenderTarget**, int>)(lpVtbl[16]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), renderTargetProperties, dcRenderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.CreateDevice" />
|
/// <inheritdoc cref="ID2D1Factory1.CreateDevice" />
|
||||||
@@ -259,11 +187,7 @@ public unsafe partial struct ID2D1Factory3 : ID2D1Factory3.Interface, INativeGui
|
|||||||
[VtblIndex(17)]
|
[VtblIndex(17)]
|
||||||
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device** d2dDevice)
|
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device** d2dDevice)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory3*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device**, int>)(lpVtbl[17]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice);
|
||||||
return ((delegate* unmanaged<ID2D1Factory3*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device**, int>)(lpVtbl[17]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory3*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device**, int>)(lpVtbl[17]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.CreateStrokeStyle" />
|
/// <inheritdoc cref="ID2D1Factory1.CreateStrokeStyle" />
|
||||||
@@ -271,11 +195,7 @@ public unsafe partial struct ID2D1Factory3 : ID2D1Factory3.Interface, INativeGui
|
|||||||
[VtblIndex(18)]
|
[VtblIndex(18)]
|
||||||
public HResult CreateStrokeStyle(StrokeStyleProperties1* strokeStyleProperties, float* dashes, uint dashesCount, ID2D1StrokeStyle1** strokeStyle)
|
public HResult CreateStrokeStyle(StrokeStyleProperties1* strokeStyleProperties, float* dashes, uint dashesCount, ID2D1StrokeStyle1** strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory3*, StrokeStyleProperties1*, float*, uint, ID2D1StrokeStyle1**, int>)(lpVtbl[18]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
||||||
return ((delegate* unmanaged<ID2D1Factory3*, StrokeStyleProperties1*, float*, uint, ID2D1StrokeStyle1**, int>)(lpVtbl[18]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory3*, StrokeStyleProperties1*, float*, uint, ID2D1StrokeStyle1**, int>)(lpVtbl[18]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.CreatePathGeometry" />
|
/// <inheritdoc cref="ID2D1Factory1.CreatePathGeometry" />
|
||||||
@@ -283,11 +203,7 @@ public unsafe partial struct ID2D1Factory3 : ID2D1Factory3.Interface, INativeGui
|
|||||||
[VtblIndex(19)]
|
[VtblIndex(19)]
|
||||||
public HResult CreatePathGeometry(ID2D1PathGeometry1** pathGeometry)
|
public HResult CreatePathGeometry(ID2D1PathGeometry1** pathGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory3*, ID2D1PathGeometry1**, int>)(lpVtbl[19]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), pathGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory3*, ID2D1PathGeometry1**, int>)(lpVtbl[19]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), pathGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory3*, ID2D1PathGeometry1**, int>)(lpVtbl[19]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), pathGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.CreateDrawingStateBlock" />
|
/// <inheritdoc cref="ID2D1Factory1.CreateDrawingStateBlock" />
|
||||||
@@ -295,11 +211,7 @@ public unsafe partial struct ID2D1Factory3 : ID2D1Factory3.Interface, INativeGui
|
|||||||
[VtblIndex(20)]
|
[VtblIndex(20)]
|
||||||
public HResult CreateDrawingStateBlock(DrawingStateDescription1* drawingStateDescription, Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams, ID2D1DrawingStateBlock1** drawingStateBlock)
|
public HResult CreateDrawingStateBlock(DrawingStateDescription1* drawingStateDescription, Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams, ID2D1DrawingStateBlock1** drawingStateBlock)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory3*, DrawingStateDescription1*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock1**, int>)(lpVtbl[20]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
||||||
return ((delegate* unmanaged<ID2D1Factory3*, DrawingStateDescription1*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock1**, int>)(lpVtbl[20]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory3*, DrawingStateDescription1*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock1**, int>)(lpVtbl[20]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.CreateGdiMetafile" />
|
/// <inheritdoc cref="ID2D1Factory1.CreateGdiMetafile" />
|
||||||
@@ -307,11 +219,7 @@ public unsafe partial struct ID2D1Factory3 : ID2D1Factory3.Interface, INativeGui
|
|||||||
[VtblIndex(21)]
|
[VtblIndex(21)]
|
||||||
public HResult CreateGdiMetafile(Com.IStream* metafileStream, ID2D1GdiMetafile** metafile)
|
public HResult CreateGdiMetafile(Com.IStream* metafileStream, ID2D1GdiMetafile** metafile)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory3*, Com.IStream*, ID2D1GdiMetafile**, int>)(lpVtbl[21]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), metafileStream, metafile);
|
||||||
return ((delegate* unmanaged<ID2D1Factory3*, Com.IStream*, ID2D1GdiMetafile**, int>)(lpVtbl[21]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), metafileStream, metafile);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory3*, Com.IStream*, ID2D1GdiMetafile**, int>)(lpVtbl[21]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), metafileStream, metafile);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.RegisterEffectFromStream" />
|
/// <inheritdoc cref="ID2D1Factory1.RegisterEffectFromStream" />
|
||||||
@@ -319,11 +227,7 @@ public unsafe partial struct ID2D1Factory3 : ID2D1Factory3.Interface, INativeGui
|
|||||||
[VtblIndex(22)]
|
[VtblIndex(22)]
|
||||||
public HResult RegisterEffectFromStream(Guid* classId, Com.IStream* propertyXml, PropertyBinding* bindings, uint bindingsCount, delegate* unmanaged[Stdcall]<IUnknown**, HResult> effectFactory)
|
public HResult RegisterEffectFromStream(Guid* classId, Com.IStream* propertyXml, PropertyBinding* bindings, uint bindingsCount, delegate* unmanaged[Stdcall]<IUnknown**, HResult> effectFactory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory3*, Guid*, Com.IStream*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[22]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
||||||
return ((delegate* unmanaged<ID2D1Factory3*, Guid*, Com.IStream*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[22]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory3*, Guid*, Com.IStream*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[22]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.RegisterEffectFromString" />
|
/// <inheritdoc cref="ID2D1Factory1.RegisterEffectFromString" />
|
||||||
@@ -331,11 +235,7 @@ public unsafe partial struct ID2D1Factory3 : ID2D1Factory3.Interface, INativeGui
|
|||||||
[VtblIndex(23)]
|
[VtblIndex(23)]
|
||||||
public HResult RegisterEffectFromString(Guid* classId, ushort* propertyXml, PropertyBinding* bindings, uint bindingsCount, delegate* unmanaged[Stdcall]<IUnknown**, HResult> effectFactory)
|
public HResult RegisterEffectFromString(Guid* classId, ushort* propertyXml, PropertyBinding* bindings, uint bindingsCount, delegate* unmanaged[Stdcall]<IUnknown**, HResult> effectFactory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory3*, Guid*, ushort*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[23]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
||||||
return ((delegate* unmanaged<ID2D1Factory3*, Guid*, ushort*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[23]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory3*, Guid*, ushort*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[23]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.UnregisterEffect" />
|
/// <inheritdoc cref="ID2D1Factory1.UnregisterEffect" />
|
||||||
@@ -343,11 +243,7 @@ public unsafe partial struct ID2D1Factory3 : ID2D1Factory3.Interface, INativeGui
|
|||||||
[VtblIndex(24)]
|
[VtblIndex(24)]
|
||||||
public HResult UnregisterEffect(Guid* classId)
|
public HResult UnregisterEffect(Guid* classId)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory3*, Guid*, int>)(lpVtbl[24]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), classId);
|
||||||
return ((delegate* unmanaged<ID2D1Factory3*, Guid*, int>)(lpVtbl[24]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), classId);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory3*, Guid*, int>)(lpVtbl[24]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), classId);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.GetRegisteredEffects" />
|
/// <inheritdoc cref="ID2D1Factory1.GetRegisteredEffects" />
|
||||||
@@ -355,11 +251,7 @@ public unsafe partial struct ID2D1Factory3 : ID2D1Factory3.Interface, INativeGui
|
|||||||
[VtblIndex(25)]
|
[VtblIndex(25)]
|
||||||
public HResult GetRegisteredEffects(Guid* effects, uint effectsCount, uint* effectsReturned, uint* effectsRegistered)
|
public HResult GetRegisteredEffects(Guid* effects, uint effectsCount, uint* effectsReturned, uint* effectsRegistered)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory3*, Guid*, uint, uint*, uint*, int>)(lpVtbl[25]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), effects, effectsCount, effectsReturned, effectsRegistered);
|
||||||
return ((delegate* unmanaged<ID2D1Factory3*, Guid*, uint, uint*, uint*, int>)(lpVtbl[25]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), effects, effectsCount, effectsReturned, effectsRegistered);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory3*, Guid*, uint, uint*, uint*, int>)(lpVtbl[25]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), effects, effectsCount, effectsReturned, effectsRegistered);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.GetEffectProperties" />
|
/// <inheritdoc cref="ID2D1Factory1.GetEffectProperties" />
|
||||||
@@ -367,11 +259,7 @@ public unsafe partial struct ID2D1Factory3 : ID2D1Factory3.Interface, INativeGui
|
|||||||
[VtblIndex(26)]
|
[VtblIndex(26)]
|
||||||
public HResult GetEffectProperties(Guid* effectId, ID2D1Properties** properties)
|
public HResult GetEffectProperties(Guid* effectId, ID2D1Properties** properties)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory3*, Guid*, ID2D1Properties**, int>)(lpVtbl[26]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), effectId, properties);
|
||||||
return ((delegate* unmanaged<ID2D1Factory3*, Guid*, ID2D1Properties**, int>)(lpVtbl[26]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), effectId, properties);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory3*, Guid*, ID2D1Properties**, int>)(lpVtbl[26]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), effectId, properties);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory2.CreateDevice" />
|
/// <inheritdoc cref="ID2D1Factory2.CreateDevice" />
|
||||||
@@ -379,11 +267,7 @@ public unsafe partial struct ID2D1Factory3 : ID2D1Factory3.Interface, INativeGui
|
|||||||
[VtblIndex(27)]
|
[VtblIndex(27)]
|
||||||
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device1** d2dDevice1)
|
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device1** d2dDevice1)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory3*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device1**, int>)(lpVtbl[27]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice1);
|
||||||
return ((delegate* unmanaged<ID2D1Factory3*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device1**, int>)(lpVtbl[27]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice1);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory3*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device1**, int>)(lpVtbl[27]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice1);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory3::CreateDevice"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory3::CreateDevice"]/*' />
|
||||||
@@ -391,11 +275,7 @@ public unsafe partial struct ID2D1Factory3 : ID2D1Factory3.Interface, INativeGui
|
|||||||
[VtblIndex(28)]
|
[VtblIndex(28)]
|
||||||
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device2** d2dDevice2)
|
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device2** d2dDevice2)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory3*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device2**, int>)(lpVtbl[28]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice2);
|
||||||
return ((delegate* unmanaged<ID2D1Factory3*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device2**, int>)(lpVtbl[28]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice2);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory3*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device2**, int>)(lpVtbl[28]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice2);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Factory2.Interface
|
public interface Interface : ID2D1Factory2.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1Factory4 : ID2D1Factory4.Interface, INativeGui
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory4));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory4));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory4));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1Factory4 : ID2D1Factory4.Interface, INativeGui
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory4*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1Factory4*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory4*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1Factory4 : ID2D1Factory4.Interface, INativeGui
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory4*, uint>)(lpVtbl[1]))((ID2D1Factory4*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Factory4*, uint>)(lpVtbl[1]))((ID2D1Factory4*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory4*, uint>)(lpVtbl[1]))((ID2D1Factory4*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1Factory4 : ID2D1Factory4.Interface, INativeGui
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory4*, uint>)(lpVtbl[2]))((ID2D1Factory4*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Factory4*, uint>)(lpVtbl[2]))((ID2D1Factory4*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory4*, uint>)(lpVtbl[2]))((ID2D1Factory4*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.ReloadSystemMetrics" />
|
/// <inheritdoc cref="ID2D1Factory.ReloadSystemMetrics" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1Factory4 : ID2D1Factory4.Interface, INativeGui
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public HResult ReloadSystemMetrics()
|
public HResult ReloadSystemMetrics()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory4*, int>)(lpVtbl[3]))((ID2D1Factory4*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Factory4*, int>)(lpVtbl[3]))((ID2D1Factory4*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory4*, int>)(lpVtbl[3]))((ID2D1Factory4*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.GetDesktopDpi" />
|
/// <inheritdoc cref="ID2D1Factory.GetDesktopDpi" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1Factory4 : ID2D1Factory4.Interface, INativeGui
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public void GetDesktopDpi(float* dpiX, float* dpiY)
|
public void GetDesktopDpi(float* dpiX, float* dpiY)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Factory4*, float*, float*, void>)(lpVtbl[4]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
||||||
((delegate* unmanaged<ID2D1Factory4*, float*, float*, void>)(lpVtbl[4]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Factory4*, float*, float*, void>)(lpVtbl[4]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateRectangleGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreateRectangleGeometry" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1Factory4 : ID2D1Factory4.Interface, INativeGui
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult CreateRectangleGeometry(Win32.Numerics.RectF* rectangle, ID2D1RectangleGeometry** rectangleGeometry)
|
public HResult CreateRectangleGeometry(Win32.Numerics.RectF* rectangle, ID2D1RectangleGeometry** rectangleGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory4*, Win32.Numerics.RectF*, ID2D1RectangleGeometry**, int>)(lpVtbl[5]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), rectangle, rectangleGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory4*, Win32.Numerics.RectF*, ID2D1RectangleGeometry**, int>)(lpVtbl[5]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), rectangle, rectangleGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory4*, Win32.Numerics.RectF*, ID2D1RectangleGeometry**, int>)(lpVtbl[5]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), rectangle, rectangleGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateRoundedRectangleGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreateRoundedRectangleGeometry" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1Factory4 : ID2D1Factory4.Interface, INativeGui
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult CreateRoundedRectangleGeometry(RoundedRect* roundedRectangle, ID2D1RoundedRectangleGeometry** roundedRectangleGeometry)
|
public HResult CreateRoundedRectangleGeometry(RoundedRect* roundedRectangle, ID2D1RoundedRectangleGeometry** roundedRectangleGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory4*, RoundedRect*, ID2D1RoundedRectangleGeometry**, int>)(lpVtbl[6]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), roundedRectangle, roundedRectangleGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory4*, RoundedRect*, ID2D1RoundedRectangleGeometry**, int>)(lpVtbl[6]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), roundedRectangle, roundedRectangleGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory4*, RoundedRect*, ID2D1RoundedRectangleGeometry**, int>)(lpVtbl[6]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), roundedRectangle, roundedRectangleGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateEllipseGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreateEllipseGeometry" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1Factory4 : ID2D1Factory4.Interface, INativeGui
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public HResult CreateEllipseGeometry(Ellipse* ellipse, ID2D1EllipseGeometry** ellipseGeometry)
|
public HResult CreateEllipseGeometry(Ellipse* ellipse, ID2D1EllipseGeometry** ellipseGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory4*, Ellipse*, ID2D1EllipseGeometry**, int>)(lpVtbl[7]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), ellipse, ellipseGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory4*, Ellipse*, ID2D1EllipseGeometry**, int>)(lpVtbl[7]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), ellipse, ellipseGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory4*, Ellipse*, ID2D1EllipseGeometry**, int>)(lpVtbl[7]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), ellipse, ellipseGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateGeometryGroup" />
|
/// <inheritdoc cref="ID2D1Factory.CreateGeometryGroup" />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1Factory4 : ID2D1Factory4.Interface, INativeGui
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CreateGeometryGroup(Common.FillMode fillMode, ID2D1Geometry** geometries, uint geometriesCount, ID2D1GeometryGroup** geometryGroup)
|
public HResult CreateGeometryGroup(Common.FillMode fillMode, ID2D1Geometry** geometries, uint geometriesCount, ID2D1GeometryGroup** geometryGroup)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory4*, Common.FillMode, ID2D1Geometry**, uint, ID2D1GeometryGroup**, int>)(lpVtbl[8]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), fillMode, geometries, geometriesCount, geometryGroup);
|
||||||
return ((delegate* unmanaged<ID2D1Factory4*, Common.FillMode, ID2D1Geometry**, uint, ID2D1GeometryGroup**, int>)(lpVtbl[8]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), fillMode, geometries, geometriesCount, geometryGroup);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory4*, Common.FillMode, ID2D1Geometry**, uint, ID2D1GeometryGroup**, int>)(lpVtbl[8]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), fillMode, geometries, geometriesCount, geometryGroup);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateTransformedGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreateTransformedGeometry" />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1Factory4 : ID2D1Factory4.Interface, INativeGui
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult CreateTransformedGeometry(ID2D1Geometry* sourceGeometry, Matrix3x2* transform, ID2D1TransformedGeometry** transformedGeometry)
|
public HResult CreateTransformedGeometry(ID2D1Geometry* sourceGeometry, Matrix3x2* transform, ID2D1TransformedGeometry** transformedGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory4*, ID2D1Geometry*, Matrix3x2*, ID2D1TransformedGeometry**, int>)(lpVtbl[9]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), sourceGeometry, transform, transformedGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory4*, ID2D1Geometry*, Matrix3x2*, ID2D1TransformedGeometry**, int>)(lpVtbl[9]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), sourceGeometry, transform, transformedGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory4*, ID2D1Geometry*, Matrix3x2*, ID2D1TransformedGeometry**, int>)(lpVtbl[9]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), sourceGeometry, transform, transformedGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreatePathGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreatePathGeometry" />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1Factory4 : ID2D1Factory4.Interface, INativeGui
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult CreatePathGeometry(ID2D1PathGeometry** pathGeometry)
|
public HResult CreatePathGeometry(ID2D1PathGeometry** pathGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory4*, ID2D1PathGeometry**, int>)(lpVtbl[10]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), pathGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory4*, ID2D1PathGeometry**, int>)(lpVtbl[10]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), pathGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory4*, ID2D1PathGeometry**, int>)(lpVtbl[10]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), pathGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateStrokeStyle" />
|
/// <inheritdoc cref="ID2D1Factory.CreateStrokeStyle" />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1Factory4 : ID2D1Factory4.Interface, INativeGui
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult CreateStrokeStyle(StrokeStyleProperties* strokeStyleProperties, float* dashes, uint dashesCount, ID2D1StrokeStyle** strokeStyle)
|
public HResult CreateStrokeStyle(StrokeStyleProperties* strokeStyleProperties, float* dashes, uint dashesCount, ID2D1StrokeStyle** strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory4*, StrokeStyleProperties*, float*, uint, ID2D1StrokeStyle**, int>)(lpVtbl[11]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
||||||
return ((delegate* unmanaged<ID2D1Factory4*, StrokeStyleProperties*, float*, uint, ID2D1StrokeStyle**, int>)(lpVtbl[11]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory4*, StrokeStyleProperties*, float*, uint, ID2D1StrokeStyle**, int>)(lpVtbl[11]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateDrawingStateBlock" />
|
/// <inheritdoc cref="ID2D1Factory.CreateDrawingStateBlock" />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1Factory4 : ID2D1Factory4.Interface, INativeGui
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public HResult CreateDrawingStateBlock(DrawingStateDescription* drawingStateDescription, Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams, ID2D1DrawingStateBlock** drawingStateBlock)
|
public HResult CreateDrawingStateBlock(DrawingStateDescription* drawingStateDescription, Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams, ID2D1DrawingStateBlock** drawingStateBlock)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory4*, DrawingStateDescription*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock**, int>)(lpVtbl[12]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
||||||
return ((delegate* unmanaged<ID2D1Factory4*, DrawingStateDescription*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock**, int>)(lpVtbl[12]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory4*, DrawingStateDescription*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock**, int>)(lpVtbl[12]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateWicBitmapRenderTarget" />
|
/// <inheritdoc cref="ID2D1Factory.CreateWicBitmapRenderTarget" />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1Factory4 : ID2D1Factory4.Interface, INativeGui
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult CreateWicBitmapRenderTarget(Graphics.Imaging.IWICBitmap* target, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget)
|
public HResult CreateWicBitmapRenderTarget(Graphics.Imaging.IWICBitmap* target, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory4*, Graphics.Imaging.IWICBitmap*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[13]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), target, renderTargetProperties, renderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1Factory4*, Graphics.Imaging.IWICBitmap*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[13]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), target, renderTargetProperties, renderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory4*, Graphics.Imaging.IWICBitmap*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[13]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), target, renderTargetProperties, renderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateHwndRenderTarget" />
|
/// <inheritdoc cref="ID2D1Factory.CreateHwndRenderTarget" />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1Factory4 : ID2D1Factory4.Interface, INativeGui
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public HResult CreateHwndRenderTarget(RenderTargetProperties* renderTargetProperties, HwndRenderTargetProperties* hwndRenderTargetProperties, ID2D1HwndRenderTarget** hwndRenderTarget)
|
public HResult CreateHwndRenderTarget(RenderTargetProperties* renderTargetProperties, HwndRenderTargetProperties* hwndRenderTargetProperties, ID2D1HwndRenderTarget** hwndRenderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory4*, RenderTargetProperties*, HwndRenderTargetProperties*, ID2D1HwndRenderTarget**, int>)(lpVtbl[14]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), renderTargetProperties, hwndRenderTargetProperties, hwndRenderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1Factory4*, RenderTargetProperties*, HwndRenderTargetProperties*, ID2D1HwndRenderTarget**, int>)(lpVtbl[14]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), renderTargetProperties, hwndRenderTargetProperties, hwndRenderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory4*, RenderTargetProperties*, HwndRenderTargetProperties*, ID2D1HwndRenderTarget**, int>)(lpVtbl[14]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), renderTargetProperties, hwndRenderTargetProperties, hwndRenderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateDxgiSurfaceRenderTarget" />
|
/// <inheritdoc cref="ID2D1Factory.CreateDxgiSurfaceRenderTarget" />
|
||||||
@@ -235,11 +171,7 @@ public unsafe partial struct ID2D1Factory4 : ID2D1Factory4.Interface, INativeGui
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public HResult CreateDxgiSurfaceRenderTarget(Graphics.Dxgi.IDXGISurface* dxgiSurface, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget)
|
public HResult CreateDxgiSurfaceRenderTarget(Graphics.Dxgi.IDXGISurface* dxgiSurface, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory4*, Graphics.Dxgi.IDXGISurface*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[15]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), dxgiSurface, renderTargetProperties, renderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1Factory4*, Graphics.Dxgi.IDXGISurface*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[15]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), dxgiSurface, renderTargetProperties, renderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory4*, Graphics.Dxgi.IDXGISurface*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[15]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), dxgiSurface, renderTargetProperties, renderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateDCRenderTarget" />
|
/// <inheritdoc cref="ID2D1Factory.CreateDCRenderTarget" />
|
||||||
@@ -247,11 +179,7 @@ public unsafe partial struct ID2D1Factory4 : ID2D1Factory4.Interface, INativeGui
|
|||||||
[VtblIndex(16)]
|
[VtblIndex(16)]
|
||||||
public HResult CreateDCRenderTarget(RenderTargetProperties* renderTargetProperties, ID2D1DCRenderTarget** dcRenderTarget)
|
public HResult CreateDCRenderTarget(RenderTargetProperties* renderTargetProperties, ID2D1DCRenderTarget** dcRenderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory4*, RenderTargetProperties*, ID2D1DCRenderTarget**, int>)(lpVtbl[16]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), renderTargetProperties, dcRenderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1Factory4*, RenderTargetProperties*, ID2D1DCRenderTarget**, int>)(lpVtbl[16]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), renderTargetProperties, dcRenderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory4*, RenderTargetProperties*, ID2D1DCRenderTarget**, int>)(lpVtbl[16]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), renderTargetProperties, dcRenderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.CreateDevice" />
|
/// <inheritdoc cref="ID2D1Factory1.CreateDevice" />
|
||||||
@@ -259,11 +187,7 @@ public unsafe partial struct ID2D1Factory4 : ID2D1Factory4.Interface, INativeGui
|
|||||||
[VtblIndex(17)]
|
[VtblIndex(17)]
|
||||||
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device** d2dDevice)
|
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device** d2dDevice)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory4*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device**, int>)(lpVtbl[17]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice);
|
||||||
return ((delegate* unmanaged<ID2D1Factory4*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device**, int>)(lpVtbl[17]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory4*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device**, int>)(lpVtbl[17]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.CreateStrokeStyle" />
|
/// <inheritdoc cref="ID2D1Factory1.CreateStrokeStyle" />
|
||||||
@@ -271,11 +195,7 @@ public unsafe partial struct ID2D1Factory4 : ID2D1Factory4.Interface, INativeGui
|
|||||||
[VtblIndex(18)]
|
[VtblIndex(18)]
|
||||||
public HResult CreateStrokeStyle(StrokeStyleProperties1* strokeStyleProperties, float* dashes, uint dashesCount, ID2D1StrokeStyle1** strokeStyle)
|
public HResult CreateStrokeStyle(StrokeStyleProperties1* strokeStyleProperties, float* dashes, uint dashesCount, ID2D1StrokeStyle1** strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory4*, StrokeStyleProperties1*, float*, uint, ID2D1StrokeStyle1**, int>)(lpVtbl[18]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
||||||
return ((delegate* unmanaged<ID2D1Factory4*, StrokeStyleProperties1*, float*, uint, ID2D1StrokeStyle1**, int>)(lpVtbl[18]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory4*, StrokeStyleProperties1*, float*, uint, ID2D1StrokeStyle1**, int>)(lpVtbl[18]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.CreatePathGeometry" />
|
/// <inheritdoc cref="ID2D1Factory1.CreatePathGeometry" />
|
||||||
@@ -283,11 +203,7 @@ public unsafe partial struct ID2D1Factory4 : ID2D1Factory4.Interface, INativeGui
|
|||||||
[VtblIndex(19)]
|
[VtblIndex(19)]
|
||||||
public HResult CreatePathGeometry(ID2D1PathGeometry1** pathGeometry)
|
public HResult CreatePathGeometry(ID2D1PathGeometry1** pathGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory4*, ID2D1PathGeometry1**, int>)(lpVtbl[19]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), pathGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory4*, ID2D1PathGeometry1**, int>)(lpVtbl[19]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), pathGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory4*, ID2D1PathGeometry1**, int>)(lpVtbl[19]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), pathGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.CreateDrawingStateBlock" />
|
/// <inheritdoc cref="ID2D1Factory1.CreateDrawingStateBlock" />
|
||||||
@@ -295,11 +211,7 @@ public unsafe partial struct ID2D1Factory4 : ID2D1Factory4.Interface, INativeGui
|
|||||||
[VtblIndex(20)]
|
[VtblIndex(20)]
|
||||||
public HResult CreateDrawingStateBlock(DrawingStateDescription1* drawingStateDescription, Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams, ID2D1DrawingStateBlock1** drawingStateBlock)
|
public HResult CreateDrawingStateBlock(DrawingStateDescription1* drawingStateDescription, Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams, ID2D1DrawingStateBlock1** drawingStateBlock)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory4*, DrawingStateDescription1*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock1**, int>)(lpVtbl[20]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
||||||
return ((delegate* unmanaged<ID2D1Factory4*, DrawingStateDescription1*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock1**, int>)(lpVtbl[20]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory4*, DrawingStateDescription1*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock1**, int>)(lpVtbl[20]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.CreateGdiMetafile" />
|
/// <inheritdoc cref="ID2D1Factory1.CreateGdiMetafile" />
|
||||||
@@ -307,11 +219,7 @@ public unsafe partial struct ID2D1Factory4 : ID2D1Factory4.Interface, INativeGui
|
|||||||
[VtblIndex(21)]
|
[VtblIndex(21)]
|
||||||
public HResult CreateGdiMetafile(Com.IStream* metafileStream, ID2D1GdiMetafile** metafile)
|
public HResult CreateGdiMetafile(Com.IStream* metafileStream, ID2D1GdiMetafile** metafile)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory4*, Com.IStream*, ID2D1GdiMetafile**, int>)(lpVtbl[21]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), metafileStream, metafile);
|
||||||
return ((delegate* unmanaged<ID2D1Factory4*, Com.IStream*, ID2D1GdiMetafile**, int>)(lpVtbl[21]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), metafileStream, metafile);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory4*, Com.IStream*, ID2D1GdiMetafile**, int>)(lpVtbl[21]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), metafileStream, metafile);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.RegisterEffectFromStream" />
|
/// <inheritdoc cref="ID2D1Factory1.RegisterEffectFromStream" />
|
||||||
@@ -319,11 +227,7 @@ public unsafe partial struct ID2D1Factory4 : ID2D1Factory4.Interface, INativeGui
|
|||||||
[VtblIndex(22)]
|
[VtblIndex(22)]
|
||||||
public HResult RegisterEffectFromStream(Guid* classId, Com.IStream* propertyXml, PropertyBinding* bindings, uint bindingsCount, delegate* unmanaged[Stdcall]<IUnknown**, HResult> effectFactory)
|
public HResult RegisterEffectFromStream(Guid* classId, Com.IStream* propertyXml, PropertyBinding* bindings, uint bindingsCount, delegate* unmanaged[Stdcall]<IUnknown**, HResult> effectFactory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory4*, Guid*, Com.IStream*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[22]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
||||||
return ((delegate* unmanaged<ID2D1Factory4*, Guid*, Com.IStream*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[22]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory4*, Guid*, Com.IStream*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[22]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.RegisterEffectFromString" />
|
/// <inheritdoc cref="ID2D1Factory1.RegisterEffectFromString" />
|
||||||
@@ -331,11 +235,7 @@ public unsafe partial struct ID2D1Factory4 : ID2D1Factory4.Interface, INativeGui
|
|||||||
[VtblIndex(23)]
|
[VtblIndex(23)]
|
||||||
public HResult RegisterEffectFromString(Guid* classId, ushort* propertyXml, PropertyBinding* bindings, uint bindingsCount, delegate* unmanaged[Stdcall]<IUnknown**, HResult> effectFactory)
|
public HResult RegisterEffectFromString(Guid* classId, ushort* propertyXml, PropertyBinding* bindings, uint bindingsCount, delegate* unmanaged[Stdcall]<IUnknown**, HResult> effectFactory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory4*, Guid*, ushort*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[23]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
||||||
return ((delegate* unmanaged<ID2D1Factory4*, Guid*, ushort*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[23]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory4*, Guid*, ushort*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[23]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.UnregisterEffect" />
|
/// <inheritdoc cref="ID2D1Factory1.UnregisterEffect" />
|
||||||
@@ -343,11 +243,7 @@ public unsafe partial struct ID2D1Factory4 : ID2D1Factory4.Interface, INativeGui
|
|||||||
[VtblIndex(24)]
|
[VtblIndex(24)]
|
||||||
public HResult UnregisterEffect(Guid* classId)
|
public HResult UnregisterEffect(Guid* classId)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory4*, Guid*, int>)(lpVtbl[24]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), classId);
|
||||||
return ((delegate* unmanaged<ID2D1Factory4*, Guid*, int>)(lpVtbl[24]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), classId);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory4*, Guid*, int>)(lpVtbl[24]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), classId);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.GetRegisteredEffects" />
|
/// <inheritdoc cref="ID2D1Factory1.GetRegisteredEffects" />
|
||||||
@@ -355,11 +251,7 @@ public unsafe partial struct ID2D1Factory4 : ID2D1Factory4.Interface, INativeGui
|
|||||||
[VtblIndex(25)]
|
[VtblIndex(25)]
|
||||||
public HResult GetRegisteredEffects(Guid* effects, uint effectsCount, uint* effectsReturned, uint* effectsRegistered)
|
public HResult GetRegisteredEffects(Guid* effects, uint effectsCount, uint* effectsReturned, uint* effectsRegistered)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory4*, Guid*, uint, uint*, uint*, int>)(lpVtbl[25]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), effects, effectsCount, effectsReturned, effectsRegistered);
|
||||||
return ((delegate* unmanaged<ID2D1Factory4*, Guid*, uint, uint*, uint*, int>)(lpVtbl[25]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), effects, effectsCount, effectsReturned, effectsRegistered);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory4*, Guid*, uint, uint*, uint*, int>)(lpVtbl[25]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), effects, effectsCount, effectsReturned, effectsRegistered);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.GetEffectProperties" />
|
/// <inheritdoc cref="ID2D1Factory1.GetEffectProperties" />
|
||||||
@@ -367,11 +259,7 @@ public unsafe partial struct ID2D1Factory4 : ID2D1Factory4.Interface, INativeGui
|
|||||||
[VtblIndex(26)]
|
[VtblIndex(26)]
|
||||||
public HResult GetEffectProperties(Guid* effectId, ID2D1Properties** properties)
|
public HResult GetEffectProperties(Guid* effectId, ID2D1Properties** properties)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory4*, Guid*, ID2D1Properties**, int>)(lpVtbl[26]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), effectId, properties);
|
||||||
return ((delegate* unmanaged<ID2D1Factory4*, Guid*, ID2D1Properties**, int>)(lpVtbl[26]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), effectId, properties);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory4*, Guid*, ID2D1Properties**, int>)(lpVtbl[26]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), effectId, properties);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory2.CreateDevice" />
|
/// <inheritdoc cref="ID2D1Factory2.CreateDevice" />
|
||||||
@@ -379,11 +267,7 @@ public unsafe partial struct ID2D1Factory4 : ID2D1Factory4.Interface, INativeGui
|
|||||||
[VtblIndex(27)]
|
[VtblIndex(27)]
|
||||||
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device1** d2dDevice1)
|
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device1** d2dDevice1)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory4*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device1**, int>)(lpVtbl[27]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice1);
|
||||||
return ((delegate* unmanaged<ID2D1Factory4*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device1**, int>)(lpVtbl[27]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice1);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory4*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device1**, int>)(lpVtbl[27]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice1);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory3.CreateDevice" />
|
/// <inheritdoc cref="ID2D1Factory3.CreateDevice" />
|
||||||
@@ -391,11 +275,7 @@ public unsafe partial struct ID2D1Factory4 : ID2D1Factory4.Interface, INativeGui
|
|||||||
[VtblIndex(28)]
|
[VtblIndex(28)]
|
||||||
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device2** d2dDevice2)
|
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device2** d2dDevice2)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory4*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device2**, int>)(lpVtbl[28]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice2);
|
||||||
return ((delegate* unmanaged<ID2D1Factory4*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device2**, int>)(lpVtbl[28]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice2);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory4*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device2**, int>)(lpVtbl[28]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice2);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory4::CreateDevice"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory4::CreateDevice"]/*' />
|
||||||
@@ -403,11 +283,7 @@ public unsafe partial struct ID2D1Factory4 : ID2D1Factory4.Interface, INativeGui
|
|||||||
[VtblIndex(29)]
|
[VtblIndex(29)]
|
||||||
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device3** d2dDevice3)
|
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device3** d2dDevice3)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory4*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device3**, int>)(lpVtbl[29]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice3);
|
||||||
return ((delegate* unmanaged<ID2D1Factory4*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device3**, int>)(lpVtbl[29]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice3);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory4*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device3**, int>)(lpVtbl[29]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice3);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Factory3.Interface
|
public interface Interface : ID2D1Factory3.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface, INativeGui
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory5));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory5));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory5));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface, INativeGui
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory5*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1Factory5*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory5*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface, INativeGui
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory5*, uint>)(lpVtbl[1]))((ID2D1Factory5*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Factory5*, uint>)(lpVtbl[1]))((ID2D1Factory5*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory5*, uint>)(lpVtbl[1]))((ID2D1Factory5*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface, INativeGui
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory5*, uint>)(lpVtbl[2]))((ID2D1Factory5*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Factory5*, uint>)(lpVtbl[2]))((ID2D1Factory5*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory5*, uint>)(lpVtbl[2]))((ID2D1Factory5*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.ReloadSystemMetrics" />
|
/// <inheritdoc cref="ID2D1Factory.ReloadSystemMetrics" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface, INativeGui
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public HResult ReloadSystemMetrics()
|
public HResult ReloadSystemMetrics()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory5*, int>)(lpVtbl[3]))((ID2D1Factory5*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Factory5*, int>)(lpVtbl[3]))((ID2D1Factory5*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory5*, int>)(lpVtbl[3]))((ID2D1Factory5*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.GetDesktopDpi" />
|
/// <inheritdoc cref="ID2D1Factory.GetDesktopDpi" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface, INativeGui
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public void GetDesktopDpi(float* dpiX, float* dpiY)
|
public void GetDesktopDpi(float* dpiX, float* dpiY)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Factory5*, float*, float*, void>)(lpVtbl[4]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
||||||
((delegate* unmanaged<ID2D1Factory5*, float*, float*, void>)(lpVtbl[4]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Factory5*, float*, float*, void>)(lpVtbl[4]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateRectangleGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreateRectangleGeometry" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface, INativeGui
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult CreateRectangleGeometry(Win32.Numerics.RectF* rectangle, ID2D1RectangleGeometry** rectangleGeometry)
|
public HResult CreateRectangleGeometry(Win32.Numerics.RectF* rectangle, ID2D1RectangleGeometry** rectangleGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory5*, Win32.Numerics.RectF*, ID2D1RectangleGeometry**, int>)(lpVtbl[5]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), rectangle, rectangleGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory5*, Win32.Numerics.RectF*, ID2D1RectangleGeometry**, int>)(lpVtbl[5]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), rectangle, rectangleGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory5*, Win32.Numerics.RectF*, ID2D1RectangleGeometry**, int>)(lpVtbl[5]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), rectangle, rectangleGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateRoundedRectangleGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreateRoundedRectangleGeometry" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface, INativeGui
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult CreateRoundedRectangleGeometry(RoundedRect* roundedRectangle, ID2D1RoundedRectangleGeometry** roundedRectangleGeometry)
|
public HResult CreateRoundedRectangleGeometry(RoundedRect* roundedRectangle, ID2D1RoundedRectangleGeometry** roundedRectangleGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory5*, RoundedRect*, ID2D1RoundedRectangleGeometry**, int>)(lpVtbl[6]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), roundedRectangle, roundedRectangleGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory5*, RoundedRect*, ID2D1RoundedRectangleGeometry**, int>)(lpVtbl[6]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), roundedRectangle, roundedRectangleGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory5*, RoundedRect*, ID2D1RoundedRectangleGeometry**, int>)(lpVtbl[6]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), roundedRectangle, roundedRectangleGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateEllipseGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreateEllipseGeometry" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface, INativeGui
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public HResult CreateEllipseGeometry(Ellipse* ellipse, ID2D1EllipseGeometry** ellipseGeometry)
|
public HResult CreateEllipseGeometry(Ellipse* ellipse, ID2D1EllipseGeometry** ellipseGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory5*, Ellipse*, ID2D1EllipseGeometry**, int>)(lpVtbl[7]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), ellipse, ellipseGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory5*, Ellipse*, ID2D1EllipseGeometry**, int>)(lpVtbl[7]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), ellipse, ellipseGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory5*, Ellipse*, ID2D1EllipseGeometry**, int>)(lpVtbl[7]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), ellipse, ellipseGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateGeometryGroup" />
|
/// <inheritdoc cref="ID2D1Factory.CreateGeometryGroup" />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface, INativeGui
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CreateGeometryGroup(Common.FillMode fillMode, ID2D1Geometry** geometries, uint geometriesCount, ID2D1GeometryGroup** geometryGroup)
|
public HResult CreateGeometryGroup(Common.FillMode fillMode, ID2D1Geometry** geometries, uint geometriesCount, ID2D1GeometryGroup** geometryGroup)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory5*, Common.FillMode, ID2D1Geometry**, uint, ID2D1GeometryGroup**, int>)(lpVtbl[8]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), fillMode, geometries, geometriesCount, geometryGroup);
|
||||||
return ((delegate* unmanaged<ID2D1Factory5*, Common.FillMode, ID2D1Geometry**, uint, ID2D1GeometryGroup**, int>)(lpVtbl[8]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), fillMode, geometries, geometriesCount, geometryGroup);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory5*, Common.FillMode, ID2D1Geometry**, uint, ID2D1GeometryGroup**, int>)(lpVtbl[8]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), fillMode, geometries, geometriesCount, geometryGroup);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateTransformedGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreateTransformedGeometry" />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface, INativeGui
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult CreateTransformedGeometry(ID2D1Geometry* sourceGeometry, Matrix3x2* transform, ID2D1TransformedGeometry** transformedGeometry)
|
public HResult CreateTransformedGeometry(ID2D1Geometry* sourceGeometry, Matrix3x2* transform, ID2D1TransformedGeometry** transformedGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory5*, ID2D1Geometry*, Matrix3x2*, ID2D1TransformedGeometry**, int>)(lpVtbl[9]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), sourceGeometry, transform, transformedGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory5*, ID2D1Geometry*, Matrix3x2*, ID2D1TransformedGeometry**, int>)(lpVtbl[9]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), sourceGeometry, transform, transformedGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory5*, ID2D1Geometry*, Matrix3x2*, ID2D1TransformedGeometry**, int>)(lpVtbl[9]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), sourceGeometry, transform, transformedGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreatePathGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreatePathGeometry" />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface, INativeGui
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult CreatePathGeometry(ID2D1PathGeometry** pathGeometry)
|
public HResult CreatePathGeometry(ID2D1PathGeometry** pathGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory5*, ID2D1PathGeometry**, int>)(lpVtbl[10]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), pathGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory5*, ID2D1PathGeometry**, int>)(lpVtbl[10]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), pathGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory5*, ID2D1PathGeometry**, int>)(lpVtbl[10]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), pathGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateStrokeStyle" />
|
/// <inheritdoc cref="ID2D1Factory.CreateStrokeStyle" />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface, INativeGui
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult CreateStrokeStyle(StrokeStyleProperties* strokeStyleProperties, float* dashes, uint dashesCount, ID2D1StrokeStyle** strokeStyle)
|
public HResult CreateStrokeStyle(StrokeStyleProperties* strokeStyleProperties, float* dashes, uint dashesCount, ID2D1StrokeStyle** strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory5*, StrokeStyleProperties*, float*, uint, ID2D1StrokeStyle**, int>)(lpVtbl[11]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
||||||
return ((delegate* unmanaged<ID2D1Factory5*, StrokeStyleProperties*, float*, uint, ID2D1StrokeStyle**, int>)(lpVtbl[11]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory5*, StrokeStyleProperties*, float*, uint, ID2D1StrokeStyle**, int>)(lpVtbl[11]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateDrawingStateBlock" />
|
/// <inheritdoc cref="ID2D1Factory.CreateDrawingStateBlock" />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface, INativeGui
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public HResult CreateDrawingStateBlock(DrawingStateDescription* drawingStateDescription, Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams, ID2D1DrawingStateBlock** drawingStateBlock)
|
public HResult CreateDrawingStateBlock(DrawingStateDescription* drawingStateDescription, Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams, ID2D1DrawingStateBlock** drawingStateBlock)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory5*, DrawingStateDescription*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock**, int>)(lpVtbl[12]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
||||||
return ((delegate* unmanaged<ID2D1Factory5*, DrawingStateDescription*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock**, int>)(lpVtbl[12]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory5*, DrawingStateDescription*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock**, int>)(lpVtbl[12]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateWicBitmapRenderTarget" />
|
/// <inheritdoc cref="ID2D1Factory.CreateWicBitmapRenderTarget" />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface, INativeGui
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult CreateWicBitmapRenderTarget(Graphics.Imaging.IWICBitmap* target, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget)
|
public HResult CreateWicBitmapRenderTarget(Graphics.Imaging.IWICBitmap* target, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory5*, Graphics.Imaging.IWICBitmap*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[13]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), target, renderTargetProperties, renderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1Factory5*, Graphics.Imaging.IWICBitmap*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[13]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), target, renderTargetProperties, renderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory5*, Graphics.Imaging.IWICBitmap*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[13]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), target, renderTargetProperties, renderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateHwndRenderTarget" />
|
/// <inheritdoc cref="ID2D1Factory.CreateHwndRenderTarget" />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface, INativeGui
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public HResult CreateHwndRenderTarget(RenderTargetProperties* renderTargetProperties, HwndRenderTargetProperties* hwndRenderTargetProperties, ID2D1HwndRenderTarget** hwndRenderTarget)
|
public HResult CreateHwndRenderTarget(RenderTargetProperties* renderTargetProperties, HwndRenderTargetProperties* hwndRenderTargetProperties, ID2D1HwndRenderTarget** hwndRenderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory5*, RenderTargetProperties*, HwndRenderTargetProperties*, ID2D1HwndRenderTarget**, int>)(lpVtbl[14]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), renderTargetProperties, hwndRenderTargetProperties, hwndRenderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1Factory5*, RenderTargetProperties*, HwndRenderTargetProperties*, ID2D1HwndRenderTarget**, int>)(lpVtbl[14]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), renderTargetProperties, hwndRenderTargetProperties, hwndRenderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory5*, RenderTargetProperties*, HwndRenderTargetProperties*, ID2D1HwndRenderTarget**, int>)(lpVtbl[14]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), renderTargetProperties, hwndRenderTargetProperties, hwndRenderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateDxgiSurfaceRenderTarget" />
|
/// <inheritdoc cref="ID2D1Factory.CreateDxgiSurfaceRenderTarget" />
|
||||||
@@ -235,11 +171,7 @@ public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface, INativeGui
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public HResult CreateDxgiSurfaceRenderTarget(Graphics.Dxgi.IDXGISurface* dxgiSurface, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget)
|
public HResult CreateDxgiSurfaceRenderTarget(Graphics.Dxgi.IDXGISurface* dxgiSurface, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory5*, Graphics.Dxgi.IDXGISurface*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[15]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), dxgiSurface, renderTargetProperties, renderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1Factory5*, Graphics.Dxgi.IDXGISurface*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[15]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), dxgiSurface, renderTargetProperties, renderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory5*, Graphics.Dxgi.IDXGISurface*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[15]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), dxgiSurface, renderTargetProperties, renderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateDCRenderTarget" />
|
/// <inheritdoc cref="ID2D1Factory.CreateDCRenderTarget" />
|
||||||
@@ -247,11 +179,7 @@ public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface, INativeGui
|
|||||||
[VtblIndex(16)]
|
[VtblIndex(16)]
|
||||||
public HResult CreateDCRenderTarget(RenderTargetProperties* renderTargetProperties, ID2D1DCRenderTarget** dcRenderTarget)
|
public HResult CreateDCRenderTarget(RenderTargetProperties* renderTargetProperties, ID2D1DCRenderTarget** dcRenderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory5*, RenderTargetProperties*, ID2D1DCRenderTarget**, int>)(lpVtbl[16]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), renderTargetProperties, dcRenderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1Factory5*, RenderTargetProperties*, ID2D1DCRenderTarget**, int>)(lpVtbl[16]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), renderTargetProperties, dcRenderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory5*, RenderTargetProperties*, ID2D1DCRenderTarget**, int>)(lpVtbl[16]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), renderTargetProperties, dcRenderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.CreateDevice" />
|
/// <inheritdoc cref="ID2D1Factory1.CreateDevice" />
|
||||||
@@ -259,11 +187,7 @@ public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface, INativeGui
|
|||||||
[VtblIndex(17)]
|
[VtblIndex(17)]
|
||||||
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device** d2dDevice)
|
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device** d2dDevice)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory5*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device**, int>)(lpVtbl[17]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice);
|
||||||
return ((delegate* unmanaged<ID2D1Factory5*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device**, int>)(lpVtbl[17]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory5*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device**, int>)(lpVtbl[17]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.CreateStrokeStyle" />
|
/// <inheritdoc cref="ID2D1Factory1.CreateStrokeStyle" />
|
||||||
@@ -271,11 +195,7 @@ public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface, INativeGui
|
|||||||
[VtblIndex(18)]
|
[VtblIndex(18)]
|
||||||
public HResult CreateStrokeStyle(StrokeStyleProperties1* strokeStyleProperties, float* dashes, uint dashesCount, ID2D1StrokeStyle1** strokeStyle)
|
public HResult CreateStrokeStyle(StrokeStyleProperties1* strokeStyleProperties, float* dashes, uint dashesCount, ID2D1StrokeStyle1** strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory5*, StrokeStyleProperties1*, float*, uint, ID2D1StrokeStyle1**, int>)(lpVtbl[18]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
||||||
return ((delegate* unmanaged<ID2D1Factory5*, StrokeStyleProperties1*, float*, uint, ID2D1StrokeStyle1**, int>)(lpVtbl[18]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory5*, StrokeStyleProperties1*, float*, uint, ID2D1StrokeStyle1**, int>)(lpVtbl[18]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.CreatePathGeometry" />
|
/// <inheritdoc cref="ID2D1Factory1.CreatePathGeometry" />
|
||||||
@@ -283,11 +203,7 @@ public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface, INativeGui
|
|||||||
[VtblIndex(19)]
|
[VtblIndex(19)]
|
||||||
public HResult CreatePathGeometry(ID2D1PathGeometry1** pathGeometry)
|
public HResult CreatePathGeometry(ID2D1PathGeometry1** pathGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory5*, ID2D1PathGeometry1**, int>)(lpVtbl[19]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), pathGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory5*, ID2D1PathGeometry1**, int>)(lpVtbl[19]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), pathGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory5*, ID2D1PathGeometry1**, int>)(lpVtbl[19]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), pathGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.CreateDrawingStateBlock" />
|
/// <inheritdoc cref="ID2D1Factory1.CreateDrawingStateBlock" />
|
||||||
@@ -295,11 +211,7 @@ public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface, INativeGui
|
|||||||
[VtblIndex(20)]
|
[VtblIndex(20)]
|
||||||
public HResult CreateDrawingStateBlock(DrawingStateDescription1* drawingStateDescription, Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams, ID2D1DrawingStateBlock1** drawingStateBlock)
|
public HResult CreateDrawingStateBlock(DrawingStateDescription1* drawingStateDescription, Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams, ID2D1DrawingStateBlock1** drawingStateBlock)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory5*, DrawingStateDescription1*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock1**, int>)(lpVtbl[20]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
||||||
return ((delegate* unmanaged<ID2D1Factory5*, DrawingStateDescription1*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock1**, int>)(lpVtbl[20]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory5*, DrawingStateDescription1*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock1**, int>)(lpVtbl[20]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.CreateGdiMetafile" />
|
/// <inheritdoc cref="ID2D1Factory1.CreateGdiMetafile" />
|
||||||
@@ -307,11 +219,7 @@ public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface, INativeGui
|
|||||||
[VtblIndex(21)]
|
[VtblIndex(21)]
|
||||||
public HResult CreateGdiMetafile(Com.IStream* metafileStream, ID2D1GdiMetafile** metafile)
|
public HResult CreateGdiMetafile(Com.IStream* metafileStream, ID2D1GdiMetafile** metafile)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory5*, Com.IStream*, ID2D1GdiMetafile**, int>)(lpVtbl[21]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), metafileStream, metafile);
|
||||||
return ((delegate* unmanaged<ID2D1Factory5*, Com.IStream*, ID2D1GdiMetafile**, int>)(lpVtbl[21]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), metafileStream, metafile);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory5*, Com.IStream*, ID2D1GdiMetafile**, int>)(lpVtbl[21]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), metafileStream, metafile);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.RegisterEffectFromStream" />
|
/// <inheritdoc cref="ID2D1Factory1.RegisterEffectFromStream" />
|
||||||
@@ -319,11 +227,7 @@ public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface, INativeGui
|
|||||||
[VtblIndex(22)]
|
[VtblIndex(22)]
|
||||||
public HResult RegisterEffectFromStream(Guid* classId, Com.IStream* propertyXml, PropertyBinding* bindings, uint bindingsCount, delegate* unmanaged[Stdcall]<IUnknown**, HResult> effectFactory)
|
public HResult RegisterEffectFromStream(Guid* classId, Com.IStream* propertyXml, PropertyBinding* bindings, uint bindingsCount, delegate* unmanaged[Stdcall]<IUnknown**, HResult> effectFactory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory5*, Guid*, Com.IStream*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[22]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
||||||
return ((delegate* unmanaged<ID2D1Factory5*, Guid*, Com.IStream*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[22]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory5*, Guid*, Com.IStream*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[22]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.RegisterEffectFromString" />
|
/// <inheritdoc cref="ID2D1Factory1.RegisterEffectFromString" />
|
||||||
@@ -331,11 +235,7 @@ public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface, INativeGui
|
|||||||
[VtblIndex(23)]
|
[VtblIndex(23)]
|
||||||
public HResult RegisterEffectFromString(Guid* classId, ushort* propertyXml, PropertyBinding* bindings, uint bindingsCount, delegate* unmanaged[Stdcall]<IUnknown**, HResult> effectFactory)
|
public HResult RegisterEffectFromString(Guid* classId, ushort* propertyXml, PropertyBinding* bindings, uint bindingsCount, delegate* unmanaged[Stdcall]<IUnknown**, HResult> effectFactory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory5*, Guid*, ushort*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[23]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
||||||
return ((delegate* unmanaged<ID2D1Factory5*, Guid*, ushort*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[23]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory5*, Guid*, ushort*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[23]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.UnregisterEffect" />
|
/// <inheritdoc cref="ID2D1Factory1.UnregisterEffect" />
|
||||||
@@ -343,11 +243,7 @@ public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface, INativeGui
|
|||||||
[VtblIndex(24)]
|
[VtblIndex(24)]
|
||||||
public HResult UnregisterEffect(Guid* classId)
|
public HResult UnregisterEffect(Guid* classId)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory5*, Guid*, int>)(lpVtbl[24]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), classId);
|
||||||
return ((delegate* unmanaged<ID2D1Factory5*, Guid*, int>)(lpVtbl[24]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), classId);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory5*, Guid*, int>)(lpVtbl[24]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), classId);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.GetRegisteredEffects" />
|
/// <inheritdoc cref="ID2D1Factory1.GetRegisteredEffects" />
|
||||||
@@ -355,11 +251,7 @@ public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface, INativeGui
|
|||||||
[VtblIndex(25)]
|
[VtblIndex(25)]
|
||||||
public HResult GetRegisteredEffects(Guid* effects, uint effectsCount, uint* effectsReturned, uint* effectsRegistered)
|
public HResult GetRegisteredEffects(Guid* effects, uint effectsCount, uint* effectsReturned, uint* effectsRegistered)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory5*, Guid*, uint, uint*, uint*, int>)(lpVtbl[25]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), effects, effectsCount, effectsReturned, effectsRegistered);
|
||||||
return ((delegate* unmanaged<ID2D1Factory5*, Guid*, uint, uint*, uint*, int>)(lpVtbl[25]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), effects, effectsCount, effectsReturned, effectsRegistered);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory5*, Guid*, uint, uint*, uint*, int>)(lpVtbl[25]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), effects, effectsCount, effectsReturned, effectsRegistered);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.GetEffectProperties" />
|
/// <inheritdoc cref="ID2D1Factory1.GetEffectProperties" />
|
||||||
@@ -367,11 +259,7 @@ public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface, INativeGui
|
|||||||
[VtblIndex(26)]
|
[VtblIndex(26)]
|
||||||
public HResult GetEffectProperties(Guid* effectId, ID2D1Properties** properties)
|
public HResult GetEffectProperties(Guid* effectId, ID2D1Properties** properties)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory5*, Guid*, ID2D1Properties**, int>)(lpVtbl[26]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), effectId, properties);
|
||||||
return ((delegate* unmanaged<ID2D1Factory5*, Guid*, ID2D1Properties**, int>)(lpVtbl[26]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), effectId, properties);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory5*, Guid*, ID2D1Properties**, int>)(lpVtbl[26]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), effectId, properties);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory2.CreateDevice" />
|
/// <inheritdoc cref="ID2D1Factory2.CreateDevice" />
|
||||||
@@ -379,11 +267,7 @@ public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface, INativeGui
|
|||||||
[VtblIndex(27)]
|
[VtblIndex(27)]
|
||||||
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device1** d2dDevice1)
|
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device1** d2dDevice1)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory5*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device1**, int>)(lpVtbl[27]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice1);
|
||||||
return ((delegate* unmanaged<ID2D1Factory5*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device1**, int>)(lpVtbl[27]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice1);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory5*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device1**, int>)(lpVtbl[27]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice1);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory3.CreateDevice" />
|
/// <inheritdoc cref="ID2D1Factory3.CreateDevice" />
|
||||||
@@ -391,11 +275,7 @@ public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface, INativeGui
|
|||||||
[VtblIndex(28)]
|
[VtblIndex(28)]
|
||||||
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device2** d2dDevice2)
|
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device2** d2dDevice2)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory5*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device2**, int>)(lpVtbl[28]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice2);
|
||||||
return ((delegate* unmanaged<ID2D1Factory5*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device2**, int>)(lpVtbl[28]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice2);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory5*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device2**, int>)(lpVtbl[28]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice2);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory4.CreateDevice" />
|
/// <inheritdoc cref="ID2D1Factory4.CreateDevice" />
|
||||||
@@ -403,11 +283,7 @@ public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface, INativeGui
|
|||||||
[VtblIndex(29)]
|
[VtblIndex(29)]
|
||||||
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device3** d2dDevice3)
|
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device3** d2dDevice3)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory5*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device3**, int>)(lpVtbl[29]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice3);
|
||||||
return ((delegate* unmanaged<ID2D1Factory5*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device3**, int>)(lpVtbl[29]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice3);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory5*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device3**, int>)(lpVtbl[29]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice3);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory5::CreateDevice"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory5::CreateDevice"]/*' />
|
||||||
@@ -415,11 +291,7 @@ public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface, INativeGui
|
|||||||
[VtblIndex(30)]
|
[VtblIndex(30)]
|
||||||
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device4** d2dDevice4)
|
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device4** d2dDevice4)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory5*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device4**, int>)(lpVtbl[30]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice4);
|
||||||
return ((delegate* unmanaged<ID2D1Factory5*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device4**, int>)(lpVtbl[30]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice4);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory5*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device4**, int>)(lpVtbl[30]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice4);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Factory4.Interface
|
public interface Interface : ID2D1Factory4.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGui
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory6));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory6));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory6));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGui
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory6*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1Factory6*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory6*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGui
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory6*, uint>)(lpVtbl[1]))((ID2D1Factory6*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Factory6*, uint>)(lpVtbl[1]))((ID2D1Factory6*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory6*, uint>)(lpVtbl[1]))((ID2D1Factory6*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGui
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory6*, uint>)(lpVtbl[2]))((ID2D1Factory6*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Factory6*, uint>)(lpVtbl[2]))((ID2D1Factory6*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory6*, uint>)(lpVtbl[2]))((ID2D1Factory6*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.ReloadSystemMetrics" />
|
/// <inheritdoc cref="ID2D1Factory.ReloadSystemMetrics" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGui
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public HResult ReloadSystemMetrics()
|
public HResult ReloadSystemMetrics()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory6*, int>)(lpVtbl[3]))((ID2D1Factory6*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Factory6*, int>)(lpVtbl[3]))((ID2D1Factory6*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory6*, int>)(lpVtbl[3]))((ID2D1Factory6*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.GetDesktopDpi" />
|
/// <inheritdoc cref="ID2D1Factory.GetDesktopDpi" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGui
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public void GetDesktopDpi(float* dpiX, float* dpiY)
|
public void GetDesktopDpi(float* dpiX, float* dpiY)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Factory6*, float*, float*, void>)(lpVtbl[4]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
||||||
((delegate* unmanaged<ID2D1Factory6*, float*, float*, void>)(lpVtbl[4]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Factory6*, float*, float*, void>)(lpVtbl[4]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateRectangleGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreateRectangleGeometry" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGui
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult CreateRectangleGeometry(Win32.Numerics.RectF* rectangle, ID2D1RectangleGeometry** rectangleGeometry)
|
public HResult CreateRectangleGeometry(Win32.Numerics.RectF* rectangle, ID2D1RectangleGeometry** rectangleGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory6*, Win32.Numerics.RectF*, ID2D1RectangleGeometry**, int>)(lpVtbl[5]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), rectangle, rectangleGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory6*, Win32.Numerics.RectF*, ID2D1RectangleGeometry**, int>)(lpVtbl[5]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), rectangle, rectangleGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory6*, Win32.Numerics.RectF*, ID2D1RectangleGeometry**, int>)(lpVtbl[5]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), rectangle, rectangleGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateRoundedRectangleGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreateRoundedRectangleGeometry" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGui
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult CreateRoundedRectangleGeometry(RoundedRect* roundedRectangle, ID2D1RoundedRectangleGeometry** roundedRectangleGeometry)
|
public HResult CreateRoundedRectangleGeometry(RoundedRect* roundedRectangle, ID2D1RoundedRectangleGeometry** roundedRectangleGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory6*, RoundedRect*, ID2D1RoundedRectangleGeometry**, int>)(lpVtbl[6]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), roundedRectangle, roundedRectangleGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory6*, RoundedRect*, ID2D1RoundedRectangleGeometry**, int>)(lpVtbl[6]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), roundedRectangle, roundedRectangleGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory6*, RoundedRect*, ID2D1RoundedRectangleGeometry**, int>)(lpVtbl[6]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), roundedRectangle, roundedRectangleGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateEllipseGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreateEllipseGeometry" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGui
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public HResult CreateEllipseGeometry(Ellipse* ellipse, ID2D1EllipseGeometry** ellipseGeometry)
|
public HResult CreateEllipseGeometry(Ellipse* ellipse, ID2D1EllipseGeometry** ellipseGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory6*, Ellipse*, ID2D1EllipseGeometry**, int>)(lpVtbl[7]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), ellipse, ellipseGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory6*, Ellipse*, ID2D1EllipseGeometry**, int>)(lpVtbl[7]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), ellipse, ellipseGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory6*, Ellipse*, ID2D1EllipseGeometry**, int>)(lpVtbl[7]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), ellipse, ellipseGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateGeometryGroup" />
|
/// <inheritdoc cref="ID2D1Factory.CreateGeometryGroup" />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGui
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CreateGeometryGroup(Common.FillMode fillMode, ID2D1Geometry** geometries, uint geometriesCount, ID2D1GeometryGroup** geometryGroup)
|
public HResult CreateGeometryGroup(Common.FillMode fillMode, ID2D1Geometry** geometries, uint geometriesCount, ID2D1GeometryGroup** geometryGroup)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory6*, Common.FillMode, ID2D1Geometry**, uint, ID2D1GeometryGroup**, int>)(lpVtbl[8]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), fillMode, geometries, geometriesCount, geometryGroup);
|
||||||
return ((delegate* unmanaged<ID2D1Factory6*, Common.FillMode, ID2D1Geometry**, uint, ID2D1GeometryGroup**, int>)(lpVtbl[8]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), fillMode, geometries, geometriesCount, geometryGroup);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory6*, Common.FillMode, ID2D1Geometry**, uint, ID2D1GeometryGroup**, int>)(lpVtbl[8]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), fillMode, geometries, geometriesCount, geometryGroup);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateTransformedGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreateTransformedGeometry" />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGui
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult CreateTransformedGeometry(ID2D1Geometry* sourceGeometry, Matrix3x2* transform, ID2D1TransformedGeometry** transformedGeometry)
|
public HResult CreateTransformedGeometry(ID2D1Geometry* sourceGeometry, Matrix3x2* transform, ID2D1TransformedGeometry** transformedGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory6*, ID2D1Geometry*, Matrix3x2*, ID2D1TransformedGeometry**, int>)(lpVtbl[9]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), sourceGeometry, transform, transformedGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory6*, ID2D1Geometry*, Matrix3x2*, ID2D1TransformedGeometry**, int>)(lpVtbl[9]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), sourceGeometry, transform, transformedGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory6*, ID2D1Geometry*, Matrix3x2*, ID2D1TransformedGeometry**, int>)(lpVtbl[9]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), sourceGeometry, transform, transformedGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreatePathGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreatePathGeometry" />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGui
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult CreatePathGeometry(ID2D1PathGeometry** pathGeometry)
|
public HResult CreatePathGeometry(ID2D1PathGeometry** pathGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory6*, ID2D1PathGeometry**, int>)(lpVtbl[10]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), pathGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory6*, ID2D1PathGeometry**, int>)(lpVtbl[10]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), pathGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory6*, ID2D1PathGeometry**, int>)(lpVtbl[10]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), pathGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateStrokeStyle" />
|
/// <inheritdoc cref="ID2D1Factory.CreateStrokeStyle" />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGui
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult CreateStrokeStyle(StrokeStyleProperties* strokeStyleProperties, float* dashes, uint dashesCount, ID2D1StrokeStyle** strokeStyle)
|
public HResult CreateStrokeStyle(StrokeStyleProperties* strokeStyleProperties, float* dashes, uint dashesCount, ID2D1StrokeStyle** strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory6*, StrokeStyleProperties*, float*, uint, ID2D1StrokeStyle**, int>)(lpVtbl[11]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
||||||
return ((delegate* unmanaged<ID2D1Factory6*, StrokeStyleProperties*, float*, uint, ID2D1StrokeStyle**, int>)(lpVtbl[11]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory6*, StrokeStyleProperties*, float*, uint, ID2D1StrokeStyle**, int>)(lpVtbl[11]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateDrawingStateBlock" />
|
/// <inheritdoc cref="ID2D1Factory.CreateDrawingStateBlock" />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGui
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public HResult CreateDrawingStateBlock(DrawingStateDescription* drawingStateDescription, Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams, ID2D1DrawingStateBlock** drawingStateBlock)
|
public HResult CreateDrawingStateBlock(DrawingStateDescription* drawingStateDescription, Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams, ID2D1DrawingStateBlock** drawingStateBlock)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory6*, DrawingStateDescription*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock**, int>)(lpVtbl[12]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
||||||
return ((delegate* unmanaged<ID2D1Factory6*, DrawingStateDescription*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock**, int>)(lpVtbl[12]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory6*, DrawingStateDescription*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock**, int>)(lpVtbl[12]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateWicBitmapRenderTarget" />
|
/// <inheritdoc cref="ID2D1Factory.CreateWicBitmapRenderTarget" />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGui
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult CreateWicBitmapRenderTarget(Graphics.Imaging.IWICBitmap* target, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget)
|
public HResult CreateWicBitmapRenderTarget(Graphics.Imaging.IWICBitmap* target, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory6*, Graphics.Imaging.IWICBitmap*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[13]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), target, renderTargetProperties, renderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1Factory6*, Graphics.Imaging.IWICBitmap*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[13]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), target, renderTargetProperties, renderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory6*, Graphics.Imaging.IWICBitmap*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[13]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), target, renderTargetProperties, renderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateHwndRenderTarget" />
|
/// <inheritdoc cref="ID2D1Factory.CreateHwndRenderTarget" />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGui
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public HResult CreateHwndRenderTarget(RenderTargetProperties* renderTargetProperties, HwndRenderTargetProperties* hwndRenderTargetProperties, ID2D1HwndRenderTarget** hwndRenderTarget)
|
public HResult CreateHwndRenderTarget(RenderTargetProperties* renderTargetProperties, HwndRenderTargetProperties* hwndRenderTargetProperties, ID2D1HwndRenderTarget** hwndRenderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory6*, RenderTargetProperties*, HwndRenderTargetProperties*, ID2D1HwndRenderTarget**, int>)(lpVtbl[14]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), renderTargetProperties, hwndRenderTargetProperties, hwndRenderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1Factory6*, RenderTargetProperties*, HwndRenderTargetProperties*, ID2D1HwndRenderTarget**, int>)(lpVtbl[14]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), renderTargetProperties, hwndRenderTargetProperties, hwndRenderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory6*, RenderTargetProperties*, HwndRenderTargetProperties*, ID2D1HwndRenderTarget**, int>)(lpVtbl[14]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), renderTargetProperties, hwndRenderTargetProperties, hwndRenderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateDxgiSurfaceRenderTarget" />
|
/// <inheritdoc cref="ID2D1Factory.CreateDxgiSurfaceRenderTarget" />
|
||||||
@@ -235,11 +171,7 @@ public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGui
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public HResult CreateDxgiSurfaceRenderTarget(Graphics.Dxgi.IDXGISurface* dxgiSurface, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget)
|
public HResult CreateDxgiSurfaceRenderTarget(Graphics.Dxgi.IDXGISurface* dxgiSurface, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory6*, Graphics.Dxgi.IDXGISurface*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[15]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), dxgiSurface, renderTargetProperties, renderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1Factory6*, Graphics.Dxgi.IDXGISurface*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[15]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), dxgiSurface, renderTargetProperties, renderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory6*, Graphics.Dxgi.IDXGISurface*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[15]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), dxgiSurface, renderTargetProperties, renderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateDCRenderTarget" />
|
/// <inheritdoc cref="ID2D1Factory.CreateDCRenderTarget" />
|
||||||
@@ -247,11 +179,7 @@ public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGui
|
|||||||
[VtblIndex(16)]
|
[VtblIndex(16)]
|
||||||
public HResult CreateDCRenderTarget(RenderTargetProperties* renderTargetProperties, ID2D1DCRenderTarget** dcRenderTarget)
|
public HResult CreateDCRenderTarget(RenderTargetProperties* renderTargetProperties, ID2D1DCRenderTarget** dcRenderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory6*, RenderTargetProperties*, ID2D1DCRenderTarget**, int>)(lpVtbl[16]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), renderTargetProperties, dcRenderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1Factory6*, RenderTargetProperties*, ID2D1DCRenderTarget**, int>)(lpVtbl[16]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), renderTargetProperties, dcRenderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory6*, RenderTargetProperties*, ID2D1DCRenderTarget**, int>)(lpVtbl[16]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), renderTargetProperties, dcRenderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.CreateDevice" />
|
/// <inheritdoc cref="ID2D1Factory1.CreateDevice" />
|
||||||
@@ -259,11 +187,7 @@ public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGui
|
|||||||
[VtblIndex(17)]
|
[VtblIndex(17)]
|
||||||
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device** d2dDevice)
|
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device** d2dDevice)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory6*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device**, int>)(lpVtbl[17]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice);
|
||||||
return ((delegate* unmanaged<ID2D1Factory6*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device**, int>)(lpVtbl[17]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory6*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device**, int>)(lpVtbl[17]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.CreateStrokeStyle" />
|
/// <inheritdoc cref="ID2D1Factory1.CreateStrokeStyle" />
|
||||||
@@ -271,11 +195,7 @@ public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGui
|
|||||||
[VtblIndex(18)]
|
[VtblIndex(18)]
|
||||||
public HResult CreateStrokeStyle(StrokeStyleProperties1* strokeStyleProperties, float* dashes, uint dashesCount, ID2D1StrokeStyle1** strokeStyle)
|
public HResult CreateStrokeStyle(StrokeStyleProperties1* strokeStyleProperties, float* dashes, uint dashesCount, ID2D1StrokeStyle1** strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory6*, StrokeStyleProperties1*, float*, uint, ID2D1StrokeStyle1**, int>)(lpVtbl[18]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
||||||
return ((delegate* unmanaged<ID2D1Factory6*, StrokeStyleProperties1*, float*, uint, ID2D1StrokeStyle1**, int>)(lpVtbl[18]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory6*, StrokeStyleProperties1*, float*, uint, ID2D1StrokeStyle1**, int>)(lpVtbl[18]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.CreatePathGeometry" />
|
/// <inheritdoc cref="ID2D1Factory1.CreatePathGeometry" />
|
||||||
@@ -283,11 +203,7 @@ public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGui
|
|||||||
[VtblIndex(19)]
|
[VtblIndex(19)]
|
||||||
public HResult CreatePathGeometry(ID2D1PathGeometry1** pathGeometry)
|
public HResult CreatePathGeometry(ID2D1PathGeometry1** pathGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory6*, ID2D1PathGeometry1**, int>)(lpVtbl[19]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), pathGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory6*, ID2D1PathGeometry1**, int>)(lpVtbl[19]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), pathGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory6*, ID2D1PathGeometry1**, int>)(lpVtbl[19]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), pathGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.CreateDrawingStateBlock" />
|
/// <inheritdoc cref="ID2D1Factory1.CreateDrawingStateBlock" />
|
||||||
@@ -295,11 +211,7 @@ public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGui
|
|||||||
[VtblIndex(20)]
|
[VtblIndex(20)]
|
||||||
public HResult CreateDrawingStateBlock(DrawingStateDescription1* drawingStateDescription, Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams, ID2D1DrawingStateBlock1** drawingStateBlock)
|
public HResult CreateDrawingStateBlock(DrawingStateDescription1* drawingStateDescription, Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams, ID2D1DrawingStateBlock1** drawingStateBlock)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory6*, DrawingStateDescription1*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock1**, int>)(lpVtbl[20]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
||||||
return ((delegate* unmanaged<ID2D1Factory6*, DrawingStateDescription1*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock1**, int>)(lpVtbl[20]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory6*, DrawingStateDescription1*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock1**, int>)(lpVtbl[20]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.CreateGdiMetafile" />
|
/// <inheritdoc cref="ID2D1Factory1.CreateGdiMetafile" />
|
||||||
@@ -307,11 +219,7 @@ public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGui
|
|||||||
[VtblIndex(21)]
|
[VtblIndex(21)]
|
||||||
public HResult CreateGdiMetafile(Com.IStream* metafileStream, ID2D1GdiMetafile** metafile)
|
public HResult CreateGdiMetafile(Com.IStream* metafileStream, ID2D1GdiMetafile** metafile)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory6*, Com.IStream*, ID2D1GdiMetafile**, int>)(lpVtbl[21]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), metafileStream, metafile);
|
||||||
return ((delegate* unmanaged<ID2D1Factory6*, Com.IStream*, ID2D1GdiMetafile**, int>)(lpVtbl[21]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), metafileStream, metafile);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory6*, Com.IStream*, ID2D1GdiMetafile**, int>)(lpVtbl[21]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), metafileStream, metafile);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.RegisterEffectFromStream" />
|
/// <inheritdoc cref="ID2D1Factory1.RegisterEffectFromStream" />
|
||||||
@@ -319,11 +227,7 @@ public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGui
|
|||||||
[VtblIndex(22)]
|
[VtblIndex(22)]
|
||||||
public HResult RegisterEffectFromStream(Guid* classId, Com.IStream* propertyXml, PropertyBinding* bindings, uint bindingsCount, delegate* unmanaged[Stdcall]<IUnknown**, HResult> effectFactory)
|
public HResult RegisterEffectFromStream(Guid* classId, Com.IStream* propertyXml, PropertyBinding* bindings, uint bindingsCount, delegate* unmanaged[Stdcall]<IUnknown**, HResult> effectFactory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory6*, Guid*, Com.IStream*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[22]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
||||||
return ((delegate* unmanaged<ID2D1Factory6*, Guid*, Com.IStream*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[22]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory6*, Guid*, Com.IStream*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[22]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.RegisterEffectFromString" />
|
/// <inheritdoc cref="ID2D1Factory1.RegisterEffectFromString" />
|
||||||
@@ -331,11 +235,7 @@ public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGui
|
|||||||
[VtblIndex(23)]
|
[VtblIndex(23)]
|
||||||
public HResult RegisterEffectFromString(Guid* classId, ushort* propertyXml, PropertyBinding* bindings, uint bindingsCount, delegate* unmanaged[Stdcall]<IUnknown**, HResult> effectFactory)
|
public HResult RegisterEffectFromString(Guid* classId, ushort* propertyXml, PropertyBinding* bindings, uint bindingsCount, delegate* unmanaged[Stdcall]<IUnknown**, HResult> effectFactory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory6*, Guid*, ushort*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[23]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
||||||
return ((delegate* unmanaged<ID2D1Factory6*, Guid*, ushort*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[23]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory6*, Guid*, ushort*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[23]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.UnregisterEffect" />
|
/// <inheritdoc cref="ID2D1Factory1.UnregisterEffect" />
|
||||||
@@ -343,11 +243,7 @@ public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGui
|
|||||||
[VtblIndex(24)]
|
[VtblIndex(24)]
|
||||||
public HResult UnregisterEffect(Guid* classId)
|
public HResult UnregisterEffect(Guid* classId)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory6*, Guid*, int>)(lpVtbl[24]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), classId);
|
||||||
return ((delegate* unmanaged<ID2D1Factory6*, Guid*, int>)(lpVtbl[24]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), classId);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory6*, Guid*, int>)(lpVtbl[24]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), classId);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.GetRegisteredEffects" />
|
/// <inheritdoc cref="ID2D1Factory1.GetRegisteredEffects" />
|
||||||
@@ -355,11 +251,7 @@ public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGui
|
|||||||
[VtblIndex(25)]
|
[VtblIndex(25)]
|
||||||
public HResult GetRegisteredEffects(Guid* effects, uint effectsCount, uint* effectsReturned, uint* effectsRegistered)
|
public HResult GetRegisteredEffects(Guid* effects, uint effectsCount, uint* effectsReturned, uint* effectsRegistered)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory6*, Guid*, uint, uint*, uint*, int>)(lpVtbl[25]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), effects, effectsCount, effectsReturned, effectsRegistered);
|
||||||
return ((delegate* unmanaged<ID2D1Factory6*, Guid*, uint, uint*, uint*, int>)(lpVtbl[25]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), effects, effectsCount, effectsReturned, effectsRegistered);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory6*, Guid*, uint, uint*, uint*, int>)(lpVtbl[25]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), effects, effectsCount, effectsReturned, effectsRegistered);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.GetEffectProperties" />
|
/// <inheritdoc cref="ID2D1Factory1.GetEffectProperties" />
|
||||||
@@ -367,11 +259,7 @@ public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGui
|
|||||||
[VtblIndex(26)]
|
[VtblIndex(26)]
|
||||||
public HResult GetEffectProperties(Guid* effectId, ID2D1Properties** properties)
|
public HResult GetEffectProperties(Guid* effectId, ID2D1Properties** properties)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory6*, Guid*, ID2D1Properties**, int>)(lpVtbl[26]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), effectId, properties);
|
||||||
return ((delegate* unmanaged<ID2D1Factory6*, Guid*, ID2D1Properties**, int>)(lpVtbl[26]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), effectId, properties);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory6*, Guid*, ID2D1Properties**, int>)(lpVtbl[26]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), effectId, properties);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory2.CreateDevice" />
|
/// <inheritdoc cref="ID2D1Factory2.CreateDevice" />
|
||||||
@@ -379,11 +267,7 @@ public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGui
|
|||||||
[VtblIndex(27)]
|
[VtblIndex(27)]
|
||||||
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device1** d2dDevice1)
|
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device1** d2dDevice1)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory6*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device1**, int>)(lpVtbl[27]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice1);
|
||||||
return ((delegate* unmanaged<ID2D1Factory6*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device1**, int>)(lpVtbl[27]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice1);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory6*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device1**, int>)(lpVtbl[27]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice1);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory3.CreateDevice" />
|
/// <inheritdoc cref="ID2D1Factory3.CreateDevice" />
|
||||||
@@ -391,11 +275,7 @@ public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGui
|
|||||||
[VtblIndex(28)]
|
[VtblIndex(28)]
|
||||||
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device2** d2dDevice2)
|
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device2** d2dDevice2)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory6*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device2**, int>)(lpVtbl[28]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice2);
|
||||||
return ((delegate* unmanaged<ID2D1Factory6*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device2**, int>)(lpVtbl[28]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice2);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory6*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device2**, int>)(lpVtbl[28]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice2);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory4.CreateDevice" />
|
/// <inheritdoc cref="ID2D1Factory4.CreateDevice" />
|
||||||
@@ -403,11 +283,7 @@ public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGui
|
|||||||
[VtblIndex(29)]
|
[VtblIndex(29)]
|
||||||
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device3** d2dDevice3)
|
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device3** d2dDevice3)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory6*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device3**, int>)(lpVtbl[29]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice3);
|
||||||
return ((delegate* unmanaged<ID2D1Factory6*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device3**, int>)(lpVtbl[29]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice3);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory6*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device3**, int>)(lpVtbl[29]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice3);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory5.CreateDevice" />
|
/// <inheritdoc cref="ID2D1Factory5.CreateDevice" />
|
||||||
@@ -415,11 +291,7 @@ public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGui
|
|||||||
[VtblIndex(30)]
|
[VtblIndex(30)]
|
||||||
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device4** d2dDevice4)
|
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device4** d2dDevice4)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory6*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device4**, int>)(lpVtbl[30]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice4);
|
||||||
return ((delegate* unmanaged<ID2D1Factory6*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device4**, int>)(lpVtbl[30]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice4);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory6*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device4**, int>)(lpVtbl[30]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice4);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory6::CreateDevice"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory6::CreateDevice"]/*' />
|
||||||
@@ -427,11 +299,7 @@ public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGui
|
|||||||
[VtblIndex(31)]
|
[VtblIndex(31)]
|
||||||
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device5** d2dDevice5)
|
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device5** d2dDevice5)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory6*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device5**, int>)(lpVtbl[31]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice5);
|
||||||
return ((delegate* unmanaged<ID2D1Factory6*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device5**, int>)(lpVtbl[31]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice5);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory6*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device5**, int>)(lpVtbl[31]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice5);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Factory5.Interface
|
public interface Interface : ID2D1Factory5.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory7));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory7));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory7));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory7*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1Factory7*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory7*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory7*, uint>)(lpVtbl[1]))((ID2D1Factory7*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Factory7*, uint>)(lpVtbl[1]))((ID2D1Factory7*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory7*, uint>)(lpVtbl[1]))((ID2D1Factory7*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory7*, uint>)(lpVtbl[2]))((ID2D1Factory7*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Factory7*, uint>)(lpVtbl[2]))((ID2D1Factory7*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory7*, uint>)(lpVtbl[2]))((ID2D1Factory7*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.ReloadSystemMetrics" />
|
/// <inheritdoc cref="ID2D1Factory.ReloadSystemMetrics" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public HResult ReloadSystemMetrics()
|
public HResult ReloadSystemMetrics()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory7*, int>)(lpVtbl[3]))((ID2D1Factory7*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Factory7*, int>)(lpVtbl[3]))((ID2D1Factory7*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory7*, int>)(lpVtbl[3]))((ID2D1Factory7*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.GetDesktopDpi" />
|
/// <inheritdoc cref="ID2D1Factory.GetDesktopDpi" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public void GetDesktopDpi(float* dpiX, float* dpiY)
|
public void GetDesktopDpi(float* dpiX, float* dpiY)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Factory7*, float*, float*, void>)(lpVtbl[4]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
||||||
((delegate* unmanaged<ID2D1Factory7*, float*, float*, void>)(lpVtbl[4]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Factory7*, float*, float*, void>)(lpVtbl[4]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateRectangleGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreateRectangleGeometry" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult CreateRectangleGeometry(Win32.Numerics.RectF* rectangle, ID2D1RectangleGeometry** rectangleGeometry)
|
public HResult CreateRectangleGeometry(Win32.Numerics.RectF* rectangle, ID2D1RectangleGeometry** rectangleGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory7*, Win32.Numerics.RectF*, ID2D1RectangleGeometry**, int>)(lpVtbl[5]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), rectangle, rectangleGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory7*, Win32.Numerics.RectF*, ID2D1RectangleGeometry**, int>)(lpVtbl[5]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), rectangle, rectangleGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory7*, Win32.Numerics.RectF*, ID2D1RectangleGeometry**, int>)(lpVtbl[5]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), rectangle, rectangleGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateRoundedRectangleGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreateRoundedRectangleGeometry" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult CreateRoundedRectangleGeometry(RoundedRect* roundedRectangle, ID2D1RoundedRectangleGeometry** roundedRectangleGeometry)
|
public HResult CreateRoundedRectangleGeometry(RoundedRect* roundedRectangle, ID2D1RoundedRectangleGeometry** roundedRectangleGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory7*, RoundedRect*, ID2D1RoundedRectangleGeometry**, int>)(lpVtbl[6]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), roundedRectangle, roundedRectangleGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory7*, RoundedRect*, ID2D1RoundedRectangleGeometry**, int>)(lpVtbl[6]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), roundedRectangle, roundedRectangleGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory7*, RoundedRect*, ID2D1RoundedRectangleGeometry**, int>)(lpVtbl[6]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), roundedRectangle, roundedRectangleGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateEllipseGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreateEllipseGeometry" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public HResult CreateEllipseGeometry(Ellipse* ellipse, ID2D1EllipseGeometry** ellipseGeometry)
|
public HResult CreateEllipseGeometry(Ellipse* ellipse, ID2D1EllipseGeometry** ellipseGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory7*, Ellipse*, ID2D1EllipseGeometry**, int>)(lpVtbl[7]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), ellipse, ellipseGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory7*, Ellipse*, ID2D1EllipseGeometry**, int>)(lpVtbl[7]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), ellipse, ellipseGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory7*, Ellipse*, ID2D1EllipseGeometry**, int>)(lpVtbl[7]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), ellipse, ellipseGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateGeometryGroup" />
|
/// <inheritdoc cref="ID2D1Factory.CreateGeometryGroup" />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CreateGeometryGroup(Common.FillMode fillMode, ID2D1Geometry** geometries, uint geometriesCount, ID2D1GeometryGroup** geometryGroup)
|
public HResult CreateGeometryGroup(Common.FillMode fillMode, ID2D1Geometry** geometries, uint geometriesCount, ID2D1GeometryGroup** geometryGroup)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory7*, Common.FillMode, ID2D1Geometry**, uint, ID2D1GeometryGroup**, int>)(lpVtbl[8]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), fillMode, geometries, geometriesCount, geometryGroup);
|
||||||
return ((delegate* unmanaged<ID2D1Factory7*, Common.FillMode, ID2D1Geometry**, uint, ID2D1GeometryGroup**, int>)(lpVtbl[8]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), fillMode, geometries, geometriesCount, geometryGroup);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory7*, Common.FillMode, ID2D1Geometry**, uint, ID2D1GeometryGroup**, int>)(lpVtbl[8]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), fillMode, geometries, geometriesCount, geometryGroup);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateTransformedGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreateTransformedGeometry" />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult CreateTransformedGeometry(ID2D1Geometry* sourceGeometry, Matrix3x2* transform, ID2D1TransformedGeometry** transformedGeometry)
|
public HResult CreateTransformedGeometry(ID2D1Geometry* sourceGeometry, Matrix3x2* transform, ID2D1TransformedGeometry** transformedGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory7*, ID2D1Geometry*, Matrix3x2*, ID2D1TransformedGeometry**, int>)(lpVtbl[9]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), sourceGeometry, transform, transformedGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory7*, ID2D1Geometry*, Matrix3x2*, ID2D1TransformedGeometry**, int>)(lpVtbl[9]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), sourceGeometry, transform, transformedGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory7*, ID2D1Geometry*, Matrix3x2*, ID2D1TransformedGeometry**, int>)(lpVtbl[9]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), sourceGeometry, transform, transformedGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreatePathGeometry" />
|
/// <inheritdoc cref="ID2D1Factory.CreatePathGeometry" />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult CreatePathGeometry(ID2D1PathGeometry** pathGeometry)
|
public HResult CreatePathGeometry(ID2D1PathGeometry** pathGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory7*, ID2D1PathGeometry**, int>)(lpVtbl[10]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), pathGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory7*, ID2D1PathGeometry**, int>)(lpVtbl[10]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), pathGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory7*, ID2D1PathGeometry**, int>)(lpVtbl[10]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), pathGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateStrokeStyle" />
|
/// <inheritdoc cref="ID2D1Factory.CreateStrokeStyle" />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult CreateStrokeStyle(StrokeStyleProperties* strokeStyleProperties, float* dashes, uint dashesCount, ID2D1StrokeStyle** strokeStyle)
|
public HResult CreateStrokeStyle(StrokeStyleProperties* strokeStyleProperties, float* dashes, uint dashesCount, ID2D1StrokeStyle** strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory7*, StrokeStyleProperties*, float*, uint, ID2D1StrokeStyle**, int>)(lpVtbl[11]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
||||||
return ((delegate* unmanaged<ID2D1Factory7*, StrokeStyleProperties*, float*, uint, ID2D1StrokeStyle**, int>)(lpVtbl[11]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory7*, StrokeStyleProperties*, float*, uint, ID2D1StrokeStyle**, int>)(lpVtbl[11]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateDrawingStateBlock" />
|
/// <inheritdoc cref="ID2D1Factory.CreateDrawingStateBlock" />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public HResult CreateDrawingStateBlock(DrawingStateDescription* drawingStateDescription, Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams, ID2D1DrawingStateBlock** drawingStateBlock)
|
public HResult CreateDrawingStateBlock(DrawingStateDescription* drawingStateDescription, Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams, ID2D1DrawingStateBlock** drawingStateBlock)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory7*, DrawingStateDescription*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock**, int>)(lpVtbl[12]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
||||||
return ((delegate* unmanaged<ID2D1Factory7*, DrawingStateDescription*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock**, int>)(lpVtbl[12]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory7*, DrawingStateDescription*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock**, int>)(lpVtbl[12]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateWicBitmapRenderTarget" />
|
/// <inheritdoc cref="ID2D1Factory.CreateWicBitmapRenderTarget" />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult CreateWicBitmapRenderTarget(Graphics.Imaging.IWICBitmap* target, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget)
|
public HResult CreateWicBitmapRenderTarget(Graphics.Imaging.IWICBitmap* target, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory7*, Graphics.Imaging.IWICBitmap*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[13]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), target, renderTargetProperties, renderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1Factory7*, Graphics.Imaging.IWICBitmap*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[13]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), target, renderTargetProperties, renderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory7*, Graphics.Imaging.IWICBitmap*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[13]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), target, renderTargetProperties, renderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateHwndRenderTarget" />
|
/// <inheritdoc cref="ID2D1Factory.CreateHwndRenderTarget" />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public HResult CreateHwndRenderTarget(RenderTargetProperties* renderTargetProperties, HwndRenderTargetProperties* hwndRenderTargetProperties, ID2D1HwndRenderTarget** hwndRenderTarget)
|
public HResult CreateHwndRenderTarget(RenderTargetProperties* renderTargetProperties, HwndRenderTargetProperties* hwndRenderTargetProperties, ID2D1HwndRenderTarget** hwndRenderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory7*, RenderTargetProperties*, HwndRenderTargetProperties*, ID2D1HwndRenderTarget**, int>)(lpVtbl[14]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), renderTargetProperties, hwndRenderTargetProperties, hwndRenderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1Factory7*, RenderTargetProperties*, HwndRenderTargetProperties*, ID2D1HwndRenderTarget**, int>)(lpVtbl[14]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), renderTargetProperties, hwndRenderTargetProperties, hwndRenderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory7*, RenderTargetProperties*, HwndRenderTargetProperties*, ID2D1HwndRenderTarget**, int>)(lpVtbl[14]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), renderTargetProperties, hwndRenderTargetProperties, hwndRenderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateDxgiSurfaceRenderTarget" />
|
/// <inheritdoc cref="ID2D1Factory.CreateDxgiSurfaceRenderTarget" />
|
||||||
@@ -235,11 +171,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public HResult CreateDxgiSurfaceRenderTarget(Graphics.Dxgi.IDXGISurface* dxgiSurface, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget)
|
public HResult CreateDxgiSurfaceRenderTarget(Graphics.Dxgi.IDXGISurface* dxgiSurface, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory7*, Graphics.Dxgi.IDXGISurface*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[15]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), dxgiSurface, renderTargetProperties, renderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1Factory7*, Graphics.Dxgi.IDXGISurface*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[15]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), dxgiSurface, renderTargetProperties, renderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory7*, Graphics.Dxgi.IDXGISurface*, RenderTargetProperties*, ID2D1RenderTarget**, int>)(lpVtbl[15]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), dxgiSurface, renderTargetProperties, renderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory.CreateDCRenderTarget" />
|
/// <inheritdoc cref="ID2D1Factory.CreateDCRenderTarget" />
|
||||||
@@ -247,11 +179,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
|
|||||||
[VtblIndex(16)]
|
[VtblIndex(16)]
|
||||||
public HResult CreateDCRenderTarget(RenderTargetProperties* renderTargetProperties, ID2D1DCRenderTarget** dcRenderTarget)
|
public HResult CreateDCRenderTarget(RenderTargetProperties* renderTargetProperties, ID2D1DCRenderTarget** dcRenderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory7*, RenderTargetProperties*, ID2D1DCRenderTarget**, int>)(lpVtbl[16]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), renderTargetProperties, dcRenderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1Factory7*, RenderTargetProperties*, ID2D1DCRenderTarget**, int>)(lpVtbl[16]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), renderTargetProperties, dcRenderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory7*, RenderTargetProperties*, ID2D1DCRenderTarget**, int>)(lpVtbl[16]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), renderTargetProperties, dcRenderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.CreateDevice" />
|
/// <inheritdoc cref="ID2D1Factory1.CreateDevice" />
|
||||||
@@ -259,11 +187,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
|
|||||||
[VtblIndex(17)]
|
[VtblIndex(17)]
|
||||||
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device** d2dDevice)
|
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device** d2dDevice)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory7*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device**, int>)(lpVtbl[17]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice);
|
||||||
return ((delegate* unmanaged<ID2D1Factory7*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device**, int>)(lpVtbl[17]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory7*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device**, int>)(lpVtbl[17]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.CreateStrokeStyle" />
|
/// <inheritdoc cref="ID2D1Factory1.CreateStrokeStyle" />
|
||||||
@@ -271,11 +195,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
|
|||||||
[VtblIndex(18)]
|
[VtblIndex(18)]
|
||||||
public HResult CreateStrokeStyle(StrokeStyleProperties1* strokeStyleProperties, float* dashes, uint dashesCount, ID2D1StrokeStyle1** strokeStyle)
|
public HResult CreateStrokeStyle(StrokeStyleProperties1* strokeStyleProperties, float* dashes, uint dashesCount, ID2D1StrokeStyle1** strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory7*, StrokeStyleProperties1*, float*, uint, ID2D1StrokeStyle1**, int>)(lpVtbl[18]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
||||||
return ((delegate* unmanaged<ID2D1Factory7*, StrokeStyleProperties1*, float*, uint, ID2D1StrokeStyle1**, int>)(lpVtbl[18]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory7*, StrokeStyleProperties1*, float*, uint, ID2D1StrokeStyle1**, int>)(lpVtbl[18]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.CreatePathGeometry" />
|
/// <inheritdoc cref="ID2D1Factory1.CreatePathGeometry" />
|
||||||
@@ -283,11 +203,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
|
|||||||
[VtblIndex(19)]
|
[VtblIndex(19)]
|
||||||
public HResult CreatePathGeometry(ID2D1PathGeometry1** pathGeometry)
|
public HResult CreatePathGeometry(ID2D1PathGeometry1** pathGeometry)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory7*, ID2D1PathGeometry1**, int>)(lpVtbl[19]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), pathGeometry);
|
||||||
return ((delegate* unmanaged<ID2D1Factory7*, ID2D1PathGeometry1**, int>)(lpVtbl[19]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), pathGeometry);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory7*, ID2D1PathGeometry1**, int>)(lpVtbl[19]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), pathGeometry);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.CreateDrawingStateBlock" />
|
/// <inheritdoc cref="ID2D1Factory1.CreateDrawingStateBlock" />
|
||||||
@@ -295,11 +211,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
|
|||||||
[VtblIndex(20)]
|
[VtblIndex(20)]
|
||||||
public HResult CreateDrawingStateBlock(DrawingStateDescription1* drawingStateDescription, Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams, ID2D1DrawingStateBlock1** drawingStateBlock)
|
public HResult CreateDrawingStateBlock(DrawingStateDescription1* drawingStateDescription, Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams, ID2D1DrawingStateBlock1** drawingStateBlock)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory7*, DrawingStateDescription1*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock1**, int>)(lpVtbl[20]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
||||||
return ((delegate* unmanaged<ID2D1Factory7*, DrawingStateDescription1*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock1**, int>)(lpVtbl[20]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory7*, DrawingStateDescription1*, Graphics.DirectWrite.IDWriteRenderingParams*, ID2D1DrawingStateBlock1**, int>)(lpVtbl[20]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.CreateGdiMetafile" />
|
/// <inheritdoc cref="ID2D1Factory1.CreateGdiMetafile" />
|
||||||
@@ -307,11 +219,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
|
|||||||
[VtblIndex(21)]
|
[VtblIndex(21)]
|
||||||
public HResult CreateGdiMetafile(Com.IStream* metafileStream, ID2D1GdiMetafile** metafile)
|
public HResult CreateGdiMetafile(Com.IStream* metafileStream, ID2D1GdiMetafile** metafile)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory7*, Com.IStream*, ID2D1GdiMetafile**, int>)(lpVtbl[21]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), metafileStream, metafile);
|
||||||
return ((delegate* unmanaged<ID2D1Factory7*, Com.IStream*, ID2D1GdiMetafile**, int>)(lpVtbl[21]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), metafileStream, metafile);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory7*, Com.IStream*, ID2D1GdiMetafile**, int>)(lpVtbl[21]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), metafileStream, metafile);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.RegisterEffectFromStream" />
|
/// <inheritdoc cref="ID2D1Factory1.RegisterEffectFromStream" />
|
||||||
@@ -319,11 +227,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
|
|||||||
[VtblIndex(22)]
|
[VtblIndex(22)]
|
||||||
public HResult RegisterEffectFromStream(Guid* classId, Com.IStream* propertyXml, PropertyBinding* bindings, uint bindingsCount, delegate* unmanaged[Stdcall]<IUnknown**, HResult> effectFactory)
|
public HResult RegisterEffectFromStream(Guid* classId, Com.IStream* propertyXml, PropertyBinding* bindings, uint bindingsCount, delegate* unmanaged[Stdcall]<IUnknown**, HResult> effectFactory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory7*, Guid*, Com.IStream*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[22]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
||||||
return ((delegate* unmanaged<ID2D1Factory7*, Guid*, Com.IStream*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[22]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory7*, Guid*, Com.IStream*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[22]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.RegisterEffectFromString" />
|
/// <inheritdoc cref="ID2D1Factory1.RegisterEffectFromString" />
|
||||||
@@ -331,11 +235,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
|
|||||||
[VtblIndex(23)]
|
[VtblIndex(23)]
|
||||||
public HResult RegisterEffectFromString(Guid* classId, ushort* propertyXml, PropertyBinding* bindings, uint bindingsCount, delegate* unmanaged[Stdcall]<IUnknown**, HResult> effectFactory)
|
public HResult RegisterEffectFromString(Guid* classId, ushort* propertyXml, PropertyBinding* bindings, uint bindingsCount, delegate* unmanaged[Stdcall]<IUnknown**, HResult> effectFactory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory7*, Guid*, ushort*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[23]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
||||||
return ((delegate* unmanaged<ID2D1Factory7*, Guid*, ushort*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[23]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory7*, Guid*, ushort*, PropertyBinding*, uint, delegate* unmanaged[Stdcall]<IUnknown**, HResult>, int>)(lpVtbl[23]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.UnregisterEffect" />
|
/// <inheritdoc cref="ID2D1Factory1.UnregisterEffect" />
|
||||||
@@ -343,11 +243,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
|
|||||||
[VtblIndex(24)]
|
[VtblIndex(24)]
|
||||||
public HResult UnregisterEffect(Guid* classId)
|
public HResult UnregisterEffect(Guid* classId)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory7*, Guid*, int>)(lpVtbl[24]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), classId);
|
||||||
return ((delegate* unmanaged<ID2D1Factory7*, Guid*, int>)(lpVtbl[24]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), classId);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory7*, Guid*, int>)(lpVtbl[24]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), classId);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.GetRegisteredEffects" />
|
/// <inheritdoc cref="ID2D1Factory1.GetRegisteredEffects" />
|
||||||
@@ -355,11 +251,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
|
|||||||
[VtblIndex(25)]
|
[VtblIndex(25)]
|
||||||
public HResult GetRegisteredEffects(Guid* effects, uint effectsCount, uint* effectsReturned, uint* effectsRegistered)
|
public HResult GetRegisteredEffects(Guid* effects, uint effectsCount, uint* effectsReturned, uint* effectsRegistered)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory7*, Guid*, uint, uint*, uint*, int>)(lpVtbl[25]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), effects, effectsCount, effectsReturned, effectsRegistered);
|
||||||
return ((delegate* unmanaged<ID2D1Factory7*, Guid*, uint, uint*, uint*, int>)(lpVtbl[25]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), effects, effectsCount, effectsReturned, effectsRegistered);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory7*, Guid*, uint, uint*, uint*, int>)(lpVtbl[25]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), effects, effectsCount, effectsReturned, effectsRegistered);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory1.GetEffectProperties" />
|
/// <inheritdoc cref="ID2D1Factory1.GetEffectProperties" />
|
||||||
@@ -367,11 +259,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
|
|||||||
[VtblIndex(26)]
|
[VtblIndex(26)]
|
||||||
public HResult GetEffectProperties(Guid* effectId, ID2D1Properties** properties)
|
public HResult GetEffectProperties(Guid* effectId, ID2D1Properties** properties)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory7*, Guid*, ID2D1Properties**, int>)(lpVtbl[26]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), effectId, properties);
|
||||||
return ((delegate* unmanaged<ID2D1Factory7*, Guid*, ID2D1Properties**, int>)(lpVtbl[26]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), effectId, properties);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory7*, Guid*, ID2D1Properties**, int>)(lpVtbl[26]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), effectId, properties);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory2.CreateDevice" />
|
/// <inheritdoc cref="ID2D1Factory2.CreateDevice" />
|
||||||
@@ -379,11 +267,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
|
|||||||
[VtblIndex(27)]
|
[VtblIndex(27)]
|
||||||
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device1** d2dDevice1)
|
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device1** d2dDevice1)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory7*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device1**, int>)(lpVtbl[27]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice1);
|
||||||
return ((delegate* unmanaged<ID2D1Factory7*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device1**, int>)(lpVtbl[27]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice1);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory7*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device1**, int>)(lpVtbl[27]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice1);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory3.CreateDevice" />
|
/// <inheritdoc cref="ID2D1Factory3.CreateDevice" />
|
||||||
@@ -391,11 +275,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
|
|||||||
[VtblIndex(28)]
|
[VtblIndex(28)]
|
||||||
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device2** d2dDevice2)
|
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device2** d2dDevice2)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory7*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device2**, int>)(lpVtbl[28]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice2);
|
||||||
return ((delegate* unmanaged<ID2D1Factory7*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device2**, int>)(lpVtbl[28]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice2);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory7*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device2**, int>)(lpVtbl[28]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice2);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory4.CreateDevice" />
|
/// <inheritdoc cref="ID2D1Factory4.CreateDevice" />
|
||||||
@@ -403,11 +283,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
|
|||||||
[VtblIndex(29)]
|
[VtblIndex(29)]
|
||||||
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device3** d2dDevice3)
|
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device3** d2dDevice3)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory7*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device3**, int>)(lpVtbl[29]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice3);
|
||||||
return ((delegate* unmanaged<ID2D1Factory7*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device3**, int>)(lpVtbl[29]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice3);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory7*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device3**, int>)(lpVtbl[29]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice3);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory5.CreateDevice" />
|
/// <inheritdoc cref="ID2D1Factory5.CreateDevice" />
|
||||||
@@ -415,11 +291,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
|
|||||||
[VtblIndex(30)]
|
[VtblIndex(30)]
|
||||||
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device4** d2dDevice4)
|
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device4** d2dDevice4)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory7*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device4**, int>)(lpVtbl[30]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice4);
|
||||||
return ((delegate* unmanaged<ID2D1Factory7*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device4**, int>)(lpVtbl[30]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice4);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory7*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device4**, int>)(lpVtbl[30]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice4);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Factory6.CreateDevice" />
|
/// <inheritdoc cref="ID2D1Factory6.CreateDevice" />
|
||||||
@@ -427,11 +299,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
|
|||||||
[VtblIndex(31)]
|
[VtblIndex(31)]
|
||||||
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device5** d2dDevice5)
|
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device5** d2dDevice5)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory7*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device5**, int>)(lpVtbl[31]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice5);
|
||||||
return ((delegate* unmanaged<ID2D1Factory7*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device5**, int>)(lpVtbl[31]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice5);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory7*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device5**, int>)(lpVtbl[31]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice5);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory7::CreateDevice"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Factory7::CreateDevice"]/*' />
|
||||||
@@ -439,11 +307,7 @@ public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGui
|
|||||||
[VtblIndex(32)]
|
[VtblIndex(32)]
|
||||||
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device6** d2dDevice6)
|
public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device6** d2dDevice6)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Factory7*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device6**, int>)(lpVtbl[32]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice6);
|
||||||
return ((delegate* unmanaged<ID2D1Factory7*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device6**, int>)(lpVtbl[32]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice6);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Factory7*, Graphics.Dxgi.IDXGIDevice*, ID2D1Device6**, int>)(lpVtbl[32]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice6);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Factory6.Interface
|
public interface Interface : ID2D1Factory6.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1GdiInteropRenderTarget : ID2D1GdiInteropRender
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GdiInteropRenderTarget));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GdiInteropRenderTarget));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GdiInteropRenderTarget));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1GdiInteropRenderTarget : ID2D1GdiInteropRender
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GdiInteropRenderTarget*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GdiInteropRenderTarget*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1GdiInteropRenderTarget*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GdiInteropRenderTarget*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GdiInteropRenderTarget*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GdiInteropRenderTarget*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1GdiInteropRenderTarget : ID2D1GdiInteropRender
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GdiInteropRenderTarget*, uint>)(lpVtbl[1]))((ID2D1GdiInteropRenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GdiInteropRenderTarget*, uint>)(lpVtbl[1]))((ID2D1GdiInteropRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GdiInteropRenderTarget*, uint>)(lpVtbl[1]))((ID2D1GdiInteropRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1GdiInteropRenderTarget : ID2D1GdiInteropRender
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GdiInteropRenderTarget*, uint>)(lpVtbl[2]))((ID2D1GdiInteropRenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GdiInteropRenderTarget*, uint>)(lpVtbl[2]))((ID2D1GdiInteropRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GdiInteropRenderTarget*, uint>)(lpVtbl[2]))((ID2D1GdiInteropRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GdiInteropRenderTarget::GetDC"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GdiInteropRenderTarget::GetDC"]/*' />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1GdiInteropRenderTarget : ID2D1GdiInteropRender
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public HResult GetDC(DCInitializeMode mode, IntPtr* hdc)
|
public HResult GetDC(DCInitializeMode mode, IntPtr* hdc)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GdiInteropRenderTarget*, DCInitializeMode, IntPtr*, int>)(lpVtbl[3]))((ID2D1GdiInteropRenderTarget*)Unsafe.AsPointer(ref this), mode, hdc);
|
||||||
return ((delegate* unmanaged<ID2D1GdiInteropRenderTarget*, DCInitializeMode, IntPtr*, int>)(lpVtbl[3]))((ID2D1GdiInteropRenderTarget*)Unsafe.AsPointer(ref this), mode, hdc);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GdiInteropRenderTarget*, DCInitializeMode, IntPtr*, int>)(lpVtbl[3]))((ID2D1GdiInteropRenderTarget*)Unsafe.AsPointer(ref this), mode, hdc);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GdiInteropRenderTarget::ReleaseDC"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GdiInteropRenderTarget::ReleaseDC"]/*' />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1GdiInteropRenderTarget : ID2D1GdiInteropRender
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult ReleaseDC(Rect* update)
|
public HResult ReleaseDC(Rect* update)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GdiInteropRenderTarget*, Rect*, int>)(lpVtbl[4]))((ID2D1GdiInteropRenderTarget*)Unsafe.AsPointer(ref this), update);
|
||||||
return ((delegate* unmanaged<ID2D1GdiInteropRenderTarget*, Rect*, int>)(lpVtbl[4]))((ID2D1GdiInteropRenderTarget*)Unsafe.AsPointer(ref this), update);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GdiInteropRenderTarget*, Rect*, int>)(lpVtbl[4]))((ID2D1GdiInteropRenderTarget*)Unsafe.AsPointer(ref this), update);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : IUnknown.Interface
|
public interface Interface : IUnknown.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1GdiMetafile : ID2D1GdiMetafile.Interface, INat
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GdiMetafile));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GdiMetafile));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GdiMetafile));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1GdiMetafile : ID2D1GdiMetafile.Interface, INat
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GdiMetafile*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GdiMetafile*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1GdiMetafile*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GdiMetafile*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GdiMetafile*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GdiMetafile*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1GdiMetafile : ID2D1GdiMetafile.Interface, INat
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GdiMetafile*, uint>)(lpVtbl[1]))((ID2D1GdiMetafile*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GdiMetafile*, uint>)(lpVtbl[1]))((ID2D1GdiMetafile*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GdiMetafile*, uint>)(lpVtbl[1]))((ID2D1GdiMetafile*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1GdiMetafile : ID2D1GdiMetafile.Interface, INat
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GdiMetafile*, uint>)(lpVtbl[2]))((ID2D1GdiMetafile*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GdiMetafile*, uint>)(lpVtbl[2]))((ID2D1GdiMetafile*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GdiMetafile*, uint>)(lpVtbl[2]))((ID2D1GdiMetafile*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1GdiMetafile : ID2D1GdiMetafile.Interface, INat
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1GdiMetafile*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1GdiMetafile*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1GdiMetafile*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1GdiMetafile*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1GdiMetafile*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1GdiMetafile*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GdiMetafile::Stream"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GdiMetafile::Stream"]/*' />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1GdiMetafile : ID2D1GdiMetafile.Interface, INat
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult Stream(ID2D1GdiMetafileSink* sink)
|
public HResult Stream(ID2D1GdiMetafileSink* sink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GdiMetafile*, ID2D1GdiMetafileSink*, int>)(lpVtbl[4]))((ID2D1GdiMetafile*)Unsafe.AsPointer(ref this), sink);
|
||||||
return ((delegate* unmanaged<ID2D1GdiMetafile*, ID2D1GdiMetafileSink*, int>)(lpVtbl[4]))((ID2D1GdiMetafile*)Unsafe.AsPointer(ref this), sink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GdiMetafile*, ID2D1GdiMetafileSink*, int>)(lpVtbl[4]))((ID2D1GdiMetafile*)Unsafe.AsPointer(ref this), sink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GdiMetafile::GetBounds"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GdiMetafile::GetBounds"]/*' />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1GdiMetafile : ID2D1GdiMetafile.Interface, INat
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult GetBounds(Win32.Numerics.RectF** bounds)
|
public HResult GetBounds(Win32.Numerics.RectF** bounds)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GdiMetafile*, Win32.Numerics.RectF**, int>)(lpVtbl[5]))((ID2D1GdiMetafile*)Unsafe.AsPointer(ref this), bounds);
|
||||||
return ((delegate* unmanaged<ID2D1GdiMetafile*, Win32.Numerics.RectF**, int>)(lpVtbl[5]))((ID2D1GdiMetafile*)Unsafe.AsPointer(ref this), bounds);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GdiMetafile*, Win32.Numerics.RectF**, int>)(lpVtbl[5]))((ID2D1GdiMetafile*)Unsafe.AsPointer(ref this), bounds);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Resource.Interface
|
public interface Interface : ID2D1Resource.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1GdiMetafile1 : ID2D1GdiMetafile1.Interface, IN
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GdiMetafile1));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GdiMetafile1));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GdiMetafile1));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1GdiMetafile1 : ID2D1GdiMetafile1.Interface, IN
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GdiMetafile1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GdiMetafile1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1GdiMetafile1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GdiMetafile1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GdiMetafile1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GdiMetafile1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1GdiMetafile1 : ID2D1GdiMetafile1.Interface, IN
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GdiMetafile1*, uint>)(lpVtbl[1]))((ID2D1GdiMetafile1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GdiMetafile1*, uint>)(lpVtbl[1]))((ID2D1GdiMetafile1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GdiMetafile1*, uint>)(lpVtbl[1]))((ID2D1GdiMetafile1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1GdiMetafile1 : ID2D1GdiMetafile1.Interface, IN
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GdiMetafile1*, uint>)(lpVtbl[2]))((ID2D1GdiMetafile1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GdiMetafile1*, uint>)(lpVtbl[2]))((ID2D1GdiMetafile1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GdiMetafile1*, uint>)(lpVtbl[2]))((ID2D1GdiMetafile1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1GdiMetafile1 : ID2D1GdiMetafile1.Interface, IN
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1GdiMetafile1*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1GdiMetafile1*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1GdiMetafile1*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1GdiMetafile1*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1GdiMetafile1*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1GdiMetafile1*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1GdiMetafile.Stream" />
|
/// <inheritdoc cref="ID2D1GdiMetafile.Stream" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1GdiMetafile1 : ID2D1GdiMetafile1.Interface, IN
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult Stream(ID2D1GdiMetafileSink* sink)
|
public HResult Stream(ID2D1GdiMetafileSink* sink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GdiMetafile1*, ID2D1GdiMetafileSink*, int>)(lpVtbl[4]))((ID2D1GdiMetafile1*)Unsafe.AsPointer(ref this), sink);
|
||||||
return ((delegate* unmanaged<ID2D1GdiMetafile1*, ID2D1GdiMetafileSink*, int>)(lpVtbl[4]))((ID2D1GdiMetafile1*)Unsafe.AsPointer(ref this), sink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GdiMetafile1*, ID2D1GdiMetafileSink*, int>)(lpVtbl[4]))((ID2D1GdiMetafile1*)Unsafe.AsPointer(ref this), sink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1GdiMetafile.GetBounds" />
|
/// <inheritdoc cref="ID2D1GdiMetafile.GetBounds" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1GdiMetafile1 : ID2D1GdiMetafile1.Interface, IN
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult GetBounds(Win32.Numerics.RectF** bounds)
|
public HResult GetBounds(Win32.Numerics.RectF** bounds)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GdiMetafile1*, Win32.Numerics.RectF**, int>)(lpVtbl[5]))((ID2D1GdiMetafile1*)Unsafe.AsPointer(ref this), bounds);
|
||||||
return ((delegate* unmanaged<ID2D1GdiMetafile1*, Win32.Numerics.RectF**, int>)(lpVtbl[5]))((ID2D1GdiMetafile1*)Unsafe.AsPointer(ref this), bounds);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GdiMetafile1*, Win32.Numerics.RectF**, int>)(lpVtbl[5]))((ID2D1GdiMetafile1*)Unsafe.AsPointer(ref this), bounds);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GdiMetafile1::GetDpi"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GdiMetafile1::GetDpi"]/*' />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1GdiMetafile1 : ID2D1GdiMetafile1.Interface, IN
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult GetDpi(float* dpiX, float* dpiY)
|
public HResult GetDpi(float* dpiX, float* dpiY)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GdiMetafile1*, float*, float*, int>)(lpVtbl[6]))((ID2D1GdiMetafile1*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
||||||
return ((delegate* unmanaged<ID2D1GdiMetafile1*, float*, float*, int>)(lpVtbl[6]))((ID2D1GdiMetafile1*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GdiMetafile1*, float*, float*, int>)(lpVtbl[6]))((ID2D1GdiMetafile1*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GdiMetafile1::GetSourceBounds"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GdiMetafile1::GetSourceBounds"]/*' />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1GdiMetafile1 : ID2D1GdiMetafile1.Interface, IN
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public HResult GetSourceBounds(Win32.Numerics.RectF** bounds)
|
public HResult GetSourceBounds(Win32.Numerics.RectF** bounds)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GdiMetafile1*, Win32.Numerics.RectF**, int>)(lpVtbl[7]))((ID2D1GdiMetafile1*)Unsafe.AsPointer(ref this), bounds);
|
||||||
return ((delegate* unmanaged<ID2D1GdiMetafile1*, Win32.Numerics.RectF**, int>)(lpVtbl[7]))((ID2D1GdiMetafile1*)Unsafe.AsPointer(ref this), bounds);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GdiMetafile1*, Win32.Numerics.RectF**, int>)(lpVtbl[7]))((ID2D1GdiMetafile1*)Unsafe.AsPointer(ref this), bounds);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1GdiMetafile.Interface
|
public interface Interface : ID2D1GdiMetafile.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1GdiMetafileSink : ID2D1GdiMetafileSink.Interfa
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GdiMetafileSink));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GdiMetafileSink));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GdiMetafileSink));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1GdiMetafileSink : ID2D1GdiMetafileSink.Interfa
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GdiMetafileSink*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GdiMetafileSink*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1GdiMetafileSink*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GdiMetafileSink*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GdiMetafileSink*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GdiMetafileSink*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1GdiMetafileSink : ID2D1GdiMetafileSink.Interfa
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GdiMetafileSink*, uint>)(lpVtbl[1]))((ID2D1GdiMetafileSink*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GdiMetafileSink*, uint>)(lpVtbl[1]))((ID2D1GdiMetafileSink*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GdiMetafileSink*, uint>)(lpVtbl[1]))((ID2D1GdiMetafileSink*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1GdiMetafileSink : ID2D1GdiMetafileSink.Interfa
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GdiMetafileSink*, uint>)(lpVtbl[2]))((ID2D1GdiMetafileSink*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GdiMetafileSink*, uint>)(lpVtbl[2]))((ID2D1GdiMetafileSink*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GdiMetafileSink*, uint>)(lpVtbl[2]))((ID2D1GdiMetafileSink*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GdiMetafileSink::ProcessRecord"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GdiMetafileSink::ProcessRecord"]/*' />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1GdiMetafileSink : ID2D1GdiMetafileSink.Interfa
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public HResult ProcessRecord(uint recordType, void* recordData, uint recordDataSize)
|
public HResult ProcessRecord(uint recordType, void* recordData, uint recordDataSize)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GdiMetafileSink*, uint, void*, uint, int>)(lpVtbl[3]))((ID2D1GdiMetafileSink*)Unsafe.AsPointer(ref this), recordType, recordData, recordDataSize);
|
||||||
return ((delegate* unmanaged<ID2D1GdiMetafileSink*, uint, void*, uint, int>)(lpVtbl[3]))((ID2D1GdiMetafileSink*)Unsafe.AsPointer(ref this), recordType, recordData, recordDataSize);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GdiMetafileSink*, uint, void*, uint, int>)(lpVtbl[3]))((ID2D1GdiMetafileSink*)Unsafe.AsPointer(ref this), recordType, recordData, recordDataSize);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : IUnknown.Interface
|
public interface Interface : IUnknown.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1GdiMetafileSink1 : ID2D1GdiMetafileSink1.Inter
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GdiMetafileSink1));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GdiMetafileSink1));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GdiMetafileSink1));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1GdiMetafileSink1 : ID2D1GdiMetafileSink1.Inter
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GdiMetafileSink1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GdiMetafileSink1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1GdiMetafileSink1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GdiMetafileSink1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GdiMetafileSink1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GdiMetafileSink1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1GdiMetafileSink1 : ID2D1GdiMetafileSink1.Inter
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GdiMetafileSink1*, uint>)(lpVtbl[1]))((ID2D1GdiMetafileSink1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GdiMetafileSink1*, uint>)(lpVtbl[1]))((ID2D1GdiMetafileSink1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GdiMetafileSink1*, uint>)(lpVtbl[1]))((ID2D1GdiMetafileSink1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1GdiMetafileSink1 : ID2D1GdiMetafileSink1.Inter
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GdiMetafileSink1*, uint>)(lpVtbl[2]))((ID2D1GdiMetafileSink1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GdiMetafileSink1*, uint>)(lpVtbl[2]))((ID2D1GdiMetafileSink1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GdiMetafileSink1*, uint>)(lpVtbl[2]))((ID2D1GdiMetafileSink1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1GdiMetafileSink.ProcessRecord" />
|
/// <inheritdoc cref="ID2D1GdiMetafileSink.ProcessRecord" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1GdiMetafileSink1 : ID2D1GdiMetafileSink1.Inter
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public HResult ProcessRecord(uint recordType, void* recordData, uint recordDataSize)
|
public HResult ProcessRecord(uint recordType, void* recordData, uint recordDataSize)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GdiMetafileSink1*, uint, void*, uint, int>)(lpVtbl[3]))((ID2D1GdiMetafileSink1*)Unsafe.AsPointer(ref this), recordType, recordData, recordDataSize);
|
||||||
return ((delegate* unmanaged<ID2D1GdiMetafileSink1*, uint, void*, uint, int>)(lpVtbl[3]))((ID2D1GdiMetafileSink1*)Unsafe.AsPointer(ref this), recordType, recordData, recordDataSize);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GdiMetafileSink1*, uint, void*, uint, int>)(lpVtbl[3]))((ID2D1GdiMetafileSink1*)Unsafe.AsPointer(ref this), recordType, recordData, recordDataSize);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GdiMetafileSink1::ProcessRecord"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GdiMetafileSink1::ProcessRecord"]/*' />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1GdiMetafileSink1 : ID2D1GdiMetafileSink1.Inter
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult ProcessRecord(uint recordType, void* recordData, uint recordDataSize, uint flags)
|
public HResult ProcessRecord(uint recordType, void* recordData, uint recordDataSize, uint flags)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GdiMetafileSink1*, uint, void*, uint, uint, int>)(lpVtbl[4]))((ID2D1GdiMetafileSink1*)Unsafe.AsPointer(ref this), recordType, recordData, recordDataSize, flags);
|
||||||
return ((delegate* unmanaged<ID2D1GdiMetafileSink1*, uint, void*, uint, uint, int>)(lpVtbl[4]))((ID2D1GdiMetafileSink1*)Unsafe.AsPointer(ref this), recordType, recordData, recordDataSize, flags);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GdiMetafileSink1*, uint, void*, uint, uint, int>)(lpVtbl[4]))((ID2D1GdiMetafileSink1*)Unsafe.AsPointer(ref this), recordType, recordData, recordDataSize, flags);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1GdiMetafileSink.Interface
|
public interface Interface : ID2D1GdiMetafileSink.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1Geometry : ID2D1Geometry.Interface, INativeGui
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Geometry));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Geometry));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Geometry));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1Geometry : ID2D1Geometry.Interface, INativeGui
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Geometry*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1Geometry*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Geometry*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1Geometry : ID2D1Geometry.Interface, INativeGui
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Geometry*, uint>)(lpVtbl[1]))((ID2D1Geometry*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Geometry*, uint>)(lpVtbl[1]))((ID2D1Geometry*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Geometry*, uint>)(lpVtbl[1]))((ID2D1Geometry*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1Geometry : ID2D1Geometry.Interface, INativeGui
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Geometry*, uint>)(lpVtbl[2]))((ID2D1Geometry*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Geometry*, uint>)(lpVtbl[2]))((ID2D1Geometry*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Geometry*, uint>)(lpVtbl[2]))((ID2D1Geometry*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1Geometry : ID2D1Geometry.Interface, INativeGui
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Geometry*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1Geometry*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Geometry*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::GetBounds"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::GetBounds"]/*' />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1Geometry : ID2D1Geometry.Interface, INativeGui
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult GetBounds(Matrix3x2* worldTransform, Win32.Numerics.RectF** bounds)
|
public HResult GetBounds(Matrix3x2* worldTransform, Win32.Numerics.RectF** bounds)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Geometry*, Matrix3x2*, Win32.Numerics.RectF**, int>)(lpVtbl[4]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), worldTransform, bounds);
|
||||||
return ((delegate* unmanaged<ID2D1Geometry*, Matrix3x2*, Win32.Numerics.RectF**, int>)(lpVtbl[4]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), worldTransform, bounds);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Geometry*, Matrix3x2*, Win32.Numerics.RectF**, int>)(lpVtbl[4]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), worldTransform, bounds);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::GetWidenedBounds"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::GetWidenedBounds"]/*' />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1Geometry : ID2D1Geometry.Interface, INativeGui
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult GetWidenedBounds(float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Win32.Numerics.RectF** bounds)
|
public HResult GetWidenedBounds(float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Win32.Numerics.RectF** bounds)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Geometry*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Win32.Numerics.RectF**, int>)(lpVtbl[5]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, bounds);
|
||||||
return ((delegate* unmanaged<ID2D1Geometry*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Win32.Numerics.RectF**, int>)(lpVtbl[5]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, bounds);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Geometry*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Win32.Numerics.RectF**, int>)(lpVtbl[5]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, bounds);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::StrokeContainsPoint"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::StrokeContainsPoint"]/*' />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1Geometry : ID2D1Geometry.Interface, INativeGui
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult StrokeContainsPoint(Vector2 point, float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains)
|
public HResult StrokeContainsPoint(Vector2 point, float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Geometry*, Vector2, float, ID2D1StrokeStyle*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[6]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains);
|
||||||
return ((delegate* unmanaged<ID2D1Geometry*, Vector2, float, ID2D1StrokeStyle*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[6]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Geometry*, Vector2, float, ID2D1StrokeStyle*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[6]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::FillContainsPoint"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::FillContainsPoint"]/*' />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1Geometry : ID2D1Geometry.Interface, INativeGui
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public HResult FillContainsPoint(Vector2 point, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains)
|
public HResult FillContainsPoint(Vector2 point, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Geometry*, Vector2, Matrix3x2*, float, Bool32*, int>)(lpVtbl[7]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains);
|
||||||
return ((delegate* unmanaged<ID2D1Geometry*, Vector2, Matrix3x2*, float, Bool32*, int>)(lpVtbl[7]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Geometry*, Vector2, Matrix3x2*, float, Bool32*, int>)(lpVtbl[7]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::CompareWithGeometry"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::CompareWithGeometry"]/*' />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1Geometry : ID2D1Geometry.Interface, INativeGui
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CompareWithGeometry(ID2D1Geometry* inputGeometry, Matrix3x2* inputGeometryTransform, float flatteningTolerance, GeometryRelation* relation)
|
public HResult CompareWithGeometry(ID2D1Geometry* inputGeometry, Matrix3x2* inputGeometryTransform, float flatteningTolerance, GeometryRelation* relation)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Geometry*, ID2D1Geometry*, Matrix3x2*, float, GeometryRelation*, int>)(lpVtbl[8]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), inputGeometry, inputGeometryTransform, flatteningTolerance, relation);
|
||||||
return ((delegate* unmanaged<ID2D1Geometry*, ID2D1Geometry*, Matrix3x2*, float, GeometryRelation*, int>)(lpVtbl[8]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), inputGeometry, inputGeometryTransform, flatteningTolerance, relation);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Geometry*, ID2D1Geometry*, Matrix3x2*, float, GeometryRelation*, int>)(lpVtbl[8]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), inputGeometry, inputGeometryTransform, flatteningTolerance, relation);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::Simplify"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::Simplify"]/*' />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1Geometry : ID2D1Geometry.Interface, INativeGui
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult Simplify(GeometrySimplificationOption simplificationOption, Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
public HResult Simplify(GeometrySimplificationOption simplificationOption, Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Geometry*, GeometrySimplificationOption, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[9]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), simplificationOption, worldTransform, flatteningTolerance, geometrySink);
|
||||||
return ((delegate* unmanaged<ID2D1Geometry*, GeometrySimplificationOption, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[9]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), simplificationOption, worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Geometry*, GeometrySimplificationOption, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[9]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), simplificationOption, worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::Tessellate"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::Tessellate"]/*' />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1Geometry : ID2D1Geometry.Interface, INativeGui
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult Tessellate(Matrix3x2* worldTransform, float flatteningTolerance, ID2D1TessellationSink* tessellationSink)
|
public HResult Tessellate(Matrix3x2* worldTransform, float flatteningTolerance, ID2D1TessellationSink* tessellationSink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Geometry*, Matrix3x2*, float, ID2D1TessellationSink*, int>)(lpVtbl[10]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, tessellationSink);
|
||||||
return ((delegate* unmanaged<ID2D1Geometry*, Matrix3x2*, float, ID2D1TessellationSink*, int>)(lpVtbl[10]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, tessellationSink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Geometry*, Matrix3x2*, float, ID2D1TessellationSink*, int>)(lpVtbl[10]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, tessellationSink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::CombineWithGeometry"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::CombineWithGeometry"]/*' />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1Geometry : ID2D1Geometry.Interface, INativeGui
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult CombineWithGeometry(ID2D1Geometry* inputGeometry, CombineMode combineMode, Matrix3x2* inputGeometryTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
public HResult CombineWithGeometry(ID2D1Geometry* inputGeometry, CombineMode combineMode, Matrix3x2* inputGeometryTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Geometry*, ID2D1Geometry*, CombineMode, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[11]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), inputGeometry, combineMode, inputGeometryTransform, flatteningTolerance, geometrySink);
|
||||||
return ((delegate* unmanaged<ID2D1Geometry*, ID2D1Geometry*, CombineMode, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[11]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), inputGeometry, combineMode, inputGeometryTransform, flatteningTolerance, geometrySink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Geometry*, ID2D1Geometry*, CombineMode, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[11]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), inputGeometry, combineMode, inputGeometryTransform, flatteningTolerance, geometrySink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::Outline"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::Outline"]/*' />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1Geometry : ID2D1Geometry.Interface, INativeGui
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public HResult Outline(Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
public HResult Outline(Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Geometry*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[12]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, geometrySink);
|
||||||
return ((delegate* unmanaged<ID2D1Geometry*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[12]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Geometry*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[12]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::ComputeArea"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::ComputeArea"]/*' />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1Geometry : ID2D1Geometry.Interface, INativeGui
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult ComputeArea(Matrix3x2* worldTransform, float flatteningTolerance, float* area)
|
public HResult ComputeArea(Matrix3x2* worldTransform, float flatteningTolerance, float* area)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Geometry*, Matrix3x2*, float, float*, int>)(lpVtbl[13]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, area);
|
||||||
return ((delegate* unmanaged<ID2D1Geometry*, Matrix3x2*, float, float*, int>)(lpVtbl[13]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, area);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Geometry*, Matrix3x2*, float, float*, int>)(lpVtbl[13]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, area);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::ComputeLength"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::ComputeLength"]/*' />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1Geometry : ID2D1Geometry.Interface, INativeGui
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public HResult ComputeLength(Matrix3x2* worldTransform, float flatteningTolerance, float* length)
|
public HResult ComputeLength(Matrix3x2* worldTransform, float flatteningTolerance, float* length)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Geometry*, Matrix3x2*, float, float*, int>)(lpVtbl[14]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, length);
|
||||||
return ((delegate* unmanaged<ID2D1Geometry*, Matrix3x2*, float, float*, int>)(lpVtbl[14]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, length);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Geometry*, Matrix3x2*, float, float*, int>)(lpVtbl[14]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, length);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::ComputePointAtLength"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::ComputePointAtLength"]/*' />
|
||||||
@@ -235,11 +171,7 @@ public unsafe partial struct ID2D1Geometry : ID2D1Geometry.Interface, INativeGui
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public HResult ComputePointAtLength(float length, Matrix3x2* worldTransform, float flatteningTolerance, Vector2* point, Vector2* unitTangentVector)
|
public HResult ComputePointAtLength(float length, Matrix3x2* worldTransform, float flatteningTolerance, Vector2* point, Vector2* unitTangentVector)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Geometry*, float, Matrix3x2*, float, Vector2*, Vector2*, int>)(lpVtbl[15]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector);
|
||||||
return ((delegate* unmanaged<ID2D1Geometry*, float, Matrix3x2*, float, Vector2*, Vector2*, int>)(lpVtbl[15]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Geometry*, float, Matrix3x2*, float, Vector2*, Vector2*, int>)(lpVtbl[15]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::Widen"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Geometry::Widen"]/*' />
|
||||||
@@ -247,11 +179,7 @@ public unsafe partial struct ID2D1Geometry : ID2D1Geometry.Interface, INativeGui
|
|||||||
[VtblIndex(16)]
|
[VtblIndex(16)]
|
||||||
public HResult Widen(float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
public HResult Widen(float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Geometry*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[16]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, geometrySink);
|
||||||
return ((delegate* unmanaged<ID2D1Geometry*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[16]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Geometry*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[16]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Resource.Interface
|
public interface Interface : ID2D1Resource.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1GeometryGroup : ID2D1GeometryGroup.Interface,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GeometryGroup));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GeometryGroup));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GeometryGroup));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1GeometryGroup : ID2D1GeometryGroup.Interface,
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GeometryGroup*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1GeometryGroup*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GeometryGroup*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1GeometryGroup : ID2D1GeometryGroup.Interface,
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GeometryGroup*, uint>)(lpVtbl[1]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GeometryGroup*, uint>)(lpVtbl[1]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GeometryGroup*, uint>)(lpVtbl[1]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1GeometryGroup : ID2D1GeometryGroup.Interface,
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GeometryGroup*, uint>)(lpVtbl[2]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GeometryGroup*, uint>)(lpVtbl[2]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GeometryGroup*, uint>)(lpVtbl[2]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1GeometryGroup : ID2D1GeometryGroup.Interface,
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1GeometryGroup*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1GeometryGroup*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1GeometryGroup*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.GetBounds" />
|
/// <inheritdoc cref="ID2D1Geometry.GetBounds" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1GeometryGroup : ID2D1GeometryGroup.Interface,
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult GetBounds(Matrix3x2* worldTransform, Win32.Numerics.RectF** bounds)
|
public HResult GetBounds(Matrix3x2* worldTransform, Win32.Numerics.RectF** bounds)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GeometryGroup*, Matrix3x2*, Win32.Numerics.RectF**, int>)(lpVtbl[4]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), worldTransform, bounds);
|
||||||
return ((delegate* unmanaged<ID2D1GeometryGroup*, Matrix3x2*, Win32.Numerics.RectF**, int>)(lpVtbl[4]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), worldTransform, bounds);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GeometryGroup*, Matrix3x2*, Win32.Numerics.RectF**, int>)(lpVtbl[4]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), worldTransform, bounds);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.GetWidenedBounds" />
|
/// <inheritdoc cref="ID2D1Geometry.GetWidenedBounds" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1GeometryGroup : ID2D1GeometryGroup.Interface,
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult GetWidenedBounds(float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Win32.Numerics.RectF** bounds)
|
public HResult GetWidenedBounds(float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Win32.Numerics.RectF** bounds)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GeometryGroup*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Win32.Numerics.RectF**, int>)(lpVtbl[5]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, bounds);
|
||||||
return ((delegate* unmanaged<ID2D1GeometryGroup*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Win32.Numerics.RectF**, int>)(lpVtbl[5]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, bounds);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GeometryGroup*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Win32.Numerics.RectF**, int>)(lpVtbl[5]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, bounds);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.StrokeContainsPoint" />
|
/// <inheritdoc cref="ID2D1Geometry.StrokeContainsPoint" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1GeometryGroup : ID2D1GeometryGroup.Interface,
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult StrokeContainsPoint(Vector2 point, float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains)
|
public HResult StrokeContainsPoint(Vector2 point, float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GeometryGroup*, Vector2, float, ID2D1StrokeStyle*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[6]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains);
|
||||||
return ((delegate* unmanaged<ID2D1GeometryGroup*, Vector2, float, ID2D1StrokeStyle*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[6]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GeometryGroup*, Vector2, float, ID2D1StrokeStyle*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[6]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.FillContainsPoint" />
|
/// <inheritdoc cref="ID2D1Geometry.FillContainsPoint" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1GeometryGroup : ID2D1GeometryGroup.Interface,
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public HResult FillContainsPoint(Vector2 point, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains)
|
public HResult FillContainsPoint(Vector2 point, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GeometryGroup*, Vector2, Matrix3x2*, float, Bool32*, int>)(lpVtbl[7]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains);
|
||||||
return ((delegate* unmanaged<ID2D1GeometryGroup*, Vector2, Matrix3x2*, float, Bool32*, int>)(lpVtbl[7]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GeometryGroup*, Vector2, Matrix3x2*, float, Bool32*, int>)(lpVtbl[7]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.CompareWithGeometry" />
|
/// <inheritdoc cref="ID2D1Geometry.CompareWithGeometry" />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1GeometryGroup : ID2D1GeometryGroup.Interface,
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CompareWithGeometry(ID2D1Geometry* inputGeometry, Matrix3x2* inputGeometryTransform, float flatteningTolerance, GeometryRelation* relation)
|
public HResult CompareWithGeometry(ID2D1Geometry* inputGeometry, Matrix3x2* inputGeometryTransform, float flatteningTolerance, GeometryRelation* relation)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GeometryGroup*, ID2D1Geometry*, Matrix3x2*, float, GeometryRelation*, int>)(lpVtbl[8]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), inputGeometry, inputGeometryTransform, flatteningTolerance, relation);
|
||||||
return ((delegate* unmanaged<ID2D1GeometryGroup*, ID2D1Geometry*, Matrix3x2*, float, GeometryRelation*, int>)(lpVtbl[8]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), inputGeometry, inputGeometryTransform, flatteningTolerance, relation);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GeometryGroup*, ID2D1Geometry*, Matrix3x2*, float, GeometryRelation*, int>)(lpVtbl[8]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), inputGeometry, inputGeometryTransform, flatteningTolerance, relation);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.Simplify" />
|
/// <inheritdoc cref="ID2D1Geometry.Simplify" />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1GeometryGroup : ID2D1GeometryGroup.Interface,
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult Simplify(GeometrySimplificationOption simplificationOption, Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
public HResult Simplify(GeometrySimplificationOption simplificationOption, Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GeometryGroup*, GeometrySimplificationOption, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[9]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), simplificationOption, worldTransform, flatteningTolerance, geometrySink);
|
||||||
return ((delegate* unmanaged<ID2D1GeometryGroup*, GeometrySimplificationOption, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[9]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), simplificationOption, worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GeometryGroup*, GeometrySimplificationOption, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[9]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), simplificationOption, worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.Tessellate" />
|
/// <inheritdoc cref="ID2D1Geometry.Tessellate" />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1GeometryGroup : ID2D1GeometryGroup.Interface,
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult Tessellate(Matrix3x2* worldTransform, float flatteningTolerance, ID2D1TessellationSink* tessellationSink)
|
public HResult Tessellate(Matrix3x2* worldTransform, float flatteningTolerance, ID2D1TessellationSink* tessellationSink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GeometryGroup*, Matrix3x2*, float, ID2D1TessellationSink*, int>)(lpVtbl[10]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, tessellationSink);
|
||||||
return ((delegate* unmanaged<ID2D1GeometryGroup*, Matrix3x2*, float, ID2D1TessellationSink*, int>)(lpVtbl[10]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, tessellationSink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GeometryGroup*, Matrix3x2*, float, ID2D1TessellationSink*, int>)(lpVtbl[10]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, tessellationSink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.CombineWithGeometry" />
|
/// <inheritdoc cref="ID2D1Geometry.CombineWithGeometry" />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1GeometryGroup : ID2D1GeometryGroup.Interface,
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult CombineWithGeometry(ID2D1Geometry* inputGeometry, CombineMode combineMode, Matrix3x2* inputGeometryTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
public HResult CombineWithGeometry(ID2D1Geometry* inputGeometry, CombineMode combineMode, Matrix3x2* inputGeometryTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GeometryGroup*, ID2D1Geometry*, CombineMode, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[11]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), inputGeometry, combineMode, inputGeometryTransform, flatteningTolerance, geometrySink);
|
||||||
return ((delegate* unmanaged<ID2D1GeometryGroup*, ID2D1Geometry*, CombineMode, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[11]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), inputGeometry, combineMode, inputGeometryTransform, flatteningTolerance, geometrySink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GeometryGroup*, ID2D1Geometry*, CombineMode, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[11]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), inputGeometry, combineMode, inputGeometryTransform, flatteningTolerance, geometrySink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.Outline" />
|
/// <inheritdoc cref="ID2D1Geometry.Outline" />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1GeometryGroup : ID2D1GeometryGroup.Interface,
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public HResult Outline(Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
public HResult Outline(Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GeometryGroup*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[12]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, geometrySink);
|
||||||
return ((delegate* unmanaged<ID2D1GeometryGroup*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[12]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GeometryGroup*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[12]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.ComputeArea" />
|
/// <inheritdoc cref="ID2D1Geometry.ComputeArea" />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1GeometryGroup : ID2D1GeometryGroup.Interface,
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult ComputeArea(Matrix3x2* worldTransform, float flatteningTolerance, float* area)
|
public HResult ComputeArea(Matrix3x2* worldTransform, float flatteningTolerance, float* area)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GeometryGroup*, Matrix3x2*, float, float*, int>)(lpVtbl[13]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, area);
|
||||||
return ((delegate* unmanaged<ID2D1GeometryGroup*, Matrix3x2*, float, float*, int>)(lpVtbl[13]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, area);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GeometryGroup*, Matrix3x2*, float, float*, int>)(lpVtbl[13]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, area);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.ComputeLength" />
|
/// <inheritdoc cref="ID2D1Geometry.ComputeLength" />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1GeometryGroup : ID2D1GeometryGroup.Interface,
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public HResult ComputeLength(Matrix3x2* worldTransform, float flatteningTolerance, float* length)
|
public HResult ComputeLength(Matrix3x2* worldTransform, float flatteningTolerance, float* length)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GeometryGroup*, Matrix3x2*, float, float*, int>)(lpVtbl[14]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, length);
|
||||||
return ((delegate* unmanaged<ID2D1GeometryGroup*, Matrix3x2*, float, float*, int>)(lpVtbl[14]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, length);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GeometryGroup*, Matrix3x2*, float, float*, int>)(lpVtbl[14]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, length);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.ComputePointAtLength" />
|
/// <inheritdoc cref="ID2D1Geometry.ComputePointAtLength" />
|
||||||
@@ -235,11 +171,7 @@ public unsafe partial struct ID2D1GeometryGroup : ID2D1GeometryGroup.Interface,
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public HResult ComputePointAtLength(float length, Matrix3x2* worldTransform, float flatteningTolerance, Vector2* point, Vector2* unitTangentVector)
|
public HResult ComputePointAtLength(float length, Matrix3x2* worldTransform, float flatteningTolerance, Vector2* point, Vector2* unitTangentVector)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GeometryGroup*, float, Matrix3x2*, float, Vector2*, Vector2*, int>)(lpVtbl[15]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector);
|
||||||
return ((delegate* unmanaged<ID2D1GeometryGroup*, float, Matrix3x2*, float, Vector2*, Vector2*, int>)(lpVtbl[15]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GeometryGroup*, float, Matrix3x2*, float, Vector2*, Vector2*, int>)(lpVtbl[15]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.Widen" />
|
/// <inheritdoc cref="ID2D1Geometry.Widen" />
|
||||||
@@ -247,11 +179,7 @@ public unsafe partial struct ID2D1GeometryGroup : ID2D1GeometryGroup.Interface,
|
|||||||
[VtblIndex(16)]
|
[VtblIndex(16)]
|
||||||
public HResult Widen(float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
public HResult Widen(float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GeometryGroup*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[16]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, geometrySink);
|
||||||
return ((delegate* unmanaged<ID2D1GeometryGroup*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[16]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GeometryGroup*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[16]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GeometryGroup::GetFillMode"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GeometryGroup::GetFillMode"]/*' />
|
||||||
@@ -259,11 +187,7 @@ public unsafe partial struct ID2D1GeometryGroup : ID2D1GeometryGroup.Interface,
|
|||||||
[VtblIndex(17)]
|
[VtblIndex(17)]
|
||||||
public Common.FillMode GetFillMode()
|
public Common.FillMode GetFillMode()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GeometryGroup*, Common.FillMode>)(lpVtbl[17]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GeometryGroup*, Common.FillMode>)(lpVtbl[17]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GeometryGroup*, Common.FillMode>)(lpVtbl[17]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GeometryGroup::GetSourceGeometryCount"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GeometryGroup::GetSourceGeometryCount"]/*' />
|
||||||
@@ -271,11 +195,7 @@ public unsafe partial struct ID2D1GeometryGroup : ID2D1GeometryGroup.Interface,
|
|||||||
[VtblIndex(18)]
|
[VtblIndex(18)]
|
||||||
public uint GetSourceGeometryCount()
|
public uint GetSourceGeometryCount()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GeometryGroup*, uint>)(lpVtbl[18]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GeometryGroup*, uint>)(lpVtbl[18]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GeometryGroup*, uint>)(lpVtbl[18]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GeometryGroup::GetSourceGeometries"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GeometryGroup::GetSourceGeometries"]/*' />
|
||||||
@@ -283,11 +203,7 @@ public unsafe partial struct ID2D1GeometryGroup : ID2D1GeometryGroup.Interface,
|
|||||||
[VtblIndex(19)]
|
[VtblIndex(19)]
|
||||||
public void GetSourceGeometries(ID2D1Geometry** geometries, uint geometriesCount)
|
public void GetSourceGeometries(ID2D1Geometry** geometries, uint geometriesCount)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1GeometryGroup*, ID2D1Geometry**, uint, void>)(lpVtbl[19]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), geometries, geometriesCount);
|
||||||
((delegate* unmanaged<ID2D1GeometryGroup*, ID2D1Geometry**, uint, void>)(lpVtbl[19]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), geometries, geometriesCount);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1GeometryGroup*, ID2D1Geometry**, uint, void>)(lpVtbl[19]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), geometries, geometriesCount);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Geometry.Interface
|
public interface Interface : ID2D1Geometry.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1GeometryRealization : ID2D1GeometryRealization
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GeometryRealization));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GeometryRealization));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GeometryRealization));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1GeometryRealization : ID2D1GeometryRealization
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GeometryRealization*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GeometryRealization*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1GeometryRealization*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GeometryRealization*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GeometryRealization*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GeometryRealization*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1GeometryRealization : ID2D1GeometryRealization
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GeometryRealization*, uint>)(lpVtbl[1]))((ID2D1GeometryRealization*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GeometryRealization*, uint>)(lpVtbl[1]))((ID2D1GeometryRealization*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GeometryRealization*, uint>)(lpVtbl[1]))((ID2D1GeometryRealization*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1GeometryRealization : ID2D1GeometryRealization
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GeometryRealization*, uint>)(lpVtbl[2]))((ID2D1GeometryRealization*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GeometryRealization*, uint>)(lpVtbl[2]))((ID2D1GeometryRealization*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GeometryRealization*, uint>)(lpVtbl[2]))((ID2D1GeometryRealization*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1GeometryRealization : ID2D1GeometryRealization
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1GeometryRealization*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1GeometryRealization*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1GeometryRealization*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1GeometryRealization*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1GeometryRealization*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1GeometryRealization*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Resource.Interface
|
public interface Interface : ID2D1Resource.Interface
|
||||||
|
|||||||
@@ -42,11 +42,7 @@ public unsafe partial struct ID2D1GeometrySink : ID2D1GeometrySink.Interface, IN
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GeometrySink));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GeometrySink));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GeometrySink));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -55,11 +51,7 @@ public unsafe partial struct ID2D1GeometrySink : ID2D1GeometrySink.Interface, IN
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GeometrySink*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1GeometrySink*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -68,11 +60,7 @@ public unsafe partial struct ID2D1GeometrySink : ID2D1GeometrySink.Interface, IN
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GeometrySink*, uint>)(lpVtbl[1]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GeometrySink*, uint>)(lpVtbl[1]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, uint>)(lpVtbl[1]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -81,11 +69,7 @@ public unsafe partial struct ID2D1GeometrySink : ID2D1GeometrySink.Interface, IN
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GeometrySink*, uint>)(lpVtbl[2]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GeometrySink*, uint>)(lpVtbl[2]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, uint>)(lpVtbl[2]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="Win32.Graphics.Direct2D.Common.ID2D1SimplifiedGeometrySink.SetFillMode" />
|
/// <inheritdoc cref="Win32.Graphics.Direct2D.Common.ID2D1SimplifiedGeometrySink.SetFillMode" />
|
||||||
@@ -93,11 +77,7 @@ public unsafe partial struct ID2D1GeometrySink : ID2D1GeometrySink.Interface, IN
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void SetFillMode(Common.FillMode fillMode)
|
public void SetFillMode(Common.FillMode fillMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1GeometrySink*, Common.FillMode, void>)(lpVtbl[3]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), fillMode);
|
||||||
((delegate* unmanaged<ID2D1GeometrySink*, Common.FillMode, void>)(lpVtbl[3]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), fillMode);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, Common.FillMode, void>)(lpVtbl[3]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), fillMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="Win32.Graphics.Direct2D.Common.ID2D1SimplifiedGeometrySink.SetSegmentFlags" />
|
/// <inheritdoc cref="Win32.Graphics.Direct2D.Common.ID2D1SimplifiedGeometrySink.SetSegmentFlags" />
|
||||||
@@ -105,11 +85,7 @@ public unsafe partial struct ID2D1GeometrySink : ID2D1GeometrySink.Interface, IN
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public void SetSegmentFlags(Common.PathSegment vertexFlags)
|
public void SetSegmentFlags(Common.PathSegment vertexFlags)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1GeometrySink*, Common.PathSegment, void>)(lpVtbl[4]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), vertexFlags);
|
||||||
((delegate* unmanaged<ID2D1GeometrySink*, Common.PathSegment, void>)(lpVtbl[4]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), vertexFlags);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, Common.PathSegment, void>)(lpVtbl[4]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), vertexFlags);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="Win32.Graphics.Direct2D.Common.ID2D1SimplifiedGeometrySink.BeginFigure" />
|
/// <inheritdoc cref="Win32.Graphics.Direct2D.Common.ID2D1SimplifiedGeometrySink.BeginFigure" />
|
||||||
@@ -117,11 +93,7 @@ public unsafe partial struct ID2D1GeometrySink : ID2D1GeometrySink.Interface, IN
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public void BeginFigure(Vector2 startPoint, Common.FigureBegin figureBegin)
|
public void BeginFigure(Vector2 startPoint, Common.FigureBegin figureBegin)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1GeometrySink*, Vector2, Common.FigureBegin, void>)(lpVtbl[5]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), startPoint, figureBegin);
|
||||||
((delegate* unmanaged<ID2D1GeometrySink*, Vector2, Common.FigureBegin, void>)(lpVtbl[5]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), startPoint, figureBegin);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, Vector2, Common.FigureBegin, void>)(lpVtbl[5]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), startPoint, figureBegin);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="Win32.Graphics.Direct2D.Common.ID2D1SimplifiedGeometrySink.AddLines" />
|
/// <inheritdoc cref="Win32.Graphics.Direct2D.Common.ID2D1SimplifiedGeometrySink.AddLines" />
|
||||||
@@ -129,11 +101,7 @@ public unsafe partial struct ID2D1GeometrySink : ID2D1GeometrySink.Interface, IN
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public void AddLines(Vector2* points, uint pointsCount)
|
public void AddLines(Vector2* points, uint pointsCount)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1GeometrySink*, Vector2*, uint, void>)(lpVtbl[6]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), points, pointsCount);
|
||||||
((delegate* unmanaged<ID2D1GeometrySink*, Vector2*, uint, void>)(lpVtbl[6]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), points, pointsCount);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, Vector2*, uint, void>)(lpVtbl[6]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), points, pointsCount);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="Win32.Graphics.Direct2D.Common.ID2D1SimplifiedGeometrySink.AddBeziers" />
|
/// <inheritdoc cref="Win32.Graphics.Direct2D.Common.ID2D1SimplifiedGeometrySink.AddBeziers" />
|
||||||
@@ -141,11 +109,7 @@ public unsafe partial struct ID2D1GeometrySink : ID2D1GeometrySink.Interface, IN
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public void AddBeziers(Common.BezierSegment* beziers, uint beziersCount)
|
public void AddBeziers(Common.BezierSegment* beziers, uint beziersCount)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1GeometrySink*, Common.BezierSegment*, uint, void>)(lpVtbl[7]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), beziers, beziersCount);
|
||||||
((delegate* unmanaged<ID2D1GeometrySink*, Common.BezierSegment*, uint, void>)(lpVtbl[7]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), beziers, beziersCount);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, Common.BezierSegment*, uint, void>)(lpVtbl[7]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), beziers, beziersCount);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="Win32.Graphics.Direct2D.Common.ID2D1SimplifiedGeometrySink.EndFigure" />
|
/// <inheritdoc cref="Win32.Graphics.Direct2D.Common.ID2D1SimplifiedGeometrySink.EndFigure" />
|
||||||
@@ -153,11 +117,7 @@ public unsafe partial struct ID2D1GeometrySink : ID2D1GeometrySink.Interface, IN
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public void EndFigure(Common.FigureEnd figureEnd)
|
public void EndFigure(Common.FigureEnd figureEnd)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1GeometrySink*, Common.FigureEnd, void>)(lpVtbl[8]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), figureEnd);
|
||||||
((delegate* unmanaged<ID2D1GeometrySink*, Common.FigureEnd, void>)(lpVtbl[8]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), figureEnd);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, Common.FigureEnd, void>)(lpVtbl[8]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), figureEnd);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="Win32.Graphics.Direct2D.Common.ID2D1SimplifiedGeometrySink.Close" />
|
/// <inheritdoc cref="Win32.Graphics.Direct2D.Common.ID2D1SimplifiedGeometrySink.Close" />
|
||||||
@@ -165,11 +125,7 @@ public unsafe partial struct ID2D1GeometrySink : ID2D1GeometrySink.Interface, IN
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult Close()
|
public HResult Close()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GeometrySink*, int>)(lpVtbl[9]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GeometrySink*, int>)(lpVtbl[9]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, int>)(lpVtbl[9]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GeometrySink::AddLine"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GeometrySink::AddLine"]/*' />
|
||||||
@@ -177,11 +133,7 @@ public unsafe partial struct ID2D1GeometrySink : ID2D1GeometrySink.Interface, IN
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public void AddLine(Vector2 point)
|
public void AddLine(Vector2 point)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1GeometrySink*, Vector2, void>)(lpVtbl[10]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), point);
|
||||||
((delegate* unmanaged<ID2D1GeometrySink*, Vector2, void>)(lpVtbl[10]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), point);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, Vector2, void>)(lpVtbl[10]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), point);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GeometrySink::AddBezier"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GeometrySink::AddBezier"]/*' />
|
||||||
@@ -189,11 +141,7 @@ public unsafe partial struct ID2D1GeometrySink : ID2D1GeometrySink.Interface, IN
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public void AddBezier(Common.BezierSegment* bezier)
|
public void AddBezier(Common.BezierSegment* bezier)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1GeometrySink*, Common.BezierSegment*, void>)(lpVtbl[11]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), bezier);
|
||||||
((delegate* unmanaged<ID2D1GeometrySink*, Common.BezierSegment*, void>)(lpVtbl[11]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), bezier);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, Common.BezierSegment*, void>)(lpVtbl[11]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), bezier);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GeometrySink::AddQuadraticBezier"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GeometrySink::AddQuadraticBezier"]/*' />
|
||||||
@@ -201,11 +149,7 @@ public unsafe partial struct ID2D1GeometrySink : ID2D1GeometrySink.Interface, IN
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public void AddQuadraticBezier(QuadraticBezierSegment* bezier)
|
public void AddQuadraticBezier(QuadraticBezierSegment* bezier)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1GeometrySink*, QuadraticBezierSegment*, void>)(lpVtbl[12]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), bezier);
|
||||||
((delegate* unmanaged<ID2D1GeometrySink*, QuadraticBezierSegment*, void>)(lpVtbl[12]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), bezier);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, QuadraticBezierSegment*, void>)(lpVtbl[12]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), bezier);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GeometrySink::AddQuadraticBeziers"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GeometrySink::AddQuadraticBeziers"]/*' />
|
||||||
@@ -213,11 +157,7 @@ public unsafe partial struct ID2D1GeometrySink : ID2D1GeometrySink.Interface, IN
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public void AddQuadraticBeziers(QuadraticBezierSegment* beziers, uint beziersCount)
|
public void AddQuadraticBeziers(QuadraticBezierSegment* beziers, uint beziersCount)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1GeometrySink*, QuadraticBezierSegment*, uint, void>)(lpVtbl[13]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), beziers, beziersCount);
|
||||||
((delegate* unmanaged<ID2D1GeometrySink*, QuadraticBezierSegment*, uint, void>)(lpVtbl[13]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), beziers, beziersCount);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, QuadraticBezierSegment*, uint, void>)(lpVtbl[13]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), beziers, beziersCount);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GeometrySink::AddArc"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GeometrySink::AddArc"]/*' />
|
||||||
@@ -225,11 +165,7 @@ public unsafe partial struct ID2D1GeometrySink : ID2D1GeometrySink.Interface, IN
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public void AddArc(ArcSegment* arc)
|
public void AddArc(ArcSegment* arc)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1GeometrySink*, ArcSegment*, void>)(lpVtbl[14]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), arc);
|
||||||
((delegate* unmanaged<ID2D1GeometrySink*, ArcSegment*, void>)(lpVtbl[14]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), arc);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1GeometrySink*, ArcSegment*, void>)(lpVtbl[14]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), arc);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1SimplifiedGeometrySink.Interface
|
public interface Interface : ID2D1SimplifiedGeometrySink.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1GradientMesh : ID2D1GradientMesh.Interface, IN
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GradientMesh));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GradientMesh));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GradientMesh));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1GradientMesh : ID2D1GradientMesh.Interface, IN
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GradientMesh*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GradientMesh*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1GradientMesh*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GradientMesh*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GradientMesh*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GradientMesh*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1GradientMesh : ID2D1GradientMesh.Interface, IN
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GradientMesh*, uint>)(lpVtbl[1]))((ID2D1GradientMesh*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GradientMesh*, uint>)(lpVtbl[1]))((ID2D1GradientMesh*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GradientMesh*, uint>)(lpVtbl[1]))((ID2D1GradientMesh*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1GradientMesh : ID2D1GradientMesh.Interface, IN
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GradientMesh*, uint>)(lpVtbl[2]))((ID2D1GradientMesh*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GradientMesh*, uint>)(lpVtbl[2]))((ID2D1GradientMesh*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GradientMesh*, uint>)(lpVtbl[2]))((ID2D1GradientMesh*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1GradientMesh : ID2D1GradientMesh.Interface, IN
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1GradientMesh*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1GradientMesh*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1GradientMesh*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1GradientMesh*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1GradientMesh*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1GradientMesh*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GradientMesh::GetPatchCount"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GradientMesh::GetPatchCount"]/*' />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1GradientMesh : ID2D1GradientMesh.Interface, IN
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public uint GetPatchCount()
|
public uint GetPatchCount()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GradientMesh*, uint>)(lpVtbl[4]))((ID2D1GradientMesh*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GradientMesh*, uint>)(lpVtbl[4]))((ID2D1GradientMesh*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GradientMesh*, uint>)(lpVtbl[4]))((ID2D1GradientMesh*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GradientMesh::GetPatches"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GradientMesh::GetPatches"]/*' />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1GradientMesh : ID2D1GradientMesh.Interface, IN
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult GetPatches(uint startIndex, GradientMeshPatch* patches, uint patchesCount)
|
public HResult GetPatches(uint startIndex, GradientMeshPatch* patches, uint patchesCount)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GradientMesh*, uint, GradientMeshPatch*, uint, int>)(lpVtbl[5]))((ID2D1GradientMesh*)Unsafe.AsPointer(ref this), startIndex, patches, patchesCount);
|
||||||
return ((delegate* unmanaged<ID2D1GradientMesh*, uint, GradientMeshPatch*, uint, int>)(lpVtbl[5]))((ID2D1GradientMesh*)Unsafe.AsPointer(ref this), startIndex, patches, patchesCount);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GradientMesh*, uint, GradientMeshPatch*, uint, int>)(lpVtbl[5]))((ID2D1GradientMesh*)Unsafe.AsPointer(ref this), startIndex, patches, patchesCount);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Resource.Interface
|
public interface Interface : ID2D1Resource.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1GradientStopCollection : ID2D1GradientStopColl
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GradientStopCollection));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GradientStopCollection));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GradientStopCollection));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1GradientStopCollection : ID2D1GradientStopColl
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GradientStopCollection*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1GradientStopCollection*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GradientStopCollection*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1GradientStopCollection : ID2D1GradientStopColl
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GradientStopCollection*, uint>)(lpVtbl[1]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GradientStopCollection*, uint>)(lpVtbl[1]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GradientStopCollection*, uint>)(lpVtbl[1]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1GradientStopCollection : ID2D1GradientStopColl
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GradientStopCollection*, uint>)(lpVtbl[2]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GradientStopCollection*, uint>)(lpVtbl[2]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GradientStopCollection*, uint>)(lpVtbl[2]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1GradientStopCollection : ID2D1GradientStopColl
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1GradientStopCollection*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1GradientStopCollection*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1GradientStopCollection*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GradientStopCollection::GetGradientStopCount"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GradientStopCollection::GetGradientStopCount"]/*' />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1GradientStopCollection : ID2D1GradientStopColl
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public uint GetGradientStopCount()
|
public uint GetGradientStopCount()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GradientStopCollection*, uint>)(lpVtbl[4]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GradientStopCollection*, uint>)(lpVtbl[4]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GradientStopCollection*, uint>)(lpVtbl[4]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GradientStopCollection::GetGradientStops"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GradientStopCollection::GetGradientStops"]/*' />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1GradientStopCollection : ID2D1GradientStopColl
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public void GetGradientStops(GradientStop* gradientStops, uint gradientStopsCount)
|
public void GetGradientStops(GradientStop* gradientStops, uint gradientStopsCount)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1GradientStopCollection*, GradientStop*, uint, void>)(lpVtbl[5]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount);
|
||||||
((delegate* unmanaged<ID2D1GradientStopCollection*, GradientStop*, uint, void>)(lpVtbl[5]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1GradientStopCollection*, GradientStop*, uint, void>)(lpVtbl[5]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GradientStopCollection::GetColorInterpolationGamma"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GradientStopCollection::GetColorInterpolationGamma"]/*' />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1GradientStopCollection : ID2D1GradientStopColl
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public Gamma GetColorInterpolationGamma()
|
public Gamma GetColorInterpolationGamma()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GradientStopCollection*, Gamma>)(lpVtbl[6]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GradientStopCollection*, Gamma>)(lpVtbl[6]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GradientStopCollection*, Gamma>)(lpVtbl[6]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GradientStopCollection::GetExtendMode"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GradientStopCollection::GetExtendMode"]/*' />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1GradientStopCollection : ID2D1GradientStopColl
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public ExtendMode GetExtendMode()
|
public ExtendMode GetExtendMode()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GradientStopCollection*, ExtendMode>)(lpVtbl[7]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GradientStopCollection*, ExtendMode>)(lpVtbl[7]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GradientStopCollection*, ExtendMode>)(lpVtbl[7]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Resource.Interface
|
public interface Interface : ID2D1Resource.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1GradientStopCollection1 : ID2D1GradientStopCol
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GradientStopCollection1));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GradientStopCollection1));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GradientStopCollection1));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1GradientStopCollection1 : ID2D1GradientStopCol
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GradientStopCollection1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1GradientStopCollection1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GradientStopCollection1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1GradientStopCollection1 : ID2D1GradientStopCol
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GradientStopCollection1*, uint>)(lpVtbl[1]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GradientStopCollection1*, uint>)(lpVtbl[1]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GradientStopCollection1*, uint>)(lpVtbl[1]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1GradientStopCollection1 : ID2D1GradientStopCol
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GradientStopCollection1*, uint>)(lpVtbl[2]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GradientStopCollection1*, uint>)(lpVtbl[2]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GradientStopCollection1*, uint>)(lpVtbl[2]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1GradientStopCollection1 : ID2D1GradientStopCol
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1GradientStopCollection1*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1GradientStopCollection1*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1GradientStopCollection1*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1GradientStopCollection.GetGradientStopCount" />
|
/// <inheritdoc cref="ID2D1GradientStopCollection.GetGradientStopCount" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1GradientStopCollection1 : ID2D1GradientStopCol
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public uint GetGradientStopCount()
|
public uint GetGradientStopCount()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GradientStopCollection1*, uint>)(lpVtbl[4]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GradientStopCollection1*, uint>)(lpVtbl[4]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GradientStopCollection1*, uint>)(lpVtbl[4]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1GradientStopCollection.GetGradientStops" />
|
/// <inheritdoc cref="ID2D1GradientStopCollection.GetGradientStops" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1GradientStopCollection1 : ID2D1GradientStopCol
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public void GetGradientStops(GradientStop* gradientStops, uint gradientStopsCount)
|
public void GetGradientStops(GradientStop* gradientStops, uint gradientStopsCount)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1GradientStopCollection1*, GradientStop*, uint, void>)(lpVtbl[5]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount);
|
||||||
((delegate* unmanaged<ID2D1GradientStopCollection1*, GradientStop*, uint, void>)(lpVtbl[5]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1GradientStopCollection1*, GradientStop*, uint, void>)(lpVtbl[5]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1GradientStopCollection.GetColorInterpolationGamma" />
|
/// <inheritdoc cref="ID2D1GradientStopCollection.GetColorInterpolationGamma" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1GradientStopCollection1 : ID2D1GradientStopCol
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public Gamma GetColorInterpolationGamma()
|
public Gamma GetColorInterpolationGamma()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GradientStopCollection1*, Gamma>)(lpVtbl[6]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GradientStopCollection1*, Gamma>)(lpVtbl[6]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GradientStopCollection1*, Gamma>)(lpVtbl[6]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1GradientStopCollection.GetExtendMode" />
|
/// <inheritdoc cref="ID2D1GradientStopCollection.GetExtendMode" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1GradientStopCollection1 : ID2D1GradientStopCol
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public ExtendMode GetExtendMode()
|
public ExtendMode GetExtendMode()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GradientStopCollection1*, ExtendMode>)(lpVtbl[7]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GradientStopCollection1*, ExtendMode>)(lpVtbl[7]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GradientStopCollection1*, ExtendMode>)(lpVtbl[7]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GradientStopCollection1::GetGradientStops1"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GradientStopCollection1::GetGradientStops1"]/*' />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1GradientStopCollection1 : ID2D1GradientStopCol
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public void GetGradientStops1(GradientStop* gradientStops, uint gradientStopsCount)
|
public void GetGradientStops1(GradientStop* gradientStops, uint gradientStopsCount)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1GradientStopCollection1*, GradientStop*, uint, void>)(lpVtbl[8]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount);
|
||||||
((delegate* unmanaged<ID2D1GradientStopCollection1*, GradientStop*, uint, void>)(lpVtbl[8]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1GradientStopCollection1*, GradientStop*, uint, void>)(lpVtbl[8]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GradientStopCollection1::GetPreInterpolationSpace"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GradientStopCollection1::GetPreInterpolationSpace"]/*' />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1GradientStopCollection1 : ID2D1GradientStopCol
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public ColorSpace GetPreInterpolationSpace()
|
public ColorSpace GetPreInterpolationSpace()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GradientStopCollection1*, ColorSpace>)(lpVtbl[9]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GradientStopCollection1*, ColorSpace>)(lpVtbl[9]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GradientStopCollection1*, ColorSpace>)(lpVtbl[9]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GradientStopCollection1::GetPostInterpolationSpace"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GradientStopCollection1::GetPostInterpolationSpace"]/*' />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1GradientStopCollection1 : ID2D1GradientStopCol
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public ColorSpace GetPostInterpolationSpace()
|
public ColorSpace GetPostInterpolationSpace()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GradientStopCollection1*, ColorSpace>)(lpVtbl[10]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GradientStopCollection1*, ColorSpace>)(lpVtbl[10]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GradientStopCollection1*, ColorSpace>)(lpVtbl[10]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GradientStopCollection1::GetBufferPrecision"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GradientStopCollection1::GetBufferPrecision"]/*' />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1GradientStopCollection1 : ID2D1GradientStopCol
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public BufferPrecision GetBufferPrecision()
|
public BufferPrecision GetBufferPrecision()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GradientStopCollection1*, BufferPrecision>)(lpVtbl[11]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GradientStopCollection1*, BufferPrecision>)(lpVtbl[11]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GradientStopCollection1*, BufferPrecision>)(lpVtbl[11]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GradientStopCollection1::GetColorInterpolationMode"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1GradientStopCollection1::GetColorInterpolationMode"]/*' />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1GradientStopCollection1 : ID2D1GradientStopCol
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public ColorInterpolationMode GetColorInterpolationMode()
|
public ColorInterpolationMode GetColorInterpolationMode()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1GradientStopCollection1*, ColorInterpolationMode>)(lpVtbl[12]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1GradientStopCollection1*, ColorInterpolationMode>)(lpVtbl[12]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1GradientStopCollection1*, ColorInterpolationMode>)(lpVtbl[12]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1GradientStopCollection.Interface
|
public interface Interface : ID2D1GradientStopCollection.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1HwndRenderTarget));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1HwndRenderTarget));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1HwndRenderTarget));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1HwndRenderTarget*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, uint>)(lpVtbl[1]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1HwndRenderTarget*, uint>)(lpVtbl[1]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, uint>)(lpVtbl[1]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, uint>)(lpVtbl[2]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1HwndRenderTarget*, uint>)(lpVtbl[2]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, uint>)(lpVtbl[2]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1HwndRenderTarget*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateBitmap" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateBitmap" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult CreateBitmap(System.Drawing.Size size, void* srcData, uint pitch, BitmapProperties* bitmapProperties, ID2D1Bitmap** bitmap)
|
public HResult CreateBitmap(System.Drawing.Size size, void* srcData, uint pitch, BitmapProperties* bitmapProperties, ID2D1Bitmap** bitmap)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, System.Drawing.Size, void*, uint, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[4]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), size, srcData, pitch, bitmapProperties, bitmap);
|
||||||
return ((delegate* unmanaged<ID2D1HwndRenderTarget*, System.Drawing.Size, void*, uint, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[4]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), size, srcData, pitch, bitmapProperties, bitmap);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, System.Drawing.Size, void*, uint, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[4]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), size, srcData, pitch, bitmapProperties, bitmap);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateBitmapFromWicBitmap" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateBitmapFromWicBitmap" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult CreateBitmapFromWicBitmap(Graphics.Imaging.IWICBitmapSource* wicBitmapSource, BitmapProperties* bitmapProperties, ID2D1Bitmap** bitmap)
|
public HResult CreateBitmapFromWicBitmap(Graphics.Imaging.IWICBitmapSource* wicBitmapSource, BitmapProperties* bitmapProperties, ID2D1Bitmap** bitmap)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, Graphics.Imaging.IWICBitmapSource*, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[5]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), wicBitmapSource, bitmapProperties, bitmap);
|
||||||
return ((delegate* unmanaged<ID2D1HwndRenderTarget*, Graphics.Imaging.IWICBitmapSource*, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[5]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), wicBitmapSource, bitmapProperties, bitmap);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, Graphics.Imaging.IWICBitmapSource*, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[5]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), wicBitmapSource, bitmapProperties, bitmap);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateSharedBitmap" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateSharedBitmap" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult CreateSharedBitmap(Guid* riid, void* data, BitmapProperties* bitmapProperties, ID2D1Bitmap** bitmap)
|
public HResult CreateSharedBitmap(Guid* riid, void* data, BitmapProperties* bitmapProperties, ID2D1Bitmap** bitmap)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, Guid*, void*, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[6]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), riid, data, bitmapProperties, bitmap);
|
||||||
return ((delegate* unmanaged<ID2D1HwndRenderTarget*, Guid*, void*, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[6]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), riid, data, bitmapProperties, bitmap);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, Guid*, void*, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[6]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), riid, data, bitmapProperties, bitmap);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateBitmapBrush" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateBitmapBrush" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public HResult CreateBitmapBrush(ID2D1Bitmap* bitmap, BitmapBrushProperties* bitmapBrushProperties, BrushProperties* brushProperties, ID2D1BitmapBrush** bitmapBrush)
|
public HResult CreateBitmapBrush(ID2D1Bitmap* bitmap, BitmapBrushProperties* bitmapBrushProperties, BrushProperties* brushProperties, ID2D1BitmapBrush** bitmapBrush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, ID2D1Bitmap*, BitmapBrushProperties*, BrushProperties*, ID2D1BitmapBrush**, int>)(lpVtbl[7]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), bitmap, bitmapBrushProperties, brushProperties, bitmapBrush);
|
||||||
return ((delegate* unmanaged<ID2D1HwndRenderTarget*, ID2D1Bitmap*, BitmapBrushProperties*, BrushProperties*, ID2D1BitmapBrush**, int>)(lpVtbl[7]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), bitmap, bitmapBrushProperties, brushProperties, bitmapBrush);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, ID2D1Bitmap*, BitmapBrushProperties*, BrushProperties*, ID2D1BitmapBrush**, int>)(lpVtbl[7]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), bitmap, bitmapBrushProperties, brushProperties, bitmapBrush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateSolidColorBrush" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateSolidColorBrush" />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CreateSolidColorBrush(Color4* color, BrushProperties* brushProperties, ID2D1SolidColorBrush** solidColorBrush)
|
public HResult CreateSolidColorBrush(Color4* color, BrushProperties* brushProperties, ID2D1SolidColorBrush** solidColorBrush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, Color4*, BrushProperties*, ID2D1SolidColorBrush**, int>)(lpVtbl[8]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
|
||||||
return ((delegate* unmanaged<ID2D1HwndRenderTarget*, Color4*, BrushProperties*, ID2D1SolidColorBrush**, int>)(lpVtbl[8]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, Color4*, BrushProperties*, ID2D1SolidColorBrush**, int>)(lpVtbl[8]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateGradientStopCollection" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateGradientStopCollection" />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult CreateGradientStopCollection(GradientStop* gradientStops, uint gradientStopsCount, Gamma colorInterpolationGamma, ExtendMode extendMode, ID2D1GradientStopCollection** gradientStopCollection)
|
public HResult CreateGradientStopCollection(GradientStop* gradientStops, uint gradientStopsCount, Gamma colorInterpolationGamma, ExtendMode extendMode, ID2D1GradientStopCollection** gradientStopCollection)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, GradientStop*, uint, Gamma, ExtendMode, ID2D1GradientStopCollection**, int>)(lpVtbl[9]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount, colorInterpolationGamma, extendMode, gradientStopCollection);
|
||||||
return ((delegate* unmanaged<ID2D1HwndRenderTarget*, GradientStop*, uint, Gamma, ExtendMode, ID2D1GradientStopCollection**, int>)(lpVtbl[9]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount, colorInterpolationGamma, extendMode, gradientStopCollection);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, GradientStop*, uint, Gamma, ExtendMode, ID2D1GradientStopCollection**, int>)(lpVtbl[9]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount, colorInterpolationGamma, extendMode, gradientStopCollection);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateLinearGradientBrush" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateLinearGradientBrush" />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult CreateLinearGradientBrush(LinearGradientBrushProperties* linearGradientBrushProperties, BrushProperties* brushProperties, ID2D1GradientStopCollection* gradientStopCollection, ID2D1LinearGradientBrush** linearGradientBrush)
|
public HResult CreateLinearGradientBrush(LinearGradientBrushProperties* linearGradientBrushProperties, BrushProperties* brushProperties, ID2D1GradientStopCollection* gradientStopCollection, ID2D1LinearGradientBrush** linearGradientBrush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, LinearGradientBrushProperties*, BrushProperties*, ID2D1GradientStopCollection*, ID2D1LinearGradientBrush**, int>)(lpVtbl[10]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), linearGradientBrushProperties, brushProperties, gradientStopCollection, linearGradientBrush);
|
||||||
return ((delegate* unmanaged<ID2D1HwndRenderTarget*, LinearGradientBrushProperties*, BrushProperties*, ID2D1GradientStopCollection*, ID2D1LinearGradientBrush**, int>)(lpVtbl[10]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), linearGradientBrushProperties, brushProperties, gradientStopCollection, linearGradientBrush);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, LinearGradientBrushProperties*, BrushProperties*, ID2D1GradientStopCollection*, ID2D1LinearGradientBrush**, int>)(lpVtbl[10]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), linearGradientBrushProperties, brushProperties, gradientStopCollection, linearGradientBrush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateRadialGradientBrush" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateRadialGradientBrush" />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult CreateRadialGradientBrush(RadialGradientBrushProperties* radialGradientBrushProperties, BrushProperties* brushProperties, ID2D1GradientStopCollection* gradientStopCollection, ID2D1RadialGradientBrush** radialGradientBrush)
|
public HResult CreateRadialGradientBrush(RadialGradientBrushProperties* radialGradientBrushProperties, BrushProperties* brushProperties, ID2D1GradientStopCollection* gradientStopCollection, ID2D1RadialGradientBrush** radialGradientBrush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, RadialGradientBrushProperties*, BrushProperties*, ID2D1GradientStopCollection*, ID2D1RadialGradientBrush**, int>)(lpVtbl[11]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), radialGradientBrushProperties, brushProperties, gradientStopCollection, radialGradientBrush);
|
||||||
return ((delegate* unmanaged<ID2D1HwndRenderTarget*, RadialGradientBrushProperties*, BrushProperties*, ID2D1GradientStopCollection*, ID2D1RadialGradientBrush**, int>)(lpVtbl[11]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), radialGradientBrushProperties, brushProperties, gradientStopCollection, radialGradientBrush);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, RadialGradientBrushProperties*, BrushProperties*, ID2D1GradientStopCollection*, ID2D1RadialGradientBrush**, int>)(lpVtbl[11]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), radialGradientBrushProperties, brushProperties, gradientStopCollection, radialGradientBrush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateCompatibleRenderTarget" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateCompatibleRenderTarget" />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public HResult CreateCompatibleRenderTarget(System.Drawing.SizeF* desiredSize, System.Drawing.Size* desiredPixelSize, Common.PixelFormat* desiredFormat, CompatibleRenderTargetOptions options, ID2D1BitmapRenderTarget** bitmapRenderTarget)
|
public HResult CreateCompatibleRenderTarget(System.Drawing.SizeF* desiredSize, System.Drawing.Size* desiredPixelSize, Common.PixelFormat* desiredFormat, CompatibleRenderTargetOptions options, ID2D1BitmapRenderTarget** bitmapRenderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, System.Drawing.SizeF*, System.Drawing.Size*, Common.PixelFormat*, CompatibleRenderTargetOptions, ID2D1BitmapRenderTarget**, int>)(lpVtbl[12]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), desiredSize, desiredPixelSize, desiredFormat, options, bitmapRenderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1HwndRenderTarget*, System.Drawing.SizeF*, System.Drawing.Size*, Common.PixelFormat*, CompatibleRenderTargetOptions, ID2D1BitmapRenderTarget**, int>)(lpVtbl[12]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), desiredSize, desiredPixelSize, desiredFormat, options, bitmapRenderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, System.Drawing.SizeF*, System.Drawing.Size*, Common.PixelFormat*, CompatibleRenderTargetOptions, ID2D1BitmapRenderTarget**, int>)(lpVtbl[12]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), desiredSize, desiredPixelSize, desiredFormat, options, bitmapRenderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateLayer" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateLayer" />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult CreateLayer(System.Drawing.SizeF* size, ID2D1Layer** layer)
|
public HResult CreateLayer(System.Drawing.SizeF* size, ID2D1Layer** layer)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, System.Drawing.SizeF*, ID2D1Layer**, int>)(lpVtbl[13]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), size, layer);
|
||||||
return ((delegate* unmanaged<ID2D1HwndRenderTarget*, System.Drawing.SizeF*, ID2D1Layer**, int>)(lpVtbl[13]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), size, layer);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, System.Drawing.SizeF*, ID2D1Layer**, int>)(lpVtbl[13]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), size, layer);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.CreateMesh" />
|
/// <inheritdoc cref="ID2D1RenderTarget.CreateMesh" />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public HResult CreateMesh(ID2D1Mesh** mesh)
|
public HResult CreateMesh(ID2D1Mesh** mesh)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, ID2D1Mesh**, int>)(lpVtbl[14]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), mesh);
|
||||||
return ((delegate* unmanaged<ID2D1HwndRenderTarget*, ID2D1Mesh**, int>)(lpVtbl[14]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), mesh);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, ID2D1Mesh**, int>)(lpVtbl[14]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), mesh);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.DrawLine" />
|
/// <inheritdoc cref="ID2D1RenderTarget.DrawLine" />
|
||||||
@@ -235,11 +171,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public void DrawLine(Vector2 point0, Vector2 point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public void DrawLine(Vector2 point0, Vector2 point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, Vector2, Vector2, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[15]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
|
||||||
((delegate* unmanaged<ID2D1HwndRenderTarget*, Vector2, Vector2, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[15]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, Vector2, Vector2, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[15]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.DrawRectangle" />
|
/// <inheritdoc cref="ID2D1RenderTarget.DrawRectangle" />
|
||||||
@@ -247,11 +179,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(16)]
|
[VtblIndex(16)]
|
||||||
public void DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public void DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, Win32.Numerics.RectF*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[16]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
|
||||||
((delegate* unmanaged<ID2D1HwndRenderTarget*, Win32.Numerics.RectF*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[16]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, Win32.Numerics.RectF*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[16]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.FillRectangle" />
|
/// <inheritdoc cref="ID2D1RenderTarget.FillRectangle" />
|
||||||
@@ -259,11 +187,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(17)]
|
[VtblIndex(17)]
|
||||||
public void FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush)
|
public void FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, Win32.Numerics.RectF*, ID2D1Brush*, void>)(lpVtbl[17]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), rect, brush);
|
||||||
((delegate* unmanaged<ID2D1HwndRenderTarget*, Win32.Numerics.RectF*, ID2D1Brush*, void>)(lpVtbl[17]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), rect, brush);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, Win32.Numerics.RectF*, ID2D1Brush*, void>)(lpVtbl[17]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), rect, brush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.DrawRoundedRectangle" />
|
/// <inheritdoc cref="ID2D1RenderTarget.DrawRoundedRectangle" />
|
||||||
@@ -271,11 +195,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(18)]
|
[VtblIndex(18)]
|
||||||
public void DrawRoundedRectangle(RoundedRect* roundedRect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public void DrawRoundedRectangle(RoundedRect* roundedRect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, RoundedRect*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[18]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), roundedRect, brush, strokeWidth, strokeStyle);
|
||||||
((delegate* unmanaged<ID2D1HwndRenderTarget*, RoundedRect*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[18]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), roundedRect, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, RoundedRect*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[18]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), roundedRect, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.FillRoundedRectangle" />
|
/// <inheritdoc cref="ID2D1RenderTarget.FillRoundedRectangle" />
|
||||||
@@ -283,11 +203,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(19)]
|
[VtblIndex(19)]
|
||||||
public void FillRoundedRectangle(RoundedRect* roundedRect, ID2D1Brush* brush)
|
public void FillRoundedRectangle(RoundedRect* roundedRect, ID2D1Brush* brush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, RoundedRect*, ID2D1Brush*, void>)(lpVtbl[19]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), roundedRect, brush);
|
||||||
((delegate* unmanaged<ID2D1HwndRenderTarget*, RoundedRect*, ID2D1Brush*, void>)(lpVtbl[19]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), roundedRect, brush);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, RoundedRect*, ID2D1Brush*, void>)(lpVtbl[19]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), roundedRect, brush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.DrawEllipse" />
|
/// <inheritdoc cref="ID2D1RenderTarget.DrawEllipse" />
|
||||||
@@ -295,11 +211,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(20)]
|
[VtblIndex(20)]
|
||||||
public void DrawEllipse(Ellipse* ellipse, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public void DrawEllipse(Ellipse* ellipse, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, Ellipse*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[20]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), ellipse, brush, strokeWidth, strokeStyle);
|
||||||
((delegate* unmanaged<ID2D1HwndRenderTarget*, Ellipse*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[20]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), ellipse, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, Ellipse*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[20]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), ellipse, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.FillEllipse" />
|
/// <inheritdoc cref="ID2D1RenderTarget.FillEllipse" />
|
||||||
@@ -307,11 +219,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(21)]
|
[VtblIndex(21)]
|
||||||
public void FillEllipse(Ellipse* ellipse, ID2D1Brush* brush)
|
public void FillEllipse(Ellipse* ellipse, ID2D1Brush* brush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, Ellipse*, ID2D1Brush*, void>)(lpVtbl[21]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), ellipse, brush);
|
||||||
((delegate* unmanaged<ID2D1HwndRenderTarget*, Ellipse*, ID2D1Brush*, void>)(lpVtbl[21]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), ellipse, brush);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, Ellipse*, ID2D1Brush*, void>)(lpVtbl[21]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), ellipse, brush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.DrawGeometry" />
|
/// <inheritdoc cref="ID2D1RenderTarget.DrawGeometry" />
|
||||||
@@ -319,11 +227,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(22)]
|
[VtblIndex(22)]
|
||||||
public void DrawGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public void DrawGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, ID2D1Geometry*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[22]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle);
|
||||||
((delegate* unmanaged<ID2D1HwndRenderTarget*, ID2D1Geometry*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[22]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, ID2D1Geometry*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[22]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.FillGeometry" />
|
/// <inheritdoc cref="ID2D1RenderTarget.FillGeometry" />
|
||||||
@@ -331,11 +235,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(23)]
|
[VtblIndex(23)]
|
||||||
public void FillGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, ID2D1Brush* opacityBrush)
|
public void FillGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, ID2D1Brush* opacityBrush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, ID2D1Geometry*, ID2D1Brush*, ID2D1Brush*, void>)(lpVtbl[23]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush);
|
||||||
((delegate* unmanaged<ID2D1HwndRenderTarget*, ID2D1Geometry*, ID2D1Brush*, ID2D1Brush*, void>)(lpVtbl[23]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, ID2D1Geometry*, ID2D1Brush*, ID2D1Brush*, void>)(lpVtbl[23]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.FillMesh" />
|
/// <inheritdoc cref="ID2D1RenderTarget.FillMesh" />
|
||||||
@@ -343,11 +243,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(24)]
|
[VtblIndex(24)]
|
||||||
public void FillMesh(ID2D1Mesh* mesh, ID2D1Brush* brush)
|
public void FillMesh(ID2D1Mesh* mesh, ID2D1Brush* brush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, ID2D1Mesh*, ID2D1Brush*, void>)(lpVtbl[24]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), mesh, brush);
|
||||||
((delegate* unmanaged<ID2D1HwndRenderTarget*, ID2D1Mesh*, ID2D1Brush*, void>)(lpVtbl[24]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), mesh, brush);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, ID2D1Mesh*, ID2D1Brush*, void>)(lpVtbl[24]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), mesh, brush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.FillOpacityMask" />
|
/// <inheritdoc cref="ID2D1RenderTarget.FillOpacityMask" />
|
||||||
@@ -355,11 +251,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(25)]
|
[VtblIndex(25)]
|
||||||
public void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, OpacityMaskContent content, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
|
public void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, OpacityMaskContent content, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, ID2D1Bitmap*, ID2D1Brush*, OpacityMaskContent, Win32.Numerics.RectF*, Win32.Numerics.RectF*, void>)(lpVtbl[25]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), opacityMask, brush, content, destinationRectangle, sourceRectangle);
|
||||||
((delegate* unmanaged<ID2D1HwndRenderTarget*, ID2D1Bitmap*, ID2D1Brush*, OpacityMaskContent, Win32.Numerics.RectF*, Win32.Numerics.RectF*, void>)(lpVtbl[25]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), opacityMask, brush, content, destinationRectangle, sourceRectangle);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, ID2D1Bitmap*, ID2D1Brush*, OpacityMaskContent, Win32.Numerics.RectF*, Win32.Numerics.RectF*, void>)(lpVtbl[25]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), opacityMask, brush, content, destinationRectangle, sourceRectangle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.DrawBitmap" />
|
/// <inheritdoc cref="ID2D1RenderTarget.DrawBitmap" />
|
||||||
@@ -367,11 +259,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(26)]
|
[VtblIndex(26)]
|
||||||
public void DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, BitmapInterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle)
|
public void DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, BitmapInterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, ID2D1Bitmap*, Win32.Numerics.RectF*, float, BitmapInterpolationMode, Win32.Numerics.RectF*, void>)(lpVtbl[26]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle);
|
||||||
((delegate* unmanaged<ID2D1HwndRenderTarget*, ID2D1Bitmap*, Win32.Numerics.RectF*, float, BitmapInterpolationMode, Win32.Numerics.RectF*, void>)(lpVtbl[26]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, ID2D1Bitmap*, Win32.Numerics.RectF*, float, BitmapInterpolationMode, Win32.Numerics.RectF*, void>)(lpVtbl[26]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.DrawText" />
|
/// <inheritdoc cref="ID2D1RenderTarget.DrawText" />
|
||||||
@@ -379,11 +267,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(27)]
|
[VtblIndex(27)]
|
||||||
public void DrawText(ushort* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
|
public void DrawText(ushort* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, ushort*, uint, Graphics.DirectWrite.IDWriteTextFormat*, Win32.Numerics.RectF*, ID2D1Brush*, DrawTextOptions, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[27]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
|
||||||
((delegate* unmanaged<ID2D1HwndRenderTarget*, ushort*, uint, Graphics.DirectWrite.IDWriteTextFormat*, Win32.Numerics.RectF*, ID2D1Brush*, DrawTextOptions, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[27]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, ushort*, uint, Graphics.DirectWrite.IDWriteTextFormat*, Win32.Numerics.RectF*, ID2D1Brush*, DrawTextOptions, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[27]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.DrawTextLayout" />
|
/// <inheritdoc cref="ID2D1RenderTarget.DrawTextLayout" />
|
||||||
@@ -391,11 +275,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(28)]
|
[VtblIndex(28)]
|
||||||
public void DrawTextLayout(Vector2 origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, DrawTextOptions options)
|
public void DrawTextLayout(Vector2 origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, DrawTextOptions options)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, Vector2, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, DrawTextOptions, void>)(lpVtbl[28]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options);
|
||||||
((delegate* unmanaged<ID2D1HwndRenderTarget*, Vector2, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, DrawTextOptions, void>)(lpVtbl[28]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, Vector2, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, DrawTextOptions, void>)(lpVtbl[28]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.DrawGlyphRun" />
|
/// <inheritdoc cref="ID2D1RenderTarget.DrawGlyphRun" />
|
||||||
@@ -403,11 +283,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(29)]
|
[VtblIndex(29)]
|
||||||
public void DrawGlyphRun(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode)
|
public void DrawGlyphRun(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, Vector2, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[29]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode);
|
||||||
((delegate* unmanaged<ID2D1HwndRenderTarget*, Vector2, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[29]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, Vector2, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[29]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.SetTransform" />
|
/// <inheritdoc cref="ID2D1RenderTarget.SetTransform" />
|
||||||
@@ -415,11 +291,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(30)]
|
[VtblIndex(30)]
|
||||||
public void SetTransform(Matrix3x2* transform)
|
public void SetTransform(Matrix3x2* transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, Matrix3x2*, void>)(lpVtbl[30]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), transform);
|
||||||
((delegate* unmanaged<ID2D1HwndRenderTarget*, Matrix3x2*, void>)(lpVtbl[30]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, Matrix3x2*, void>)(lpVtbl[30]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.GetTransform" />
|
/// <inheritdoc cref="ID2D1RenderTarget.GetTransform" />
|
||||||
@@ -427,11 +299,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(31)]
|
[VtblIndex(31)]
|
||||||
public void GetTransform(Matrix3x2* transform)
|
public void GetTransform(Matrix3x2* transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, Matrix3x2*, void>)(lpVtbl[31]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), transform);
|
||||||
((delegate* unmanaged<ID2D1HwndRenderTarget*, Matrix3x2*, void>)(lpVtbl[31]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, Matrix3x2*, void>)(lpVtbl[31]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.SetAntialiasMode" />
|
/// <inheritdoc cref="ID2D1RenderTarget.SetAntialiasMode" />
|
||||||
@@ -439,11 +307,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(32)]
|
[VtblIndex(32)]
|
||||||
public void SetAntialiasMode(AntialiasMode antialiasMode)
|
public void SetAntialiasMode(AntialiasMode antialiasMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, AntialiasMode, void>)(lpVtbl[32]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), antialiasMode);
|
||||||
((delegate* unmanaged<ID2D1HwndRenderTarget*, AntialiasMode, void>)(lpVtbl[32]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), antialiasMode);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, AntialiasMode, void>)(lpVtbl[32]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), antialiasMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.GetAntialiasMode" />
|
/// <inheritdoc cref="ID2D1RenderTarget.GetAntialiasMode" />
|
||||||
@@ -451,11 +315,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(33)]
|
[VtblIndex(33)]
|
||||||
public AntialiasMode GetAntialiasMode()
|
public AntialiasMode GetAntialiasMode()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, AntialiasMode>)(lpVtbl[33]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1HwndRenderTarget*, AntialiasMode>)(lpVtbl[33]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, AntialiasMode>)(lpVtbl[33]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.SetTextAntialiasMode" />
|
/// <inheritdoc cref="ID2D1RenderTarget.SetTextAntialiasMode" />
|
||||||
@@ -463,11 +323,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(34)]
|
[VtblIndex(34)]
|
||||||
public void SetTextAntialiasMode(TextAntialiasMode textAntialiasMode)
|
public void SetTextAntialiasMode(TextAntialiasMode textAntialiasMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, TextAntialiasMode, void>)(lpVtbl[34]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), textAntialiasMode);
|
||||||
((delegate* unmanaged<ID2D1HwndRenderTarget*, TextAntialiasMode, void>)(lpVtbl[34]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), textAntialiasMode);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, TextAntialiasMode, void>)(lpVtbl[34]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), textAntialiasMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.GetTextAntialiasMode" />
|
/// <inheritdoc cref="ID2D1RenderTarget.GetTextAntialiasMode" />
|
||||||
@@ -475,11 +331,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(35)]
|
[VtblIndex(35)]
|
||||||
public TextAntialiasMode GetTextAntialiasMode()
|
public TextAntialiasMode GetTextAntialiasMode()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, TextAntialiasMode>)(lpVtbl[35]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1HwndRenderTarget*, TextAntialiasMode>)(lpVtbl[35]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, TextAntialiasMode>)(lpVtbl[35]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.SetTextRenderingParams" />
|
/// <inheritdoc cref="ID2D1RenderTarget.SetTextRenderingParams" />
|
||||||
@@ -487,11 +339,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(36)]
|
[VtblIndex(36)]
|
||||||
public void SetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams)
|
public void SetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, Graphics.DirectWrite.IDWriteRenderingParams*, void>)(lpVtbl[36]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), textRenderingParams);
|
||||||
((delegate* unmanaged<ID2D1HwndRenderTarget*, Graphics.DirectWrite.IDWriteRenderingParams*, void>)(lpVtbl[36]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, Graphics.DirectWrite.IDWriteRenderingParams*, void>)(lpVtbl[36]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.GetTextRenderingParams" />
|
/// <inheritdoc cref="ID2D1RenderTarget.GetTextRenderingParams" />
|
||||||
@@ -499,11 +347,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(37)]
|
[VtblIndex(37)]
|
||||||
public void GetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams** textRenderingParams)
|
public void GetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams** textRenderingParams)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, Graphics.DirectWrite.IDWriteRenderingParams**, void>)(lpVtbl[37]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), textRenderingParams);
|
||||||
((delegate* unmanaged<ID2D1HwndRenderTarget*, Graphics.DirectWrite.IDWriteRenderingParams**, void>)(lpVtbl[37]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, Graphics.DirectWrite.IDWriteRenderingParams**, void>)(lpVtbl[37]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.SetTags" />
|
/// <inheritdoc cref="ID2D1RenderTarget.SetTags" />
|
||||||
@@ -511,11 +355,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(38)]
|
[VtblIndex(38)]
|
||||||
public void SetTags(ulong tag1, ulong tag2)
|
public void SetTags(ulong tag1, ulong tag2)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, ulong, ulong, void>)(lpVtbl[38]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
||||||
((delegate* unmanaged<ID2D1HwndRenderTarget*, ulong, ulong, void>)(lpVtbl[38]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, ulong, ulong, void>)(lpVtbl[38]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.GetTags" />
|
/// <inheritdoc cref="ID2D1RenderTarget.GetTags" />
|
||||||
@@ -523,11 +363,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(39)]
|
[VtblIndex(39)]
|
||||||
public void GetTags(ulong* tag1, ulong* tag2)
|
public void GetTags(ulong* tag1, ulong* tag2)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, ulong*, ulong*, void>)(lpVtbl[39]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
||||||
((delegate* unmanaged<ID2D1HwndRenderTarget*, ulong*, ulong*, void>)(lpVtbl[39]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, ulong*, ulong*, void>)(lpVtbl[39]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.PushLayer" />
|
/// <inheritdoc cref="ID2D1RenderTarget.PushLayer" />
|
||||||
@@ -535,11 +371,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(40)]
|
[VtblIndex(40)]
|
||||||
public void PushLayer(LayerParameters* layerParameters, ID2D1Layer* layer)
|
public void PushLayer(LayerParameters* layerParameters, ID2D1Layer* layer)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, LayerParameters*, ID2D1Layer*, void>)(lpVtbl[40]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), layerParameters, layer);
|
||||||
((delegate* unmanaged<ID2D1HwndRenderTarget*, LayerParameters*, ID2D1Layer*, void>)(lpVtbl[40]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), layerParameters, layer);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, LayerParameters*, ID2D1Layer*, void>)(lpVtbl[40]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), layerParameters, layer);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.PopLayer" />
|
/// <inheritdoc cref="ID2D1RenderTarget.PopLayer" />
|
||||||
@@ -547,11 +379,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(41)]
|
[VtblIndex(41)]
|
||||||
public void PopLayer()
|
public void PopLayer()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, void>)(lpVtbl[41]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
((delegate* unmanaged<ID2D1HwndRenderTarget*, void>)(lpVtbl[41]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, void>)(lpVtbl[41]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.Flush" />
|
/// <inheritdoc cref="ID2D1RenderTarget.Flush" />
|
||||||
@@ -559,11 +387,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(42)]
|
[VtblIndex(42)]
|
||||||
public HResult Flush(ulong* tag1, ulong* tag2)
|
public HResult Flush(ulong* tag1, ulong* tag2)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, ulong*, ulong*, int>)(lpVtbl[42]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
||||||
return ((delegate* unmanaged<ID2D1HwndRenderTarget*, ulong*, ulong*, int>)(lpVtbl[42]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, ulong*, ulong*, int>)(lpVtbl[42]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.SaveDrawingState" />
|
/// <inheritdoc cref="ID2D1RenderTarget.SaveDrawingState" />
|
||||||
@@ -571,11 +395,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(43)]
|
[VtblIndex(43)]
|
||||||
public void SaveDrawingState(ID2D1DrawingStateBlock* drawingStateBlock)
|
public void SaveDrawingState(ID2D1DrawingStateBlock* drawingStateBlock)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, ID2D1DrawingStateBlock*, void>)(lpVtbl[43]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), drawingStateBlock);
|
||||||
((delegate* unmanaged<ID2D1HwndRenderTarget*, ID2D1DrawingStateBlock*, void>)(lpVtbl[43]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), drawingStateBlock);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, ID2D1DrawingStateBlock*, void>)(lpVtbl[43]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), drawingStateBlock);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.RestoreDrawingState" />
|
/// <inheritdoc cref="ID2D1RenderTarget.RestoreDrawingState" />
|
||||||
@@ -583,11 +403,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(44)]
|
[VtblIndex(44)]
|
||||||
public void RestoreDrawingState(ID2D1DrawingStateBlock* drawingStateBlock)
|
public void RestoreDrawingState(ID2D1DrawingStateBlock* drawingStateBlock)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, ID2D1DrawingStateBlock*, void>)(lpVtbl[44]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), drawingStateBlock);
|
||||||
((delegate* unmanaged<ID2D1HwndRenderTarget*, ID2D1DrawingStateBlock*, void>)(lpVtbl[44]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), drawingStateBlock);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, ID2D1DrawingStateBlock*, void>)(lpVtbl[44]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), drawingStateBlock);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.PushAxisAlignedClip" />
|
/// <inheritdoc cref="ID2D1RenderTarget.PushAxisAlignedClip" />
|
||||||
@@ -595,11 +411,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(45)]
|
[VtblIndex(45)]
|
||||||
public void PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode)
|
public void PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, Win32.Numerics.RectF*, AntialiasMode, void>)(lpVtbl[45]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
|
||||||
((delegate* unmanaged<ID2D1HwndRenderTarget*, Win32.Numerics.RectF*, AntialiasMode, void>)(lpVtbl[45]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, Win32.Numerics.RectF*, AntialiasMode, void>)(lpVtbl[45]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.PopAxisAlignedClip" />
|
/// <inheritdoc cref="ID2D1RenderTarget.PopAxisAlignedClip" />
|
||||||
@@ -607,11 +419,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(46)]
|
[VtblIndex(46)]
|
||||||
public void PopAxisAlignedClip()
|
public void PopAxisAlignedClip()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, void>)(lpVtbl[46]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
((delegate* unmanaged<ID2D1HwndRenderTarget*, void>)(lpVtbl[46]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, void>)(lpVtbl[46]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.Clear" />
|
/// <inheritdoc cref="ID2D1RenderTarget.Clear" />
|
||||||
@@ -619,11 +427,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(47)]
|
[VtblIndex(47)]
|
||||||
public void Clear(Color4* clearColor)
|
public void Clear(Color4* clearColor)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, Color4*, void>)(lpVtbl[47]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), clearColor);
|
||||||
((delegate* unmanaged<ID2D1HwndRenderTarget*, Color4*, void>)(lpVtbl[47]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), clearColor);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, Color4*, void>)(lpVtbl[47]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), clearColor);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.BeginDraw" />
|
/// <inheritdoc cref="ID2D1RenderTarget.BeginDraw" />
|
||||||
@@ -631,11 +435,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(48)]
|
[VtblIndex(48)]
|
||||||
public void BeginDraw()
|
public void BeginDraw()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, void>)(lpVtbl[48]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
((delegate* unmanaged<ID2D1HwndRenderTarget*, void>)(lpVtbl[48]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, void>)(lpVtbl[48]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.EndDraw" />
|
/// <inheritdoc cref="ID2D1RenderTarget.EndDraw" />
|
||||||
@@ -643,11 +443,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(49)]
|
[VtblIndex(49)]
|
||||||
public HResult EndDraw(ulong* tag1 = null, ulong* tag2 = null)
|
public HResult EndDraw(ulong* tag1 = null, ulong* tag2 = null)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, ulong*, ulong*, int>)(lpVtbl[49]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
||||||
return ((delegate* unmanaged<ID2D1HwndRenderTarget*, ulong*, ulong*, int>)(lpVtbl[49]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, ulong*, ulong*, int>)(lpVtbl[49]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.GetPixelFormat" />
|
/// <inheritdoc cref="ID2D1RenderTarget.GetPixelFormat" />
|
||||||
@@ -656,11 +452,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
public Common.PixelFormat GetPixelFormat()
|
public Common.PixelFormat GetPixelFormat()
|
||||||
{
|
{
|
||||||
Common.PixelFormat result;
|
Common.PixelFormat result;
|
||||||
#if NET6_0_OR_GREATER
|
return *((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, Common.PixelFormat*, Common.PixelFormat*>)(lpVtbl[50]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), &result);
|
||||||
return *((delegate* unmanaged<ID2D1HwndRenderTarget*, Common.PixelFormat*, Common.PixelFormat*>)(lpVtbl[50]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#else
|
|
||||||
return *((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, Common.PixelFormat*, Common.PixelFormat*>)(lpVtbl[50]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.SetDpi" />
|
/// <inheritdoc cref="ID2D1RenderTarget.SetDpi" />
|
||||||
@@ -668,11 +460,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(51)]
|
[VtblIndex(51)]
|
||||||
public void SetDpi(float dpiX, float dpiY)
|
public void SetDpi(float dpiX, float dpiY)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, float, float, void>)(lpVtbl[51]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
||||||
((delegate* unmanaged<ID2D1HwndRenderTarget*, float, float, void>)(lpVtbl[51]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, float, float, void>)(lpVtbl[51]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.GetDpi" />
|
/// <inheritdoc cref="ID2D1RenderTarget.GetDpi" />
|
||||||
@@ -680,11 +468,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(52)]
|
[VtblIndex(52)]
|
||||||
public void GetDpi(float* dpiX, float* dpiY)
|
public void GetDpi(float* dpiX, float* dpiY)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, float*, float*, void>)(lpVtbl[52]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
||||||
((delegate* unmanaged<ID2D1HwndRenderTarget*, float*, float*, void>)(lpVtbl[52]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, float*, float*, void>)(lpVtbl[52]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.GetSize" />
|
/// <inheritdoc cref="ID2D1RenderTarget.GetSize" />
|
||||||
@@ -693,11 +477,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
public System.Drawing.SizeF GetSize()
|
public System.Drawing.SizeF GetSize()
|
||||||
{
|
{
|
||||||
System.Drawing.SizeF result;
|
System.Drawing.SizeF result;
|
||||||
#if NET6_0_OR_GREATER
|
return *((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, System.Drawing.SizeF*, System.Drawing.SizeF*>)(lpVtbl[53]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), &result);
|
||||||
return *((delegate* unmanaged<ID2D1HwndRenderTarget*, System.Drawing.SizeF*, System.Drawing.SizeF*>)(lpVtbl[53]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#else
|
|
||||||
return *((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, System.Drawing.SizeF*, System.Drawing.SizeF*>)(lpVtbl[53]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.GetPixelSize" />
|
/// <inheritdoc cref="ID2D1RenderTarget.GetPixelSize" />
|
||||||
@@ -706,11 +486,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
public System.Drawing.Size GetPixelSize()
|
public System.Drawing.Size GetPixelSize()
|
||||||
{
|
{
|
||||||
System.Drawing.Size result;
|
System.Drawing.Size result;
|
||||||
#if NET6_0_OR_GREATER
|
return *((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, System.Drawing.Size*, System.Drawing.Size*>)(lpVtbl[54]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), &result);
|
||||||
return *((delegate* unmanaged<ID2D1HwndRenderTarget*, System.Drawing.Size*, System.Drawing.Size*>)(lpVtbl[54]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#else
|
|
||||||
return *((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, System.Drawing.Size*, System.Drawing.Size*>)(lpVtbl[54]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.GetMaximumBitmapSize" />
|
/// <inheritdoc cref="ID2D1RenderTarget.GetMaximumBitmapSize" />
|
||||||
@@ -718,11 +494,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(55)]
|
[VtblIndex(55)]
|
||||||
public uint GetMaximumBitmapSize()
|
public uint GetMaximumBitmapSize()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, uint>)(lpVtbl[55]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1HwndRenderTarget*, uint>)(lpVtbl[55]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, uint>)(lpVtbl[55]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1RenderTarget.IsSupported" />
|
/// <inheritdoc cref="ID2D1RenderTarget.IsSupported" />
|
||||||
@@ -730,11 +502,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(56)]
|
[VtblIndex(56)]
|
||||||
public Bool32 IsSupported(RenderTargetProperties* renderTargetProperties)
|
public Bool32 IsSupported(RenderTargetProperties* renderTargetProperties)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, RenderTargetProperties*, Bool32>)(lpVtbl[56]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), renderTargetProperties);
|
||||||
return ((delegate* unmanaged<ID2D1HwndRenderTarget*, RenderTargetProperties*, Bool32>)(lpVtbl[56]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), renderTargetProperties);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, RenderTargetProperties*, Bool32>)(lpVtbl[56]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), renderTargetProperties);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1HwndRenderTarget::CheckWindowState"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1HwndRenderTarget::CheckWindowState"]/*' />
|
||||||
@@ -742,11 +510,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(57)]
|
[VtblIndex(57)]
|
||||||
public WindowState CheckWindowState()
|
public WindowState CheckWindowState()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, WindowState>)(lpVtbl[57]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1HwndRenderTarget*, WindowState>)(lpVtbl[57]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, WindowState>)(lpVtbl[57]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1HwndRenderTarget::Resize"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1HwndRenderTarget::Resize"]/*' />
|
||||||
@@ -754,11 +518,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(58)]
|
[VtblIndex(58)]
|
||||||
public HResult Resize(System.Drawing.Size* pixelSize)
|
public HResult Resize(System.Drawing.Size* pixelSize)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, System.Drawing.Size*, int>)(lpVtbl[58]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), pixelSize);
|
||||||
return ((delegate* unmanaged<ID2D1HwndRenderTarget*, System.Drawing.Size*, int>)(lpVtbl[58]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), pixelSize);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, System.Drawing.Size*, int>)(lpVtbl[58]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), pixelSize);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1HwndRenderTarget::GetHwnd"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1HwndRenderTarget::GetHwnd"]/*' />
|
||||||
@@ -766,11 +526,7 @@ public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Inter
|
|||||||
[VtblIndex(59)]
|
[VtblIndex(59)]
|
||||||
public nint GetHwnd()
|
public nint GetHwnd()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1HwndRenderTarget*, nint>)(lpVtbl[59]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1HwndRenderTarget*, nint>)(lpVtbl[59]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1HwndRenderTarget*, nint>)(lpVtbl[59]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1RenderTarget.Interface
|
public interface Interface : ID2D1RenderTarget.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1Image : ID2D1Image.Interface, INativeGuid
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Image));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Image));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Image));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1Image : ID2D1Image.Interface, INativeGuid
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Image*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Image*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1Image*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Image*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Image*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Image*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1Image : ID2D1Image.Interface, INativeGuid
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Image*, uint>)(lpVtbl[1]))((ID2D1Image*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Image*, uint>)(lpVtbl[1]))((ID2D1Image*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Image*, uint>)(lpVtbl[1]))((ID2D1Image*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1Image : ID2D1Image.Interface, INativeGuid
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Image*, uint>)(lpVtbl[2]))((ID2D1Image*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Image*, uint>)(lpVtbl[2]))((ID2D1Image*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Image*, uint>)(lpVtbl[2]))((ID2D1Image*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1Image : ID2D1Image.Interface, INativeGuid
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Image*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Image*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1Image*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Image*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Image*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Image*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Resource.Interface
|
public interface Interface : ID2D1Resource.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1ImageBrush : ID2D1ImageBrush.Interface, INativ
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ImageBrush));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ImageBrush));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ImageBrush));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1ImageBrush : ID2D1ImageBrush.Interface, INativ
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ImageBrush*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1ImageBrush*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ImageBrush*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1ImageBrush : ID2D1ImageBrush.Interface, INativ
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ImageBrush*, uint>)(lpVtbl[1]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1ImageBrush*, uint>)(lpVtbl[1]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ImageBrush*, uint>)(lpVtbl[1]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1ImageBrush : ID2D1ImageBrush.Interface, INativ
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ImageBrush*, uint>)(lpVtbl[2]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1ImageBrush*, uint>)(lpVtbl[2]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ImageBrush*, uint>)(lpVtbl[2]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1ImageBrush : ID2D1ImageBrush.Interface, INativ
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1ImageBrush*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1ImageBrush*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1ImageBrush*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Brush.SetOpacity" />
|
/// <inheritdoc cref="ID2D1Brush.SetOpacity" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1ImageBrush : ID2D1ImageBrush.Interface, INativ
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public void SetOpacity(float opacity)
|
public void SetOpacity(float opacity)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1ImageBrush*, float, void>)(lpVtbl[4]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), opacity);
|
||||||
((delegate* unmanaged<ID2D1ImageBrush*, float, void>)(lpVtbl[4]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), opacity);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1ImageBrush*, float, void>)(lpVtbl[4]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), opacity);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Brush.SetTransform" />
|
/// <inheritdoc cref="ID2D1Brush.SetTransform" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1ImageBrush : ID2D1ImageBrush.Interface, INativ
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public void SetTransform(Matrix3x2* transform)
|
public void SetTransform(Matrix3x2* transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1ImageBrush*, Matrix3x2*, void>)(lpVtbl[5]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), transform);
|
||||||
((delegate* unmanaged<ID2D1ImageBrush*, Matrix3x2*, void>)(lpVtbl[5]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1ImageBrush*, Matrix3x2*, void>)(lpVtbl[5]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Brush.GetOpacity" />
|
/// <inheritdoc cref="ID2D1Brush.GetOpacity" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1ImageBrush : ID2D1ImageBrush.Interface, INativ
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public float GetOpacity()
|
public float GetOpacity()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ImageBrush*, float>)(lpVtbl[6]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1ImageBrush*, float>)(lpVtbl[6]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ImageBrush*, float>)(lpVtbl[6]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Brush.GetTransform" />
|
/// <inheritdoc cref="ID2D1Brush.GetTransform" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1ImageBrush : ID2D1ImageBrush.Interface, INativ
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public void GetTransform(Matrix3x2* transform)
|
public void GetTransform(Matrix3x2* transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1ImageBrush*, Matrix3x2*, void>)(lpVtbl[7]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), transform);
|
||||||
((delegate* unmanaged<ID2D1ImageBrush*, Matrix3x2*, void>)(lpVtbl[7]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1ImageBrush*, Matrix3x2*, void>)(lpVtbl[7]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ImageBrush::SetImage"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ImageBrush::SetImage"]/*' />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1ImageBrush : ID2D1ImageBrush.Interface, INativ
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public void SetImage(ID2D1Image* image)
|
public void SetImage(ID2D1Image* image)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1ImageBrush*, ID2D1Image*, void>)(lpVtbl[8]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), image);
|
||||||
((delegate* unmanaged<ID2D1ImageBrush*, ID2D1Image*, void>)(lpVtbl[8]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), image);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1ImageBrush*, ID2D1Image*, void>)(lpVtbl[8]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), image);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ImageBrush::SetExtendModeX"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ImageBrush::SetExtendModeX"]/*' />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1ImageBrush : ID2D1ImageBrush.Interface, INativ
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public void SetExtendModeX(ExtendMode extendModeX)
|
public void SetExtendModeX(ExtendMode extendModeX)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1ImageBrush*, ExtendMode, void>)(lpVtbl[9]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), extendModeX);
|
||||||
((delegate* unmanaged<ID2D1ImageBrush*, ExtendMode, void>)(lpVtbl[9]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), extendModeX);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1ImageBrush*, ExtendMode, void>)(lpVtbl[9]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), extendModeX);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ImageBrush::SetExtendModeY"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ImageBrush::SetExtendModeY"]/*' />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1ImageBrush : ID2D1ImageBrush.Interface, INativ
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public void SetExtendModeY(ExtendMode extendModeY)
|
public void SetExtendModeY(ExtendMode extendModeY)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1ImageBrush*, ExtendMode, void>)(lpVtbl[10]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), extendModeY);
|
||||||
((delegate* unmanaged<ID2D1ImageBrush*, ExtendMode, void>)(lpVtbl[10]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), extendModeY);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1ImageBrush*, ExtendMode, void>)(lpVtbl[10]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), extendModeY);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ImageBrush::SetInterpolationMode"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ImageBrush::SetInterpolationMode"]/*' />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1ImageBrush : ID2D1ImageBrush.Interface, INativ
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public void SetInterpolationMode(InterpolationMode interpolationMode)
|
public void SetInterpolationMode(InterpolationMode interpolationMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1ImageBrush*, InterpolationMode, void>)(lpVtbl[11]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), interpolationMode);
|
||||||
((delegate* unmanaged<ID2D1ImageBrush*, InterpolationMode, void>)(lpVtbl[11]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), interpolationMode);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1ImageBrush*, InterpolationMode, void>)(lpVtbl[11]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), interpolationMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ImageBrush::SetSourceRectangle"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ImageBrush::SetSourceRectangle"]/*' />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1ImageBrush : ID2D1ImageBrush.Interface, INativ
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public void SetSourceRectangle(Win32.Numerics.RectF* sourceRectangle)
|
public void SetSourceRectangle(Win32.Numerics.RectF* sourceRectangle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1ImageBrush*, Win32.Numerics.RectF*, void>)(lpVtbl[12]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), sourceRectangle);
|
||||||
((delegate* unmanaged<ID2D1ImageBrush*, Win32.Numerics.RectF*, void>)(lpVtbl[12]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), sourceRectangle);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1ImageBrush*, Win32.Numerics.RectF*, void>)(lpVtbl[12]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), sourceRectangle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ImageBrush::GetImage"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ImageBrush::GetImage"]/*' />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1ImageBrush : ID2D1ImageBrush.Interface, INativ
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public void GetImage(ID2D1Image** image)
|
public void GetImage(ID2D1Image** image)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1ImageBrush*, ID2D1Image**, void>)(lpVtbl[13]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), image);
|
||||||
((delegate* unmanaged<ID2D1ImageBrush*, ID2D1Image**, void>)(lpVtbl[13]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), image);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1ImageBrush*, ID2D1Image**, void>)(lpVtbl[13]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), image);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ImageBrush::GetExtendModeX"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ImageBrush::GetExtendModeX"]/*' />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1ImageBrush : ID2D1ImageBrush.Interface, INativ
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public ExtendMode GetExtendModeX()
|
public ExtendMode GetExtendModeX()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ImageBrush*, ExtendMode>)(lpVtbl[14]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1ImageBrush*, ExtendMode>)(lpVtbl[14]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ImageBrush*, ExtendMode>)(lpVtbl[14]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ImageBrush::GetExtendModeY"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ImageBrush::GetExtendModeY"]/*' />
|
||||||
@@ -235,11 +171,7 @@ public unsafe partial struct ID2D1ImageBrush : ID2D1ImageBrush.Interface, INativ
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public ExtendMode GetExtendModeY()
|
public ExtendMode GetExtendModeY()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ImageBrush*, ExtendMode>)(lpVtbl[15]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1ImageBrush*, ExtendMode>)(lpVtbl[15]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ImageBrush*, ExtendMode>)(lpVtbl[15]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ImageBrush::GetInterpolationMode"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ImageBrush::GetInterpolationMode"]/*' />
|
||||||
@@ -247,11 +179,7 @@ public unsafe partial struct ID2D1ImageBrush : ID2D1ImageBrush.Interface, INativ
|
|||||||
[VtblIndex(16)]
|
[VtblIndex(16)]
|
||||||
public InterpolationMode GetInterpolationMode()
|
public InterpolationMode GetInterpolationMode()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ImageBrush*, InterpolationMode>)(lpVtbl[16]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1ImageBrush*, InterpolationMode>)(lpVtbl[16]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ImageBrush*, InterpolationMode>)(lpVtbl[16]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ImageBrush::GetSourceRectangle"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ImageBrush::GetSourceRectangle"]/*' />
|
||||||
@@ -259,11 +187,7 @@ public unsafe partial struct ID2D1ImageBrush : ID2D1ImageBrush.Interface, INativ
|
|||||||
[VtblIndex(17)]
|
[VtblIndex(17)]
|
||||||
public void GetSourceRectangle(Win32.Numerics.RectF** sourceRectangle)
|
public void GetSourceRectangle(Win32.Numerics.RectF** sourceRectangle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1ImageBrush*, Win32.Numerics.RectF**, void>)(lpVtbl[17]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), sourceRectangle);
|
||||||
((delegate* unmanaged<ID2D1ImageBrush*, Win32.Numerics.RectF**, void>)(lpVtbl[17]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), sourceRectangle);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1ImageBrush*, Win32.Numerics.RectF**, void>)(lpVtbl[17]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), sourceRectangle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Brush.Interface
|
public interface Interface : ID2D1Brush.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1ImageSource : ID2D1ImageSource.Interface, INat
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ImageSource));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ImageSource));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ImageSource));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1ImageSource : ID2D1ImageSource.Interface, INat
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ImageSource*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1ImageSource*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1ImageSource*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1ImageSource*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ImageSource*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1ImageSource*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1ImageSource : ID2D1ImageSource.Interface, INat
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ImageSource*, uint>)(lpVtbl[1]))((ID2D1ImageSource*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1ImageSource*, uint>)(lpVtbl[1]))((ID2D1ImageSource*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ImageSource*, uint>)(lpVtbl[1]))((ID2D1ImageSource*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1ImageSource : ID2D1ImageSource.Interface, INat
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ImageSource*, uint>)(lpVtbl[2]))((ID2D1ImageSource*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1ImageSource*, uint>)(lpVtbl[2]))((ID2D1ImageSource*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ImageSource*, uint>)(lpVtbl[2]))((ID2D1ImageSource*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1ImageSource : ID2D1ImageSource.Interface, INat
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1ImageSource*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1ImageSource*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1ImageSource*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1ImageSource*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1ImageSource*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1ImageSource*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ImageSource::OfferResources"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ImageSource::OfferResources"]/*' />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1ImageSource : ID2D1ImageSource.Interface, INat
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult OfferResources()
|
public HResult OfferResources()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ImageSource*, int>)(lpVtbl[4]))((ID2D1ImageSource*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1ImageSource*, int>)(lpVtbl[4]))((ID2D1ImageSource*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ImageSource*, int>)(lpVtbl[4]))((ID2D1ImageSource*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ImageSource::TryReclaimResources"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ImageSource::TryReclaimResources"]/*' />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1ImageSource : ID2D1ImageSource.Interface, INat
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult TryReclaimResources(Bool32* resourcesDiscarded)
|
public HResult TryReclaimResources(Bool32* resourcesDiscarded)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ImageSource*, Bool32*, int>)(lpVtbl[5]))((ID2D1ImageSource*)Unsafe.AsPointer(ref this), resourcesDiscarded);
|
||||||
return ((delegate* unmanaged<ID2D1ImageSource*, Bool32*, int>)(lpVtbl[5]))((ID2D1ImageSource*)Unsafe.AsPointer(ref this), resourcesDiscarded);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ImageSource*, Bool32*, int>)(lpVtbl[5]))((ID2D1ImageSource*)Unsafe.AsPointer(ref this), resourcesDiscarded);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Image.Interface
|
public interface Interface : ID2D1Image.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1ImageSourceFromWic : ID2D1ImageSourceFromWic.I
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ImageSourceFromWic));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ImageSourceFromWic));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ImageSourceFromWic));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1ImageSourceFromWic : ID2D1ImageSourceFromWic.I
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ImageSourceFromWic*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1ImageSourceFromWic*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1ImageSourceFromWic*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1ImageSourceFromWic*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ImageSourceFromWic*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1ImageSourceFromWic*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1ImageSourceFromWic : ID2D1ImageSourceFromWic.I
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ImageSourceFromWic*, uint>)(lpVtbl[1]))((ID2D1ImageSourceFromWic*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1ImageSourceFromWic*, uint>)(lpVtbl[1]))((ID2D1ImageSourceFromWic*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ImageSourceFromWic*, uint>)(lpVtbl[1]))((ID2D1ImageSourceFromWic*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1ImageSourceFromWic : ID2D1ImageSourceFromWic.I
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ImageSourceFromWic*, uint>)(lpVtbl[2]))((ID2D1ImageSourceFromWic*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1ImageSourceFromWic*, uint>)(lpVtbl[2]))((ID2D1ImageSourceFromWic*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ImageSourceFromWic*, uint>)(lpVtbl[2]))((ID2D1ImageSourceFromWic*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1ImageSourceFromWic : ID2D1ImageSourceFromWic.I
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1ImageSourceFromWic*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1ImageSourceFromWic*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1ImageSourceFromWic*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1ImageSourceFromWic*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1ImageSourceFromWic*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1ImageSourceFromWic*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1ImageSource.OfferResources" />
|
/// <inheritdoc cref="ID2D1ImageSource.OfferResources" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1ImageSourceFromWic : ID2D1ImageSourceFromWic.I
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult OfferResources()
|
public HResult OfferResources()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ImageSourceFromWic*, int>)(lpVtbl[4]))((ID2D1ImageSourceFromWic*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1ImageSourceFromWic*, int>)(lpVtbl[4]))((ID2D1ImageSourceFromWic*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ImageSourceFromWic*, int>)(lpVtbl[4]))((ID2D1ImageSourceFromWic*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1ImageSource.TryReclaimResources" />
|
/// <inheritdoc cref="ID2D1ImageSource.TryReclaimResources" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1ImageSourceFromWic : ID2D1ImageSourceFromWic.I
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult TryReclaimResources(Bool32* resourcesDiscarded)
|
public HResult TryReclaimResources(Bool32* resourcesDiscarded)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ImageSourceFromWic*, Bool32*, int>)(lpVtbl[5]))((ID2D1ImageSourceFromWic*)Unsafe.AsPointer(ref this), resourcesDiscarded);
|
||||||
return ((delegate* unmanaged<ID2D1ImageSourceFromWic*, Bool32*, int>)(lpVtbl[5]))((ID2D1ImageSourceFromWic*)Unsafe.AsPointer(ref this), resourcesDiscarded);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ImageSourceFromWic*, Bool32*, int>)(lpVtbl[5]))((ID2D1ImageSourceFromWic*)Unsafe.AsPointer(ref this), resourcesDiscarded);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ImageSourceFromWic::EnsureCached"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ImageSourceFromWic::EnsureCached"]/*' />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1ImageSourceFromWic : ID2D1ImageSourceFromWic.I
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult EnsureCached(Win32.Numerics.Rect* rectangleToFill)
|
public HResult EnsureCached(Win32.Numerics.Rect* rectangleToFill)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ImageSourceFromWic*, Win32.Numerics.Rect*, int>)(lpVtbl[6]))((ID2D1ImageSourceFromWic*)Unsafe.AsPointer(ref this), rectangleToFill);
|
||||||
return ((delegate* unmanaged<ID2D1ImageSourceFromWic*, Win32.Numerics.Rect*, int>)(lpVtbl[6]))((ID2D1ImageSourceFromWic*)Unsafe.AsPointer(ref this), rectangleToFill);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ImageSourceFromWic*, Win32.Numerics.Rect*, int>)(lpVtbl[6]))((ID2D1ImageSourceFromWic*)Unsafe.AsPointer(ref this), rectangleToFill);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ImageSourceFromWic::TrimCache"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ImageSourceFromWic::TrimCache"]/*' />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1ImageSourceFromWic : ID2D1ImageSourceFromWic.I
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public HResult TrimCache(Win32.Numerics.Rect* rectangleToPreserve)
|
public HResult TrimCache(Win32.Numerics.Rect* rectangleToPreserve)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1ImageSourceFromWic*, Win32.Numerics.Rect*, int>)(lpVtbl[7]))((ID2D1ImageSourceFromWic*)Unsafe.AsPointer(ref this), rectangleToPreserve);
|
||||||
return ((delegate* unmanaged<ID2D1ImageSourceFromWic*, Win32.Numerics.Rect*, int>)(lpVtbl[7]))((ID2D1ImageSourceFromWic*)Unsafe.AsPointer(ref this), rectangleToPreserve);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1ImageSourceFromWic*, Win32.Numerics.Rect*, int>)(lpVtbl[7]))((ID2D1ImageSourceFromWic*)Unsafe.AsPointer(ref this), rectangleToPreserve);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ImageSourceFromWic::GetSource"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1ImageSourceFromWic::GetSource"]/*' />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1ImageSourceFromWic : ID2D1ImageSourceFromWic.I
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public void GetSource(Graphics.Imaging.IWICBitmapSource** wicBitmapSource)
|
public void GetSource(Graphics.Imaging.IWICBitmapSource** wicBitmapSource)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1ImageSourceFromWic*, Graphics.Imaging.IWICBitmapSource**, void>)(lpVtbl[8]))((ID2D1ImageSourceFromWic*)Unsafe.AsPointer(ref this), wicBitmapSource);
|
||||||
((delegate* unmanaged<ID2D1ImageSourceFromWic*, Graphics.Imaging.IWICBitmapSource**, void>)(lpVtbl[8]))((ID2D1ImageSourceFromWic*)Unsafe.AsPointer(ref this), wicBitmapSource);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1ImageSourceFromWic*, Graphics.Imaging.IWICBitmapSource**, void>)(lpVtbl[8]))((ID2D1ImageSourceFromWic*)Unsafe.AsPointer(ref this), wicBitmapSource);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1ImageSource.Interface
|
public interface Interface : ID2D1ImageSource.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1Ink : ID2D1Ink.Interface, INativeGuid
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Ink));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Ink));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Ink));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1Ink : ID2D1Ink.Interface, INativeGuid
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Ink*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Ink*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1Ink*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Ink*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Ink*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Ink*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1Ink : ID2D1Ink.Interface, INativeGuid
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Ink*, uint>)(lpVtbl[1]))((ID2D1Ink*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Ink*, uint>)(lpVtbl[1]))((ID2D1Ink*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Ink*, uint>)(lpVtbl[1]))((ID2D1Ink*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1Ink : ID2D1Ink.Interface, INativeGuid
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Ink*, uint>)(lpVtbl[2]))((ID2D1Ink*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Ink*, uint>)(lpVtbl[2]))((ID2D1Ink*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Ink*, uint>)(lpVtbl[2]))((ID2D1Ink*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1Ink : ID2D1Ink.Interface, INativeGuid
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Ink*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Ink*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1Ink*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Ink*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Ink*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Ink*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Ink::SetStartPoint"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Ink::SetStartPoint"]/*' />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1Ink : ID2D1Ink.Interface, INativeGuid
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public void SetStartPoint(InkPoint* startPoint)
|
public void SetStartPoint(InkPoint* startPoint)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Ink*, InkPoint*, void>)(lpVtbl[4]))((ID2D1Ink*)Unsafe.AsPointer(ref this), startPoint);
|
||||||
((delegate* unmanaged<ID2D1Ink*, InkPoint*, void>)(lpVtbl[4]))((ID2D1Ink*)Unsafe.AsPointer(ref this), startPoint);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Ink*, InkPoint*, void>)(lpVtbl[4]))((ID2D1Ink*)Unsafe.AsPointer(ref this), startPoint);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Ink::GetStartPoint"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Ink::GetStartPoint"]/*' />
|
||||||
@@ -116,11 +92,7 @@ public unsafe partial struct ID2D1Ink : ID2D1Ink.Interface, INativeGuid
|
|||||||
public InkPoint GetStartPoint()
|
public InkPoint GetStartPoint()
|
||||||
{
|
{
|
||||||
InkPoint result;
|
InkPoint result;
|
||||||
#if NET6_0_OR_GREATER
|
return *((delegate* unmanaged[MemberFunction]<ID2D1Ink*, InkPoint*, InkPoint*>)(lpVtbl[5]))((ID2D1Ink*)Unsafe.AsPointer(ref this), &result);
|
||||||
return *((delegate* unmanaged<ID2D1Ink*, InkPoint*, InkPoint*>)(lpVtbl[5]))((ID2D1Ink*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#else
|
|
||||||
return *((delegate* unmanaged[Stdcall]<ID2D1Ink*, InkPoint*, InkPoint*>)(lpVtbl[5]))((ID2D1Ink*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Ink::AddSegments"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Ink::AddSegments"]/*' />
|
||||||
@@ -128,11 +100,7 @@ public unsafe partial struct ID2D1Ink : ID2D1Ink.Interface, INativeGuid
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult AddSegments(InkBezierSegment* segments, uint segmentsCount)
|
public HResult AddSegments(InkBezierSegment* segments, uint segmentsCount)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Ink*, InkBezierSegment*, uint, int>)(lpVtbl[6]))((ID2D1Ink*)Unsafe.AsPointer(ref this), segments, segmentsCount);
|
||||||
return ((delegate* unmanaged<ID2D1Ink*, InkBezierSegment*, uint, int>)(lpVtbl[6]))((ID2D1Ink*)Unsafe.AsPointer(ref this), segments, segmentsCount);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Ink*, InkBezierSegment*, uint, int>)(lpVtbl[6]))((ID2D1Ink*)Unsafe.AsPointer(ref this), segments, segmentsCount);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Ink::RemoveSegmentsAtEnd"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Ink::RemoveSegmentsAtEnd"]/*' />
|
||||||
@@ -140,11 +108,7 @@ public unsafe partial struct ID2D1Ink : ID2D1Ink.Interface, INativeGuid
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public HResult RemoveSegmentsAtEnd(uint segmentsCount)
|
public HResult RemoveSegmentsAtEnd(uint segmentsCount)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Ink*, uint, int>)(lpVtbl[7]))((ID2D1Ink*)Unsafe.AsPointer(ref this), segmentsCount);
|
||||||
return ((delegate* unmanaged<ID2D1Ink*, uint, int>)(lpVtbl[7]))((ID2D1Ink*)Unsafe.AsPointer(ref this), segmentsCount);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Ink*, uint, int>)(lpVtbl[7]))((ID2D1Ink*)Unsafe.AsPointer(ref this), segmentsCount);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Ink::SetSegments"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Ink::SetSegments"]/*' />
|
||||||
@@ -152,11 +116,7 @@ public unsafe partial struct ID2D1Ink : ID2D1Ink.Interface, INativeGuid
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult SetSegments(uint startSegment, InkBezierSegment* segments, uint segmentsCount)
|
public HResult SetSegments(uint startSegment, InkBezierSegment* segments, uint segmentsCount)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Ink*, uint, InkBezierSegment*, uint, int>)(lpVtbl[8]))((ID2D1Ink*)Unsafe.AsPointer(ref this), startSegment, segments, segmentsCount);
|
||||||
return ((delegate* unmanaged<ID2D1Ink*, uint, InkBezierSegment*, uint, int>)(lpVtbl[8]))((ID2D1Ink*)Unsafe.AsPointer(ref this), startSegment, segments, segmentsCount);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Ink*, uint, InkBezierSegment*, uint, int>)(lpVtbl[8]))((ID2D1Ink*)Unsafe.AsPointer(ref this), startSegment, segments, segmentsCount);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Ink::SetSegmentAtEnd"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Ink::SetSegmentAtEnd"]/*' />
|
||||||
@@ -164,11 +124,7 @@ public unsafe partial struct ID2D1Ink : ID2D1Ink.Interface, INativeGuid
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult SetSegmentAtEnd(InkBezierSegment* segment)
|
public HResult SetSegmentAtEnd(InkBezierSegment* segment)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Ink*, InkBezierSegment*, int>)(lpVtbl[9]))((ID2D1Ink*)Unsafe.AsPointer(ref this), segment);
|
||||||
return ((delegate* unmanaged<ID2D1Ink*, InkBezierSegment*, int>)(lpVtbl[9]))((ID2D1Ink*)Unsafe.AsPointer(ref this), segment);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Ink*, InkBezierSegment*, int>)(lpVtbl[9]))((ID2D1Ink*)Unsafe.AsPointer(ref this), segment);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Ink::GetSegmentCount"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Ink::GetSegmentCount"]/*' />
|
||||||
@@ -176,11 +132,7 @@ public unsafe partial struct ID2D1Ink : ID2D1Ink.Interface, INativeGuid
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public uint GetSegmentCount()
|
public uint GetSegmentCount()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Ink*, uint>)(lpVtbl[10]))((ID2D1Ink*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Ink*, uint>)(lpVtbl[10]))((ID2D1Ink*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Ink*, uint>)(lpVtbl[10]))((ID2D1Ink*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Ink::GetSegments"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Ink::GetSegments"]/*' />
|
||||||
@@ -188,11 +140,7 @@ public unsafe partial struct ID2D1Ink : ID2D1Ink.Interface, INativeGuid
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult GetSegments(uint startSegment, InkBezierSegment* segments, uint segmentsCount)
|
public HResult GetSegments(uint startSegment, InkBezierSegment* segments, uint segmentsCount)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Ink*, uint, InkBezierSegment*, uint, int>)(lpVtbl[11]))((ID2D1Ink*)Unsafe.AsPointer(ref this), startSegment, segments, segmentsCount);
|
||||||
return ((delegate* unmanaged<ID2D1Ink*, uint, InkBezierSegment*, uint, int>)(lpVtbl[11]))((ID2D1Ink*)Unsafe.AsPointer(ref this), startSegment, segments, segmentsCount);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Ink*, uint, InkBezierSegment*, uint, int>)(lpVtbl[11]))((ID2D1Ink*)Unsafe.AsPointer(ref this), startSegment, segments, segmentsCount);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Ink::StreamAsGeometry"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Ink::StreamAsGeometry"]/*' />
|
||||||
@@ -200,11 +148,7 @@ public unsafe partial struct ID2D1Ink : ID2D1Ink.Interface, INativeGuid
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public HResult StreamAsGeometry(ID2D1InkStyle* inkStyle, Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
public HResult StreamAsGeometry(ID2D1InkStyle* inkStyle, Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Ink*, ID2D1InkStyle*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[12]))((ID2D1Ink*)Unsafe.AsPointer(ref this), inkStyle, worldTransform, flatteningTolerance, geometrySink);
|
||||||
return ((delegate* unmanaged<ID2D1Ink*, ID2D1InkStyle*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[12]))((ID2D1Ink*)Unsafe.AsPointer(ref this), inkStyle, worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Ink*, ID2D1InkStyle*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[12]))((ID2D1Ink*)Unsafe.AsPointer(ref this), inkStyle, worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Ink::GetBounds"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Ink::GetBounds"]/*' />
|
||||||
@@ -212,11 +156,7 @@ public unsafe partial struct ID2D1Ink : ID2D1Ink.Interface, INativeGuid
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult GetBounds(ID2D1InkStyle* inkStyle, Matrix3x2* worldTransform, Win32.Numerics.RectF** bounds)
|
public HResult GetBounds(ID2D1InkStyle* inkStyle, Matrix3x2* worldTransform, Win32.Numerics.RectF** bounds)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Ink*, ID2D1InkStyle*, Matrix3x2*, Win32.Numerics.RectF**, int>)(lpVtbl[13]))((ID2D1Ink*)Unsafe.AsPointer(ref this), inkStyle, worldTransform, bounds);
|
||||||
return ((delegate* unmanaged<ID2D1Ink*, ID2D1InkStyle*, Matrix3x2*, Win32.Numerics.RectF**, int>)(lpVtbl[13]))((ID2D1Ink*)Unsafe.AsPointer(ref this), inkStyle, worldTransform, bounds);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Ink*, ID2D1InkStyle*, Matrix3x2*, Win32.Numerics.RectF**, int>)(lpVtbl[13]))((ID2D1Ink*)Unsafe.AsPointer(ref this), inkStyle, worldTransform, bounds);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Resource.Interface
|
public interface Interface : ID2D1Resource.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1InkStyle : ID2D1InkStyle.Interface, INativeGui
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1InkStyle));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1InkStyle));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1InkStyle));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1InkStyle : ID2D1InkStyle.Interface, INativeGui
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1InkStyle*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1InkStyle*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1InkStyle*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1InkStyle : ID2D1InkStyle.Interface, INativeGui
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1InkStyle*, uint>)(lpVtbl[1]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1InkStyle*, uint>)(lpVtbl[1]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1InkStyle*, uint>)(lpVtbl[1]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1InkStyle : ID2D1InkStyle.Interface, INativeGui
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1InkStyle*, uint>)(lpVtbl[2]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1InkStyle*, uint>)(lpVtbl[2]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1InkStyle*, uint>)(lpVtbl[2]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1InkStyle : ID2D1InkStyle.Interface, INativeGui
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1InkStyle*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1InkStyle*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1InkStyle*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1InkStyle::SetNibTransform"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1InkStyle::SetNibTransform"]/*' />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1InkStyle : ID2D1InkStyle.Interface, INativeGui
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public void SetNibTransform(Matrix3x2* transform)
|
public void SetNibTransform(Matrix3x2* transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1InkStyle*, Matrix3x2*, void>)(lpVtbl[4]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this), transform);
|
||||||
((delegate* unmanaged<ID2D1InkStyle*, Matrix3x2*, void>)(lpVtbl[4]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1InkStyle*, Matrix3x2*, void>)(lpVtbl[4]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1InkStyle::GetNibTransform"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1InkStyle::GetNibTransform"]/*' />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1InkStyle : ID2D1InkStyle.Interface, INativeGui
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public void GetNibTransform(Matrix3x2* transform)
|
public void GetNibTransform(Matrix3x2* transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1InkStyle*, Matrix3x2*, void>)(lpVtbl[5]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this), transform);
|
||||||
((delegate* unmanaged<ID2D1InkStyle*, Matrix3x2*, void>)(lpVtbl[5]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1InkStyle*, Matrix3x2*, void>)(lpVtbl[5]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1InkStyle::SetNibShape"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1InkStyle::SetNibShape"]/*' />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1InkStyle : ID2D1InkStyle.Interface, INativeGui
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public void SetNibShape(InkNibShape nibShape)
|
public void SetNibShape(InkNibShape nibShape)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1InkStyle*, InkNibShape, void>)(lpVtbl[6]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this), nibShape);
|
||||||
((delegate* unmanaged<ID2D1InkStyle*, InkNibShape, void>)(lpVtbl[6]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this), nibShape);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1InkStyle*, InkNibShape, void>)(lpVtbl[6]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this), nibShape);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1InkStyle::GetNibShape"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1InkStyle::GetNibShape"]/*' />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1InkStyle : ID2D1InkStyle.Interface, INativeGui
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public InkNibShape GetNibShape()
|
public InkNibShape GetNibShape()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1InkStyle*, InkNibShape>)(lpVtbl[7]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1InkStyle*, InkNibShape>)(lpVtbl[7]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1InkStyle*, InkNibShape>)(lpVtbl[7]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Resource.Interface
|
public interface Interface : ID2D1Resource.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1Layer : ID2D1Layer.Interface, INativeGuid
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Layer));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Layer));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Layer));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1Layer : ID2D1Layer.Interface, INativeGuid
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Layer*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Layer*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1Layer*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Layer*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Layer*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Layer*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1Layer : ID2D1Layer.Interface, INativeGuid
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Layer*, uint>)(lpVtbl[1]))((ID2D1Layer*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Layer*, uint>)(lpVtbl[1]))((ID2D1Layer*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Layer*, uint>)(lpVtbl[1]))((ID2D1Layer*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1Layer : ID2D1Layer.Interface, INativeGuid
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Layer*, uint>)(lpVtbl[2]))((ID2D1Layer*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Layer*, uint>)(lpVtbl[2]))((ID2D1Layer*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Layer*, uint>)(lpVtbl[2]))((ID2D1Layer*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1Layer : ID2D1Layer.Interface, INativeGuid
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Layer*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Layer*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1Layer*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Layer*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Layer*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Layer*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Layer::GetSize"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Layer::GetSize"]/*' />
|
||||||
@@ -104,11 +84,7 @@ public unsafe partial struct ID2D1Layer : ID2D1Layer.Interface, INativeGuid
|
|||||||
public System.Drawing.SizeF GetSize()
|
public System.Drawing.SizeF GetSize()
|
||||||
{
|
{
|
||||||
System.Drawing.SizeF result;
|
System.Drawing.SizeF result;
|
||||||
#if NET6_0_OR_GREATER
|
return *((delegate* unmanaged[MemberFunction]<ID2D1Layer*, System.Drawing.SizeF*, System.Drawing.SizeF*>)(lpVtbl[4]))((ID2D1Layer*)Unsafe.AsPointer(ref this), &result);
|
||||||
return *((delegate* unmanaged<ID2D1Layer*, System.Drawing.SizeF*, System.Drawing.SizeF*>)(lpVtbl[4]))((ID2D1Layer*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#else
|
|
||||||
return *((delegate* unmanaged[Stdcall]<ID2D1Layer*, System.Drawing.SizeF*, System.Drawing.SizeF*>)(lpVtbl[4]))((ID2D1Layer*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Resource.Interface
|
public interface Interface : ID2D1Resource.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1LinearGradientBrush : ID2D1LinearGradientBrush
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1LinearGradientBrush));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1LinearGradientBrush));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1LinearGradientBrush));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1LinearGradientBrush : ID2D1LinearGradientBrush
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1LinearGradientBrush*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1LinearGradientBrush*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1LinearGradientBrush*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1LinearGradientBrush : ID2D1LinearGradientBrush
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1LinearGradientBrush*, uint>)(lpVtbl[1]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1LinearGradientBrush*, uint>)(lpVtbl[1]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1LinearGradientBrush*, uint>)(lpVtbl[1]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1LinearGradientBrush : ID2D1LinearGradientBrush
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1LinearGradientBrush*, uint>)(lpVtbl[2]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1LinearGradientBrush*, uint>)(lpVtbl[2]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1LinearGradientBrush*, uint>)(lpVtbl[2]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1LinearGradientBrush : ID2D1LinearGradientBrush
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1LinearGradientBrush*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1LinearGradientBrush*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1LinearGradientBrush*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Brush.SetOpacity" />
|
/// <inheritdoc cref="ID2D1Brush.SetOpacity" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1LinearGradientBrush : ID2D1LinearGradientBrush
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public void SetOpacity(float opacity)
|
public void SetOpacity(float opacity)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1LinearGradientBrush*, float, void>)(lpVtbl[4]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), opacity);
|
||||||
((delegate* unmanaged<ID2D1LinearGradientBrush*, float, void>)(lpVtbl[4]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), opacity);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1LinearGradientBrush*, float, void>)(lpVtbl[4]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), opacity);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Brush.SetTransform" />
|
/// <inheritdoc cref="ID2D1Brush.SetTransform" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1LinearGradientBrush : ID2D1LinearGradientBrush
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public void SetTransform(Matrix3x2* transform)
|
public void SetTransform(Matrix3x2* transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1LinearGradientBrush*, Matrix3x2*, void>)(lpVtbl[5]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), transform);
|
||||||
((delegate* unmanaged<ID2D1LinearGradientBrush*, Matrix3x2*, void>)(lpVtbl[5]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1LinearGradientBrush*, Matrix3x2*, void>)(lpVtbl[5]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Brush.GetOpacity" />
|
/// <inheritdoc cref="ID2D1Brush.GetOpacity" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1LinearGradientBrush : ID2D1LinearGradientBrush
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public float GetOpacity()
|
public float GetOpacity()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1LinearGradientBrush*, float>)(lpVtbl[6]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1LinearGradientBrush*, float>)(lpVtbl[6]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1LinearGradientBrush*, float>)(lpVtbl[6]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Brush.GetTransform" />
|
/// <inheritdoc cref="ID2D1Brush.GetTransform" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1LinearGradientBrush : ID2D1LinearGradientBrush
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public void GetTransform(Matrix3x2* transform)
|
public void GetTransform(Matrix3x2* transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1LinearGradientBrush*, Matrix3x2*, void>)(lpVtbl[7]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), transform);
|
||||||
((delegate* unmanaged<ID2D1LinearGradientBrush*, Matrix3x2*, void>)(lpVtbl[7]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1LinearGradientBrush*, Matrix3x2*, void>)(lpVtbl[7]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1LinearGradientBrush::SetStartPoint"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1LinearGradientBrush::SetStartPoint"]/*' />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1LinearGradientBrush : ID2D1LinearGradientBrush
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public void SetStartPoint(Vector2 startPoint)
|
public void SetStartPoint(Vector2 startPoint)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1LinearGradientBrush*, Vector2, void>)(lpVtbl[8]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), startPoint);
|
||||||
((delegate* unmanaged<ID2D1LinearGradientBrush*, Vector2, void>)(lpVtbl[8]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), startPoint);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1LinearGradientBrush*, Vector2, void>)(lpVtbl[8]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), startPoint);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1LinearGradientBrush::SetEndPoint"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1LinearGradientBrush::SetEndPoint"]/*' />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1LinearGradientBrush : ID2D1LinearGradientBrush
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public void SetEndPoint(Vector2 endPoint)
|
public void SetEndPoint(Vector2 endPoint)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1LinearGradientBrush*, Vector2, void>)(lpVtbl[9]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), endPoint);
|
||||||
((delegate* unmanaged<ID2D1LinearGradientBrush*, Vector2, void>)(lpVtbl[9]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), endPoint);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1LinearGradientBrush*, Vector2, void>)(lpVtbl[9]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), endPoint);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1LinearGradientBrush::GetStartPoint"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1LinearGradientBrush::GetStartPoint"]/*' />
|
||||||
@@ -176,11 +132,7 @@ public unsafe partial struct ID2D1LinearGradientBrush : ID2D1LinearGradientBrush
|
|||||||
public Vector2 GetStartPoint()
|
public Vector2 GetStartPoint()
|
||||||
{
|
{
|
||||||
Vector2 result;
|
Vector2 result;
|
||||||
#if NET6_0_OR_GREATER
|
return *((delegate* unmanaged[MemberFunction]<ID2D1LinearGradientBrush*, Vector2*, Vector2*>)(lpVtbl[10]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), &result);
|
||||||
return *((delegate* unmanaged<ID2D1LinearGradientBrush*, Vector2*, Vector2*>)(lpVtbl[10]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#else
|
|
||||||
return *((delegate* unmanaged[Stdcall]<ID2D1LinearGradientBrush*, Vector2*, Vector2*>)(lpVtbl[10]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1LinearGradientBrush::GetEndPoint"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1LinearGradientBrush::GetEndPoint"]/*' />
|
||||||
@@ -189,11 +141,7 @@ public unsafe partial struct ID2D1LinearGradientBrush : ID2D1LinearGradientBrush
|
|||||||
public Vector2 GetEndPoint()
|
public Vector2 GetEndPoint()
|
||||||
{
|
{
|
||||||
Vector2 result;
|
Vector2 result;
|
||||||
#if NET6_0_OR_GREATER
|
return *((delegate* unmanaged[MemberFunction]<ID2D1LinearGradientBrush*, Vector2*, Vector2*>)(lpVtbl[11]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), &result);
|
||||||
return *((delegate* unmanaged<ID2D1LinearGradientBrush*, Vector2*, Vector2*>)(lpVtbl[11]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#else
|
|
||||||
return *((delegate* unmanaged[Stdcall]<ID2D1LinearGradientBrush*, Vector2*, Vector2*>)(lpVtbl[11]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1LinearGradientBrush::GetGradientStopCollection"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1LinearGradientBrush::GetGradientStopCollection"]/*' />
|
||||||
@@ -201,11 +149,7 @@ public unsafe partial struct ID2D1LinearGradientBrush : ID2D1LinearGradientBrush
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public void GetGradientStopCollection(ID2D1GradientStopCollection** gradientStopCollection)
|
public void GetGradientStopCollection(ID2D1GradientStopCollection** gradientStopCollection)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1LinearGradientBrush*, ID2D1GradientStopCollection**, void>)(lpVtbl[12]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), gradientStopCollection);
|
||||||
((delegate* unmanaged<ID2D1LinearGradientBrush*, ID2D1GradientStopCollection**, void>)(lpVtbl[12]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), gradientStopCollection);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1LinearGradientBrush*, ID2D1GradientStopCollection**, void>)(lpVtbl[12]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), gradientStopCollection);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Brush.Interface
|
public interface Interface : ID2D1Brush.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1LookupTable3D : ID2D1LookupTable3D.Interface,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1LookupTable3D));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1LookupTable3D));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1LookupTable3D));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1LookupTable3D : ID2D1LookupTable3D.Interface,
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1LookupTable3D*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1LookupTable3D*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1LookupTable3D*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1LookupTable3D*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1LookupTable3D*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1LookupTable3D*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1LookupTable3D : ID2D1LookupTable3D.Interface,
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1LookupTable3D*, uint>)(lpVtbl[1]))((ID2D1LookupTable3D*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1LookupTable3D*, uint>)(lpVtbl[1]))((ID2D1LookupTable3D*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1LookupTable3D*, uint>)(lpVtbl[1]))((ID2D1LookupTable3D*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1LookupTable3D : ID2D1LookupTable3D.Interface,
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1LookupTable3D*, uint>)(lpVtbl[2]))((ID2D1LookupTable3D*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1LookupTable3D*, uint>)(lpVtbl[2]))((ID2D1LookupTable3D*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1LookupTable3D*, uint>)(lpVtbl[2]))((ID2D1LookupTable3D*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1LookupTable3D : ID2D1LookupTable3D.Interface,
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1LookupTable3D*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1LookupTable3D*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1LookupTable3D*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1LookupTable3D*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1LookupTable3D*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1LookupTable3D*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Resource.Interface
|
public interface Interface : ID2D1Resource.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1Mesh : ID2D1Mesh.Interface, INativeGuid
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Mesh));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Mesh));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Mesh));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1Mesh : ID2D1Mesh.Interface, INativeGuid
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Mesh*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Mesh*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1Mesh*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Mesh*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Mesh*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Mesh*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1Mesh : ID2D1Mesh.Interface, INativeGuid
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Mesh*, uint>)(lpVtbl[1]))((ID2D1Mesh*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Mesh*, uint>)(lpVtbl[1]))((ID2D1Mesh*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Mesh*, uint>)(lpVtbl[1]))((ID2D1Mesh*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1Mesh : ID2D1Mesh.Interface, INativeGuid
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Mesh*, uint>)(lpVtbl[2]))((ID2D1Mesh*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Mesh*, uint>)(lpVtbl[2]))((ID2D1Mesh*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Mesh*, uint>)(lpVtbl[2]))((ID2D1Mesh*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1Mesh : ID2D1Mesh.Interface, INativeGuid
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Mesh*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Mesh*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1Mesh*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Mesh*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Mesh*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1Mesh*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Mesh::Open"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Mesh::Open"]/*' />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1Mesh : ID2D1Mesh.Interface, INativeGuid
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult Open(ID2D1TessellationSink** tessellationSink)
|
public HResult Open(ID2D1TessellationSink** tessellationSink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Mesh*, ID2D1TessellationSink**, int>)(lpVtbl[4]))((ID2D1Mesh*)Unsafe.AsPointer(ref this), tessellationSink);
|
||||||
return ((delegate* unmanaged<ID2D1Mesh*, ID2D1TessellationSink**, int>)(lpVtbl[4]))((ID2D1Mesh*)Unsafe.AsPointer(ref this), tessellationSink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Mesh*, ID2D1TessellationSink**, int>)(lpVtbl[4]))((ID2D1Mesh*)Unsafe.AsPointer(ref this), tessellationSink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Resource.Interface
|
public interface Interface : ID2D1Resource.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1Multithread : ID2D1Multithread.Interface, INat
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Multithread));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Multithread));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Multithread));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1Multithread : ID2D1Multithread.Interface, INat
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Multithread*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Multithread*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1Multithread*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Multithread*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Multithread*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Multithread*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1Multithread : ID2D1Multithread.Interface, INat
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Multithread*, uint>)(lpVtbl[1]))((ID2D1Multithread*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Multithread*, uint>)(lpVtbl[1]))((ID2D1Multithread*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Multithread*, uint>)(lpVtbl[1]))((ID2D1Multithread*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1Multithread : ID2D1Multithread.Interface, INat
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Multithread*, uint>)(lpVtbl[2]))((ID2D1Multithread*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Multithread*, uint>)(lpVtbl[2]))((ID2D1Multithread*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Multithread*, uint>)(lpVtbl[2]))((ID2D1Multithread*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Multithread::GetMultithreadProtected"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Multithread::GetMultithreadProtected"]/*' />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1Multithread : ID2D1Multithread.Interface, INat
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public Bool32 GetMultithreadProtected()
|
public Bool32 GetMultithreadProtected()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Multithread*, Bool32>)(lpVtbl[3]))((ID2D1Multithread*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Multithread*, Bool32>)(lpVtbl[3]))((ID2D1Multithread*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Multithread*, Bool32>)(lpVtbl[3]))((ID2D1Multithread*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Multithread::Enter"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Multithread::Enter"]/*' />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1Multithread : ID2D1Multithread.Interface, INat
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public void Enter()
|
public void Enter()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Multithread*, void>)(lpVtbl[4]))((ID2D1Multithread*)Unsafe.AsPointer(ref this));
|
||||||
((delegate* unmanaged<ID2D1Multithread*, void>)(lpVtbl[4]))((ID2D1Multithread*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Multithread*, void>)(lpVtbl[4]))((ID2D1Multithread*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Multithread::Leave"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Multithread::Leave"]/*' />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1Multithread : ID2D1Multithread.Interface, INat
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public void Leave()
|
public void Leave()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1Multithread*, void>)(lpVtbl[5]))((ID2D1Multithread*)Unsafe.AsPointer(ref this));
|
||||||
((delegate* unmanaged<ID2D1Multithread*, void>)(lpVtbl[5]))((ID2D1Multithread*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1Multithread*, void>)(lpVtbl[5]))((ID2D1Multithread*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : IUnknown.Interface
|
public interface Interface : IUnknown.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1OffsetTransform : ID2D1OffsetTransform.Interfa
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1OffsetTransform));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1OffsetTransform));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1OffsetTransform));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1OffsetTransform : ID2D1OffsetTransform.Interfa
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1OffsetTransform*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1OffsetTransform*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1OffsetTransform*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1OffsetTransform*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1OffsetTransform*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1OffsetTransform*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1OffsetTransform : ID2D1OffsetTransform.Interfa
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1OffsetTransform*, uint>)(lpVtbl[1]))((ID2D1OffsetTransform*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1OffsetTransform*, uint>)(lpVtbl[1]))((ID2D1OffsetTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1OffsetTransform*, uint>)(lpVtbl[1]))((ID2D1OffsetTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1OffsetTransform : ID2D1OffsetTransform.Interfa
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1OffsetTransform*, uint>)(lpVtbl[2]))((ID2D1OffsetTransform*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1OffsetTransform*, uint>)(lpVtbl[2]))((ID2D1OffsetTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1OffsetTransform*, uint>)(lpVtbl[2]))((ID2D1OffsetTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1TransformNode.GetInputCount" />
|
/// <inheritdoc cref="ID2D1TransformNode.GetInputCount" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1OffsetTransform : ID2D1OffsetTransform.Interfa
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public uint GetInputCount()
|
public uint GetInputCount()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1OffsetTransform*, uint>)(lpVtbl[3]))((ID2D1OffsetTransform*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1OffsetTransform*, uint>)(lpVtbl[3]))((ID2D1OffsetTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1OffsetTransform*, uint>)(lpVtbl[3]))((ID2D1OffsetTransform*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1OffsetTransform::SetOffset"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1OffsetTransform::SetOffset"]/*' />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1OffsetTransform : ID2D1OffsetTransform.Interfa
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public void SetOffset(System.Drawing.Point offset)
|
public void SetOffset(System.Drawing.Point offset)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1OffsetTransform*, System.Drawing.Point, void>)(lpVtbl[4]))((ID2D1OffsetTransform*)Unsafe.AsPointer(ref this), offset);
|
||||||
((delegate* unmanaged<ID2D1OffsetTransform*, System.Drawing.Point, void>)(lpVtbl[4]))((ID2D1OffsetTransform*)Unsafe.AsPointer(ref this), offset);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1OffsetTransform*, System.Drawing.Point, void>)(lpVtbl[4]))((ID2D1OffsetTransform*)Unsafe.AsPointer(ref this), offset);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1OffsetTransform::GetOffset"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1OffsetTransform::GetOffset"]/*' />
|
||||||
@@ -116,11 +92,7 @@ public unsafe partial struct ID2D1OffsetTransform : ID2D1OffsetTransform.Interfa
|
|||||||
public System.Drawing.Point GetOffset()
|
public System.Drawing.Point GetOffset()
|
||||||
{
|
{
|
||||||
System.Drawing.Point result;
|
System.Drawing.Point result;
|
||||||
#if NET6_0_OR_GREATER
|
return *((delegate* unmanaged[MemberFunction]<ID2D1OffsetTransform*, System.Drawing.Point*, System.Drawing.Point*>)(lpVtbl[5]))((ID2D1OffsetTransform*)Unsafe.AsPointer(ref this), &result);
|
||||||
return *((delegate* unmanaged<ID2D1OffsetTransform*, System.Drawing.Point*, System.Drawing.Point*>)(lpVtbl[5]))((ID2D1OffsetTransform*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#else
|
|
||||||
return *((delegate* unmanaged[Stdcall]<ID2D1OffsetTransform*, System.Drawing.Point*, System.Drawing.Point*>)(lpVtbl[5]))((ID2D1OffsetTransform*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1TransformNode.Interface
|
public interface Interface : ID2D1TransformNode.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1PathGeometry : ID2D1PathGeometry.Interface, IN
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1PathGeometry));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1PathGeometry));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1PathGeometry));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1PathGeometry : ID2D1PathGeometry.Interface, IN
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1PathGeometry : ID2D1PathGeometry.Interface, IN
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry*, uint>)(lpVtbl[1]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry*, uint>)(lpVtbl[1]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry*, uint>)(lpVtbl[1]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1PathGeometry : ID2D1PathGeometry.Interface, IN
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry*, uint>)(lpVtbl[2]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry*, uint>)(lpVtbl[2]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry*, uint>)(lpVtbl[2]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1PathGeometry : ID2D1PathGeometry.Interface, IN
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1PathGeometry*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1PathGeometry*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.GetBounds" />
|
/// <inheritdoc cref="ID2D1Geometry.GetBounds" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1PathGeometry : ID2D1PathGeometry.Interface, IN
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult GetBounds(Matrix3x2* worldTransform, Win32.Numerics.RectF** bounds)
|
public HResult GetBounds(Matrix3x2* worldTransform, Win32.Numerics.RectF** bounds)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry*, Matrix3x2*, Win32.Numerics.RectF**, int>)(lpVtbl[4]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), worldTransform, bounds);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry*, Matrix3x2*, Win32.Numerics.RectF**, int>)(lpVtbl[4]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), worldTransform, bounds);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry*, Matrix3x2*, Win32.Numerics.RectF**, int>)(lpVtbl[4]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), worldTransform, bounds);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.GetWidenedBounds" />
|
/// <inheritdoc cref="ID2D1Geometry.GetWidenedBounds" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1PathGeometry : ID2D1PathGeometry.Interface, IN
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult GetWidenedBounds(float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Win32.Numerics.RectF** bounds)
|
public HResult GetWidenedBounds(float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Win32.Numerics.RectF** bounds)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Win32.Numerics.RectF**, int>)(lpVtbl[5]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, bounds);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Win32.Numerics.RectF**, int>)(lpVtbl[5]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, bounds);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Win32.Numerics.RectF**, int>)(lpVtbl[5]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, bounds);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.StrokeContainsPoint" />
|
/// <inheritdoc cref="ID2D1Geometry.StrokeContainsPoint" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1PathGeometry : ID2D1PathGeometry.Interface, IN
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult StrokeContainsPoint(Vector2 point, float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains)
|
public HResult StrokeContainsPoint(Vector2 point, float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry*, Vector2, float, ID2D1StrokeStyle*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[6]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry*, Vector2, float, ID2D1StrokeStyle*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[6]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry*, Vector2, float, ID2D1StrokeStyle*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[6]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.FillContainsPoint" />
|
/// <inheritdoc cref="ID2D1Geometry.FillContainsPoint" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1PathGeometry : ID2D1PathGeometry.Interface, IN
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public HResult FillContainsPoint(Vector2 point, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains)
|
public HResult FillContainsPoint(Vector2 point, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry*, Vector2, Matrix3x2*, float, Bool32*, int>)(lpVtbl[7]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry*, Vector2, Matrix3x2*, float, Bool32*, int>)(lpVtbl[7]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry*, Vector2, Matrix3x2*, float, Bool32*, int>)(lpVtbl[7]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.CompareWithGeometry" />
|
/// <inheritdoc cref="ID2D1Geometry.CompareWithGeometry" />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1PathGeometry : ID2D1PathGeometry.Interface, IN
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CompareWithGeometry(ID2D1Geometry* inputGeometry, Matrix3x2* inputGeometryTransform, float flatteningTolerance, GeometryRelation* relation)
|
public HResult CompareWithGeometry(ID2D1Geometry* inputGeometry, Matrix3x2* inputGeometryTransform, float flatteningTolerance, GeometryRelation* relation)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry*, ID2D1Geometry*, Matrix3x2*, float, GeometryRelation*, int>)(lpVtbl[8]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), inputGeometry, inputGeometryTransform, flatteningTolerance, relation);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry*, ID2D1Geometry*, Matrix3x2*, float, GeometryRelation*, int>)(lpVtbl[8]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), inputGeometry, inputGeometryTransform, flatteningTolerance, relation);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry*, ID2D1Geometry*, Matrix3x2*, float, GeometryRelation*, int>)(lpVtbl[8]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), inputGeometry, inputGeometryTransform, flatteningTolerance, relation);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.Simplify" />
|
/// <inheritdoc cref="ID2D1Geometry.Simplify" />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1PathGeometry : ID2D1PathGeometry.Interface, IN
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult Simplify(GeometrySimplificationOption simplificationOption, Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
public HResult Simplify(GeometrySimplificationOption simplificationOption, Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry*, GeometrySimplificationOption, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[9]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), simplificationOption, worldTransform, flatteningTolerance, geometrySink);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry*, GeometrySimplificationOption, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[9]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), simplificationOption, worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry*, GeometrySimplificationOption, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[9]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), simplificationOption, worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.Tessellate" />
|
/// <inheritdoc cref="ID2D1Geometry.Tessellate" />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1PathGeometry : ID2D1PathGeometry.Interface, IN
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult Tessellate(Matrix3x2* worldTransform, float flatteningTolerance, ID2D1TessellationSink* tessellationSink)
|
public HResult Tessellate(Matrix3x2* worldTransform, float flatteningTolerance, ID2D1TessellationSink* tessellationSink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry*, Matrix3x2*, float, ID2D1TessellationSink*, int>)(lpVtbl[10]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, tessellationSink);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry*, Matrix3x2*, float, ID2D1TessellationSink*, int>)(lpVtbl[10]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, tessellationSink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry*, Matrix3x2*, float, ID2D1TessellationSink*, int>)(lpVtbl[10]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, tessellationSink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.CombineWithGeometry" />
|
/// <inheritdoc cref="ID2D1Geometry.CombineWithGeometry" />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1PathGeometry : ID2D1PathGeometry.Interface, IN
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult CombineWithGeometry(ID2D1Geometry* inputGeometry, CombineMode combineMode, Matrix3x2* inputGeometryTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
public HResult CombineWithGeometry(ID2D1Geometry* inputGeometry, CombineMode combineMode, Matrix3x2* inputGeometryTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry*, ID2D1Geometry*, CombineMode, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[11]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), inputGeometry, combineMode, inputGeometryTransform, flatteningTolerance, geometrySink);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry*, ID2D1Geometry*, CombineMode, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[11]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), inputGeometry, combineMode, inputGeometryTransform, flatteningTolerance, geometrySink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry*, ID2D1Geometry*, CombineMode, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[11]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), inputGeometry, combineMode, inputGeometryTransform, flatteningTolerance, geometrySink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.Outline" />
|
/// <inheritdoc cref="ID2D1Geometry.Outline" />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1PathGeometry : ID2D1PathGeometry.Interface, IN
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public HResult Outline(Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
public HResult Outline(Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[12]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, geometrySink);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[12]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[12]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.ComputeArea" />
|
/// <inheritdoc cref="ID2D1Geometry.ComputeArea" />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1PathGeometry : ID2D1PathGeometry.Interface, IN
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult ComputeArea(Matrix3x2* worldTransform, float flatteningTolerance, float* area)
|
public HResult ComputeArea(Matrix3x2* worldTransform, float flatteningTolerance, float* area)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry*, Matrix3x2*, float, float*, int>)(lpVtbl[13]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, area);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry*, Matrix3x2*, float, float*, int>)(lpVtbl[13]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, area);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry*, Matrix3x2*, float, float*, int>)(lpVtbl[13]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, area);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.ComputeLength" />
|
/// <inheritdoc cref="ID2D1Geometry.ComputeLength" />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1PathGeometry : ID2D1PathGeometry.Interface, IN
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public HResult ComputeLength(Matrix3x2* worldTransform, float flatteningTolerance, float* length)
|
public HResult ComputeLength(Matrix3x2* worldTransform, float flatteningTolerance, float* length)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry*, Matrix3x2*, float, float*, int>)(lpVtbl[14]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, length);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry*, Matrix3x2*, float, float*, int>)(lpVtbl[14]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, length);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry*, Matrix3x2*, float, float*, int>)(lpVtbl[14]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, length);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.ComputePointAtLength" />
|
/// <inheritdoc cref="ID2D1Geometry.ComputePointAtLength" />
|
||||||
@@ -235,11 +171,7 @@ public unsafe partial struct ID2D1PathGeometry : ID2D1PathGeometry.Interface, IN
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public HResult ComputePointAtLength(float length, Matrix3x2* worldTransform, float flatteningTolerance, Vector2* point, Vector2* unitTangentVector)
|
public HResult ComputePointAtLength(float length, Matrix3x2* worldTransform, float flatteningTolerance, Vector2* point, Vector2* unitTangentVector)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry*, float, Matrix3x2*, float, Vector2*, Vector2*, int>)(lpVtbl[15]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry*, float, Matrix3x2*, float, Vector2*, Vector2*, int>)(lpVtbl[15]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry*, float, Matrix3x2*, float, Vector2*, Vector2*, int>)(lpVtbl[15]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.Widen" />
|
/// <inheritdoc cref="ID2D1Geometry.Widen" />
|
||||||
@@ -247,11 +179,7 @@ public unsafe partial struct ID2D1PathGeometry : ID2D1PathGeometry.Interface, IN
|
|||||||
[VtblIndex(16)]
|
[VtblIndex(16)]
|
||||||
public HResult Widen(float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
public HResult Widen(float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[16]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, geometrySink);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[16]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[16]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1PathGeometry::Open"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1PathGeometry::Open"]/*' />
|
||||||
@@ -259,11 +187,7 @@ public unsafe partial struct ID2D1PathGeometry : ID2D1PathGeometry.Interface, IN
|
|||||||
[VtblIndex(17)]
|
[VtblIndex(17)]
|
||||||
public HResult Open(ID2D1GeometrySink** geometrySink)
|
public HResult Open(ID2D1GeometrySink** geometrySink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry*, ID2D1GeometrySink**, int>)(lpVtbl[17]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), geometrySink);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry*, ID2D1GeometrySink**, int>)(lpVtbl[17]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), geometrySink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry*, ID2D1GeometrySink**, int>)(lpVtbl[17]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), geometrySink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1PathGeometry::Stream"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1PathGeometry::Stream"]/*' />
|
||||||
@@ -271,11 +195,7 @@ public unsafe partial struct ID2D1PathGeometry : ID2D1PathGeometry.Interface, IN
|
|||||||
[VtblIndex(18)]
|
[VtblIndex(18)]
|
||||||
public HResult Stream(ID2D1GeometrySink* geometrySink)
|
public HResult Stream(ID2D1GeometrySink* geometrySink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry*, ID2D1GeometrySink*, int>)(lpVtbl[18]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), geometrySink);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry*, ID2D1GeometrySink*, int>)(lpVtbl[18]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), geometrySink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry*, ID2D1GeometrySink*, int>)(lpVtbl[18]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), geometrySink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1PathGeometry::GetSegmentCount"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1PathGeometry::GetSegmentCount"]/*' />
|
||||||
@@ -283,11 +203,7 @@ public unsafe partial struct ID2D1PathGeometry : ID2D1PathGeometry.Interface, IN
|
|||||||
[VtblIndex(19)]
|
[VtblIndex(19)]
|
||||||
public HResult GetSegmentCount(uint* count)
|
public HResult GetSegmentCount(uint* count)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry*, uint*, int>)(lpVtbl[19]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), count);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry*, uint*, int>)(lpVtbl[19]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), count);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry*, uint*, int>)(lpVtbl[19]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), count);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1PathGeometry::GetFigureCount"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1PathGeometry::GetFigureCount"]/*' />
|
||||||
@@ -295,11 +211,7 @@ public unsafe partial struct ID2D1PathGeometry : ID2D1PathGeometry.Interface, IN
|
|||||||
[VtblIndex(20)]
|
[VtblIndex(20)]
|
||||||
public HResult GetFigureCount(uint* count)
|
public HResult GetFigureCount(uint* count)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry*, uint*, int>)(lpVtbl[20]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), count);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry*, uint*, int>)(lpVtbl[20]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), count);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry*, uint*, int>)(lpVtbl[20]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), count);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Geometry.Interface
|
public interface Interface : ID2D1Geometry.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1PathGeometry1 : ID2D1PathGeometry1.Interface,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1PathGeometry1));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1PathGeometry1));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1PathGeometry1));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1PathGeometry1 : ID2D1PathGeometry1.Interface,
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry1*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1PathGeometry1 : ID2D1PathGeometry1.Interface,
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry1*, uint>)(lpVtbl[1]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry1*, uint>)(lpVtbl[1]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry1*, uint>)(lpVtbl[1]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1PathGeometry1 : ID2D1PathGeometry1.Interface,
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry1*, uint>)(lpVtbl[2]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry1*, uint>)(lpVtbl[2]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry1*, uint>)(lpVtbl[2]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1PathGeometry1 : ID2D1PathGeometry1.Interface,
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry1*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1PathGeometry1*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1PathGeometry1*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.GetBounds" />
|
/// <inheritdoc cref="ID2D1Geometry.GetBounds" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1PathGeometry1 : ID2D1PathGeometry1.Interface,
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult GetBounds(Matrix3x2* worldTransform, Win32.Numerics.RectF** bounds)
|
public HResult GetBounds(Matrix3x2* worldTransform, Win32.Numerics.RectF** bounds)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry1*, Matrix3x2*, Win32.Numerics.RectF**, int>)(lpVtbl[4]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), worldTransform, bounds);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry1*, Matrix3x2*, Win32.Numerics.RectF**, int>)(lpVtbl[4]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), worldTransform, bounds);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry1*, Matrix3x2*, Win32.Numerics.RectF**, int>)(lpVtbl[4]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), worldTransform, bounds);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.GetWidenedBounds" />
|
/// <inheritdoc cref="ID2D1Geometry.GetWidenedBounds" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1PathGeometry1 : ID2D1PathGeometry1.Interface,
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult GetWidenedBounds(float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Win32.Numerics.RectF** bounds)
|
public HResult GetWidenedBounds(float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Win32.Numerics.RectF** bounds)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry1*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Win32.Numerics.RectF**, int>)(lpVtbl[5]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, bounds);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry1*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Win32.Numerics.RectF**, int>)(lpVtbl[5]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, bounds);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry1*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Win32.Numerics.RectF**, int>)(lpVtbl[5]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, bounds);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.StrokeContainsPoint" />
|
/// <inheritdoc cref="ID2D1Geometry.StrokeContainsPoint" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1PathGeometry1 : ID2D1PathGeometry1.Interface,
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult StrokeContainsPoint(Vector2 point, float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains)
|
public HResult StrokeContainsPoint(Vector2 point, float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry1*, Vector2, float, ID2D1StrokeStyle*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[6]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry1*, Vector2, float, ID2D1StrokeStyle*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[6]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry1*, Vector2, float, ID2D1StrokeStyle*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[6]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.FillContainsPoint" />
|
/// <inheritdoc cref="ID2D1Geometry.FillContainsPoint" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1PathGeometry1 : ID2D1PathGeometry1.Interface,
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public HResult FillContainsPoint(Vector2 point, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains)
|
public HResult FillContainsPoint(Vector2 point, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry1*, Vector2, Matrix3x2*, float, Bool32*, int>)(lpVtbl[7]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry1*, Vector2, Matrix3x2*, float, Bool32*, int>)(lpVtbl[7]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry1*, Vector2, Matrix3x2*, float, Bool32*, int>)(lpVtbl[7]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.CompareWithGeometry" />
|
/// <inheritdoc cref="ID2D1Geometry.CompareWithGeometry" />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1PathGeometry1 : ID2D1PathGeometry1.Interface,
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CompareWithGeometry(ID2D1Geometry* inputGeometry, Matrix3x2* inputGeometryTransform, float flatteningTolerance, GeometryRelation* relation)
|
public HResult CompareWithGeometry(ID2D1Geometry* inputGeometry, Matrix3x2* inputGeometryTransform, float flatteningTolerance, GeometryRelation* relation)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry1*, ID2D1Geometry*, Matrix3x2*, float, GeometryRelation*, int>)(lpVtbl[8]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), inputGeometry, inputGeometryTransform, flatteningTolerance, relation);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry1*, ID2D1Geometry*, Matrix3x2*, float, GeometryRelation*, int>)(lpVtbl[8]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), inputGeometry, inputGeometryTransform, flatteningTolerance, relation);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry1*, ID2D1Geometry*, Matrix3x2*, float, GeometryRelation*, int>)(lpVtbl[8]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), inputGeometry, inputGeometryTransform, flatteningTolerance, relation);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.Simplify" />
|
/// <inheritdoc cref="ID2D1Geometry.Simplify" />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1PathGeometry1 : ID2D1PathGeometry1.Interface,
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult Simplify(GeometrySimplificationOption simplificationOption, Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
public HResult Simplify(GeometrySimplificationOption simplificationOption, Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry1*, GeometrySimplificationOption, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[9]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), simplificationOption, worldTransform, flatteningTolerance, geometrySink);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry1*, GeometrySimplificationOption, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[9]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), simplificationOption, worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry1*, GeometrySimplificationOption, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[9]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), simplificationOption, worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.Tessellate" />
|
/// <inheritdoc cref="ID2D1Geometry.Tessellate" />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1PathGeometry1 : ID2D1PathGeometry1.Interface,
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult Tessellate(Matrix3x2* worldTransform, float flatteningTolerance, ID2D1TessellationSink* tessellationSink)
|
public HResult Tessellate(Matrix3x2* worldTransform, float flatteningTolerance, ID2D1TessellationSink* tessellationSink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry1*, Matrix3x2*, float, ID2D1TessellationSink*, int>)(lpVtbl[10]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, tessellationSink);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry1*, Matrix3x2*, float, ID2D1TessellationSink*, int>)(lpVtbl[10]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, tessellationSink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry1*, Matrix3x2*, float, ID2D1TessellationSink*, int>)(lpVtbl[10]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, tessellationSink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.CombineWithGeometry" />
|
/// <inheritdoc cref="ID2D1Geometry.CombineWithGeometry" />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1PathGeometry1 : ID2D1PathGeometry1.Interface,
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult CombineWithGeometry(ID2D1Geometry* inputGeometry, CombineMode combineMode, Matrix3x2* inputGeometryTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
public HResult CombineWithGeometry(ID2D1Geometry* inputGeometry, CombineMode combineMode, Matrix3x2* inputGeometryTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry1*, ID2D1Geometry*, CombineMode, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[11]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), inputGeometry, combineMode, inputGeometryTransform, flatteningTolerance, geometrySink);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry1*, ID2D1Geometry*, CombineMode, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[11]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), inputGeometry, combineMode, inputGeometryTransform, flatteningTolerance, geometrySink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry1*, ID2D1Geometry*, CombineMode, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[11]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), inputGeometry, combineMode, inputGeometryTransform, flatteningTolerance, geometrySink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.Outline" />
|
/// <inheritdoc cref="ID2D1Geometry.Outline" />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1PathGeometry1 : ID2D1PathGeometry1.Interface,
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public HResult Outline(Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
public HResult Outline(Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry1*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[12]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, geometrySink);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry1*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[12]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry1*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[12]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.ComputeArea" />
|
/// <inheritdoc cref="ID2D1Geometry.ComputeArea" />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1PathGeometry1 : ID2D1PathGeometry1.Interface,
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult ComputeArea(Matrix3x2* worldTransform, float flatteningTolerance, float* area)
|
public HResult ComputeArea(Matrix3x2* worldTransform, float flatteningTolerance, float* area)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry1*, Matrix3x2*, float, float*, int>)(lpVtbl[13]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, area);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry1*, Matrix3x2*, float, float*, int>)(lpVtbl[13]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, area);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry1*, Matrix3x2*, float, float*, int>)(lpVtbl[13]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, area);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.ComputeLength" />
|
/// <inheritdoc cref="ID2D1Geometry.ComputeLength" />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1PathGeometry1 : ID2D1PathGeometry1.Interface,
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public HResult ComputeLength(Matrix3x2* worldTransform, float flatteningTolerance, float* length)
|
public HResult ComputeLength(Matrix3x2* worldTransform, float flatteningTolerance, float* length)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry1*, Matrix3x2*, float, float*, int>)(lpVtbl[14]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, length);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry1*, Matrix3x2*, float, float*, int>)(lpVtbl[14]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, length);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry1*, Matrix3x2*, float, float*, int>)(lpVtbl[14]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, length);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.ComputePointAtLength" />
|
/// <inheritdoc cref="ID2D1Geometry.ComputePointAtLength" />
|
||||||
@@ -235,11 +171,7 @@ public unsafe partial struct ID2D1PathGeometry1 : ID2D1PathGeometry1.Interface,
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public HResult ComputePointAtLength(float length, Matrix3x2* worldTransform, float flatteningTolerance, Vector2* point, Vector2* unitTangentVector)
|
public HResult ComputePointAtLength(float length, Matrix3x2* worldTransform, float flatteningTolerance, Vector2* point, Vector2* unitTangentVector)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry1*, float, Matrix3x2*, float, Vector2*, Vector2*, int>)(lpVtbl[15]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry1*, float, Matrix3x2*, float, Vector2*, Vector2*, int>)(lpVtbl[15]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry1*, float, Matrix3x2*, float, Vector2*, Vector2*, int>)(lpVtbl[15]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.Widen" />
|
/// <inheritdoc cref="ID2D1Geometry.Widen" />
|
||||||
@@ -247,11 +179,7 @@ public unsafe partial struct ID2D1PathGeometry1 : ID2D1PathGeometry1.Interface,
|
|||||||
[VtblIndex(16)]
|
[VtblIndex(16)]
|
||||||
public HResult Widen(float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
public HResult Widen(float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry1*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[16]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, geometrySink);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry1*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[16]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry1*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[16]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1PathGeometry.Open" />
|
/// <inheritdoc cref="ID2D1PathGeometry.Open" />
|
||||||
@@ -259,11 +187,7 @@ public unsafe partial struct ID2D1PathGeometry1 : ID2D1PathGeometry1.Interface,
|
|||||||
[VtblIndex(17)]
|
[VtblIndex(17)]
|
||||||
public HResult Open(ID2D1GeometrySink** geometrySink)
|
public HResult Open(ID2D1GeometrySink** geometrySink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry1*, ID2D1GeometrySink**, int>)(lpVtbl[17]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), geometrySink);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry1*, ID2D1GeometrySink**, int>)(lpVtbl[17]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), geometrySink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry1*, ID2D1GeometrySink**, int>)(lpVtbl[17]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), geometrySink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1PathGeometry.Stream" />
|
/// <inheritdoc cref="ID2D1PathGeometry.Stream" />
|
||||||
@@ -271,11 +195,7 @@ public unsafe partial struct ID2D1PathGeometry1 : ID2D1PathGeometry1.Interface,
|
|||||||
[VtblIndex(18)]
|
[VtblIndex(18)]
|
||||||
public HResult Stream(ID2D1GeometrySink* geometrySink)
|
public HResult Stream(ID2D1GeometrySink* geometrySink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry1*, ID2D1GeometrySink*, int>)(lpVtbl[18]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), geometrySink);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry1*, ID2D1GeometrySink*, int>)(lpVtbl[18]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), geometrySink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry1*, ID2D1GeometrySink*, int>)(lpVtbl[18]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), geometrySink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1PathGeometry.GetSegmentCount" />
|
/// <inheritdoc cref="ID2D1PathGeometry.GetSegmentCount" />
|
||||||
@@ -283,11 +203,7 @@ public unsafe partial struct ID2D1PathGeometry1 : ID2D1PathGeometry1.Interface,
|
|||||||
[VtblIndex(19)]
|
[VtblIndex(19)]
|
||||||
public HResult GetSegmentCount(uint* count)
|
public HResult GetSegmentCount(uint* count)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry1*, uint*, int>)(lpVtbl[19]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), count);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry1*, uint*, int>)(lpVtbl[19]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), count);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry1*, uint*, int>)(lpVtbl[19]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), count);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1PathGeometry.GetFigureCount" />
|
/// <inheritdoc cref="ID2D1PathGeometry.GetFigureCount" />
|
||||||
@@ -295,11 +211,7 @@ public unsafe partial struct ID2D1PathGeometry1 : ID2D1PathGeometry1.Interface,
|
|||||||
[VtblIndex(20)]
|
[VtblIndex(20)]
|
||||||
public HResult GetFigureCount(uint* count)
|
public HResult GetFigureCount(uint* count)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry1*, uint*, int>)(lpVtbl[20]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), count);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry1*, uint*, int>)(lpVtbl[20]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), count);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry1*, uint*, int>)(lpVtbl[20]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), count);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1PathGeometry1::ComputePointAndSegmentAtLength"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1PathGeometry1::ComputePointAndSegmentAtLength"]/*' />
|
||||||
@@ -307,11 +219,7 @@ public unsafe partial struct ID2D1PathGeometry1 : ID2D1PathGeometry1.Interface,
|
|||||||
[VtblIndex(21)]
|
[VtblIndex(21)]
|
||||||
public HResult ComputePointAndSegmentAtLength(float length, uint startSegment, Matrix3x2* worldTransform, float flatteningTolerance, PointDescription* pointDescription)
|
public HResult ComputePointAndSegmentAtLength(float length, uint startSegment, Matrix3x2* worldTransform, float flatteningTolerance, PointDescription* pointDescription)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PathGeometry1*, float, uint, Matrix3x2*, float, PointDescription*, int>)(lpVtbl[21]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), length, startSegment, worldTransform, flatteningTolerance, pointDescription);
|
||||||
return ((delegate* unmanaged<ID2D1PathGeometry1*, float, uint, Matrix3x2*, float, PointDescription*, int>)(lpVtbl[21]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), length, startSegment, worldTransform, flatteningTolerance, pointDescription);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PathGeometry1*, float, uint, Matrix3x2*, float, PointDescription*, int>)(lpVtbl[21]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), length, startSegment, worldTransform, flatteningTolerance, pointDescription);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1PathGeometry.Interface
|
public interface Interface : ID2D1PathGeometry.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1PrintControl : ID2D1PrintControl.Interface, IN
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1PrintControl));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1PrintControl));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1PrintControl));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1PrintControl : ID2D1PrintControl.Interface, IN
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PrintControl*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1PrintControl*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1PrintControl*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1PrintControl*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PrintControl*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1PrintControl*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1PrintControl : ID2D1PrintControl.Interface, IN
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PrintControl*, uint>)(lpVtbl[1]))((ID2D1PrintControl*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1PrintControl*, uint>)(lpVtbl[1]))((ID2D1PrintControl*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PrintControl*, uint>)(lpVtbl[1]))((ID2D1PrintControl*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1PrintControl : ID2D1PrintControl.Interface, IN
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PrintControl*, uint>)(lpVtbl[2]))((ID2D1PrintControl*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1PrintControl*, uint>)(lpVtbl[2]))((ID2D1PrintControl*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PrintControl*, uint>)(lpVtbl[2]))((ID2D1PrintControl*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1PrintControl::AddPage"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1PrintControl::AddPage"]/*' />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1PrintControl : ID2D1PrintControl.Interface, IN
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public HResult AddPage(ID2D1CommandList* commandList, System.Drawing.SizeF pageSize, Com.IStream* pagePrintTicketStream, ulong* tag1, ulong* tag2)
|
public HResult AddPage(ID2D1CommandList* commandList, System.Drawing.SizeF pageSize, Com.IStream* pagePrintTicketStream, ulong* tag1, ulong* tag2)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PrintControl*, ID2D1CommandList*, System.Drawing.SizeF, Com.IStream*, ulong*, ulong*, int>)(lpVtbl[3]))((ID2D1PrintControl*)Unsafe.AsPointer(ref this), commandList, pageSize, pagePrintTicketStream, tag1, tag2);
|
||||||
return ((delegate* unmanaged<ID2D1PrintControl*, ID2D1CommandList*, System.Drawing.SizeF, Com.IStream*, ulong*, ulong*, int>)(lpVtbl[3]))((ID2D1PrintControl*)Unsafe.AsPointer(ref this), commandList, pageSize, pagePrintTicketStream, tag1, tag2);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PrintControl*, ID2D1CommandList*, System.Drawing.SizeF, Com.IStream*, ulong*, ulong*, int>)(lpVtbl[3]))((ID2D1PrintControl*)Unsafe.AsPointer(ref this), commandList, pageSize, pagePrintTicketStream, tag1, tag2);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1PrintControl::Close"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1PrintControl::Close"]/*' />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1PrintControl : ID2D1PrintControl.Interface, IN
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult Close()
|
public HResult Close()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1PrintControl*, int>)(lpVtbl[4]))((ID2D1PrintControl*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1PrintControl*, int>)(lpVtbl[4]))((ID2D1PrintControl*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1PrintControl*, int>)(lpVtbl[4]))((ID2D1PrintControl*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : IUnknown.Interface
|
public interface Interface : IUnknown.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1Properties : ID2D1Properties.Interface, INativ
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Properties));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Properties));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Properties));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1Properties : ID2D1Properties.Interface, INativ
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Properties*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Properties*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1Properties*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Properties*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Properties*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1Properties*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1Properties : ID2D1Properties.Interface, INativ
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Properties*, uint>)(lpVtbl[1]))((ID2D1Properties*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Properties*, uint>)(lpVtbl[1]))((ID2D1Properties*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Properties*, uint>)(lpVtbl[1]))((ID2D1Properties*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1Properties : ID2D1Properties.Interface, INativ
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Properties*, uint>)(lpVtbl[2]))((ID2D1Properties*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Properties*, uint>)(lpVtbl[2]))((ID2D1Properties*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Properties*, uint>)(lpVtbl[2]))((ID2D1Properties*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Properties::GetPropertyCount"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Properties::GetPropertyCount"]/*' />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1Properties : ID2D1Properties.Interface, INativ
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public uint GetPropertyCount()
|
public uint GetPropertyCount()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Properties*, uint>)(lpVtbl[3]))((ID2D1Properties*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1Properties*, uint>)(lpVtbl[3]))((ID2D1Properties*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Properties*, uint>)(lpVtbl[3]))((ID2D1Properties*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Properties::GetPropertyName"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Properties::GetPropertyName"]/*' />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1Properties : ID2D1Properties.Interface, INativ
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult GetPropertyName(uint index, ushort* name, uint nameCount)
|
public HResult GetPropertyName(uint index, ushort* name, uint nameCount)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Properties*, uint, ushort*, uint, int>)(lpVtbl[4]))((ID2D1Properties*)Unsafe.AsPointer(ref this), index, name, nameCount);
|
||||||
return ((delegate* unmanaged<ID2D1Properties*, uint, ushort*, uint, int>)(lpVtbl[4]))((ID2D1Properties*)Unsafe.AsPointer(ref this), index, name, nameCount);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Properties*, uint, ushort*, uint, int>)(lpVtbl[4]))((ID2D1Properties*)Unsafe.AsPointer(ref this), index, name, nameCount);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Properties::GetPropertyNameLength"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Properties::GetPropertyNameLength"]/*' />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1Properties : ID2D1Properties.Interface, INativ
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public uint GetPropertyNameLength(uint index)
|
public uint GetPropertyNameLength(uint index)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Properties*, uint, uint>)(lpVtbl[5]))((ID2D1Properties*)Unsafe.AsPointer(ref this), index);
|
||||||
return ((delegate* unmanaged<ID2D1Properties*, uint, uint>)(lpVtbl[5]))((ID2D1Properties*)Unsafe.AsPointer(ref this), index);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Properties*, uint, uint>)(lpVtbl[5]))((ID2D1Properties*)Unsafe.AsPointer(ref this), index);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Properties::GetType"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Properties::GetType"]/*' />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1Properties : ID2D1Properties.Interface, INativ
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public PropertyType GetType(uint index)
|
public PropertyType GetType(uint index)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Properties*, uint, PropertyType>)(lpVtbl[6]))((ID2D1Properties*)Unsafe.AsPointer(ref this), index);
|
||||||
return ((delegate* unmanaged<ID2D1Properties*, uint, PropertyType>)(lpVtbl[6]))((ID2D1Properties*)Unsafe.AsPointer(ref this), index);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Properties*, uint, PropertyType>)(lpVtbl[6]))((ID2D1Properties*)Unsafe.AsPointer(ref this), index);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Properties::GetPropertyIndex"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Properties::GetPropertyIndex"]/*' />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1Properties : ID2D1Properties.Interface, INativ
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public uint GetPropertyIndex(ushort* name)
|
public uint GetPropertyIndex(ushort* name)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Properties*, ushort*, uint>)(lpVtbl[7]))((ID2D1Properties*)Unsafe.AsPointer(ref this), name);
|
||||||
return ((delegate* unmanaged<ID2D1Properties*, ushort*, uint>)(lpVtbl[7]))((ID2D1Properties*)Unsafe.AsPointer(ref this), name);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Properties*, ushort*, uint>)(lpVtbl[7]))((ID2D1Properties*)Unsafe.AsPointer(ref this), name);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Properties::SetValueByName"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Properties::SetValueByName"]/*' />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1Properties : ID2D1Properties.Interface, INativ
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult SetValueByName(ushort* name, PropertyType type, byte* data, uint dataSize)
|
public HResult SetValueByName(ushort* name, PropertyType type, byte* data, uint dataSize)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Properties*, ushort*, PropertyType, byte*, uint, int>)(lpVtbl[8]))((ID2D1Properties*)Unsafe.AsPointer(ref this), name, type, data, dataSize);
|
||||||
return ((delegate* unmanaged<ID2D1Properties*, ushort*, PropertyType, byte*, uint, int>)(lpVtbl[8]))((ID2D1Properties*)Unsafe.AsPointer(ref this), name, type, data, dataSize);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Properties*, ushort*, PropertyType, byte*, uint, int>)(lpVtbl[8]))((ID2D1Properties*)Unsafe.AsPointer(ref this), name, type, data, dataSize);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Properties::SetValue"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Properties::SetValue"]/*' />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1Properties : ID2D1Properties.Interface, INativ
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult SetValue(uint index, PropertyType type, byte* data, uint dataSize)
|
public HResult SetValue(uint index, PropertyType type, byte* data, uint dataSize)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Properties*, uint, PropertyType, byte*, uint, int>)(lpVtbl[9]))((ID2D1Properties*)Unsafe.AsPointer(ref this), index, type, data, dataSize);
|
||||||
return ((delegate* unmanaged<ID2D1Properties*, uint, PropertyType, byte*, uint, int>)(lpVtbl[9]))((ID2D1Properties*)Unsafe.AsPointer(ref this), index, type, data, dataSize);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Properties*, uint, PropertyType, byte*, uint, int>)(lpVtbl[9]))((ID2D1Properties*)Unsafe.AsPointer(ref this), index, type, data, dataSize);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Properties::GetValueByName"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Properties::GetValueByName"]/*' />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1Properties : ID2D1Properties.Interface, INativ
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult GetValueByName(ushort* name, PropertyType type, byte* data, uint dataSize)
|
public HResult GetValueByName(ushort* name, PropertyType type, byte* data, uint dataSize)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Properties*, ushort*, PropertyType, byte*, uint, int>)(lpVtbl[10]))((ID2D1Properties*)Unsafe.AsPointer(ref this), name, type, data, dataSize);
|
||||||
return ((delegate* unmanaged<ID2D1Properties*, ushort*, PropertyType, byte*, uint, int>)(lpVtbl[10]))((ID2D1Properties*)Unsafe.AsPointer(ref this), name, type, data, dataSize);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Properties*, ushort*, PropertyType, byte*, uint, int>)(lpVtbl[10]))((ID2D1Properties*)Unsafe.AsPointer(ref this), name, type, data, dataSize);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Properties::GetValue"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Properties::GetValue"]/*' />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1Properties : ID2D1Properties.Interface, INativ
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult GetValue(uint index, PropertyType type, byte* data, uint dataSize)
|
public HResult GetValue(uint index, PropertyType type, byte* data, uint dataSize)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Properties*, uint, PropertyType, byte*, uint, int>)(lpVtbl[11]))((ID2D1Properties*)Unsafe.AsPointer(ref this), index, type, data, dataSize);
|
||||||
return ((delegate* unmanaged<ID2D1Properties*, uint, PropertyType, byte*, uint, int>)(lpVtbl[11]))((ID2D1Properties*)Unsafe.AsPointer(ref this), index, type, data, dataSize);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Properties*, uint, PropertyType, byte*, uint, int>)(lpVtbl[11]))((ID2D1Properties*)Unsafe.AsPointer(ref this), index, type, data, dataSize);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Properties::GetValueSize"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Properties::GetValueSize"]/*' />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1Properties : ID2D1Properties.Interface, INativ
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public uint GetValueSize(uint index)
|
public uint GetValueSize(uint index)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Properties*, uint, uint>)(lpVtbl[12]))((ID2D1Properties*)Unsafe.AsPointer(ref this), index);
|
||||||
return ((delegate* unmanaged<ID2D1Properties*, uint, uint>)(lpVtbl[12]))((ID2D1Properties*)Unsafe.AsPointer(ref this), index);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Properties*, uint, uint>)(lpVtbl[12]))((ID2D1Properties*)Unsafe.AsPointer(ref this), index);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Properties::GetSubProperties"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1Properties::GetSubProperties"]/*' />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1Properties : ID2D1Properties.Interface, INativ
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult GetSubProperties(uint index, ID2D1Properties** subProperties)
|
public HResult GetSubProperties(uint index, ID2D1Properties** subProperties)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1Properties*, uint, ID2D1Properties**, int>)(lpVtbl[13]))((ID2D1Properties*)Unsafe.AsPointer(ref this), index, subProperties);
|
||||||
return ((delegate* unmanaged<ID2D1Properties*, uint, ID2D1Properties**, int>)(lpVtbl[13]))((ID2D1Properties*)Unsafe.AsPointer(ref this), index, subProperties);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1Properties*, uint, ID2D1Properties**, int>)(lpVtbl[13]))((ID2D1Properties*)Unsafe.AsPointer(ref this), index, subProperties);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : IUnknown.Interface
|
public interface Interface : IUnknown.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1RadialGradientBrush : ID2D1RadialGradientBrush
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1RadialGradientBrush));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1RadialGradientBrush));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1RadialGradientBrush));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1RadialGradientBrush : ID2D1RadialGradientBrush
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RadialGradientBrush*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1RadialGradientBrush*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RadialGradientBrush*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1RadialGradientBrush : ID2D1RadialGradientBrush
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RadialGradientBrush*, uint>)(lpVtbl[1]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1RadialGradientBrush*, uint>)(lpVtbl[1]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RadialGradientBrush*, uint>)(lpVtbl[1]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1RadialGradientBrush : ID2D1RadialGradientBrush
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RadialGradientBrush*, uint>)(lpVtbl[2]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1RadialGradientBrush*, uint>)(lpVtbl[2]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RadialGradientBrush*, uint>)(lpVtbl[2]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1RadialGradientBrush : ID2D1RadialGradientBrush
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RadialGradientBrush*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1RadialGradientBrush*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RadialGradientBrush*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Brush.SetOpacity" />
|
/// <inheritdoc cref="ID2D1Brush.SetOpacity" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1RadialGradientBrush : ID2D1RadialGradientBrush
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public void SetOpacity(float opacity)
|
public void SetOpacity(float opacity)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RadialGradientBrush*, float, void>)(lpVtbl[4]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), opacity);
|
||||||
((delegate* unmanaged<ID2D1RadialGradientBrush*, float, void>)(lpVtbl[4]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), opacity);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RadialGradientBrush*, float, void>)(lpVtbl[4]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), opacity);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Brush.SetTransform" />
|
/// <inheritdoc cref="ID2D1Brush.SetTransform" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1RadialGradientBrush : ID2D1RadialGradientBrush
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public void SetTransform(Matrix3x2* transform)
|
public void SetTransform(Matrix3x2* transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RadialGradientBrush*, Matrix3x2*, void>)(lpVtbl[5]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), transform);
|
||||||
((delegate* unmanaged<ID2D1RadialGradientBrush*, Matrix3x2*, void>)(lpVtbl[5]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RadialGradientBrush*, Matrix3x2*, void>)(lpVtbl[5]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Brush.GetOpacity" />
|
/// <inheritdoc cref="ID2D1Brush.GetOpacity" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1RadialGradientBrush : ID2D1RadialGradientBrush
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public float GetOpacity()
|
public float GetOpacity()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RadialGradientBrush*, float>)(lpVtbl[6]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1RadialGradientBrush*, float>)(lpVtbl[6]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RadialGradientBrush*, float>)(lpVtbl[6]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Brush.GetTransform" />
|
/// <inheritdoc cref="ID2D1Brush.GetTransform" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1RadialGradientBrush : ID2D1RadialGradientBrush
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public void GetTransform(Matrix3x2* transform)
|
public void GetTransform(Matrix3x2* transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RadialGradientBrush*, Matrix3x2*, void>)(lpVtbl[7]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), transform);
|
||||||
((delegate* unmanaged<ID2D1RadialGradientBrush*, Matrix3x2*, void>)(lpVtbl[7]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RadialGradientBrush*, Matrix3x2*, void>)(lpVtbl[7]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RadialGradientBrush::SetCenter"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RadialGradientBrush::SetCenter"]/*' />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1RadialGradientBrush : ID2D1RadialGradientBrush
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public void SetCenter(Vector2 center)
|
public void SetCenter(Vector2 center)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RadialGradientBrush*, Vector2, void>)(lpVtbl[8]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), center);
|
||||||
((delegate* unmanaged<ID2D1RadialGradientBrush*, Vector2, void>)(lpVtbl[8]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), center);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RadialGradientBrush*, Vector2, void>)(lpVtbl[8]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), center);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RadialGradientBrush::SetGradientOriginOffset"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RadialGradientBrush::SetGradientOriginOffset"]/*' />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1RadialGradientBrush : ID2D1RadialGradientBrush
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public void SetGradientOriginOffset(Vector2 gradientOriginOffset)
|
public void SetGradientOriginOffset(Vector2 gradientOriginOffset)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RadialGradientBrush*, Vector2, void>)(lpVtbl[9]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), gradientOriginOffset);
|
||||||
((delegate* unmanaged<ID2D1RadialGradientBrush*, Vector2, void>)(lpVtbl[9]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), gradientOriginOffset);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RadialGradientBrush*, Vector2, void>)(lpVtbl[9]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), gradientOriginOffset);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RadialGradientBrush::SetRadiusX"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RadialGradientBrush::SetRadiusX"]/*' />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1RadialGradientBrush : ID2D1RadialGradientBrush
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public void SetRadiusX(float radiusX)
|
public void SetRadiusX(float radiusX)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RadialGradientBrush*, float, void>)(lpVtbl[10]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), radiusX);
|
||||||
((delegate* unmanaged<ID2D1RadialGradientBrush*, float, void>)(lpVtbl[10]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), radiusX);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RadialGradientBrush*, float, void>)(lpVtbl[10]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), radiusX);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RadialGradientBrush::SetRadiusY"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RadialGradientBrush::SetRadiusY"]/*' />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1RadialGradientBrush : ID2D1RadialGradientBrush
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public void SetRadiusY(float radiusY)
|
public void SetRadiusY(float radiusY)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RadialGradientBrush*, float, void>)(lpVtbl[11]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), radiusY);
|
||||||
((delegate* unmanaged<ID2D1RadialGradientBrush*, float, void>)(lpVtbl[11]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), radiusY);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RadialGradientBrush*, float, void>)(lpVtbl[11]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), radiusY);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RadialGradientBrush::GetCenter"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RadialGradientBrush::GetCenter"]/*' />
|
||||||
@@ -200,11 +148,7 @@ public unsafe partial struct ID2D1RadialGradientBrush : ID2D1RadialGradientBrush
|
|||||||
public Vector2 GetCenter()
|
public Vector2 GetCenter()
|
||||||
{
|
{
|
||||||
Vector2 result;
|
Vector2 result;
|
||||||
#if NET6_0_OR_GREATER
|
return *((delegate* unmanaged[MemberFunction]<ID2D1RadialGradientBrush*, Vector2*, Vector2*>)(lpVtbl[12]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), &result);
|
||||||
return *((delegate* unmanaged<ID2D1RadialGradientBrush*, Vector2*, Vector2*>)(lpVtbl[12]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#else
|
|
||||||
return *((delegate* unmanaged[Stdcall]<ID2D1RadialGradientBrush*, Vector2*, Vector2*>)(lpVtbl[12]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RadialGradientBrush::GetGradientOriginOffset"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RadialGradientBrush::GetGradientOriginOffset"]/*' />
|
||||||
@@ -213,11 +157,7 @@ public unsafe partial struct ID2D1RadialGradientBrush : ID2D1RadialGradientBrush
|
|||||||
public Vector2 GetGradientOriginOffset()
|
public Vector2 GetGradientOriginOffset()
|
||||||
{
|
{
|
||||||
Vector2 result;
|
Vector2 result;
|
||||||
#if NET6_0_OR_GREATER
|
return *((delegate* unmanaged[MemberFunction]<ID2D1RadialGradientBrush*, Vector2*, Vector2*>)(lpVtbl[13]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), &result);
|
||||||
return *((delegate* unmanaged<ID2D1RadialGradientBrush*, Vector2*, Vector2*>)(lpVtbl[13]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#else
|
|
||||||
return *((delegate* unmanaged[Stdcall]<ID2D1RadialGradientBrush*, Vector2*, Vector2*>)(lpVtbl[13]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RadialGradientBrush::GetRadiusX"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RadialGradientBrush::GetRadiusX"]/*' />
|
||||||
@@ -225,11 +165,7 @@ public unsafe partial struct ID2D1RadialGradientBrush : ID2D1RadialGradientBrush
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public float GetRadiusX()
|
public float GetRadiusX()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RadialGradientBrush*, float>)(lpVtbl[14]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1RadialGradientBrush*, float>)(lpVtbl[14]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RadialGradientBrush*, float>)(lpVtbl[14]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RadialGradientBrush::GetRadiusY"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RadialGradientBrush::GetRadiusY"]/*' />
|
||||||
@@ -237,11 +173,7 @@ public unsafe partial struct ID2D1RadialGradientBrush : ID2D1RadialGradientBrush
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public float GetRadiusY()
|
public float GetRadiusY()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RadialGradientBrush*, float>)(lpVtbl[15]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1RadialGradientBrush*, float>)(lpVtbl[15]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RadialGradientBrush*, float>)(lpVtbl[15]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RadialGradientBrush::GetGradientStopCollection"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RadialGradientBrush::GetGradientStopCollection"]/*' />
|
||||||
@@ -249,11 +181,7 @@ public unsafe partial struct ID2D1RadialGradientBrush : ID2D1RadialGradientBrush
|
|||||||
[VtblIndex(16)]
|
[VtblIndex(16)]
|
||||||
public void GetGradientStopCollection(ID2D1GradientStopCollection** gradientStopCollection)
|
public void GetGradientStopCollection(ID2D1GradientStopCollection** gradientStopCollection)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RadialGradientBrush*, ID2D1GradientStopCollection**, void>)(lpVtbl[16]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), gradientStopCollection);
|
||||||
((delegate* unmanaged<ID2D1RadialGradientBrush*, ID2D1GradientStopCollection**, void>)(lpVtbl[16]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), gradientStopCollection);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RadialGradientBrush*, ID2D1GradientStopCollection**, void>)(lpVtbl[16]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), gradientStopCollection);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Brush.Interface
|
public interface Interface : ID2D1Brush.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1RectangleGeometry : ID2D1RectangleGeometry.Int
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1RectangleGeometry));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1RectangleGeometry));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1RectangleGeometry));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1RectangleGeometry : ID2D1RectangleGeometry.Int
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RectangleGeometry*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1RectangleGeometry*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RectangleGeometry*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1RectangleGeometry : ID2D1RectangleGeometry.Int
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RectangleGeometry*, uint>)(lpVtbl[1]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1RectangleGeometry*, uint>)(lpVtbl[1]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RectangleGeometry*, uint>)(lpVtbl[1]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1RectangleGeometry : ID2D1RectangleGeometry.Int
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RectangleGeometry*, uint>)(lpVtbl[2]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1RectangleGeometry*, uint>)(lpVtbl[2]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RectangleGeometry*, uint>)(lpVtbl[2]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1RectangleGeometry : ID2D1RectangleGeometry.Int
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RectangleGeometry*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1RectangleGeometry*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RectangleGeometry*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.GetBounds" />
|
/// <inheritdoc cref="ID2D1Geometry.GetBounds" />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1RectangleGeometry : ID2D1RectangleGeometry.Int
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult GetBounds(Matrix3x2* worldTransform, Win32.Numerics.RectF** bounds)
|
public HResult GetBounds(Matrix3x2* worldTransform, Win32.Numerics.RectF** bounds)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RectangleGeometry*, Matrix3x2*, Win32.Numerics.RectF**, int>)(lpVtbl[4]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), worldTransform, bounds);
|
||||||
return ((delegate* unmanaged<ID2D1RectangleGeometry*, Matrix3x2*, Win32.Numerics.RectF**, int>)(lpVtbl[4]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), worldTransform, bounds);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RectangleGeometry*, Matrix3x2*, Win32.Numerics.RectF**, int>)(lpVtbl[4]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), worldTransform, bounds);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.GetWidenedBounds" />
|
/// <inheritdoc cref="ID2D1Geometry.GetWidenedBounds" />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1RectangleGeometry : ID2D1RectangleGeometry.Int
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult GetWidenedBounds(float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Win32.Numerics.RectF** bounds)
|
public HResult GetWidenedBounds(float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Win32.Numerics.RectF** bounds)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RectangleGeometry*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Win32.Numerics.RectF**, int>)(lpVtbl[5]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, bounds);
|
||||||
return ((delegate* unmanaged<ID2D1RectangleGeometry*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Win32.Numerics.RectF**, int>)(lpVtbl[5]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, bounds);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RectangleGeometry*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Win32.Numerics.RectF**, int>)(lpVtbl[5]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, bounds);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.StrokeContainsPoint" />
|
/// <inheritdoc cref="ID2D1Geometry.StrokeContainsPoint" />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1RectangleGeometry : ID2D1RectangleGeometry.Int
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult StrokeContainsPoint(Vector2 point, float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains)
|
public HResult StrokeContainsPoint(Vector2 point, float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RectangleGeometry*, Vector2, float, ID2D1StrokeStyle*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[6]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains);
|
||||||
return ((delegate* unmanaged<ID2D1RectangleGeometry*, Vector2, float, ID2D1StrokeStyle*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[6]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RectangleGeometry*, Vector2, float, ID2D1StrokeStyle*, Matrix3x2*, float, Bool32*, int>)(lpVtbl[6]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.FillContainsPoint" />
|
/// <inheritdoc cref="ID2D1Geometry.FillContainsPoint" />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1RectangleGeometry : ID2D1RectangleGeometry.Int
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public HResult FillContainsPoint(Vector2 point, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains)
|
public HResult FillContainsPoint(Vector2 point, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RectangleGeometry*, Vector2, Matrix3x2*, float, Bool32*, int>)(lpVtbl[7]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains);
|
||||||
return ((delegate* unmanaged<ID2D1RectangleGeometry*, Vector2, Matrix3x2*, float, Bool32*, int>)(lpVtbl[7]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RectangleGeometry*, Vector2, Matrix3x2*, float, Bool32*, int>)(lpVtbl[7]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.CompareWithGeometry" />
|
/// <inheritdoc cref="ID2D1Geometry.CompareWithGeometry" />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1RectangleGeometry : ID2D1RectangleGeometry.Int
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CompareWithGeometry(ID2D1Geometry* inputGeometry, Matrix3x2* inputGeometryTransform, float flatteningTolerance, GeometryRelation* relation)
|
public HResult CompareWithGeometry(ID2D1Geometry* inputGeometry, Matrix3x2* inputGeometryTransform, float flatteningTolerance, GeometryRelation* relation)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RectangleGeometry*, ID2D1Geometry*, Matrix3x2*, float, GeometryRelation*, int>)(lpVtbl[8]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), inputGeometry, inputGeometryTransform, flatteningTolerance, relation);
|
||||||
return ((delegate* unmanaged<ID2D1RectangleGeometry*, ID2D1Geometry*, Matrix3x2*, float, GeometryRelation*, int>)(lpVtbl[8]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), inputGeometry, inputGeometryTransform, flatteningTolerance, relation);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RectangleGeometry*, ID2D1Geometry*, Matrix3x2*, float, GeometryRelation*, int>)(lpVtbl[8]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), inputGeometry, inputGeometryTransform, flatteningTolerance, relation);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.Simplify" />
|
/// <inheritdoc cref="ID2D1Geometry.Simplify" />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1RectangleGeometry : ID2D1RectangleGeometry.Int
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult Simplify(GeometrySimplificationOption simplificationOption, Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
public HResult Simplify(GeometrySimplificationOption simplificationOption, Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RectangleGeometry*, GeometrySimplificationOption, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[9]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), simplificationOption, worldTransform, flatteningTolerance, geometrySink);
|
||||||
return ((delegate* unmanaged<ID2D1RectangleGeometry*, GeometrySimplificationOption, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[9]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), simplificationOption, worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RectangleGeometry*, GeometrySimplificationOption, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[9]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), simplificationOption, worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.Tessellate" />
|
/// <inheritdoc cref="ID2D1Geometry.Tessellate" />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1RectangleGeometry : ID2D1RectangleGeometry.Int
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult Tessellate(Matrix3x2* worldTransform, float flatteningTolerance, ID2D1TessellationSink* tessellationSink)
|
public HResult Tessellate(Matrix3x2* worldTransform, float flatteningTolerance, ID2D1TessellationSink* tessellationSink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RectangleGeometry*, Matrix3x2*, float, ID2D1TessellationSink*, int>)(lpVtbl[10]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, tessellationSink);
|
||||||
return ((delegate* unmanaged<ID2D1RectangleGeometry*, Matrix3x2*, float, ID2D1TessellationSink*, int>)(lpVtbl[10]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, tessellationSink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RectangleGeometry*, Matrix3x2*, float, ID2D1TessellationSink*, int>)(lpVtbl[10]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, tessellationSink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.CombineWithGeometry" />
|
/// <inheritdoc cref="ID2D1Geometry.CombineWithGeometry" />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1RectangleGeometry : ID2D1RectangleGeometry.Int
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult CombineWithGeometry(ID2D1Geometry* inputGeometry, CombineMode combineMode, Matrix3x2* inputGeometryTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
public HResult CombineWithGeometry(ID2D1Geometry* inputGeometry, CombineMode combineMode, Matrix3x2* inputGeometryTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RectangleGeometry*, ID2D1Geometry*, CombineMode, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[11]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), inputGeometry, combineMode, inputGeometryTransform, flatteningTolerance, geometrySink);
|
||||||
return ((delegate* unmanaged<ID2D1RectangleGeometry*, ID2D1Geometry*, CombineMode, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[11]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), inputGeometry, combineMode, inputGeometryTransform, flatteningTolerance, geometrySink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RectangleGeometry*, ID2D1Geometry*, CombineMode, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[11]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), inputGeometry, combineMode, inputGeometryTransform, flatteningTolerance, geometrySink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.Outline" />
|
/// <inheritdoc cref="ID2D1Geometry.Outline" />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1RectangleGeometry : ID2D1RectangleGeometry.Int
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public HResult Outline(Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
public HResult Outline(Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RectangleGeometry*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[12]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, geometrySink);
|
||||||
return ((delegate* unmanaged<ID2D1RectangleGeometry*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[12]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RectangleGeometry*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[12]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.ComputeArea" />
|
/// <inheritdoc cref="ID2D1Geometry.ComputeArea" />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1RectangleGeometry : ID2D1RectangleGeometry.Int
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult ComputeArea(Matrix3x2* worldTransform, float flatteningTolerance, float* area)
|
public HResult ComputeArea(Matrix3x2* worldTransform, float flatteningTolerance, float* area)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RectangleGeometry*, Matrix3x2*, float, float*, int>)(lpVtbl[13]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, area);
|
||||||
return ((delegate* unmanaged<ID2D1RectangleGeometry*, Matrix3x2*, float, float*, int>)(lpVtbl[13]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, area);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RectangleGeometry*, Matrix3x2*, float, float*, int>)(lpVtbl[13]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, area);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.ComputeLength" />
|
/// <inheritdoc cref="ID2D1Geometry.ComputeLength" />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1RectangleGeometry : ID2D1RectangleGeometry.Int
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public HResult ComputeLength(Matrix3x2* worldTransform, float flatteningTolerance, float* length)
|
public HResult ComputeLength(Matrix3x2* worldTransform, float flatteningTolerance, float* length)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RectangleGeometry*, Matrix3x2*, float, float*, int>)(lpVtbl[14]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, length);
|
||||||
return ((delegate* unmanaged<ID2D1RectangleGeometry*, Matrix3x2*, float, float*, int>)(lpVtbl[14]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, length);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RectangleGeometry*, Matrix3x2*, float, float*, int>)(lpVtbl[14]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, length);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.ComputePointAtLength" />
|
/// <inheritdoc cref="ID2D1Geometry.ComputePointAtLength" />
|
||||||
@@ -235,11 +171,7 @@ public unsafe partial struct ID2D1RectangleGeometry : ID2D1RectangleGeometry.Int
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public HResult ComputePointAtLength(float length, Matrix3x2* worldTransform, float flatteningTolerance, Vector2* point, Vector2* unitTangentVector)
|
public HResult ComputePointAtLength(float length, Matrix3x2* worldTransform, float flatteningTolerance, Vector2* point, Vector2* unitTangentVector)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RectangleGeometry*, float, Matrix3x2*, float, Vector2*, Vector2*, int>)(lpVtbl[15]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector);
|
||||||
return ((delegate* unmanaged<ID2D1RectangleGeometry*, float, Matrix3x2*, float, Vector2*, Vector2*, int>)(lpVtbl[15]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RectangleGeometry*, float, Matrix3x2*, float, Vector2*, Vector2*, int>)(lpVtbl[15]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Geometry.Widen" />
|
/// <inheritdoc cref="ID2D1Geometry.Widen" />
|
||||||
@@ -247,11 +179,7 @@ public unsafe partial struct ID2D1RectangleGeometry : ID2D1RectangleGeometry.Int
|
|||||||
[VtblIndex(16)]
|
[VtblIndex(16)]
|
||||||
public HResult Widen(float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
public HResult Widen(float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RectangleGeometry*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[16]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, geometrySink);
|
||||||
return ((delegate* unmanaged<ID2D1RectangleGeometry*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[16]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RectangleGeometry*, float, ID2D1StrokeStyle*, Matrix3x2*, float, Common.ID2D1SimplifiedGeometrySink*, int>)(lpVtbl[16]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, geometrySink);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RectangleGeometry::GetRect"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RectangleGeometry::GetRect"]/*' />
|
||||||
@@ -259,11 +187,7 @@ public unsafe partial struct ID2D1RectangleGeometry : ID2D1RectangleGeometry.Int
|
|||||||
[VtblIndex(17)]
|
[VtblIndex(17)]
|
||||||
public void GetRect(Win32.Numerics.RectF** rect)
|
public void GetRect(Win32.Numerics.RectF** rect)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RectangleGeometry*, Win32.Numerics.RectF**, void>)(lpVtbl[17]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), rect);
|
||||||
((delegate* unmanaged<ID2D1RectangleGeometry*, Win32.Numerics.RectF**, void>)(lpVtbl[17]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), rect);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RectangleGeometry*, Win32.Numerics.RectF**, void>)(lpVtbl[17]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), rect);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Geometry.Interface
|
public interface Interface : ID2D1Geometry.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1RenderInfo : ID2D1RenderInfo.Interface, INativ
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1RenderInfo));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1RenderInfo));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1RenderInfo));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1RenderInfo : ID2D1RenderInfo.Interface, INativ
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RenderInfo*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1RenderInfo*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1RenderInfo*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1RenderInfo*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RenderInfo*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1RenderInfo*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1RenderInfo : ID2D1RenderInfo.Interface, INativ
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RenderInfo*, uint>)(lpVtbl[1]))((ID2D1RenderInfo*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1RenderInfo*, uint>)(lpVtbl[1]))((ID2D1RenderInfo*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RenderInfo*, uint>)(lpVtbl[1]))((ID2D1RenderInfo*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1RenderInfo : ID2D1RenderInfo.Interface, INativ
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RenderInfo*, uint>)(lpVtbl[2]))((ID2D1RenderInfo*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1RenderInfo*, uint>)(lpVtbl[2]))((ID2D1RenderInfo*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RenderInfo*, uint>)(lpVtbl[2]))((ID2D1RenderInfo*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderInfo::SetInputDescription"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderInfo::SetInputDescription"]/*' />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1RenderInfo : ID2D1RenderInfo.Interface, INativ
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public HResult SetInputDescription(uint inputIndex, InputDescription inputDescription)
|
public HResult SetInputDescription(uint inputIndex, InputDescription inputDescription)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RenderInfo*, uint, InputDescription, int>)(lpVtbl[3]))((ID2D1RenderInfo*)Unsafe.AsPointer(ref this), inputIndex, inputDescription);
|
||||||
return ((delegate* unmanaged<ID2D1RenderInfo*, uint, InputDescription, int>)(lpVtbl[3]))((ID2D1RenderInfo*)Unsafe.AsPointer(ref this), inputIndex, inputDescription);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RenderInfo*, uint, InputDescription, int>)(lpVtbl[3]))((ID2D1RenderInfo*)Unsafe.AsPointer(ref this), inputIndex, inputDescription);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderInfo::SetOutputBuffer"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderInfo::SetOutputBuffer"]/*' />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1RenderInfo : ID2D1RenderInfo.Interface, INativ
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult SetOutputBuffer(BufferPrecision bufferPrecision, ChannelDepth channelDepth)
|
public HResult SetOutputBuffer(BufferPrecision bufferPrecision, ChannelDepth channelDepth)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RenderInfo*, BufferPrecision, ChannelDepth, int>)(lpVtbl[4]))((ID2D1RenderInfo*)Unsafe.AsPointer(ref this), bufferPrecision, channelDepth);
|
||||||
return ((delegate* unmanaged<ID2D1RenderInfo*, BufferPrecision, ChannelDepth, int>)(lpVtbl[4]))((ID2D1RenderInfo*)Unsafe.AsPointer(ref this), bufferPrecision, channelDepth);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RenderInfo*, BufferPrecision, ChannelDepth, int>)(lpVtbl[4]))((ID2D1RenderInfo*)Unsafe.AsPointer(ref this), bufferPrecision, channelDepth);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderInfo::SetCached"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderInfo::SetCached"]/*' />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1RenderInfo : ID2D1RenderInfo.Interface, INativ
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public void SetCached(Bool32 isCached)
|
public void SetCached(Bool32 isCached)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderInfo*, Bool32, void>)(lpVtbl[5]))((ID2D1RenderInfo*)Unsafe.AsPointer(ref this), isCached);
|
||||||
((delegate* unmanaged<ID2D1RenderInfo*, Bool32, void>)(lpVtbl[5]))((ID2D1RenderInfo*)Unsafe.AsPointer(ref this), isCached);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderInfo*, Bool32, void>)(lpVtbl[5]))((ID2D1RenderInfo*)Unsafe.AsPointer(ref this), isCached);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderInfo::SetInstructionCountHint"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderInfo::SetInstructionCountHint"]/*' />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1RenderInfo : ID2D1RenderInfo.Interface, INativ
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public void SetInstructionCountHint(uint instructionCount)
|
public void SetInstructionCountHint(uint instructionCount)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderInfo*, uint, void>)(lpVtbl[6]))((ID2D1RenderInfo*)Unsafe.AsPointer(ref this), instructionCount);
|
||||||
((delegate* unmanaged<ID2D1RenderInfo*, uint, void>)(lpVtbl[6]))((ID2D1RenderInfo*)Unsafe.AsPointer(ref this), instructionCount);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderInfo*, uint, void>)(lpVtbl[6]))((ID2D1RenderInfo*)Unsafe.AsPointer(ref this), instructionCount);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : IUnknown.Interface
|
public interface Interface : IUnknown.Interface
|
||||||
|
|||||||
@@ -40,11 +40,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1RenderTarget));
|
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1RenderTarget));
|
||||||
#else
|
|
||||||
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1RenderTarget));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public void** lpVtbl;
|
public void** lpVtbl;
|
||||||
|
|
||||||
@@ -53,11 +49,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(0)]
|
[VtblIndex(0)]
|
||||||
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
||||||
return ((delegate* unmanaged<ID2D1RenderTarget*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, Guid*, void**, int>)(lpVtbl[0]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), riid, ppvObject);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.AddRef" />
|
/// <inheritdoc cref="IUnknown.AddRef" />
|
||||||
@@ -66,11 +58,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint AddRef()
|
public uint AddRef()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, uint>)(lpVtbl[1]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1RenderTarget*, uint>)(lpVtbl[1]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, uint>)(lpVtbl[1]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="IUnknown.Release" />
|
/// <inheritdoc cref="IUnknown.Release" />
|
||||||
@@ -79,11 +67,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[return: NativeTypeName("ULONG")]
|
[return: NativeTypeName("ULONG")]
|
||||||
public uint Release()
|
public uint Release()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, uint>)(lpVtbl[2]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1RenderTarget*, uint>)(lpVtbl[2]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, uint>)(lpVtbl[2]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
/// <inheritdoc cref="ID2D1Resource.GetFactory" />
|
||||||
@@ -91,11 +75,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(3)]
|
[VtblIndex(3)]
|
||||||
public void GetFactory(ID2D1Factory** factory)
|
public void GetFactory(ID2D1Factory** factory)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), factory);
|
||||||
((delegate* unmanaged<ID2D1RenderTarget*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, ID2D1Factory**, void>)(lpVtbl[3]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), factory);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::CreateBitmap"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::CreateBitmap"]/*' />
|
||||||
@@ -103,11 +83,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(4)]
|
[VtblIndex(4)]
|
||||||
public HResult CreateBitmap(System.Drawing.Size size, void* srcData, uint pitch, BitmapProperties* bitmapProperties, ID2D1Bitmap** bitmap)
|
public HResult CreateBitmap(System.Drawing.Size size, void* srcData, uint pitch, BitmapProperties* bitmapProperties, ID2D1Bitmap** bitmap)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, System.Drawing.Size, void*, uint, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[4]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), size, srcData, pitch, bitmapProperties, bitmap);
|
||||||
return ((delegate* unmanaged<ID2D1RenderTarget*, System.Drawing.Size, void*, uint, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[4]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), size, srcData, pitch, bitmapProperties, bitmap);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, System.Drawing.Size, void*, uint, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[4]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), size, srcData, pitch, bitmapProperties, bitmap);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::CreateBitmapFromWicBitmap"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::CreateBitmapFromWicBitmap"]/*' />
|
||||||
@@ -115,11 +91,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(5)]
|
[VtblIndex(5)]
|
||||||
public HResult CreateBitmapFromWicBitmap(Graphics.Imaging.IWICBitmapSource* wicBitmapSource, BitmapProperties* bitmapProperties, ID2D1Bitmap** bitmap)
|
public HResult CreateBitmapFromWicBitmap(Graphics.Imaging.IWICBitmapSource* wicBitmapSource, BitmapProperties* bitmapProperties, ID2D1Bitmap** bitmap)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, Graphics.Imaging.IWICBitmapSource*, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[5]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), wicBitmapSource, bitmapProperties, bitmap);
|
||||||
return ((delegate* unmanaged<ID2D1RenderTarget*, Graphics.Imaging.IWICBitmapSource*, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[5]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), wicBitmapSource, bitmapProperties, bitmap);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, Graphics.Imaging.IWICBitmapSource*, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[5]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), wicBitmapSource, bitmapProperties, bitmap);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::CreateSharedBitmap"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::CreateSharedBitmap"]/*' />
|
||||||
@@ -127,11 +99,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(6)]
|
[VtblIndex(6)]
|
||||||
public HResult CreateSharedBitmap(Guid* riid, void* data, BitmapProperties* bitmapProperties, ID2D1Bitmap** bitmap)
|
public HResult CreateSharedBitmap(Guid* riid, void* data, BitmapProperties* bitmapProperties, ID2D1Bitmap** bitmap)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, Guid*, void*, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[6]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), riid, data, bitmapProperties, bitmap);
|
||||||
return ((delegate* unmanaged<ID2D1RenderTarget*, Guid*, void*, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[6]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), riid, data, bitmapProperties, bitmap);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, Guid*, void*, BitmapProperties*, ID2D1Bitmap**, int>)(lpVtbl[6]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), riid, data, bitmapProperties, bitmap);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::CreateBitmapBrush"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::CreateBitmapBrush"]/*' />
|
||||||
@@ -139,11 +107,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(7)]
|
[VtblIndex(7)]
|
||||||
public HResult CreateBitmapBrush(ID2D1Bitmap* bitmap, BitmapBrushProperties* bitmapBrushProperties, BrushProperties* brushProperties, ID2D1BitmapBrush** bitmapBrush)
|
public HResult CreateBitmapBrush(ID2D1Bitmap* bitmap, BitmapBrushProperties* bitmapBrushProperties, BrushProperties* brushProperties, ID2D1BitmapBrush** bitmapBrush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, ID2D1Bitmap*, BitmapBrushProperties*, BrushProperties*, ID2D1BitmapBrush**, int>)(lpVtbl[7]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), bitmap, bitmapBrushProperties, brushProperties, bitmapBrush);
|
||||||
return ((delegate* unmanaged<ID2D1RenderTarget*, ID2D1Bitmap*, BitmapBrushProperties*, BrushProperties*, ID2D1BitmapBrush**, int>)(lpVtbl[7]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), bitmap, bitmapBrushProperties, brushProperties, bitmapBrush);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, ID2D1Bitmap*, BitmapBrushProperties*, BrushProperties*, ID2D1BitmapBrush**, int>)(lpVtbl[7]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), bitmap, bitmapBrushProperties, brushProperties, bitmapBrush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::CreateSolidColorBrush"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::CreateSolidColorBrush"]/*' />
|
||||||
@@ -151,11 +115,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(8)]
|
[VtblIndex(8)]
|
||||||
public HResult CreateSolidColorBrush(Color4* color, BrushProperties* brushProperties, ID2D1SolidColorBrush** solidColorBrush)
|
public HResult CreateSolidColorBrush(Color4* color, BrushProperties* brushProperties, ID2D1SolidColorBrush** solidColorBrush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, Color4*, BrushProperties*, ID2D1SolidColorBrush**, int>)(lpVtbl[8]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
|
||||||
return ((delegate* unmanaged<ID2D1RenderTarget*, Color4*, BrushProperties*, ID2D1SolidColorBrush**, int>)(lpVtbl[8]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, Color4*, BrushProperties*, ID2D1SolidColorBrush**, int>)(lpVtbl[8]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::CreateGradientStopCollection"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::CreateGradientStopCollection"]/*' />
|
||||||
@@ -163,11 +123,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(9)]
|
[VtblIndex(9)]
|
||||||
public HResult CreateGradientStopCollection(GradientStop* gradientStops, uint gradientStopsCount, Gamma colorInterpolationGamma, ExtendMode extendMode, ID2D1GradientStopCollection** gradientStopCollection)
|
public HResult CreateGradientStopCollection(GradientStop* gradientStops, uint gradientStopsCount, Gamma colorInterpolationGamma, ExtendMode extendMode, ID2D1GradientStopCollection** gradientStopCollection)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, GradientStop*, uint, Gamma, ExtendMode, ID2D1GradientStopCollection**, int>)(lpVtbl[9]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount, colorInterpolationGamma, extendMode, gradientStopCollection);
|
||||||
return ((delegate* unmanaged<ID2D1RenderTarget*, GradientStop*, uint, Gamma, ExtendMode, ID2D1GradientStopCollection**, int>)(lpVtbl[9]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount, colorInterpolationGamma, extendMode, gradientStopCollection);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, GradientStop*, uint, Gamma, ExtendMode, ID2D1GradientStopCollection**, int>)(lpVtbl[9]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount, colorInterpolationGamma, extendMode, gradientStopCollection);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::CreateLinearGradientBrush"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::CreateLinearGradientBrush"]/*' />
|
||||||
@@ -175,11 +131,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(10)]
|
[VtblIndex(10)]
|
||||||
public HResult CreateLinearGradientBrush(LinearGradientBrushProperties* linearGradientBrushProperties, BrushProperties* brushProperties, ID2D1GradientStopCollection* gradientStopCollection, ID2D1LinearGradientBrush** linearGradientBrush)
|
public HResult CreateLinearGradientBrush(LinearGradientBrushProperties* linearGradientBrushProperties, BrushProperties* brushProperties, ID2D1GradientStopCollection* gradientStopCollection, ID2D1LinearGradientBrush** linearGradientBrush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, LinearGradientBrushProperties*, BrushProperties*, ID2D1GradientStopCollection*, ID2D1LinearGradientBrush**, int>)(lpVtbl[10]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), linearGradientBrushProperties, brushProperties, gradientStopCollection, linearGradientBrush);
|
||||||
return ((delegate* unmanaged<ID2D1RenderTarget*, LinearGradientBrushProperties*, BrushProperties*, ID2D1GradientStopCollection*, ID2D1LinearGradientBrush**, int>)(lpVtbl[10]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), linearGradientBrushProperties, brushProperties, gradientStopCollection, linearGradientBrush);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, LinearGradientBrushProperties*, BrushProperties*, ID2D1GradientStopCollection*, ID2D1LinearGradientBrush**, int>)(lpVtbl[10]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), linearGradientBrushProperties, brushProperties, gradientStopCollection, linearGradientBrush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::CreateRadialGradientBrush"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::CreateRadialGradientBrush"]/*' />
|
||||||
@@ -187,11 +139,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(11)]
|
[VtblIndex(11)]
|
||||||
public HResult CreateRadialGradientBrush(RadialGradientBrushProperties* radialGradientBrushProperties, BrushProperties* brushProperties, ID2D1GradientStopCollection* gradientStopCollection, ID2D1RadialGradientBrush** radialGradientBrush)
|
public HResult CreateRadialGradientBrush(RadialGradientBrushProperties* radialGradientBrushProperties, BrushProperties* brushProperties, ID2D1GradientStopCollection* gradientStopCollection, ID2D1RadialGradientBrush** radialGradientBrush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, RadialGradientBrushProperties*, BrushProperties*, ID2D1GradientStopCollection*, ID2D1RadialGradientBrush**, int>)(lpVtbl[11]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), radialGradientBrushProperties, brushProperties, gradientStopCollection, radialGradientBrush);
|
||||||
return ((delegate* unmanaged<ID2D1RenderTarget*, RadialGradientBrushProperties*, BrushProperties*, ID2D1GradientStopCollection*, ID2D1RadialGradientBrush**, int>)(lpVtbl[11]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), radialGradientBrushProperties, brushProperties, gradientStopCollection, radialGradientBrush);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, RadialGradientBrushProperties*, BrushProperties*, ID2D1GradientStopCollection*, ID2D1RadialGradientBrush**, int>)(lpVtbl[11]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), radialGradientBrushProperties, brushProperties, gradientStopCollection, radialGradientBrush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::CreateCompatibleRenderTarget"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::CreateCompatibleRenderTarget"]/*' />
|
||||||
@@ -199,11 +147,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(12)]
|
[VtblIndex(12)]
|
||||||
public HResult CreateCompatibleRenderTarget(System.Drawing.SizeF* desiredSize, System.Drawing.Size* desiredPixelSize, Common.PixelFormat* desiredFormat, CompatibleRenderTargetOptions options, ID2D1BitmapRenderTarget** bitmapRenderTarget)
|
public HResult CreateCompatibleRenderTarget(System.Drawing.SizeF* desiredSize, System.Drawing.Size* desiredPixelSize, Common.PixelFormat* desiredFormat, CompatibleRenderTargetOptions options, ID2D1BitmapRenderTarget** bitmapRenderTarget)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, System.Drawing.SizeF*, System.Drawing.Size*, Common.PixelFormat*, CompatibleRenderTargetOptions, ID2D1BitmapRenderTarget**, int>)(lpVtbl[12]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), desiredSize, desiredPixelSize, desiredFormat, options, bitmapRenderTarget);
|
||||||
return ((delegate* unmanaged<ID2D1RenderTarget*, System.Drawing.SizeF*, System.Drawing.Size*, Common.PixelFormat*, CompatibleRenderTargetOptions, ID2D1BitmapRenderTarget**, int>)(lpVtbl[12]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), desiredSize, desiredPixelSize, desiredFormat, options, bitmapRenderTarget);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, System.Drawing.SizeF*, System.Drawing.Size*, Common.PixelFormat*, CompatibleRenderTargetOptions, ID2D1BitmapRenderTarget**, int>)(lpVtbl[12]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), desiredSize, desiredPixelSize, desiredFormat, options, bitmapRenderTarget);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::CreateLayer"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::CreateLayer"]/*' />
|
||||||
@@ -211,11 +155,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(13)]
|
[VtblIndex(13)]
|
||||||
public HResult CreateLayer(System.Drawing.SizeF* size, ID2D1Layer** layer)
|
public HResult CreateLayer(System.Drawing.SizeF* size, ID2D1Layer** layer)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, System.Drawing.SizeF*, ID2D1Layer**, int>)(lpVtbl[13]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), size, layer);
|
||||||
return ((delegate* unmanaged<ID2D1RenderTarget*, System.Drawing.SizeF*, ID2D1Layer**, int>)(lpVtbl[13]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), size, layer);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, System.Drawing.SizeF*, ID2D1Layer**, int>)(lpVtbl[13]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), size, layer);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::CreateMesh"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::CreateMesh"]/*' />
|
||||||
@@ -223,11 +163,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(14)]
|
[VtblIndex(14)]
|
||||||
public HResult CreateMesh(ID2D1Mesh** mesh)
|
public HResult CreateMesh(ID2D1Mesh** mesh)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, ID2D1Mesh**, int>)(lpVtbl[14]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), mesh);
|
||||||
return ((delegate* unmanaged<ID2D1RenderTarget*, ID2D1Mesh**, int>)(lpVtbl[14]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), mesh);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, ID2D1Mesh**, int>)(lpVtbl[14]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), mesh);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::DrawLine"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::DrawLine"]/*' />
|
||||||
@@ -235,11 +171,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(15)]
|
[VtblIndex(15)]
|
||||||
public void DrawLine(Vector2 point0, Vector2 point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public void DrawLine(Vector2 point0, Vector2 point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, Vector2, Vector2, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[15]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
|
||||||
((delegate* unmanaged<ID2D1RenderTarget*, Vector2, Vector2, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[15]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, Vector2, Vector2, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[15]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::DrawRectangle"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::DrawRectangle"]/*' />
|
||||||
@@ -247,11 +179,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(16)]
|
[VtblIndex(16)]
|
||||||
public void DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public void DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, Win32.Numerics.RectF*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[16]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
|
||||||
((delegate* unmanaged<ID2D1RenderTarget*, Win32.Numerics.RectF*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[16]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, Win32.Numerics.RectF*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[16]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::FillRectangle"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::FillRectangle"]/*' />
|
||||||
@@ -259,11 +187,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(17)]
|
[VtblIndex(17)]
|
||||||
public void FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush)
|
public void FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, Win32.Numerics.RectF*, ID2D1Brush*, void>)(lpVtbl[17]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), rect, brush);
|
||||||
((delegate* unmanaged<ID2D1RenderTarget*, Win32.Numerics.RectF*, ID2D1Brush*, void>)(lpVtbl[17]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), rect, brush);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, Win32.Numerics.RectF*, ID2D1Brush*, void>)(lpVtbl[17]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), rect, brush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::DrawRoundedRectangle"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::DrawRoundedRectangle"]/*' />
|
||||||
@@ -271,11 +195,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(18)]
|
[VtblIndex(18)]
|
||||||
public void DrawRoundedRectangle(RoundedRect* roundedRect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public void DrawRoundedRectangle(RoundedRect* roundedRect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, RoundedRect*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[18]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), roundedRect, brush, strokeWidth, strokeStyle);
|
||||||
((delegate* unmanaged<ID2D1RenderTarget*, RoundedRect*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[18]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), roundedRect, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, RoundedRect*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[18]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), roundedRect, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::FillRoundedRectangle"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::FillRoundedRectangle"]/*' />
|
||||||
@@ -283,11 +203,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(19)]
|
[VtblIndex(19)]
|
||||||
public void FillRoundedRectangle(RoundedRect* roundedRect, ID2D1Brush* brush)
|
public void FillRoundedRectangle(RoundedRect* roundedRect, ID2D1Brush* brush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, RoundedRect*, ID2D1Brush*, void>)(lpVtbl[19]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), roundedRect, brush);
|
||||||
((delegate* unmanaged<ID2D1RenderTarget*, RoundedRect*, ID2D1Brush*, void>)(lpVtbl[19]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), roundedRect, brush);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, RoundedRect*, ID2D1Brush*, void>)(lpVtbl[19]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), roundedRect, brush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::DrawEllipse"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::DrawEllipse"]/*' />
|
||||||
@@ -295,11 +211,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(20)]
|
[VtblIndex(20)]
|
||||||
public void DrawEllipse(Ellipse* ellipse, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public void DrawEllipse(Ellipse* ellipse, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, Ellipse*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[20]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), ellipse, brush, strokeWidth, strokeStyle);
|
||||||
((delegate* unmanaged<ID2D1RenderTarget*, Ellipse*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[20]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), ellipse, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, Ellipse*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[20]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), ellipse, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::FillEllipse"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::FillEllipse"]/*' />
|
||||||
@@ -307,11 +219,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(21)]
|
[VtblIndex(21)]
|
||||||
public void FillEllipse(Ellipse* ellipse, ID2D1Brush* brush)
|
public void FillEllipse(Ellipse* ellipse, ID2D1Brush* brush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, Ellipse*, ID2D1Brush*, void>)(lpVtbl[21]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), ellipse, brush);
|
||||||
((delegate* unmanaged<ID2D1RenderTarget*, Ellipse*, ID2D1Brush*, void>)(lpVtbl[21]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), ellipse, brush);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, Ellipse*, ID2D1Brush*, void>)(lpVtbl[21]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), ellipse, brush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::DrawGeometry"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::DrawGeometry"]/*' />
|
||||||
@@ -319,11 +227,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(22)]
|
[VtblIndex(22)]
|
||||||
public void DrawGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
public void DrawGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, ID2D1Geometry*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[22]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle);
|
||||||
((delegate* unmanaged<ID2D1RenderTarget*, ID2D1Geometry*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[22]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, ID2D1Geometry*, ID2D1Brush*, float, ID2D1StrokeStyle*, void>)(lpVtbl[22]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::FillGeometry"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::FillGeometry"]/*' />
|
||||||
@@ -331,11 +235,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(23)]
|
[VtblIndex(23)]
|
||||||
public void FillGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, ID2D1Brush* opacityBrush)
|
public void FillGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, ID2D1Brush* opacityBrush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, ID2D1Geometry*, ID2D1Brush*, ID2D1Brush*, void>)(lpVtbl[23]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush);
|
||||||
((delegate* unmanaged<ID2D1RenderTarget*, ID2D1Geometry*, ID2D1Brush*, ID2D1Brush*, void>)(lpVtbl[23]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, ID2D1Geometry*, ID2D1Brush*, ID2D1Brush*, void>)(lpVtbl[23]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::FillMesh"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::FillMesh"]/*' />
|
||||||
@@ -343,11 +243,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(24)]
|
[VtblIndex(24)]
|
||||||
public void FillMesh(ID2D1Mesh* mesh, ID2D1Brush* brush)
|
public void FillMesh(ID2D1Mesh* mesh, ID2D1Brush* brush)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, ID2D1Mesh*, ID2D1Brush*, void>)(lpVtbl[24]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), mesh, brush);
|
||||||
((delegate* unmanaged<ID2D1RenderTarget*, ID2D1Mesh*, ID2D1Brush*, void>)(lpVtbl[24]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), mesh, brush);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, ID2D1Mesh*, ID2D1Brush*, void>)(lpVtbl[24]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), mesh, brush);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::FillOpacityMask"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::FillOpacityMask"]/*' />
|
||||||
@@ -355,11 +251,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(25)]
|
[VtblIndex(25)]
|
||||||
public void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, OpacityMaskContent content, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
|
public void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, OpacityMaskContent content, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, ID2D1Bitmap*, ID2D1Brush*, OpacityMaskContent, Win32.Numerics.RectF*, Win32.Numerics.RectF*, void>)(lpVtbl[25]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), opacityMask, brush, content, destinationRectangle, sourceRectangle);
|
||||||
((delegate* unmanaged<ID2D1RenderTarget*, ID2D1Bitmap*, ID2D1Brush*, OpacityMaskContent, Win32.Numerics.RectF*, Win32.Numerics.RectF*, void>)(lpVtbl[25]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), opacityMask, brush, content, destinationRectangle, sourceRectangle);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, ID2D1Bitmap*, ID2D1Brush*, OpacityMaskContent, Win32.Numerics.RectF*, Win32.Numerics.RectF*, void>)(lpVtbl[25]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), opacityMask, brush, content, destinationRectangle, sourceRectangle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::DrawBitmap"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::DrawBitmap"]/*' />
|
||||||
@@ -367,11 +259,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(26)]
|
[VtblIndex(26)]
|
||||||
public void DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, BitmapInterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle)
|
public void DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, BitmapInterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, ID2D1Bitmap*, Win32.Numerics.RectF*, float, BitmapInterpolationMode, Win32.Numerics.RectF*, void>)(lpVtbl[26]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle);
|
||||||
((delegate* unmanaged<ID2D1RenderTarget*, ID2D1Bitmap*, Win32.Numerics.RectF*, float, BitmapInterpolationMode, Win32.Numerics.RectF*, void>)(lpVtbl[26]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, ID2D1Bitmap*, Win32.Numerics.RectF*, float, BitmapInterpolationMode, Win32.Numerics.RectF*, void>)(lpVtbl[26]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::DrawText"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::DrawText"]/*' />
|
||||||
@@ -379,11 +267,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(27)]
|
[VtblIndex(27)]
|
||||||
public void DrawText(ushort* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
|
public void DrawText(ushort* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, ushort*, uint, Graphics.DirectWrite.IDWriteTextFormat*, Win32.Numerics.RectF*, ID2D1Brush*, DrawTextOptions, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[27]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
|
||||||
((delegate* unmanaged<ID2D1RenderTarget*, ushort*, uint, Graphics.DirectWrite.IDWriteTextFormat*, Win32.Numerics.RectF*, ID2D1Brush*, DrawTextOptions, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[27]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, ushort*, uint, Graphics.DirectWrite.IDWriteTextFormat*, Win32.Numerics.RectF*, ID2D1Brush*, DrawTextOptions, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[27]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::DrawTextLayout"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::DrawTextLayout"]/*' />
|
||||||
@@ -391,11 +275,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(28)]
|
[VtblIndex(28)]
|
||||||
public void DrawTextLayout(Vector2 origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, DrawTextOptions options)
|
public void DrawTextLayout(Vector2 origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, DrawTextOptions options)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, Vector2, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, DrawTextOptions, void>)(lpVtbl[28]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options);
|
||||||
((delegate* unmanaged<ID2D1RenderTarget*, Vector2, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, DrawTextOptions, void>)(lpVtbl[28]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, Vector2, Graphics.DirectWrite.IDWriteTextLayout*, ID2D1Brush*, DrawTextOptions, void>)(lpVtbl[28]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::DrawGlyphRun"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::DrawGlyphRun"]/*' />
|
||||||
@@ -403,11 +283,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(29)]
|
[VtblIndex(29)]
|
||||||
public void DrawGlyphRun(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode)
|
public void DrawGlyphRun(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, Vector2, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[29]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode);
|
||||||
((delegate* unmanaged<ID2D1RenderTarget*, Vector2, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[29]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, Vector2, Graphics.DirectWrite.GlyphRun*, ID2D1Brush*, Graphics.DirectWrite.MeasuringMode, void>)(lpVtbl[29]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::SetTransform"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::SetTransform"]/*' />
|
||||||
@@ -415,11 +291,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(30)]
|
[VtblIndex(30)]
|
||||||
public void SetTransform(Matrix3x2* transform)
|
public void SetTransform(Matrix3x2* transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, Matrix3x2*, void>)(lpVtbl[30]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), transform);
|
||||||
((delegate* unmanaged<ID2D1RenderTarget*, Matrix3x2*, void>)(lpVtbl[30]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, Matrix3x2*, void>)(lpVtbl[30]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::GetTransform"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::GetTransform"]/*' />
|
||||||
@@ -427,11 +299,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(31)]
|
[VtblIndex(31)]
|
||||||
public void GetTransform(Matrix3x2* transform)
|
public void GetTransform(Matrix3x2* transform)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, Matrix3x2*, void>)(lpVtbl[31]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), transform);
|
||||||
((delegate* unmanaged<ID2D1RenderTarget*, Matrix3x2*, void>)(lpVtbl[31]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, Matrix3x2*, void>)(lpVtbl[31]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), transform);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::SetAntialiasMode"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::SetAntialiasMode"]/*' />
|
||||||
@@ -439,11 +307,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(32)]
|
[VtblIndex(32)]
|
||||||
public void SetAntialiasMode(AntialiasMode antialiasMode)
|
public void SetAntialiasMode(AntialiasMode antialiasMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, AntialiasMode, void>)(lpVtbl[32]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), antialiasMode);
|
||||||
((delegate* unmanaged<ID2D1RenderTarget*, AntialiasMode, void>)(lpVtbl[32]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), antialiasMode);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, AntialiasMode, void>)(lpVtbl[32]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), antialiasMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::GetAntialiasMode"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::GetAntialiasMode"]/*' />
|
||||||
@@ -451,11 +315,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(33)]
|
[VtblIndex(33)]
|
||||||
public AntialiasMode GetAntialiasMode()
|
public AntialiasMode GetAntialiasMode()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, AntialiasMode>)(lpVtbl[33]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1RenderTarget*, AntialiasMode>)(lpVtbl[33]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, AntialiasMode>)(lpVtbl[33]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::SetTextAntialiasMode"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::SetTextAntialiasMode"]/*' />
|
||||||
@@ -463,11 +323,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(34)]
|
[VtblIndex(34)]
|
||||||
public void SetTextAntialiasMode(TextAntialiasMode textAntialiasMode)
|
public void SetTextAntialiasMode(TextAntialiasMode textAntialiasMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, TextAntialiasMode, void>)(lpVtbl[34]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), textAntialiasMode);
|
||||||
((delegate* unmanaged<ID2D1RenderTarget*, TextAntialiasMode, void>)(lpVtbl[34]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), textAntialiasMode);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, TextAntialiasMode, void>)(lpVtbl[34]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), textAntialiasMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::GetTextAntialiasMode"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::GetTextAntialiasMode"]/*' />
|
||||||
@@ -475,11 +331,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(35)]
|
[VtblIndex(35)]
|
||||||
public TextAntialiasMode GetTextAntialiasMode()
|
public TextAntialiasMode GetTextAntialiasMode()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, TextAntialiasMode>)(lpVtbl[35]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1RenderTarget*, TextAntialiasMode>)(lpVtbl[35]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, TextAntialiasMode>)(lpVtbl[35]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::SetTextRenderingParams"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::SetTextRenderingParams"]/*' />
|
||||||
@@ -487,11 +339,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(36)]
|
[VtblIndex(36)]
|
||||||
public void SetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams)
|
public void SetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, Graphics.DirectWrite.IDWriteRenderingParams*, void>)(lpVtbl[36]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), textRenderingParams);
|
||||||
((delegate* unmanaged<ID2D1RenderTarget*, Graphics.DirectWrite.IDWriteRenderingParams*, void>)(lpVtbl[36]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, Graphics.DirectWrite.IDWriteRenderingParams*, void>)(lpVtbl[36]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::GetTextRenderingParams"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::GetTextRenderingParams"]/*' />
|
||||||
@@ -499,11 +347,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(37)]
|
[VtblIndex(37)]
|
||||||
public void GetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams** textRenderingParams)
|
public void GetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams** textRenderingParams)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, Graphics.DirectWrite.IDWriteRenderingParams**, void>)(lpVtbl[37]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), textRenderingParams);
|
||||||
((delegate* unmanaged<ID2D1RenderTarget*, Graphics.DirectWrite.IDWriteRenderingParams**, void>)(lpVtbl[37]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, Graphics.DirectWrite.IDWriteRenderingParams**, void>)(lpVtbl[37]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), textRenderingParams);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::SetTags"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::SetTags"]/*' />
|
||||||
@@ -511,11 +355,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(38)]
|
[VtblIndex(38)]
|
||||||
public void SetTags(ulong tag1, ulong tag2)
|
public void SetTags(ulong tag1, ulong tag2)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, ulong, ulong, void>)(lpVtbl[38]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
||||||
((delegate* unmanaged<ID2D1RenderTarget*, ulong, ulong, void>)(lpVtbl[38]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, ulong, ulong, void>)(lpVtbl[38]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::GetTags"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::GetTags"]/*' />
|
||||||
@@ -523,11 +363,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(39)]
|
[VtblIndex(39)]
|
||||||
public void GetTags(ulong* tag1, ulong* tag2)
|
public void GetTags(ulong* tag1, ulong* tag2)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, ulong*, ulong*, void>)(lpVtbl[39]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
||||||
((delegate* unmanaged<ID2D1RenderTarget*, ulong*, ulong*, void>)(lpVtbl[39]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, ulong*, ulong*, void>)(lpVtbl[39]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::PushLayer"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::PushLayer"]/*' />
|
||||||
@@ -535,11 +371,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(40)]
|
[VtblIndex(40)]
|
||||||
public void PushLayer(LayerParameters* layerParameters, ID2D1Layer* layer)
|
public void PushLayer(LayerParameters* layerParameters, ID2D1Layer* layer)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, LayerParameters*, ID2D1Layer*, void>)(lpVtbl[40]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), layerParameters, layer);
|
||||||
((delegate* unmanaged<ID2D1RenderTarget*, LayerParameters*, ID2D1Layer*, void>)(lpVtbl[40]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), layerParameters, layer);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, LayerParameters*, ID2D1Layer*, void>)(lpVtbl[40]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), layerParameters, layer);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::PopLayer"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::PopLayer"]/*' />
|
||||||
@@ -547,11 +379,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(41)]
|
[VtblIndex(41)]
|
||||||
public void PopLayer()
|
public void PopLayer()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, void>)(lpVtbl[41]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
((delegate* unmanaged<ID2D1RenderTarget*, void>)(lpVtbl[41]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, void>)(lpVtbl[41]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::Flush"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::Flush"]/*' />
|
||||||
@@ -559,11 +387,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(42)]
|
[VtblIndex(42)]
|
||||||
public HResult Flush(ulong* tag1, ulong* tag2)
|
public HResult Flush(ulong* tag1, ulong* tag2)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, ulong*, ulong*, int>)(lpVtbl[42]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
||||||
return ((delegate* unmanaged<ID2D1RenderTarget*, ulong*, ulong*, int>)(lpVtbl[42]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, ulong*, ulong*, int>)(lpVtbl[42]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::SaveDrawingState"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::SaveDrawingState"]/*' />
|
||||||
@@ -571,11 +395,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(43)]
|
[VtblIndex(43)]
|
||||||
public void SaveDrawingState(ID2D1DrawingStateBlock* drawingStateBlock)
|
public void SaveDrawingState(ID2D1DrawingStateBlock* drawingStateBlock)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, ID2D1DrawingStateBlock*, void>)(lpVtbl[43]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), drawingStateBlock);
|
||||||
((delegate* unmanaged<ID2D1RenderTarget*, ID2D1DrawingStateBlock*, void>)(lpVtbl[43]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), drawingStateBlock);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, ID2D1DrawingStateBlock*, void>)(lpVtbl[43]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), drawingStateBlock);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::RestoreDrawingState"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::RestoreDrawingState"]/*' />
|
||||||
@@ -583,11 +403,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(44)]
|
[VtblIndex(44)]
|
||||||
public void RestoreDrawingState(ID2D1DrawingStateBlock* drawingStateBlock)
|
public void RestoreDrawingState(ID2D1DrawingStateBlock* drawingStateBlock)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, ID2D1DrawingStateBlock*, void>)(lpVtbl[44]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), drawingStateBlock);
|
||||||
((delegate* unmanaged<ID2D1RenderTarget*, ID2D1DrawingStateBlock*, void>)(lpVtbl[44]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), drawingStateBlock);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, ID2D1DrawingStateBlock*, void>)(lpVtbl[44]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), drawingStateBlock);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::PushAxisAlignedClip"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::PushAxisAlignedClip"]/*' />
|
||||||
@@ -595,11 +411,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(45)]
|
[VtblIndex(45)]
|
||||||
public void PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode)
|
public void PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, Win32.Numerics.RectF*, AntialiasMode, void>)(lpVtbl[45]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
|
||||||
((delegate* unmanaged<ID2D1RenderTarget*, Win32.Numerics.RectF*, AntialiasMode, void>)(lpVtbl[45]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, Win32.Numerics.RectF*, AntialiasMode, void>)(lpVtbl[45]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::PopAxisAlignedClip"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::PopAxisAlignedClip"]/*' />
|
||||||
@@ -607,11 +419,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(46)]
|
[VtblIndex(46)]
|
||||||
public void PopAxisAlignedClip()
|
public void PopAxisAlignedClip()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, void>)(lpVtbl[46]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
((delegate* unmanaged<ID2D1RenderTarget*, void>)(lpVtbl[46]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, void>)(lpVtbl[46]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::Clear"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::Clear"]/*' />
|
||||||
@@ -619,11 +427,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(47)]
|
[VtblIndex(47)]
|
||||||
public void Clear(Color4* clearColor)
|
public void Clear(Color4* clearColor)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, Color4*, void>)(lpVtbl[47]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), clearColor);
|
||||||
((delegate* unmanaged<ID2D1RenderTarget*, Color4*, void>)(lpVtbl[47]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), clearColor);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, Color4*, void>)(lpVtbl[47]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), clearColor);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::BeginDraw"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::BeginDraw"]/*' />
|
||||||
@@ -631,11 +435,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(48)]
|
[VtblIndex(48)]
|
||||||
public void BeginDraw()
|
public void BeginDraw()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, void>)(lpVtbl[48]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
((delegate* unmanaged<ID2D1RenderTarget*, void>)(lpVtbl[48]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, void>)(lpVtbl[48]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::EndDraw"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::EndDraw"]/*' />
|
||||||
@@ -643,11 +443,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(49)]
|
[VtblIndex(49)]
|
||||||
public HResult EndDraw(ulong* tag1 = null, ulong* tag2 = null)
|
public HResult EndDraw(ulong* tag1 = null, ulong* tag2 = null)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, ulong*, ulong*, int>)(lpVtbl[49]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
||||||
return ((delegate* unmanaged<ID2D1RenderTarget*, ulong*, ulong*, int>)(lpVtbl[49]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, ulong*, ulong*, int>)(lpVtbl[49]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::GetPixelFormat"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::GetPixelFormat"]/*' />
|
||||||
@@ -656,11 +452,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
public Common.PixelFormat GetPixelFormat()
|
public Common.PixelFormat GetPixelFormat()
|
||||||
{
|
{
|
||||||
Common.PixelFormat result;
|
Common.PixelFormat result;
|
||||||
#if NET6_0_OR_GREATER
|
return *((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, Common.PixelFormat*, Common.PixelFormat*>)(lpVtbl[50]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), &result);
|
||||||
return *((delegate* unmanaged<ID2D1RenderTarget*, Common.PixelFormat*, Common.PixelFormat*>)(lpVtbl[50]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#else
|
|
||||||
return *((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, Common.PixelFormat*, Common.PixelFormat*>)(lpVtbl[50]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::SetDpi"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::SetDpi"]/*' />
|
||||||
@@ -668,11 +460,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(51)]
|
[VtblIndex(51)]
|
||||||
public void SetDpi(float dpiX, float dpiY)
|
public void SetDpi(float dpiX, float dpiY)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, float, float, void>)(lpVtbl[51]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
||||||
((delegate* unmanaged<ID2D1RenderTarget*, float, float, void>)(lpVtbl[51]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, float, float, void>)(lpVtbl[51]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::GetDpi"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::GetDpi"]/*' />
|
||||||
@@ -680,11 +468,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(52)]
|
[VtblIndex(52)]
|
||||||
public void GetDpi(float* dpiX, float* dpiY)
|
public void GetDpi(float* dpiX, float* dpiY)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, float*, float*, void>)(lpVtbl[52]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
||||||
((delegate* unmanaged<ID2D1RenderTarget*, float*, float*, void>)(lpVtbl[52]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#else
|
|
||||||
((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, float*, float*, void>)(lpVtbl[52]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), dpiX, dpiY);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::GetSize"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::GetSize"]/*' />
|
||||||
@@ -693,11 +477,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
public System.Drawing.SizeF GetSize()
|
public System.Drawing.SizeF GetSize()
|
||||||
{
|
{
|
||||||
System.Drawing.SizeF result;
|
System.Drawing.SizeF result;
|
||||||
#if NET6_0_OR_GREATER
|
return *((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, System.Drawing.SizeF*, System.Drawing.SizeF*>)(lpVtbl[53]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), &result);
|
||||||
return *((delegate* unmanaged<ID2D1RenderTarget*, System.Drawing.SizeF*, System.Drawing.SizeF*>)(lpVtbl[53]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#else
|
|
||||||
return *((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, System.Drawing.SizeF*, System.Drawing.SizeF*>)(lpVtbl[53]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::GetPixelSize"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::GetPixelSize"]/*' />
|
||||||
@@ -706,11 +486,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
public System.Drawing.Size GetPixelSize()
|
public System.Drawing.Size GetPixelSize()
|
||||||
{
|
{
|
||||||
System.Drawing.Size result;
|
System.Drawing.Size result;
|
||||||
#if NET6_0_OR_GREATER
|
return *((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, System.Drawing.Size*, System.Drawing.Size*>)(lpVtbl[54]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), &result);
|
||||||
return *((delegate* unmanaged<ID2D1RenderTarget*, System.Drawing.Size*, System.Drawing.Size*>)(lpVtbl[54]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#else
|
|
||||||
return *((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, System.Drawing.Size*, System.Drawing.Size*>)(lpVtbl[54]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), &result);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::GetMaximumBitmapSize"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::GetMaximumBitmapSize"]/*' />
|
||||||
@@ -718,11 +494,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(55)]
|
[VtblIndex(55)]
|
||||||
public uint GetMaximumBitmapSize()
|
public uint GetMaximumBitmapSize()
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, uint>)(lpVtbl[55]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this));
|
||||||
return ((delegate* unmanaged<ID2D1RenderTarget*, uint>)(lpVtbl[55]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, uint>)(lpVtbl[55]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::IsSupported"]/*' />
|
/// <include file='../Direct2D.xml' path='doc/member[@name="ID2D1RenderTarget::IsSupported"]/*' />
|
||||||
@@ -730,11 +502,7 @@ public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, IN
|
|||||||
[VtblIndex(56)]
|
[VtblIndex(56)]
|
||||||
public Bool32 IsSupported(RenderTargetProperties* renderTargetProperties)
|
public Bool32 IsSupported(RenderTargetProperties* renderTargetProperties)
|
||||||
{
|
{
|
||||||
#if NET6_0_OR_GREATER
|
return ((delegate* unmanaged[MemberFunction]<ID2D1RenderTarget*, RenderTargetProperties*, Bool32>)(lpVtbl[56]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), renderTargetProperties);
|
||||||
return ((delegate* unmanaged<ID2D1RenderTarget*, RenderTargetProperties*, Bool32>)(lpVtbl[56]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), renderTargetProperties);
|
|
||||||
#else
|
|
||||||
return ((delegate* unmanaged[Stdcall]<ID2D1RenderTarget*, RenderTargetProperties*, Bool32>)(lpVtbl[56]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), renderTargetProperties);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Interface : ID2D1Resource.Interface
|
public interface Interface : ID2D1Resource.Interface
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user