// ------------------------------------------------------------------------------
//
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
// ------------------------------------------------------------------------------
namespace Win32.Graphics.Direct2D;
///
/// ID2D1DeviceContext6
[Guid("985f7e37-4ed0-4a19-98a3-15b0edfde306")]
[NativeTypeName("struct ID2D1DeviceContext6 : ID2D1DeviceContext5")]
[NativeInheritance("ID2D1DeviceContext5")]
public unsafe partial struct ID2D1DeviceContext6 : ID2D1DeviceContext6.Interface, INativeGuid
{
public static ref readonly Guid IID_ID2D1DeviceContext6
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
ReadOnlySpan data = new byte[] {
0x37, 0x7E, 0x5F, 0x98,
0xD0, 0x4E,
0x19, 0x4A,
0x98,
0xA3,
0x15,
0xB0,
0xED,
0xFD,
0xE3,
0x06
};
Debug.Assert(data.Length == Unsafe.SizeOf());
return ref Unsafe.As(ref MemoryMarshal.GetReference(data));
}
}
#if NET6_0_OR_GREATER
static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DeviceContext6));
#else
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DeviceContext6));
#endif
public void** lpVtbl;
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(0)]
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[0]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), riid, ppvObject);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[0]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), riid, ppvObject);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(1)]
[return: NativeTypeName("ULONG")]
public uint AddRef()
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[1]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this));
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[1]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this));
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(2)]
[return: NativeTypeName("ULONG")]
public uint Release()
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[2]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this));
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this));
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(3)]
public void GetFactory(ID2D1Factory** factory)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[3]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), factory);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), factory);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(4)]
public HResult CreateBitmap(System.Drawing.Size size, void* srcData, uint pitch, BitmapProperties* bitmapProperties, ID2D1Bitmap** bitmap)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[4]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), size, srcData, pitch, bitmapProperties, bitmap);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), size, srcData, pitch, bitmapProperties, bitmap);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(5)]
public HResult CreateBitmapFromWicBitmap(Graphics.Imaging.IWICBitmapSource* wicBitmapSource, BitmapProperties* bitmapProperties, ID2D1Bitmap** bitmap)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[5]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), wicBitmapSource, bitmapProperties, bitmap);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), wicBitmapSource, bitmapProperties, bitmap);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(6)]
public HResult CreateSharedBitmap(Guid* riid, void* data, BitmapProperties* bitmapProperties, ID2D1Bitmap** bitmap)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[6]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), riid, data, bitmapProperties, bitmap);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), riid, data, bitmapProperties, bitmap);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(7)]
public HResult CreateBitmapBrush(ID2D1Bitmap* bitmap, BitmapBrushProperties* bitmapBrushProperties, BrushProperties* brushProperties, ID2D1BitmapBrush** bitmapBrush)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[7]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), bitmap, bitmapBrushProperties, brushProperties, bitmapBrush);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), bitmap, bitmapBrushProperties, brushProperties, bitmapBrush);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(8)]
public HResult CreateSolidColorBrush(Color4* color, BrushProperties* brushProperties, ID2D1SolidColorBrush** solidColorBrush)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[8]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(9)]
public HResult CreateGradientStopCollection(GradientStop* gradientStops, uint gradientStopsCount, Gamma colorInterpolationGamma, ExtendMode extendMode, ID2D1GradientStopCollection** gradientStopCollection)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[9]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount, colorInterpolationGamma, extendMode, gradientStopCollection);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount, colorInterpolationGamma, extendMode, gradientStopCollection);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(10)]
public HResult CreateLinearGradientBrush(LinearGradientBrushProperties* linearGradientBrushProperties, BrushProperties* brushProperties, ID2D1GradientStopCollection* gradientStopCollection, ID2D1LinearGradientBrush** linearGradientBrush)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[10]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), linearGradientBrushProperties, brushProperties, gradientStopCollection, linearGradientBrush);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), linearGradientBrushProperties, brushProperties, gradientStopCollection, linearGradientBrush);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(11)]
public HResult CreateRadialGradientBrush(RadialGradientBrushProperties* radialGradientBrushProperties, BrushProperties* brushProperties, ID2D1GradientStopCollection* gradientStopCollection, ID2D1RadialGradientBrush** radialGradientBrush)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[11]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), radialGradientBrushProperties, brushProperties, gradientStopCollection, radialGradientBrush);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), radialGradientBrushProperties, brushProperties, gradientStopCollection, radialGradientBrush);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(12)]
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)(lpVtbl[12]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), desiredSize, desiredPixelSize, desiredFormat, options, bitmapRenderTarget);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), desiredSize, desiredPixelSize, desiredFormat, options, bitmapRenderTarget);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(13)]
public HResult CreateLayer(System.Drawing.SizeF* size, ID2D1Layer** layer)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[13]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), size, layer);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), size, layer);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(14)]
public HResult CreateMesh(ID2D1Mesh** mesh)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[14]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), mesh);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), mesh);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(15)]
public void DrawLine(Vector2 point0, Vector2 point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[15]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(16)]
public void DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[16]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(17)]
public void FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[17]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), rect, brush);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), rect, brush);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(18)]
public void DrawRoundedRectangle(RoundedRect* roundedRect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[18]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), roundedRect, brush, strokeWidth, strokeStyle);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), roundedRect, brush, strokeWidth, strokeStyle);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(19)]
public void FillRoundedRectangle(RoundedRect* roundedRect, ID2D1Brush* brush)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[19]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), roundedRect, brush);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), roundedRect, brush);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(20)]
public void DrawEllipse(Ellipse* ellipse, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[20]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), ellipse, brush, strokeWidth, strokeStyle);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), ellipse, brush, strokeWidth, strokeStyle);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(21)]
public void FillEllipse(Ellipse* ellipse, ID2D1Brush* brush)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[21]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), ellipse, brush);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), ellipse, brush);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(22)]
public void DrawGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[22]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(23)]
public void FillGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, ID2D1Brush* opacityBrush)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[23]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(24)]
public void FillMesh(ID2D1Mesh* mesh, ID2D1Brush* brush)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[24]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), mesh, brush);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), mesh, brush);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(25)]
public void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, OpacityMaskContent content, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[25]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), opacityMask, brush, content, destinationRectangle, sourceRectangle);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), opacityMask, brush, content, destinationRectangle, sourceRectangle);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(26)]
public void DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, BitmapInterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[26]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[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)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[27]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(28)]
public void DrawTextLayout(Vector2 origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, DrawTextOptions options)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[28]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(29)]
public void DrawGlyphRun(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[29]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(30)]
public void SetTransform(Matrix3x2* transform)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[30]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), transform);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), transform);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(31)]
public void GetTransform(Matrix3x2* transform)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[31]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), transform);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), transform);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(32)]
public void SetAntialiasMode(AntialiasMode antialiasMode)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[32]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), antialiasMode);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), antialiasMode);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(33)]
public AntialiasMode GetAntialiasMode()
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[33]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this));
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this));
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(34)]
public void SetTextAntialiasMode(TextAntialiasMode textAntialiasMode)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[34]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), textAntialiasMode);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), textAntialiasMode);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(35)]
public TextAntialiasMode GetTextAntialiasMode()
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[35]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this));
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this));
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(36)]
public void SetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[36]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), textRenderingParams);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), textRenderingParams);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(37)]
public void GetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams** textRenderingParams)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[37]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), textRenderingParams);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), textRenderingParams);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(38)]
public void SetTags(ulong tag1, ulong tag2)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[38]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), tag1, tag2);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), tag1, tag2);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(39)]
public void GetTags(ulong* tag1, ulong* tag2)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[39]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), tag1, tag2);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), tag1, tag2);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(40)]
public void PushLayer(LayerParameters* layerParameters, ID2D1Layer* layer)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[40]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), layerParameters, layer);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), layerParameters, layer);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(41)]
public void PopLayer()
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[41]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this));
#else
((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this));
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(42)]
public HResult Flush(ulong* tag1, ulong* tag2)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[42]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), tag1, tag2);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), tag1, tag2);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(43)]
public void SaveDrawingState(ID2D1DrawingStateBlock* drawingStateBlock)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[43]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), drawingStateBlock);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), drawingStateBlock);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(44)]
public void RestoreDrawingState(ID2D1DrawingStateBlock* drawingStateBlock)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[44]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), drawingStateBlock);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), drawingStateBlock);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(45)]
public void PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[45]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(46)]
public void PopAxisAlignedClip()
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[46]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this));
#else
((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this));
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(47)]
public void Clear(Color4* clearColor)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[47]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), clearColor);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[47]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), clearColor);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(48)]
public void BeginDraw()
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[48]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this));
#else
((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this));
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(49)]
public HResult EndDraw(ulong* tag1 = null, ulong* tag2 = null)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[49]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), tag1, tag2);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), tag1, tag2);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(50)]
public Common.PixelFormat GetPixelFormat()
{
Common.PixelFormat result;
#if NET6_0_OR_GREATER
return *((delegate* unmanaged)(lpVtbl[50]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), &result);
#else
return *((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), &result);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(51)]
public void SetDpi(float dpiX, float dpiY)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[51]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), dpiX, dpiY);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[51]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), dpiX, dpiY);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(52)]
public void GetDpi(float* dpiX, float* dpiY)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[52]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), dpiX, dpiY);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[52]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), dpiX, dpiY);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(53)]
public System.Drawing.SizeF GetSize()
{
System.Drawing.SizeF result;
#if NET6_0_OR_GREATER
return *((delegate* unmanaged)(lpVtbl[53]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), &result);
#else
return *((delegate* unmanaged[Stdcall])(lpVtbl[53]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), &result);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(54)]
public System.Drawing.Size GetPixelSize()
{
System.Drawing.Size result;
#if NET6_0_OR_GREATER
return *((delegate* unmanaged)(lpVtbl[54]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), &result);
#else
return *((delegate* unmanaged[Stdcall])(lpVtbl[54]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), &result);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(55)]
public uint GetMaximumBitmapSize()
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[55]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this));
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[55]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this));
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(56)]
public Bool32 IsSupported(RenderTargetProperties* renderTargetProperties)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[56]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), renderTargetProperties);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), renderTargetProperties);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(57)]
public HResult CreateBitmap(System.Drawing.Size size, void* sourceData, uint pitch, BitmapProperties1* bitmapProperties, ID2D1Bitmap1** bitmap)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[57]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), size, sourceData, pitch, bitmapProperties, bitmap);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), size, sourceData, pitch, bitmapProperties, bitmap);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(58)]
public HResult CreateBitmapFromWicBitmap(Graphics.Imaging.IWICBitmapSource* wicBitmapSource, BitmapProperties1* bitmapProperties, ID2D1Bitmap1** bitmap)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[58]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), wicBitmapSource, bitmapProperties, bitmap);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), wicBitmapSource, bitmapProperties, bitmap);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(59)]
public HResult CreateColorContext(ColorSpace space, byte* profile, uint profileSize, ID2D1ColorContext** colorContext)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[59]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), space, profile, profileSize, colorContext);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[59]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), space, profile, profileSize, colorContext);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(60)]
public HResult CreateColorContextFromFilename(ushort* filename, ID2D1ColorContext** colorContext)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[60]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), filename, colorContext);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[60]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), filename, colorContext);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(61)]
public HResult CreateColorContextFromWicColorContext(Graphics.Imaging.IWICColorContext* wicColorContext, ID2D1ColorContext** colorContext)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[61]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), wicColorContext, colorContext);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[61]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), wicColorContext, colorContext);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(62)]
public HResult CreateBitmapFromDxgiSurface(Graphics.Dxgi.IDXGISurface* surface, BitmapProperties1* bitmapProperties, ID2D1Bitmap1** bitmap)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[62]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), surface, bitmapProperties, bitmap);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[62]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), surface, bitmapProperties, bitmap);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(63)]
public HResult CreateEffect(Guid* effectId, ID2D1Effect** effect)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[63]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), effectId, effect);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[63]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), effectId, effect);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(64)]
public HResult CreateGradientStopCollection(GradientStop* straightAlphaGradientStops, uint straightAlphaGradientStopsCount, ColorSpace preInterpolationSpace, ColorSpace postInterpolationSpace, BufferPrecision bufferPrecision, ExtendMode extendMode, ColorInterpolationMode colorInterpolationMode, ID2D1GradientStopCollection1** gradientStopCollection1)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[64]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), straightAlphaGradientStops, straightAlphaGradientStopsCount, preInterpolationSpace, postInterpolationSpace, bufferPrecision, extendMode, colorInterpolationMode, gradientStopCollection1);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[64]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), straightAlphaGradientStops, straightAlphaGradientStopsCount, preInterpolationSpace, postInterpolationSpace, bufferPrecision, extendMode, colorInterpolationMode, gradientStopCollection1);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(65)]
public HResult CreateImageBrush(ID2D1Image* image, ImageBrushProperties* imageBrushProperties, BrushProperties* brushProperties, ID2D1ImageBrush** imageBrush)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[65]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), image, imageBrushProperties, brushProperties, imageBrush);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[65]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), image, imageBrushProperties, brushProperties, imageBrush);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(66)]
public HResult CreateBitmapBrush(ID2D1Bitmap* bitmap, BitmapBrushProperties1* bitmapBrushProperties, BrushProperties* brushProperties, ID2D1BitmapBrush1** bitmapBrush)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[66]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), bitmap, bitmapBrushProperties, brushProperties, bitmapBrush);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[66]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), bitmap, bitmapBrushProperties, brushProperties, bitmapBrush);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(67)]
public HResult CreateCommandList(ID2D1CommandList** commandList)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[67]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), commandList);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[67]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), commandList);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(68)]
public Bool32 IsDxgiFormatSupported(Graphics.Dxgi.Common.Format format)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[68]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), format);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[68]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), format);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(69)]
public Bool32 IsBufferPrecisionSupported(BufferPrecision bufferPrecision)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[69]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), bufferPrecision);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[69]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), bufferPrecision);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(70)]
public HResult GetImageLocalBounds(ID2D1Image* image, Win32.Numerics.RectF** localBounds)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[70]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), image, localBounds);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[70]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), image, localBounds);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(71)]
public HResult GetImageWorldBounds(ID2D1Image* image, Win32.Numerics.RectF** worldBounds)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[71]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), image, worldBounds);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[71]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), image, worldBounds);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(72)]
public HResult GetGlyphRunWorldBounds(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, Win32.Numerics.RectF** bounds)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[72]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(73)]
public void GetDevice(ID2D1Device** device)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[73]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), device);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[73]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), device);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(74)]
public void SetTarget(ID2D1Image* image)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[74]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), image);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[74]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), image);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(75)]
public void GetTarget(ID2D1Image** image)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[75]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), image);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[75]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), image);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(76)]
public void SetRenderingControls(RenderingControls* renderingControls)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[76]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), renderingControls);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[76]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), renderingControls);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(77)]
public void GetRenderingControls(RenderingControls* renderingControls)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[77]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), renderingControls);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[77]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), renderingControls);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(78)]
public void SetPrimitiveBlend(PrimitiveBlend primitiveBlend)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[78]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), primitiveBlend);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[78]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), primitiveBlend);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(79)]
public PrimitiveBlend GetPrimitiveBlend()
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[79]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this));
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[79]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this));
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(80)]
public void SetUnitMode(UnitMode unitMode)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[80]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), unitMode);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[80]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), unitMode);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(81)]
public UnitMode GetUnitMode()
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[81]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this));
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[81]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this));
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(82)]
public void DrawGlyphRun(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[82]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[82]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(83)]
public void DrawImage(ID2D1Image* image, Vector2* targetOffset, Win32.Numerics.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[83]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[83]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(84)]
public void DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Vector2* targetOffset)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[84]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), gdiMetafile, targetOffset);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[84]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), gdiMetafile, targetOffset);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(85)]
public void DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle, Matrix4x4* perspectiveTransform)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[85]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[85]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(86)]
public void PushLayer(LayerParameters1* layerParameters, ID2D1Layer* layer)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[86]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), layerParameters, layer);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[86]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), layerParameters, layer);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(87)]
public HResult InvalidateEffectInputRectangle(ID2D1Effect* effect, uint input, Win32.Numerics.RectF* inputRectangle)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[87]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), effect, input, inputRectangle);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[87]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), effect, input, inputRectangle);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(88)]
public HResult GetEffectInvalidRectangleCount(ID2D1Effect* effect, uint* rectangleCount)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[88]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), effect, rectangleCount);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[88]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), effect, rectangleCount);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(89)]
public HResult GetEffectInvalidRectangles(ID2D1Effect* effect, Win32.Numerics.RectF** rectangles, uint rectanglesCount)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[89]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), effect, rectangles, rectanglesCount);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[89]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), effect, rectangles, rectanglesCount);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(90)]
public HResult GetEffectRequiredInputRectangles(ID2D1Effect* renderEffect, Win32.Numerics.RectF* renderImageRectangle, EffectInputDescription* inputDescriptions, Win32.Numerics.RectF** requiredInputRects, uint inputCount)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[90]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), renderEffect, renderImageRectangle, inputDescriptions, requiredInputRects, inputCount);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[90]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), renderEffect, renderImageRectangle, inputDescriptions, requiredInputRects, inputCount);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(91)]
public void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[91]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[91]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(92)]
public HResult CreateFilledGeometryRealization(ID2D1Geometry* geometry, float flatteningTolerance, ID2D1GeometryRealization** geometryRealization)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[92]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), geometry, flatteningTolerance, geometryRealization);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[92]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), geometry, flatteningTolerance, geometryRealization);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(93)]
public HResult CreateStrokedGeometryRealization(ID2D1Geometry* geometry, float flatteningTolerance, float strokeWidth, ID2D1StrokeStyle* strokeStyle, ID2D1GeometryRealization** geometryRealization)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[93]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), geometry, flatteningTolerance, strokeWidth, strokeStyle, geometryRealization);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[93]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), geometry, flatteningTolerance, strokeWidth, strokeStyle, geometryRealization);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(94)]
public void DrawGeometryRealization(ID2D1GeometryRealization* geometryRealization, ID2D1Brush* brush)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[94]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), geometryRealization, brush);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[94]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), geometryRealization, brush);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(95)]
public HResult CreateInk(InkPoint* startPoint, ID2D1Ink** ink)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[95]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), startPoint, ink);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[95]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), startPoint, ink);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(96)]
public HResult CreateInkStyle(InkStyleProperties* inkStyleProperties, ID2D1InkStyle** inkStyle)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[96]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), inkStyleProperties, inkStyle);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[96]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), inkStyleProperties, inkStyle);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(97)]
public HResult CreateGradientMesh(GradientMeshPatch* patches, uint patchesCount, ID2D1GradientMesh** gradientMesh)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[97]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), patches, patchesCount, gradientMesh);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[97]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), patches, patchesCount, gradientMesh);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(98)]
public HResult CreateImageSourceFromWic(Graphics.Imaging.IWICBitmapSource* wicBitmapSource, ImageSourceLoadingOptions loadingOptions, Common.AlphaMode alphaMode, ID2D1ImageSourceFromWic** imageSource)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[98]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), wicBitmapSource, loadingOptions, alphaMode, imageSource);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[98]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), wicBitmapSource, loadingOptions, alphaMode, imageSource);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(99)]
public HResult CreateLookupTable3D(BufferPrecision precision, uint* extents, byte* data, uint dataCount, uint* strides, ID2D1LookupTable3D** lookupTable)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[99]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), precision, extents, data, dataCount, strides, lookupTable);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[99]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), precision, extents, data, dataCount, strides, lookupTable);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(100)]
public HResult CreateImageSourceFromDxgi(Graphics.Dxgi.IDXGISurface** surfaces, uint surfaceCount, Graphics.Dxgi.Common.ColorSpaceType colorSpace, ImageSourceFromDxgiOptions options, ID2D1ImageSource** imageSource)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[100]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), surfaces, surfaceCount, colorSpace, options, imageSource);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[100]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), surfaces, surfaceCount, colorSpace, options, imageSource);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(101)]
public HResult GetGradientMeshWorldBounds(ID2D1GradientMesh* gradientMesh, Win32.Numerics.RectF** pBounds)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[101]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), gradientMesh, pBounds);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[101]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), gradientMesh, pBounds);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(102)]
public void DrawInk(ID2D1Ink* ink, ID2D1Brush* brush, ID2D1InkStyle* inkStyle)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[102]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), ink, brush, inkStyle);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[102]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), ink, brush, inkStyle);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(103)]
public void DrawGradientMesh(ID2D1GradientMesh* gradientMesh)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[103]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), gradientMesh);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[103]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), gradientMesh);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(104)]
public void DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[104]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), gdiMetafile, destinationRectangle, sourceRectangle);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[104]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), gdiMetafile, destinationRectangle, sourceRectangle);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(105)]
public HResult CreateTransformedImageSource(ID2D1ImageSource* imageSource, TransformedImageSourceProperties* properties, ID2D1TransformedImageSource** transformedImageSource)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[105]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), imageSource, properties, transformedImageSource);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[105]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), imageSource, properties, transformedImageSource);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(106)]
public HResult CreateSpriteBatch(ID2D1SpriteBatch** spriteBatch)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[106]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), spriteBatch);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[106]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), spriteBatch);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(107)]
public void DrawSpriteBatch(ID2D1SpriteBatch* spriteBatch, uint startIndex, uint spriteCount, ID2D1Bitmap* bitmap, BitmapInterpolationMode interpolationMode, SpriteOptions spriteOptions)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[107]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), spriteBatch, startIndex, spriteCount, bitmap, interpolationMode, spriteOptions);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[107]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), spriteBatch, startIndex, spriteCount, bitmap, interpolationMode, spriteOptions);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(108)]
public HResult CreateSvgGlyphStyle(ID2D1SvgGlyphStyle** svgGlyphStyle)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[108]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), svgGlyphStyle);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[108]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), svgGlyphStyle);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(109)]
public void DrawText(ushort* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Win32.Numerics.RectF* layoutRect, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[109]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, options, measuringMode);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[109]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, options, measuringMode);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(110)]
public void DrawTextLayout(Vector2 origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, DrawTextOptions options)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[110]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, options);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[110]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, options);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(111)]
public void DrawColorBitmapGlyphRun(Graphics.DirectWrite.GlyphImageFormats glyphImageFormat, Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, ColorBitmapGlyphSnapOption bitmapSnapOption)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[111]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), glyphImageFormat, baselineOrigin, glyphRun, measuringMode, bitmapSnapOption);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[111]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), glyphImageFormat, baselineOrigin, glyphRun, measuringMode, bitmapSnapOption);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(112)]
public void DrawSvgGlyphRun(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, Graphics.DirectWrite.MeasuringMode measuringMode)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[112]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, measuringMode);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[112]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, measuringMode);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(113)]
public HResult GetColorBitmapGlyphImage(Graphics.DirectWrite.GlyphImageFormats glyphImageFormat, Vector2 glyphOrigin, Graphics.DirectWrite.IDWriteFontFace* fontFace, float fontEmSize, ushort glyphIndex, Bool32 isSideways, Matrix3x2* worldTransform, float dpiX, float dpiY, Matrix3x2* glyphTransform, ID2D1Image** glyphImage)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[113]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), glyphImageFormat, glyphOrigin, fontFace, fontEmSize, glyphIndex, isSideways, worldTransform, dpiX, dpiY, glyphTransform, glyphImage);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[113]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), glyphImageFormat, glyphOrigin, fontFace, fontEmSize, glyphIndex, isSideways, worldTransform, dpiX, dpiY, glyphTransform, glyphImage);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(114)]
public HResult GetSvgGlyphImage(Vector2 glyphOrigin, Graphics.DirectWrite.IDWriteFontFace* fontFace, float fontEmSize, ushort glyphIndex, Bool32 isSideways, Matrix3x2* worldTransform, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, Matrix3x2* glyphTransform, ID2D1CommandList** glyphImage)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[114]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), glyphOrigin, fontFace, fontEmSize, glyphIndex, isSideways, worldTransform, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, glyphTransform, glyphImage);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[114]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), glyphOrigin, fontFace, fontEmSize, glyphIndex, isSideways, worldTransform, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, glyphTransform, glyphImage);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(115)]
public HResult CreateSvgDocument(Com.IStream* inputXmlStream, System.Drawing.SizeF viewportSize, ID2D1SvgDocument** svgDocument)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[115]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), inputXmlStream, viewportSize, svgDocument);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[115]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), inputXmlStream, viewportSize, svgDocument);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(116)]
public void DrawSvgDocument(ID2D1SvgDocument* svgDocument)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[116]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), svgDocument);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[116]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), svgDocument);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(117)]
public HResult CreateColorContextFromDxgiColorSpace(Graphics.Dxgi.Common.ColorSpaceType colorSpace, ID2D1ColorContext1** colorContext)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[117]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), colorSpace, colorContext);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[117]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), colorSpace, colorContext);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(118)]
public HResult CreateColorContextFromSimpleColorProfile(SimpleColorProfile* simpleProfile, ID2D1ColorContext1** colorContext)
{
#if NET6_0_OR_GREATER
return ((delegate* unmanaged)(lpVtbl[118]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), simpleProfile, colorContext);
#else
return ((delegate* unmanaged[Stdcall])(lpVtbl[118]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), simpleProfile, colorContext);
#endif
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(119)]
public void BlendImage(ID2D1Image* image, Common.BlendMode blendMode, Vector2* targetOffset, Win32.Numerics.RectF* imageRectangle, InterpolationMode interpolationMode)
{
#if NET6_0_OR_GREATER
((delegate* unmanaged)(lpVtbl[119]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), image, blendMode, targetOffset, imageRectangle, interpolationMode);
#else
((delegate* unmanaged[Stdcall])(lpVtbl[119]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), image, blendMode, targetOffset, imageRectangle, interpolationMode);
#endif
}
public interface Interface : ID2D1DeviceContext5.Interface
{
[VtblIndex(119)]
void BlendImage(ID2D1Image* image, Common.BlendMode blendMode, Vector2* targetOffset, Win32.Numerics.RectF* imageRectangle, InterpolationMode interpolationMode);
}
}