diff --git a/Directory.Build.props b/Directory.Build.props
index de03e52..5451ee0 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -14,7 +14,7 @@
true
$(MSBuildThisFileDirectory)NuGet.config
- 1.9.11
+ 1.9.12
true
diff --git a/src/Generator/Program.cs b/src/Generator/Program.cs
index b995bf1..c4a3b24 100644
--- a/src/Generator/Program.cs
+++ b/src/Generator/Program.cs
@@ -111,6 +111,8 @@ public static class Program
{ "Graphics.Direct2D.Common.D2D_SIZE_F", "System.Drawing.SizeF" },
{ "Graphics.Direct2D.Common.D2D_POINT_2U", "System.Drawing.Point" },
{ "Graphics.Direct2D.Common.D2D_SIZE_U", "System.Drawing.Size" },
+ { "Graphics.Direct2D.Common.D2D_RECT_U", "Win32.Numerics.Rect" },
+ { "Graphics.Direct2D.Common.D2D_RECT_F", "Win32.Numerics.RectF" },
{ "Graphics.Imaging.WICRect", "System.Drawing.Rectangle" },
@@ -125,8 +127,8 @@ public static class Program
{ "Graphics.Direct3D12.D3D12_VIEWPORT", "Viewport" },
// TODO: Understand those ->
- { "Foundation.RECT", "RawRect" },
- { "Foundation.RECTL", "RawRect" },
+ { "Foundation.RECT", "Rect" },
+ { "Foundation.RECTL", "Rect" },
{ "Foundation.POINT", "System.Drawing.Point" },
{ "Foundation.POINTL", "System.Drawing.Point" },
{ "Foundation.SIZE", "System.Drawing.Size" },
diff --git a/src/Generator/win32json/api/Graphics.CompositionSwapchain.json b/src/Generator/win32json/api/Graphics.CompositionSwapchain.json
new file mode 100644
index 0000000..c637c68
--- /dev/null
+++ b/src/Generator/win32json/api/Graphics.CompositionSwapchain.json
@@ -0,0 +1,675 @@
+{
+
+"Constants":[
+]
+
+,"Types":[
+ {
+ "Name":"SystemInterruptTime"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"Fields":[
+ {"Name":"value","Type":{"Kind":"Native","Name":"UInt64"},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"PresentationTransform"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"Fields":[
+ {"Name":"M11","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ,{"Name":"M12","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ,{"Name":"M21","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ,{"Name":"M22","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ,{"Name":"M31","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ,{"Name":"M32","Type":{"Kind":"Native","Name":"Single"},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"PresentStatisticsKind"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Enum"
+ ,"Flags":false
+ ,"Scoped":false
+ ,"Values":[
+ {"Name":"PresentStatisticsKind_PresentStatus","Value":1}
+ ,{"Name":"PresentStatisticsKind_CompositionFrame","Value":2}
+ ,{"Name":"PresentStatisticsKind_IndependentFlipFrame","Value":3}
+ ]
+ ,"IntegerBase":"Int32"
+ }
+ ,{
+ "Name":"IPresentationBuffer"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Com"
+ ,"Guid":"2e217d3a-5abb-4138-9a13-a775593c89ca"
+ ,"Interface":{"Kind":"ApiRef","Name":"IUnknown","TargetKind":"Com","Api":"System.Com","Parents":[]}
+ ,"Methods":[
+ {
+ "Name":"GetAvailableEvent"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"availableEventHandle","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"HANDLE","TargetKind":"Default","Api":"Foundation","Parents":[]}},"Attrs":["Out","RetVal"]}
+ ]
+ }
+ ,{
+ "Name":"IsAvailable"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"isAvailable","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Byte"}},"Attrs":["Out","RetVal"]}
+ ]
+ }
+ ]
+ }
+ ,{
+ "Name":"IPresentationContent"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Com"
+ ,"Guid":"5668bb79-3d8e-415c-b215-f38020f2d252"
+ ,"Interface":{"Kind":"ApiRef","Name":"IUnknown","TargetKind":"Com","Api":"System.Com","Parents":[]}
+ ,"Methods":[
+ {
+ "Name":"SetTag"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"Native","Name":"Void"}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"tag","Type":{"Kind":"Native","Name":"UIntPtr"},"Attrs":["In"]}
+ ]
+ }
+ ]
+ }
+ ,{
+ "Name":"IPresentationSurface"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Com"
+ ,"Guid":"956710fb-ea40-4eba-a3eb-4375a0eb4edc"
+ ,"Interface":{"Kind":"ApiRef","Name":"IPresentationContent","TargetKind":"Com","Api":"Graphics.CompositionSwapchain","Parents":[]}
+ ,"Methods":[
+ {
+ "Name":"SetBuffer"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"presentationBuffer","Type":{"Kind":"ApiRef","Name":"IPresentationBuffer","TargetKind":"Com","Api":"Graphics.CompositionSwapchain","Parents":[]},"Attrs":["In"]}
+ ]
+ }
+ ,{
+ "Name":"SetColorSpace"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"colorSpace","Type":{"Kind":"ApiRef","Name":"DXGI_COLOR_SPACE_TYPE","TargetKind":"Default","Api":"Graphics.Dxgi.Common","Parents":[]},"Attrs":["In"]}
+ ]
+ }
+ ,{
+ "Name":"SetAlphaMode"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"alphaMode","Type":{"Kind":"ApiRef","Name":"DXGI_ALPHA_MODE","TargetKind":"Default","Api":"Graphics.Dxgi.Common","Parents":[]},"Attrs":["In"]}
+ ]
+ }
+ ,{
+ "Name":"SetSourceRect"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"sourceRect","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"RECT","TargetKind":"Default","Api":"Foundation","Parents":[]}},"Attrs":["In","Const"]}
+ ]
+ }
+ ,{
+ "Name":"SetTransform"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"transform","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"PresentationTransform","TargetKind":"Default","Api":"Graphics.CompositionSwapchain","Parents":[]}},"Attrs":["In"]}
+ ]
+ }
+ ,{
+ "Name":"RestrictToOutput"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"output","Type":{"Kind":"ApiRef","Name":"IUnknown","TargetKind":"Com","Api":"System.Com","Parents":[]},"Attrs":["In"]}
+ ]
+ }
+ ,{
+ "Name":"SetDisableReadback"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"value","Type":{"Kind":"Native","Name":"Byte"},"Attrs":["In"]}
+ ]
+ }
+ ,{
+ "Name":"SetLetterboxingMargins"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"leftLetterboxSize","Type":{"Kind":"Native","Name":"Single"},"Attrs":["In"]}
+ ,{"Name":"topLetterboxSize","Type":{"Kind":"Native","Name":"Single"},"Attrs":["In"]}
+ ,{"Name":"rightLetterboxSize","Type":{"Kind":"Native","Name":"Single"},"Attrs":["In"]}
+ ,{"Name":"bottomLetterboxSize","Type":{"Kind":"Native","Name":"Single"},"Attrs":["In"]}
+ ]
+ }
+ ]
+ }
+ ,{
+ "Name":"IPresentStatistics"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Com"
+ ,"Guid":"b44b8bda-7282-495d-9dd7-ceadd8b4bb86"
+ ,"Interface":{"Kind":"ApiRef","Name":"IUnknown","TargetKind":"Com","Api":"System.Com","Parents":[]}
+ ,"Methods":[
+ {
+ "Name":"GetPresentId"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"Native","Name":"UInt64"}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ ]
+ }
+ ,{
+ "Name":"GetKind"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"PresentStatisticsKind","TargetKind":"Default","Api":"Graphics.CompositionSwapchain","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ ]
+ }
+ ]
+ }
+ ,{
+ "Name":"IPresentationManager"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Com"
+ ,"Guid":"fb562f82-6292-470a-88b1-843661e7f20c"
+ ,"Interface":{"Kind":"ApiRef","Name":"IUnknown","TargetKind":"Com","Api":"System.Com","Parents":[]}
+ ,"Methods":[
+ {
+ "Name":"AddBufferFromResource"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"resource","Type":{"Kind":"ApiRef","Name":"IUnknown","TargetKind":"Com","Api":"System.Com","Parents":[]},"Attrs":["In"]}
+ ,{"Name":"presentationBuffer","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IPresentationBuffer","TargetKind":"Com","Api":"Graphics.CompositionSwapchain","Parents":[]}},"Attrs":["Out","RetVal"]}
+ ]
+ }
+ ,{
+ "Name":"CreatePresentationSurface"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"compositionSurfaceHandle","Type":{"Kind":"ApiRef","Name":"HANDLE","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In"]}
+ ,{"Name":"presentationSurface","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IPresentationSurface","TargetKind":"Com","Api":"Graphics.CompositionSwapchain","Parents":[]}},"Attrs":["Out","RetVal"]}
+ ]
+ }
+ ,{
+ "Name":"GetNextPresentId"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"Native","Name":"UInt64"}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ ]
+ }
+ ,{
+ "Name":"SetTargetTime"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"targetTime","Type":{"Kind":"ApiRef","Name":"SystemInterruptTime","TargetKind":"Default","Api":"Graphics.CompositionSwapchain","Parents":[]},"Attrs":["In"]}
+ ]
+ }
+ ,{
+ "Name":"SetPreferredPresentDuration"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"preferredDuration","Type":{"Kind":"ApiRef","Name":"SystemInterruptTime","TargetKind":"Default","Api":"Graphics.CompositionSwapchain","Parents":[]},"Attrs":["In"]}
+ ,{"Name":"deviationTolerance","Type":{"Kind":"ApiRef","Name":"SystemInterruptTime","TargetKind":"Default","Api":"Graphics.CompositionSwapchain","Parents":[]},"Attrs":["In"]}
+ ]
+ }
+ ,{
+ "Name":"ForceVSyncInterrupt"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"forceVsyncInterrupt","Type":{"Kind":"Native","Name":"Byte"},"Attrs":["In"]}
+ ]
+ }
+ ,{
+ "Name":"Present"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ ]
+ }
+ ,{
+ "Name":"GetPresentRetiringFence"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"riid","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Guid"}},"Attrs":["In","Const"]}
+ ,{"Name":"fence","Type":{"Kind":"PointerTo","Child":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}}},"Attrs":["Out","RetVal"]}
+ ]
+ }
+ ,{
+ "Name":"CancelPresentsFrom"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"presentIdToCancelFrom","Type":{"Kind":"Native","Name":"UInt64"},"Attrs":["In"]}
+ ]
+ }
+ ,{
+ "Name":"GetLostEvent"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"lostEventHandle","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"HANDLE","TargetKind":"Default","Api":"Foundation","Parents":[]}},"Attrs":["Out","RetVal"]}
+ ]
+ }
+ ,{
+ "Name":"GetPresentStatisticsAvailableEvent"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"presentStatisticsAvailableEventHandle","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"HANDLE","TargetKind":"Default","Api":"Foundation","Parents":[]}},"Attrs":["Out","RetVal"]}
+ ]
+ }
+ ,{
+ "Name":"EnablePresentStatisticsKind"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"presentStatisticsKind","Type":{"Kind":"ApiRef","Name":"PresentStatisticsKind","TargetKind":"Default","Api":"Graphics.CompositionSwapchain","Parents":[]},"Attrs":["In"]}
+ ,{"Name":"enabled","Type":{"Kind":"Native","Name":"Byte"},"Attrs":["In"]}
+ ]
+ }
+ ,{
+ "Name":"GetNextPresentStatistics"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"nextPresentStatistics","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IPresentStatistics","TargetKind":"Com","Api":"Graphics.CompositionSwapchain","Parents":[]}},"Attrs":["Out","RetVal"]}
+ ]
+ }
+ ]
+ }
+ ,{
+ "Name":"IPresentationFactory"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Com"
+ ,"Guid":"8fb37b58-1d74-4f64-a49c-1f97a80a2ec0"
+ ,"Interface":{"Kind":"ApiRef","Name":"IUnknown","TargetKind":"Com","Api":"System.Com","Parents":[]}
+ ,"Methods":[
+ {
+ "Name":"IsPresentationSupported"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"Native","Name":"Byte"}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ ]
+ }
+ ,{
+ "Name":"IsPresentationSupportedWithIndependentFlip"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"Native","Name":"Byte"}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ ]
+ }
+ ,{
+ "Name":"CreatePresentationManager"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"ppPresentationManager","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IPresentationManager","TargetKind":"Com","Api":"Graphics.CompositionSwapchain","Parents":[]}},"Attrs":["Out","RetVal"]}
+ ]
+ }
+ ]
+ }
+ ,{
+ "Name":"PresentStatus"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Enum"
+ ,"Flags":false
+ ,"Scoped":false
+ ,"Values":[
+ {"Name":"PresentStatus_Queued","Value":0}
+ ,{"Name":"PresentStatus_Skipped","Value":1}
+ ,{"Name":"PresentStatus_Canceled","Value":2}
+ ]
+ ,"IntegerBase":"Int32"
+ }
+ ,{
+ "Name":"IPresentStatusPresentStatistics"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Com"
+ ,"Guid":"c9ed2a41-79cb-435e-964e-c8553055420c"
+ ,"Interface":{"Kind":"ApiRef","Name":"IPresentStatistics","TargetKind":"Com","Api":"Graphics.CompositionSwapchain","Parents":[]}
+ ,"Methods":[
+ {
+ "Name":"GetCompositionFrameId"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"Native","Name":"UInt64"}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ ]
+ }
+ ,{
+ "Name":"GetPresentStatus"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"PresentStatus","TargetKind":"Default","Api":"Graphics.CompositionSwapchain","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ ]
+ }
+ ]
+ }
+ ,{
+ "Name":"CompositionFrameInstanceKind"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Enum"
+ ,"Flags":false
+ ,"Scoped":false
+ ,"Values":[
+ {"Name":"CompositionFrameInstanceKind_ComposedOnScreen","Value":0}
+ ,{"Name":"CompositionFrameInstanceKind_ScanoutOnScreen","Value":1}
+ ,{"Name":"CompositionFrameInstanceKind_ComposedToIntermediate","Value":2}
+ ]
+ ,"IntegerBase":"Int32"
+ }
+ ,{
+ "Name":"CompositionFrameDisplayInstance"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Struct"
+ ,"Size":0
+ ,"PackingSize":0
+ ,"Fields":[
+ {"Name":"displayAdapterLUID","Type":{"Kind":"ApiRef","Name":"LUID","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":[]}
+ ,{"Name":"displayVidPnSourceId","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"displayUniqueId","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":[]}
+ ,{"Name":"renderAdapterLUID","Type":{"Kind":"ApiRef","Name":"LUID","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":[]}
+ ,{"Name":"instanceKind","Type":{"Kind":"ApiRef","Name":"CompositionFrameInstanceKind","TargetKind":"Default","Api":"Graphics.CompositionSwapchain","Parents":[]},"Attrs":[]}
+ ,{"Name":"finalTransform","Type":{"Kind":"ApiRef","Name":"PresentationTransform","TargetKind":"Default","Api":"Graphics.CompositionSwapchain","Parents":[]},"Attrs":[]}
+ ,{"Name":"requiredCrossAdapterCopy","Type":{"Kind":"Native","Name":"Byte"},"Attrs":[]}
+ ,{"Name":"colorSpace","Type":{"Kind":"ApiRef","Name":"DXGI_COLOR_SPACE_TYPE","TargetKind":"Default","Api":"Graphics.Dxgi.Common","Parents":[]},"Attrs":[]}
+ ]
+ ,"NestedTypes":[
+ ]
+ }
+ ,{
+ "Name":"ICompositionFramePresentStatistics"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Com"
+ ,"Guid":"ab41d127-c101-4c0a-911d-f9f2e9d08e64"
+ ,"Interface":{"Kind":"ApiRef","Name":"IPresentStatistics","TargetKind":"Com","Api":"Graphics.CompositionSwapchain","Parents":[]}
+ ,"Methods":[
+ {
+ "Name":"GetContentTag"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"Native","Name":"UIntPtr"}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ ]
+ }
+ ,{
+ "Name":"GetCompositionFrameId"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"Native","Name":"UInt64"}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ ]
+ }
+ ,{
+ "Name":"GetDisplayInstanceArray"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"Native","Name":"Void"}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"displayInstanceArrayCount","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["Out"]}
+ ,{"Name":"displayInstanceArray","Type":{"Kind":"PointerTo","Child":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"CompositionFrameDisplayInstance","TargetKind":"Default","Api":"Graphics.CompositionSwapchain","Parents":[]}}},"Attrs":["Out","Const"]}
+ ]
+ }
+ ]
+ }
+ ,{
+ "Name":"IIndependentFlipFramePresentStatistics"
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Kind":"Com"
+ ,"Guid":"8c93be27-ad94-4da0-8fd4-2413132d124e"
+ ,"Interface":{"Kind":"ApiRef","Name":"IPresentStatistics","TargetKind":"Com","Api":"Graphics.CompositionSwapchain","Parents":[]}
+ ,"Methods":[
+ {
+ "Name":"GetOutputAdapterLUID"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"LUID","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ ]
+ }
+ ,{
+ "Name":"GetOutputVidPnSourceId"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"Native","Name":"UInt32"}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ ]
+ }
+ ,{
+ "Name":"GetContentTag"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"Native","Name":"UIntPtr"}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ ]
+ }
+ ,{
+ "Name":"GetDisplayedTime"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"SystemInterruptTime","TargetKind":"Default","Api":"Graphics.CompositionSwapchain","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ ]
+ }
+ ,{
+ "Name":"GetPresentDuration"
+ ,"SetLastError":false
+ ,"ReturnType":{"Kind":"ApiRef","Name":"SystemInterruptTime","TargetKind":"Default","Api":"Graphics.CompositionSwapchain","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ ]
+ }
+ ]
+ }
+]
+
+,"Functions":[
+ {
+ "Name":"CreatePresentationFactory"
+ ,"SetLastError":false
+ ,"DllImport":"dcomp.dll"
+ ,"ReturnType":{"Kind":"ApiRef","Name":"HRESULT","TargetKind":"Default","Api":"Foundation","Parents":[]}
+ ,"ReturnAttrs":[]
+ ,"Architectures":[]
+ ,"Platform":null
+ ,"Attrs":[]
+ ,"Params":[
+ {"Name":"d3dDevice","Type":{"Kind":"ApiRef","Name":"IUnknown","TargetKind":"Com","Api":"System.Com","Parents":[]},"Attrs":["In"]}
+ ,{"Name":"riid","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Guid"}},"Attrs":["In","Const"]}
+ ,{"Name":"presentationFactory","Type":{"Kind":"PointerTo","Child":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}}},"Attrs":["Out"]}
+ ]
+ }
+]
+
+,"UnicodeAliases":[
+]
+
+}
diff --git a/src/Generator/win32json/api/Graphics.Direct2D.json b/src/Generator/win32json/api/Graphics.Direct2D.json
index 1ae5d86..b1b4656 100644
--- a/src/Generator/win32json/api/Graphics.Direct2D.json
+++ b/src/Generator/win32json/api/Graphics.Direct2D.json
@@ -1164,7 +1164,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"factory","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1Factory","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out"]}
+ {"Name":"factory","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1Factory","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out","ComOutPtr"]}
]
}
]
@@ -1488,7 +1488,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"bitmap","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1Bitmap","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out","Optional"]}
+ {"Name":"bitmap","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1Bitmap","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out"]}
]
}
]
@@ -2428,7 +2428,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"textRenderingParams","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IDWriteRenderingParams","TargetKind":"Com","Api":"Graphics.DirectWrite","Parents":[]}},"Attrs":["Out","Optional"]}
+ {"Name":"textRenderingParams","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IDWriteRenderingParams","TargetKind":"Com","Api":"Graphics.DirectWrite","Parents":[]}},"Attrs":["Out"]}
]
}
]
@@ -2915,7 +2915,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"textRenderingParams","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IDWriteRenderingParams","TargetKind":"Com","Api":"Graphics.DirectWrite","Parents":[]}},"Attrs":["Out","Optional"]}
+ {"Name":"textRenderingParams","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IDWriteRenderingParams","TargetKind":"Com","Api":"Graphics.DirectWrite","Parents":[]}},"Attrs":["Out"]}
]
}
,{
@@ -5525,7 +5525,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"image","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1Image","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out","Optional"]}
+ {"Name":"image","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1Image","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out"]}
]
}
,{
@@ -5806,7 +5806,7 @@
,"Attrs":[]
,"Params":[
{"Name":"index","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
- ,{"Name":"subProperties","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1Properties","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out","ComOutPtr","Optional"]}
+ ,{"Name":"subProperties","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1Properties","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out","ComOutPtr"]}
]
}
]
@@ -5855,7 +5855,7 @@
,"Attrs":[]
,"Params":[
{"Name":"index","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
- ,{"Name":"input","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1Image","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out","Optional"]}
+ ,{"Name":"input","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1Image","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out"]}
]
}
,{
@@ -5900,7 +5900,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"colorContext","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1ColorContext","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out","Optional"]}
+ {"Name":"colorContext","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1ColorContext","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out"]}
]
}
,{
@@ -5923,7 +5923,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"dxgiSurface","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IDXGISurface","TargetKind":"Com","Api":"Graphics.Dxgi","Parents":[]}},"Attrs":["Out","ComOutPtr","Optional"]}
+ {"Name":"dxgiSurface","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IDXGISurface","TargetKind":"Com","Api":"Graphics.Dxgi","Parents":[]}},"Attrs":["Out","ComOutPtr"]}
]
}
,{
@@ -6363,7 +6363,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"image","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1Image","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out","Optional"]}
+ {"Name":"image","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1Image","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out"]}
]
}
,{
@@ -9164,7 +9164,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"element","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1SvgElement","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out","Optional"]}
+ {"Name":"element","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1SvgElement","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out"]}
]
}
,{
@@ -9566,7 +9566,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"document","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1SvgDocument","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out","Optional"]}
+ {"Name":"document","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1SvgDocument","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out"]}
]
}
,{
@@ -9613,7 +9613,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"parent","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1SvgElement","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out","Optional"]}
+ {"Name":"parent","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1SvgElement","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out"]}
]
}
,{
@@ -9636,7 +9636,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"child","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1SvgElement","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out","Optional"]}
+ {"Name":"child","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1SvgElement","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out"]}
]
}
,{
@@ -9648,7 +9648,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"child","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1SvgElement","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out","Optional"]}
+ {"Name":"child","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1SvgElement","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out"]}
]
}
,{
@@ -9661,7 +9661,7 @@
,"Attrs":[]
,"Params":[
{"Name":"referenceChild","Type":{"Kind":"ApiRef","Name":"ID2D1SvgElement","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]},"Attrs":["In"]}
- ,{"Name":"previousChild","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1SvgElement","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out","ComOutPtr","Optional"]}
+ ,{"Name":"previousChild","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1SvgElement","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out","ComOutPtr"]}
]
}
,{
@@ -9674,7 +9674,7 @@
,"Attrs":[]
,"Params":[
{"Name":"referenceChild","Type":{"Kind":"ApiRef","Name":"ID2D1SvgElement","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]},"Attrs":["In"]}
- ,{"Name":"nextChild","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1SvgElement","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out","ComOutPtr","Optional"]}
+ ,{"Name":"nextChild","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1SvgElement","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out","ComOutPtr"]}
]
}
,{
@@ -9895,7 +9895,7 @@
,"Params":[
{"Name":"name","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]}
,{"Name":"riid","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Guid"}},"Attrs":["In","Const"]}
- ,{"Name":"value","Type":{"Kind":"PointerTo","Child":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}}},"Attrs":["Out","ComOutPtr","Optional"]}
+ ,{"Name":"value","Type":{"Kind":"PointerTo","Child":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}}},"Attrs":["Out","ComOutPtr"]}
]
}
,{
@@ -9996,7 +9996,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"root","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1SvgElement","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out","Optional"]}
+ {"Name":"root","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1SvgElement","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out"]}
]
}
,{
@@ -10009,7 +10009,7 @@
,"Attrs":[]
,"Params":[
{"Name":"id","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]}
- ,{"Name":"svgElement","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1SvgElement","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out","ComOutPtr","Optional"]}
+ ,{"Name":"svgElement","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1SvgElement","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out","ComOutPtr"]}
]
}
,{
@@ -10667,7 +10667,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"wicBitmapSource","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IWICBitmapSource","TargetKind":"Com","Api":"Graphics.Imaging","Parents":[]}},"Attrs":["Out","Optional"]}
+ {"Name":"wicBitmapSource","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IWICBitmapSource","TargetKind":"Com","Api":"Graphics.Imaging","Parents":[]}},"Attrs":["Out"]}
]
}
]
@@ -10689,7 +10689,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"imageSource","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1ImageSource","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out","Optional"]}
+ {"Name":"imageSource","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1ImageSource","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out"]}
]
}
,{
@@ -11292,7 +11292,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"brush","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1Brush","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out","Optional"]}
+ {"Name":"brush","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID2D1Brush","TargetKind":"Com","Api":"Graphics.Direct2D","Parents":[]}},"Attrs":["Out"]}
]
}
,{
diff --git a/src/Generator/win32json/api/Graphics.Direct3D.Dxc.json b/src/Generator/win32json/api/Graphics.Direct3D.Dxc.json
index a4eb9e7..4864001 100644
--- a/src/Generator/win32json/api/Graphics.Direct3D.Dxc.json
+++ b/src/Generator/win32json/api/Graphics.Direct3D.Dxc.json
@@ -487,7 +487,7 @@
,"Attrs":[]
,"Params":[
{"Name":"pFilename","Type":{"Kind":"ApiRef","Name":"PWSTR","TargetKind":"Default","Api":"Foundation","Parents":[]},"Attrs":["In","Const"]}
- ,{"Name":"ppIncludeSource","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IDxcBlob","TargetKind":"Com","Api":"Graphics.Direct3D.Dxc","Parents":[]}},"Attrs":["Out","ComOutPtr","Optional"]}
+ ,{"Name":"ppIncludeSource","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IDxcBlob","TargetKind":"Com","Api":"Graphics.Direct3D.Dxc","Parents":[]}},"Attrs":["Out","ComOutPtr"]}
]
}
]
@@ -769,7 +769,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"ppResult","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IDxcBlob","TargetKind":"Com","Api":"Graphics.Direct3D.Dxc","Parents":[]}},"Attrs":["Out","ComOutPtr","Optional"]}
+ {"Name":"ppResult","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IDxcBlob","TargetKind":"Com","Api":"Graphics.Direct3D.Dxc","Parents":[]}},"Attrs":["Out","ComOutPtr"]}
]
}
,{
@@ -781,7 +781,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"ppErrors","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IDxcBlobEncoding","TargetKind":"Com","Api":"Graphics.Direct3D.Dxc","Parents":[]}},"Attrs":["Out","ComOutPtr","Optional"]}
+ {"Name":"ppErrors","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IDxcBlobEncoding","TargetKind":"Com","Api":"Graphics.Direct3D.Dxc","Parents":[]}},"Attrs":["Out","ComOutPtr"]}
]
}
]
diff --git a/src/Generator/win32json/api/Graphics.Direct3D11.json b/src/Generator/win32json/api/Graphics.Direct3D11.json
index f0bf468..c49fa2e 100644
--- a/src/Generator/win32json/api/Graphics.Direct3D11.json
+++ b/src/Generator/win32json/api/Graphics.Direct3D11.json
@@ -7290,7 +7290,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"ppPixelShader","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID3D11PixelShader","TargetKind":"Com","Api":"Graphics.Direct3D11","Parents":[]}},"Attrs":["Out","Optional"]}
+ {"Name":"ppPixelShader","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID3D11PixelShader","TargetKind":"Com","Api":"Graphics.Direct3D11","Parents":[]}},"Attrs":["Out"]}
,{"Name":"ppClassInstances","Type":{"Kind":"LPArray","NullNullTerm":false,"CountConst":-1,"CountParamIndex":2,"Child":{"Kind":"ApiRef","Name":"ID3D11ClassInstance","TargetKind":"Com","Api":"Graphics.Direct3D11","Parents":[]}},"Attrs":["Out","Optional"]}
,{"Name":"pNumClassInstances","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["In","Out","Optional"]}
]
@@ -7318,7 +7318,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"ppVertexShader","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID3D11VertexShader","TargetKind":"Com","Api":"Graphics.Direct3D11","Parents":[]}},"Attrs":["Out","Optional"]}
+ {"Name":"ppVertexShader","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID3D11VertexShader","TargetKind":"Com","Api":"Graphics.Direct3D11","Parents":[]}},"Attrs":["Out"]}
,{"Name":"ppClassInstances","Type":{"Kind":"LPArray","NullNullTerm":false,"CountConst":-1,"CountParamIndex":2,"Child":{"Kind":"ApiRef","Name":"ID3D11ClassInstance","TargetKind":"Com","Api":"Graphics.Direct3D11","Parents":[]}},"Attrs":["Out","Optional"]}
,{"Name":"pNumClassInstances","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["In","Out","Optional"]}
]
@@ -7346,7 +7346,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"ppInputLayout","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID3D11InputLayout","TargetKind":"Com","Api":"Graphics.Direct3D11","Parents":[]}},"Attrs":["Out","Optional"]}
+ {"Name":"ppInputLayout","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID3D11InputLayout","TargetKind":"Com","Api":"Graphics.Direct3D11","Parents":[]}},"Attrs":["Out"]}
]
}
,{
@@ -7402,7 +7402,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"ppGeometryShader","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID3D11GeometryShader","TargetKind":"Com","Api":"Graphics.Direct3D11","Parents":[]}},"Attrs":["Out","Optional"]}
+ {"Name":"ppGeometryShader","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID3D11GeometryShader","TargetKind":"Com","Api":"Graphics.Direct3D11","Parents":[]}},"Attrs":["Out"]}
,{"Name":"ppClassInstances","Type":{"Kind":"LPArray","NullNullTerm":false,"CountConst":-1,"CountParamIndex":2,"Child":{"Kind":"ApiRef","Name":"ID3D11ClassInstance","TargetKind":"Com","Api":"Graphics.Direct3D11","Parents":[]}},"Attrs":["Out","Optional"]}
,{"Name":"pNumClassInstances","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["In","Out","Optional"]}
]
@@ -7568,7 +7568,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"ppRasterizerState","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID3D11RasterizerState","TargetKind":"Com","Api":"Graphics.Direct3D11","Parents":[]}},"Attrs":["Out","Optional"]}
+ {"Name":"ppRasterizerState","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID3D11RasterizerState","TargetKind":"Com","Api":"Graphics.Direct3D11","Parents":[]}},"Attrs":["Out"]}
]
}
,{
@@ -7620,7 +7620,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"ppHullShader","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID3D11HullShader","TargetKind":"Com","Api":"Graphics.Direct3D11","Parents":[]}},"Attrs":["Out","Optional"]}
+ {"Name":"ppHullShader","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID3D11HullShader","TargetKind":"Com","Api":"Graphics.Direct3D11","Parents":[]}},"Attrs":["Out"]}
,{"Name":"ppClassInstances","Type":{"Kind":"LPArray","NullNullTerm":false,"CountConst":-1,"CountParamIndex":2,"Child":{"Kind":"ApiRef","Name":"ID3D11ClassInstance","TargetKind":"Com","Api":"Graphics.Direct3D11","Parents":[]}},"Attrs":["Out","Optional"]}
,{"Name":"pNumClassInstances","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["In","Out","Optional"]}
]
@@ -7676,7 +7676,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"ppDomainShader","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID3D11DomainShader","TargetKind":"Com","Api":"Graphics.Direct3D11","Parents":[]}},"Attrs":["Out","Optional"]}
+ {"Name":"ppDomainShader","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID3D11DomainShader","TargetKind":"Com","Api":"Graphics.Direct3D11","Parents":[]}},"Attrs":["Out"]}
,{"Name":"ppClassInstances","Type":{"Kind":"LPArray","NullNullTerm":false,"CountConst":-1,"CountParamIndex":2,"Child":{"Kind":"ApiRef","Name":"ID3D11ClassInstance","TargetKind":"Com","Api":"Graphics.Direct3D11","Parents":[]}},"Attrs":["Out","Optional"]}
,{"Name":"pNumClassInstances","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["In","Out","Optional"]}
]
@@ -7746,7 +7746,7 @@
,"Platform":null
,"Attrs":[]
,"Params":[
- {"Name":"ppComputeShader","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID3D11ComputeShader","TargetKind":"Com","Api":"Graphics.Direct3D11","Parents":[]}},"Attrs":["Out","Optional"]}
+ {"Name":"ppComputeShader","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"ID3D11ComputeShader","TargetKind":"Com","Api":"Graphics.Direct3D11","Parents":[]}},"Attrs":["Out"]}
,{"Name":"ppClassInstances","Type":{"Kind":"LPArray","NullNullTerm":false,"CountConst":-1,"CountParamIndex":2,"Child":{"Kind":"ApiRef","Name":"ID3D11ClassInstance","TargetKind":"Com","Api":"Graphics.Direct3D11","Parents":[]}},"Attrs":["Out","Optional"]}
,{"Name":"pNumClassInstances","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["In","Out","Optional"]}
]
diff --git a/src/Generator/win32json/api/Graphics.DirectWrite.json b/src/Generator/win32json/api/Graphics.DirectWrite.json
index 362872e..9ce6bf4 100644
--- a/src/Generator/win32json/api/Graphics.DirectWrite.json
+++ b/src/Generator/win32json/api/Graphics.DirectWrite.json
@@ -1257,7 +1257,7 @@
,"Attrs":[]
,"Params":[
{"Name":"informationalStringID","Type":{"Kind":"ApiRef","Name":"DWRITE_INFORMATIONAL_STRING_ID","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]},"Attrs":["In"]}
- ,{"Name":"informationalStrings","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IDWriteLocalizedStrings","TargetKind":"Com","Api":"Graphics.DirectWrite","Parents":[]}},"Attrs":["Out","ComOutPtr","Optional"]}
+ ,{"Name":"informationalStrings","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IDWriteLocalizedStrings","TargetKind":"Com","Api":"Graphics.DirectWrite","Parents":[]}},"Attrs":["Out","ComOutPtr"]}
,{"Name":"exists","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"BOOL","TargetKind":"Default","Api":"Foundation","Parents":[]}},"Attrs":["Out"]}
]
}
@@ -5690,7 +5690,7 @@
,{"Name":"baseStyle","Type":{"Kind":"ApiRef","Name":"DWRITE_FONT_STYLE","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]},"Attrs":["In"]}
,{"Name":"baseStretch","Type":{"Kind":"ApiRef","Name":"DWRITE_FONT_STRETCH","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]},"Attrs":["In"]}
,{"Name":"mappedLength","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"UInt32"}},"Attrs":["In","Out"]}
- ,{"Name":"mappedFont","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IDWriteFont","TargetKind":"Com","Api":"Graphics.DirectWrite","Parents":[]}},"Attrs":["Out","ComOutPtr","Optional"]}
+ ,{"Name":"mappedFont","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IDWriteFont","TargetKind":"Com","Api":"Graphics.DirectWrite","Parents":[]}},"Attrs":["Out","ComOutPtr"]}
,{"Name":"scale","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Single"}},"Attrs":["Out"]}
]
}
@@ -6355,7 +6355,7 @@
{"Name":"listIndex","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
,{"Name":"propertyId","Type":{"Kind":"ApiRef","Name":"DWRITE_FONT_PROPERTY_ID","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]},"Attrs":["In"]}
,{"Name":"exists","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"BOOL","TargetKind":"Default","Api":"Foundation","Parents":[]}},"Attrs":["Out"]}
- ,{"Name":"values","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IDWriteLocalizedStrings","TargetKind":"Com","Api":"Graphics.DirectWrite","Parents":[]}},"Attrs":["Out","ComOutPtr","Optional"]}
+ ,{"Name":"values","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IDWriteLocalizedStrings","TargetKind":"Com","Api":"Graphics.DirectWrite","Parents":[]}},"Attrs":["Out","ComOutPtr"]}
]
}
,{
@@ -6938,7 +6938,7 @@
,"Attrs":[]
,"Params":[
{"Name":"informationalStringID","Type":{"Kind":"ApiRef","Name":"DWRITE_INFORMATIONAL_STRING_ID","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]},"Attrs":["In"]}
- ,{"Name":"informationalStrings","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IDWriteLocalizedStrings","TargetKind":"Com","Api":"Graphics.DirectWrite","Parents":[]}},"Attrs":["Out","ComOutPtr","Optional"]}
+ ,{"Name":"informationalStrings","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IDWriteLocalizedStrings","TargetKind":"Com","Api":"Graphics.DirectWrite","Parents":[]}},"Attrs":["Out","ComOutPtr"]}
,{"Name":"exists","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"BOOL","TargetKind":"Default","Api":"Foundation","Parents":[]}},"Attrs":["Out"]}
]
}
@@ -7518,7 +7518,7 @@
,{"Name":"pixelsPerEm","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
,{"Name":"glyphImageFormat","Type":{"Kind":"ApiRef","Name":"DWRITE_GLYPH_IMAGE_FORMATS","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]},"Attrs":["In"]}
,{"Name":"glyphData","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"DWRITE_GLYPH_IMAGE_DATA","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]}},"Attrs":["Out"]}
- ,{"Name":"glyphDataContext","Type":{"Kind":"PointerTo","Child":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}}},"Attrs":["Out","Optional"]}
+ ,{"Name":"glyphDataContext","Type":{"Kind":"PointerTo","Child":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Void"}}},"Attrs":["Out"]}
]
}
,{
@@ -7720,7 +7720,7 @@
{"Name":"downloadOperationID","Type":{"Kind":"PointerTo","Child":{"Kind":"Native","Name":"Guid"}},"Attrs":["In","Const"]}
,{"Name":"fileFragments","Type":{"Kind":"LPArray","NullNullTerm":false,"CountConst":-1,"CountParamIndex":2,"Child":{"Kind":"ApiRef","Name":"DWRITE_FILE_FRAGMENT","TargetKind":"Default","Api":"Graphics.DirectWrite","Parents":[]}},"Attrs":["In","Const"]}
,{"Name":"fragmentCount","Type":{"Kind":"Native","Name":"UInt32"},"Attrs":["In"]}
- ,{"Name":"asyncResult","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IDWriteAsyncResult","TargetKind":"Com","Api":"Graphics.DirectWrite","Parents":[]}},"Attrs":["Out","ComOutPtr","Optional"]}
+ ,{"Name":"asyncResult","Type":{"Kind":"PointerTo","Child":{"Kind":"ApiRef","Name":"IDWriteAsyncResult","TargetKind":"Com","Api":"Graphics.DirectWrite","Parents":[]}},"Attrs":["Out","ComOutPtr"]}
]
}
]
diff --git a/src/Vortice.Win32.Graphics.Direct2D/Generated/Graphics.Direct2D.Structs.cs b/src/Vortice.Win32.Graphics.Direct2D/Generated/Graphics.Direct2D.Structs.cs
index bc21d94..c815fa3 100644
--- a/src/Vortice.Win32.Graphics.Direct2D/Generated/Graphics.Direct2D.Structs.cs
+++ b/src/Vortice.Win32.Graphics.Direct2D/Generated/Graphics.Direct2D.Structs.cs
@@ -151,7 +151,7 @@ public partial struct Ellipse
public partial struct RoundedRect
{
///
- public Common.RectF rect;
+ public Win32.Numerics.RectF rect;
///
public float radiusX;
@@ -191,7 +191,7 @@ public partial struct StrokeStyleProperties
public partial struct LayerParameters
{
///
- public Common.RectF contentBounds;
+ public Win32.Numerics.RectF contentBounds;
///
public unsafe ID2D1Geometry* geometricMask;
@@ -330,7 +330,7 @@ public partial struct EffectInputDescription
public uint inputIndex;
///
- public Common.RectF inputRectangle;
+ public Win32.Numerics.RectF inputRectangle;
}
///
@@ -358,7 +358,7 @@ public partial struct PointDescription
public partial struct ImageBrushProperties
{
///
- public Common.RectF sourceRectangle;
+ public Win32.Numerics.RectF sourceRectangle;
///
public ExtendMode extendModeX;
@@ -418,7 +418,7 @@ public partial struct StrokeStyleProperties1
public partial struct LayerParameters1
{
///
- public Common.RectF contentBounds;
+ public Win32.Numerics.RectF contentBounds;
///
public unsafe ID2D1Geometry* geometricMask;
diff --git a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1Bitmap.cs b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1Bitmap.cs
index 4e3a258..afb47c5 100644
--- a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1Bitmap.cs
+++ b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1Bitmap.cs
@@ -120,25 +120,25 @@ public unsafe partial struct ID2D1Bitmap : ID2D1Bitmap.Interface, INativeGuid
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(8)]
- public HResult CopyFromBitmap(System.Drawing.Point* destPoint, ID2D1Bitmap* bitmap, Common.RectU* srcRect)
+ public HResult CopyFromBitmap(System.Drawing.Point* destPoint, ID2D1Bitmap* bitmap, Win32.Numerics.Rect* srcRect)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), destPoint, bitmap, srcRect);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), destPoint, bitmap, srcRect);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(9)]
- public HResult CopyFromRenderTarget(System.Drawing.Point* destPoint, ID2D1RenderTarget* renderTarget, Common.RectU* srcRect)
+ public HResult CopyFromRenderTarget(System.Drawing.Point* destPoint, ID2D1RenderTarget* renderTarget, Win32.Numerics.Rect* srcRect)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), destPoint, renderTarget, srcRect);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), destPoint, renderTarget, srcRect);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(10)]
- public HResult CopyFromMemory(Common.RectU* dstRect, void* srcData, uint pitch)
+ public HResult CopyFromMemory(Win32.Numerics.Rect* dstRect, void* srcData, uint pitch)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), dstRect, srcData, pitch);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), dstRect, srcData, pitch);
}
public interface Interface : ID2D1Image.Interface
@@ -156,13 +156,13 @@ public unsafe partial struct ID2D1Bitmap : ID2D1Bitmap.Interface, INativeGuid
void GetDpi(float* dpiX, float* dpiY);
[VtblIndex(8)]
- HResult CopyFromBitmap(System.Drawing.Point* destPoint, ID2D1Bitmap* bitmap, Common.RectU* srcRect);
+ HResult CopyFromBitmap(System.Drawing.Point* destPoint, ID2D1Bitmap* bitmap, Win32.Numerics.Rect* srcRect);
[VtblIndex(9)]
- HResult CopyFromRenderTarget(System.Drawing.Point* destPoint, ID2D1RenderTarget* renderTarget, Common.RectU* srcRect);
+ HResult CopyFromRenderTarget(System.Drawing.Point* destPoint, ID2D1RenderTarget* renderTarget, Win32.Numerics.Rect* srcRect);
[VtblIndex(10)]
- HResult CopyFromMemory(Common.RectU* dstRect, void* srcData, uint pitch);
+ HResult CopyFromMemory(Win32.Numerics.Rect* dstRect, void* srcData, uint pitch);
}
}
diff --git a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1Bitmap1.cs b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1Bitmap1.cs
index 3f396a8..4f2cca1 100644
--- a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1Bitmap1.cs
+++ b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1Bitmap1.cs
@@ -120,25 +120,25 @@ public unsafe partial struct ID2D1Bitmap1 : ID2D1Bitmap1.Interface, INativeGuid
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(8)]
- public HResult CopyFromBitmap(System.Drawing.Point* destPoint, ID2D1Bitmap* bitmap, Common.RectU* srcRect)
+ public HResult CopyFromBitmap(System.Drawing.Point* destPoint, ID2D1Bitmap* bitmap, Win32.Numerics.Rect* srcRect)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), destPoint, bitmap, srcRect);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), destPoint, bitmap, srcRect);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(9)]
- public HResult CopyFromRenderTarget(System.Drawing.Point* destPoint, ID2D1RenderTarget* renderTarget, Common.RectU* srcRect)
+ public HResult CopyFromRenderTarget(System.Drawing.Point* destPoint, ID2D1RenderTarget* renderTarget, Win32.Numerics.Rect* srcRect)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), destPoint, renderTarget, srcRect);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), destPoint, renderTarget, srcRect);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(10)]
- public HResult CopyFromMemory(Common.RectU* dstRect, void* srcData, uint pitch)
+ public HResult CopyFromMemory(Win32.Numerics.Rect* dstRect, void* srcData, uint pitch)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), dstRect, srcData, pitch);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), dstRect, srcData, pitch);
}
///
diff --git a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1BitmapRenderTarget.cs b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1BitmapRenderTarget.cs
index ff02fa2..8754405 100644
--- a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1BitmapRenderTarget.cs
+++ b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1BitmapRenderTarget.cs
@@ -181,17 +181,17 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(16)]
- public void DrawRectangle(Common.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
+ public void DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(17)]
- public void FillRectangle(Common.RectF* rect, ID2D1Brush* brush)
+ public void FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), rect, brush);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), rect, brush);
}
///
@@ -253,25 +253,25 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(25)]
- public void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, OpacityMaskContent content, Common.RectF* destinationRectangle, Common.RectF* sourceRectangle)
+ public void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, OpacityMaskContent content, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), opacityMask, brush, content, destinationRectangle, sourceRectangle);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), opacityMask, brush, content, destinationRectangle, sourceRectangle);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(26)]
- public void DrawBitmap(ID2D1Bitmap* bitmap, Common.RectF* destinationRectangle, float opacity, BitmapInterpolationMode interpolationMode, Common.RectF* sourceRectangle)
+ public void DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, BitmapInterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(27)]
- public void DrawText(ushort* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Common.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)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
}
///
@@ -413,9 +413,9 @@ public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.I
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(45)]
- public void PushAxisAlignedClip(Common.RectF* clipRect, AntialiasMode antialiasMode)
+ public void PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
}
///
diff --git a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1BoundsAdjustmentTransform.cs b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1BoundsAdjustmentTransform.cs
index c0cd7c8..411585e 100644
--- a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1BoundsAdjustmentTransform.cs
+++ b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1BoundsAdjustmentTransform.cs
@@ -85,26 +85,26 @@ public unsafe partial struct ID2D1BoundsAdjustmentTransform : ID2D1BoundsAdjustm
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(4)]
- public void SetOutputBounds(RawRect* outputBounds)
+ public void SetOutputBounds(Rect* outputBounds)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1BoundsAdjustmentTransform*)Unsafe.AsPointer(ref this), outputBounds);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1BoundsAdjustmentTransform*)Unsafe.AsPointer(ref this), outputBounds);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(5)]
- public void GetOutputBounds(RawRect* outputBounds)
+ public void GetOutputBounds(Rect* outputBounds)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1BoundsAdjustmentTransform*)Unsafe.AsPointer(ref this), outputBounds);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1BoundsAdjustmentTransform*)Unsafe.AsPointer(ref this), outputBounds);
}
public interface Interface : ID2D1TransformNode.Interface
{
[VtblIndex(4)]
- void SetOutputBounds(RawRect* outputBounds);
+ void SetOutputBounds(Rect* outputBounds);
[VtblIndex(5)]
- void GetOutputBounds(RawRect* outputBounds);
+ void GetOutputBounds(Rect* outputBounds);
}
}
diff --git a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1CommandSink.cs b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1CommandSink.cs
index 689ae6e..56b42b3 100644
--- a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1CommandSink.cs
+++ b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1CommandSink.cs
@@ -181,25 +181,25 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(16)]
- public HResult DrawRectangle(Common.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
+ public HResult DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(17)]
- public HResult DrawBitmap(ID2D1Bitmap* bitmap, Common.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Common.RectF* sourceRectangle, Matrix4x4* perspectiveTransform)
+ public HResult DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle, Matrix4x4* perspectiveTransform)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(18)]
- public HResult DrawImage(ID2D1Image* image, Vector2* targetOffset, Common.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode)
+ public HResult DrawImage(ID2D1Image* image, Vector2* targetOffset, Win32.Numerics.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
}
///
@@ -221,9 +221,9 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(21)]
- public HResult FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Common.RectF* destinationRectangle, Common.RectF* sourceRectangle)
+ public HResult FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
}
///
@@ -237,17 +237,17 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(23)]
- public HResult FillRectangle(Common.RectF* rect, ID2D1Brush* brush)
+ public HResult FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), rect, brush);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), rect, brush);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(24)]
- public HResult PushAxisAlignedClip(Common.RectF* clipRect, AntialiasMode antialiasMode)
+ public HResult PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
}
///
@@ -316,13 +316,13 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
HResult DrawGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle);
[VtblIndex(16)]
- HResult DrawRectangle(Common.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle);
+ HResult DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle);
[VtblIndex(17)]
- HResult DrawBitmap(ID2D1Bitmap* bitmap, Common.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Common.RectF* sourceRectangle, Matrix4x4* perspectiveTransform);
+ HResult DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle, Matrix4x4* perspectiveTransform);
[VtblIndex(18)]
- HResult DrawImage(ID2D1Image* image, Vector2* targetOffset, Common.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode);
+ HResult DrawImage(ID2D1Image* image, Vector2* targetOffset, Win32.Numerics.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode);
[VtblIndex(19)]
HResult DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Vector2* targetOffset);
@@ -331,16 +331,16 @@ public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INat
HResult FillMesh(ID2D1Mesh* mesh, ID2D1Brush* brush);
[VtblIndex(21)]
- HResult FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Common.RectF* destinationRectangle, Common.RectF* sourceRectangle);
+ HResult FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle);
[VtblIndex(22)]
HResult FillGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, ID2D1Brush* opacityBrush);
[VtblIndex(23)]
- HResult FillRectangle(Common.RectF* rect, ID2D1Brush* brush);
+ HResult FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush);
[VtblIndex(24)]
- HResult PushAxisAlignedClip(Common.RectF* clipRect, AntialiasMode antialiasMode);
+ HResult PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode);
[VtblIndex(25)]
HResult PushLayer(LayerParameters1* layerParameters1, ID2D1Layer* layer);
diff --git a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1CommandSink1.cs b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1CommandSink1.cs
index f862497..be5d958 100644
--- a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1CommandSink1.cs
+++ b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1CommandSink1.cs
@@ -181,25 +181,25 @@ public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, IN
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(16)]
- public HResult DrawRectangle(Common.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
+ public HResult DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(17)]
- public HResult DrawBitmap(ID2D1Bitmap* bitmap, Common.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Common.RectF* sourceRectangle, Matrix4x4* perspectiveTransform)
+ public HResult DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle, Matrix4x4* perspectiveTransform)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(18)]
- public HResult DrawImage(ID2D1Image* image, Vector2* targetOffset, Common.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode)
+ public HResult DrawImage(ID2D1Image* image, Vector2* targetOffset, Win32.Numerics.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
}
///
@@ -221,9 +221,9 @@ public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, IN
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(21)]
- public HResult FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Common.RectF* destinationRectangle, Common.RectF* sourceRectangle)
+ public HResult FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
}
///
@@ -237,17 +237,17 @@ public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, IN
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(23)]
- public HResult FillRectangle(Common.RectF* rect, ID2D1Brush* brush)
+ public HResult FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), rect, brush);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), rect, brush);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(24)]
- public HResult PushAxisAlignedClip(Common.RectF* clipRect, AntialiasMode antialiasMode)
+ public HResult PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
}
///
diff --git a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1CommandSink2.cs b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1CommandSink2.cs
index 3f6cfaa..b2b7444 100644
--- a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1CommandSink2.cs
+++ b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1CommandSink2.cs
@@ -181,25 +181,25 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(16)]
- public HResult DrawRectangle(Common.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
+ public HResult DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(17)]
- public HResult DrawBitmap(ID2D1Bitmap* bitmap, Common.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Common.RectF* sourceRectangle, Matrix4x4* perspectiveTransform)
+ public HResult DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle, Matrix4x4* perspectiveTransform)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(18)]
- public HResult DrawImage(ID2D1Image* image, Vector2* targetOffset, Common.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode)
+ public HResult DrawImage(ID2D1Image* image, Vector2* targetOffset, Win32.Numerics.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
}
///
@@ -221,9 +221,9 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(21)]
- public HResult FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Common.RectF* destinationRectangle, Common.RectF* sourceRectangle)
+ public HResult FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
}
///
@@ -237,17 +237,17 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(23)]
- public HResult FillRectangle(Common.RectF* rect, ID2D1Brush* brush)
+ public HResult FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), rect, brush);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), rect, brush);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(24)]
- public HResult PushAxisAlignedClip(Common.RectF* clipRect, AntialiasMode antialiasMode)
+ public HResult PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
}
///
@@ -301,9 +301,9 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(31)]
- public HResult DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Common.RectF* destinationRectangle, Common.RectF* sourceRectangle)
+ public HResult DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), gdiMetafile, destinationRectangle, sourceRectangle);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), gdiMetafile, destinationRectangle, sourceRectangle);
}
public interface Interface : ID2D1CommandSink1.Interface
@@ -315,7 +315,7 @@ public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, IN
HResult DrawGradientMesh(ID2D1GradientMesh* gradientMesh);
[VtblIndex(31)]
- HResult DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Common.RectF* destinationRectangle, Common.RectF* sourceRectangle);
+ HResult DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle);
}
}
diff --git a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1CommandSink3.cs b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1CommandSink3.cs
index 9a1d115..720bbdf 100644
--- a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1CommandSink3.cs
+++ b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1CommandSink3.cs
@@ -181,25 +181,25 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(16)]
- public HResult DrawRectangle(Common.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
+ public HResult DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(17)]
- public HResult DrawBitmap(ID2D1Bitmap* bitmap, Common.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Common.RectF* sourceRectangle, Matrix4x4* perspectiveTransform)
+ public HResult DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle, Matrix4x4* perspectiveTransform)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(18)]
- public HResult DrawImage(ID2D1Image* image, Vector2* targetOffset, Common.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode)
+ public HResult DrawImage(ID2D1Image* image, Vector2* targetOffset, Win32.Numerics.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
}
///
@@ -221,9 +221,9 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(21)]
- public HResult FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Common.RectF* destinationRectangle, Common.RectF* sourceRectangle)
+ public HResult FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
}
///
@@ -237,17 +237,17 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(23)]
- public HResult FillRectangle(Common.RectF* rect, ID2D1Brush* brush)
+ public HResult FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), rect, brush);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), rect, brush);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(24)]
- public HResult PushAxisAlignedClip(Common.RectF* clipRect, AntialiasMode antialiasMode)
+ public HResult PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
}
///
@@ -301,9 +301,9 @@ public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, IN
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(31)]
- public HResult DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Common.RectF* destinationRectangle, Common.RectF* sourceRectangle)
+ public HResult DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), gdiMetafile, destinationRectangle, sourceRectangle);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), gdiMetafile, destinationRectangle, sourceRectangle);
}
///
diff --git a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1CommandSink4.cs b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1CommandSink4.cs
index b32b727..c3c83ac 100644
--- a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1CommandSink4.cs
+++ b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1CommandSink4.cs
@@ -181,25 +181,25 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(16)]
- public HResult DrawRectangle(Common.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
+ public HResult DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(17)]
- public HResult DrawBitmap(ID2D1Bitmap* bitmap, Common.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Common.RectF* sourceRectangle, Matrix4x4* perspectiveTransform)
+ public HResult DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle, Matrix4x4* perspectiveTransform)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(18)]
- public HResult DrawImage(ID2D1Image* image, Vector2* targetOffset, Common.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode)
+ public HResult DrawImage(ID2D1Image* image, Vector2* targetOffset, Win32.Numerics.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
}
///
@@ -221,9 +221,9 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(21)]
- public HResult FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Common.RectF* destinationRectangle, Common.RectF* sourceRectangle)
+ public HResult FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
}
///
@@ -237,17 +237,17 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(23)]
- public HResult FillRectangle(Common.RectF* rect, ID2D1Brush* brush)
+ public HResult FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), rect, brush);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), rect, brush);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(24)]
- public HResult PushAxisAlignedClip(Common.RectF* clipRect, AntialiasMode antialiasMode)
+ public HResult PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
}
///
@@ -301,9 +301,9 @@ public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, IN
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(31)]
- public HResult DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Common.RectF* destinationRectangle, Common.RectF* sourceRectangle)
+ public HResult DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), gdiMetafile, destinationRectangle, sourceRectangle);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), gdiMetafile, destinationRectangle, sourceRectangle);
}
///
diff --git a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1CommandSink5.cs b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1CommandSink5.cs
index a11717d..9b712c6 100644
--- a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1CommandSink5.cs
+++ b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1CommandSink5.cs
@@ -181,25 +181,25 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(16)]
- public HResult DrawRectangle(Common.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
+ public HResult DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(17)]
- public HResult DrawBitmap(ID2D1Bitmap* bitmap, Common.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Common.RectF* sourceRectangle, Matrix4x4* perspectiveTransform)
+ public HResult DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle, Matrix4x4* perspectiveTransform)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(18)]
- public HResult DrawImage(ID2D1Image* image, Vector2* targetOffset, Common.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode)
+ public HResult DrawImage(ID2D1Image* image, Vector2* targetOffset, Win32.Numerics.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
}
///
@@ -221,9 +221,9 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(21)]
- public HResult FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Common.RectF* destinationRectangle, Common.RectF* sourceRectangle)
+ public HResult FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
}
///
@@ -237,17 +237,17 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(23)]
- public HResult FillRectangle(Common.RectF* rect, ID2D1Brush* brush)
+ public HResult FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), rect, brush);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), rect, brush);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(24)]
- public HResult PushAxisAlignedClip(Common.RectF* clipRect, AntialiasMode antialiasMode)
+ public HResult PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
}
///
@@ -301,9 +301,9 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(31)]
- public HResult DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Common.RectF* destinationRectangle, Common.RectF* sourceRectangle)
+ public HResult DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), gdiMetafile, destinationRectangle, sourceRectangle);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), gdiMetafile, destinationRectangle, sourceRectangle);
}
///
@@ -325,15 +325,15 @@ public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, IN
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(34)]
- public HResult BlendImage(ID2D1Image* image, Common.BlendMode blendMode, Vector2* targetOffset, Common.RectF* imageRectangle, InterpolationMode interpolationMode)
+ public HResult BlendImage(ID2D1Image* image, Common.BlendMode blendMode, Vector2* targetOffset, Win32.Numerics.RectF* imageRectangle, InterpolationMode interpolationMode)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), image, blendMode, targetOffset, imageRectangle, interpolationMode);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), image, blendMode, targetOffset, imageRectangle, interpolationMode);
}
public interface Interface : ID2D1CommandSink4.Interface
{
[VtblIndex(34)]
- HResult BlendImage(ID2D1Image* image, Common.BlendMode blendMode, Vector2* targetOffset, Common.RectF* imageRectangle, InterpolationMode interpolationMode);
+ HResult BlendImage(ID2D1Image* image, Common.BlendMode blendMode, Vector2* targetOffset, Win32.Numerics.RectF* imageRectangle, InterpolationMode interpolationMode);
}
}
diff --git a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1ComputeTransform.cs b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1ComputeTransform.cs
index ce749d6..77d291f 100644
--- a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1ComputeTransform.cs
+++ b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1ComputeTransform.cs
@@ -85,25 +85,25 @@ public unsafe partial struct ID2D1ComputeTransform : ID2D1ComputeTransform.Inter
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(4)]
- public HResult MapOutputRectToInputRects(RawRect* outputRect, RawRect* inputRects, uint inputRectsCount)
+ public HResult MapOutputRectToInputRects(Rect* outputRect, Rect* inputRects, uint inputRectsCount)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this), outputRect, inputRects, inputRectsCount);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this), outputRect, inputRects, inputRectsCount);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(5)]
- public HResult MapInputRectsToOutputRect(RawRect* inputRects, RawRect* inputOpaqueSubRects, uint inputRectCount, RawRect* outputRect, RawRect* outputOpaqueSubRect)
+ public HResult MapInputRectsToOutputRect(Rect* inputRects, Rect* inputOpaqueSubRects, uint inputRectCount, Rect* outputRect, Rect* outputOpaqueSubRect)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this), inputRects, inputOpaqueSubRects, inputRectCount, outputRect, outputOpaqueSubRect);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this), inputRects, inputOpaqueSubRects, inputRectCount, outputRect, outputOpaqueSubRect);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(6)]
- public HResult MapInvalidRect(uint inputIndex, RawRect invalidInputRect, RawRect* invalidOutputRect)
+ public HResult MapInvalidRect(uint inputIndex, Rect invalidInputRect, Rect* invalidOutputRect)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this), inputIndex, invalidInputRect, invalidOutputRect);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this), inputIndex, invalidInputRect, invalidOutputRect);
}
///
@@ -117,9 +117,9 @@ public unsafe partial struct ID2D1ComputeTransform : ID2D1ComputeTransform.Inter
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(8)]
- public HResult CalculateThreadgroups(RawRect* outputRect, uint* dimensionX, uint* dimensionY, uint* dimensionZ)
+ public HResult CalculateThreadgroups(Rect* outputRect, uint* dimensionX, uint* dimensionY, uint* dimensionZ)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this), outputRect, dimensionX, dimensionY, dimensionZ);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this), outputRect, dimensionX, dimensionY, dimensionZ);
}
public interface Interface : ID2D1Transform.Interface
@@ -128,7 +128,7 @@ public unsafe partial struct ID2D1ComputeTransform : ID2D1ComputeTransform.Inter
HResult SetComputeInfo(ID2D1ComputeInfo* computeInfo);
[VtblIndex(8)]
- HResult CalculateThreadgroups(RawRect* outputRect, uint* dimensionX, uint* dimensionY, uint* dimensionZ);
+ HResult CalculateThreadgroups(Rect* outputRect, uint* dimensionX, uint* dimensionY, uint* dimensionZ);
}
}
diff --git a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DCRenderTarget.cs b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DCRenderTarget.cs
index ea4f268..5a7c432 100644
--- a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DCRenderTarget.cs
+++ b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DCRenderTarget.cs
@@ -181,17 +181,17 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(16)]
- public void DrawRectangle(Common.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
+ public void DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(17)]
- public void FillRectangle(Common.RectF* rect, ID2D1Brush* brush)
+ public void FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), rect, brush);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), rect, brush);
}
///
@@ -253,25 +253,25 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(25)]
- public void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, OpacityMaskContent content, Common.RectF* destinationRectangle, Common.RectF* sourceRectangle)
+ public void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, OpacityMaskContent content, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), opacityMask, brush, content, destinationRectangle, sourceRectangle);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), opacityMask, brush, content, destinationRectangle, sourceRectangle);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(26)]
- public void DrawBitmap(ID2D1Bitmap* bitmap, Common.RectF* destinationRectangle, float opacity, BitmapInterpolationMode interpolationMode, Common.RectF* sourceRectangle)
+ public void DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, BitmapInterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(27)]
- public void DrawText(ushort* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Common.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)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
}
///
@@ -413,9 +413,9 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(45)]
- public void PushAxisAlignedClip(Common.RectF* clipRect, AntialiasMode antialiasMode)
+ public void PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
}
///
@@ -512,15 +512,15 @@ public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(57)]
- public HResult BindDC(IntPtr hDC, RawRect* pSubRect)
+ public HResult BindDC(IntPtr hDC, Rect* pSubRect)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), hDC, pSubRect);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), hDC, pSubRect);
}
public interface Interface : ID2D1RenderTarget.Interface
{
[VtblIndex(57)]
- HResult BindDC(IntPtr hDC, RawRect* pSubRect);
+ HResult BindDC(IntPtr hDC, Rect* pSubRect);
}
}
diff --git a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext.cs b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext.cs
index 502a7a3..3c8b675 100644
--- a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext.cs
+++ b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext.cs
@@ -181,17 +181,17 @@ public unsafe partial struct ID2D1DeviceContext : ID2D1DeviceContext.Interface,
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(16)]
- public void DrawRectangle(Common.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
+ public void DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(17)]
- public void FillRectangle(Common.RectF* rect, ID2D1Brush* brush)
+ public void FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), rect, brush);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), rect, brush);
}
///
@@ -253,25 +253,25 @@ public unsafe partial struct ID2D1DeviceContext : ID2D1DeviceContext.Interface,
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(25)]
- public void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, OpacityMaskContent content, Common.RectF* destinationRectangle, Common.RectF* sourceRectangle)
+ public void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, OpacityMaskContent content, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), opacityMask, brush, content, destinationRectangle, sourceRectangle);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), opacityMask, brush, content, destinationRectangle, sourceRectangle);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(26)]
- public void DrawBitmap(ID2D1Bitmap* bitmap, Common.RectF* destinationRectangle, float opacity, BitmapInterpolationMode interpolationMode, Common.RectF* sourceRectangle)
+ public void DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, BitmapInterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(27)]
- public void DrawText(ushort* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Common.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)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
}
///
@@ -413,9 +413,9 @@ public unsafe partial struct ID2D1DeviceContext : ID2D1DeviceContext.Interface,
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(45)]
- public void PushAxisAlignedClip(Common.RectF* clipRect, AntialiasMode antialiasMode)
+ public void PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
}
///
@@ -616,25 +616,25 @@ public unsafe partial struct ID2D1DeviceContext : ID2D1DeviceContext.Interface,
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(70)]
- public HResult GetImageLocalBounds(ID2D1Image* image, Common.RectF* localBounds)
+ public HResult GetImageLocalBounds(ID2D1Image* image, Win32.Numerics.RectF** localBounds)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[70]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), image, localBounds);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[70]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), image, localBounds);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(71)]
- public HResult GetImageWorldBounds(ID2D1Image* image, Common.RectF* worldBounds)
+ public HResult GetImageWorldBounds(ID2D1Image* image, Win32.Numerics.RectF** worldBounds)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[71]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), image, worldBounds);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[71]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), image, worldBounds);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(72)]
- public HResult GetGlyphRunWorldBounds(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, Common.RectF* bounds)
+ public HResult GetGlyphRunWorldBounds(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, Win32.Numerics.RectF** bounds)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds);
}
///
@@ -720,9 +720,9 @@ public unsafe partial struct ID2D1DeviceContext : ID2D1DeviceContext.Interface,
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(83)]
- public void DrawImage(ID2D1Image* image, Vector2* targetOffset, Common.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode)
+ public void DrawImage(ID2D1Image* image, Vector2* targetOffset, Win32.Numerics.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[83]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[83]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
}
///
@@ -736,9 +736,9 @@ public unsafe partial struct ID2D1DeviceContext : ID2D1DeviceContext.Interface,
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(85)]
- public void DrawBitmap(ID2D1Bitmap* bitmap, Common.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Common.RectF* sourceRectangle, Matrix4x4* perspectiveTransform)
+ public void DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle, Matrix4x4* perspectiveTransform)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[85]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[85]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
}
///
@@ -752,9 +752,9 @@ public unsafe partial struct ID2D1DeviceContext : ID2D1DeviceContext.Interface,
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(87)]
- public HResult InvalidateEffectInputRectangle(ID2D1Effect* effect, uint input, Common.RectF* inputRectangle)
+ public HResult InvalidateEffectInputRectangle(ID2D1Effect* effect, uint input, Win32.Numerics.RectF* inputRectangle)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[87]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), effect, input, inputRectangle);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[87]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), effect, input, inputRectangle);
}
///
@@ -768,25 +768,25 @@ public unsafe partial struct ID2D1DeviceContext : ID2D1DeviceContext.Interface,
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(89)]
- public HResult GetEffectInvalidRectangles(ID2D1Effect* effect, Common.RectF* rectangles, uint rectanglesCount)
+ public HResult GetEffectInvalidRectangles(ID2D1Effect* effect, Win32.Numerics.RectF** rectangles, uint rectanglesCount)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[89]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), effect, rectangles, rectanglesCount);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[89]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), effect, rectangles, rectanglesCount);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(90)]
- public HResult GetEffectRequiredInputRectangles(ID2D1Effect* renderEffect, Common.RectF* renderImageRectangle, EffectInputDescription* inputDescriptions, Common.RectF* requiredInputRects, uint inputCount)
+ public HResult GetEffectRequiredInputRectangles(ID2D1Effect* renderEffect, Win32.Numerics.RectF* renderImageRectangle, EffectInputDescription* inputDescriptions, Win32.Numerics.RectF** requiredInputRects, uint inputCount)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[90]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), renderEffect, renderImageRectangle, inputDescriptions, requiredInputRects, inputCount);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[90]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), renderEffect, renderImageRectangle, inputDescriptions, requiredInputRects, inputCount);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(91)]
- public void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Common.RectF* destinationRectangle, Common.RectF* sourceRectangle)
+ public void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[91]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[91]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
}
public interface Interface : ID2D1RenderTarget.Interface
@@ -831,13 +831,13 @@ public unsafe partial struct ID2D1DeviceContext : ID2D1DeviceContext.Interface,
Bool32 IsBufferPrecisionSupported(BufferPrecision bufferPrecision);
[VtblIndex(70)]
- HResult GetImageLocalBounds(ID2D1Image* image, Common.RectF* localBounds);
+ HResult GetImageLocalBounds(ID2D1Image* image, Win32.Numerics.RectF** localBounds);
[VtblIndex(71)]
- HResult GetImageWorldBounds(ID2D1Image* image, Common.RectF* worldBounds);
+ HResult GetImageWorldBounds(ID2D1Image* image, Win32.Numerics.RectF** worldBounds);
[VtblIndex(72)]
- HResult GetGlyphRunWorldBounds(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, Common.RectF* bounds);
+ HResult GetGlyphRunWorldBounds(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, Win32.Numerics.RectF** bounds);
[VtblIndex(73)]
void GetDevice(ID2D1Device** device);
@@ -870,31 +870,31 @@ public unsafe partial struct ID2D1DeviceContext : ID2D1DeviceContext.Interface,
void DrawGlyphRun(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode);
[VtblIndex(83)]
- void DrawImage(ID2D1Image* image, Vector2* targetOffset, Common.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode);
+ void DrawImage(ID2D1Image* image, Vector2* targetOffset, Win32.Numerics.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode);
[VtblIndex(84)]
void DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Vector2* targetOffset);
[VtblIndex(85)]
- void DrawBitmap(ID2D1Bitmap* bitmap, Common.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Common.RectF* sourceRectangle, Matrix4x4* perspectiveTransform);
+ void DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle, Matrix4x4* perspectiveTransform);
[VtblIndex(86)]
void PushLayer(LayerParameters1* layerParameters, ID2D1Layer* layer);
[VtblIndex(87)]
- HResult InvalidateEffectInputRectangle(ID2D1Effect* effect, uint input, Common.RectF* inputRectangle);
+ HResult InvalidateEffectInputRectangle(ID2D1Effect* effect, uint input, Win32.Numerics.RectF* inputRectangle);
[VtblIndex(88)]
HResult GetEffectInvalidRectangleCount(ID2D1Effect* effect, uint* rectangleCount);
[VtblIndex(89)]
- HResult GetEffectInvalidRectangles(ID2D1Effect* effect, Common.RectF* rectangles, uint rectanglesCount);
+ HResult GetEffectInvalidRectangles(ID2D1Effect* effect, Win32.Numerics.RectF** rectangles, uint rectanglesCount);
[VtblIndex(90)]
- HResult GetEffectRequiredInputRectangles(ID2D1Effect* renderEffect, Common.RectF* renderImageRectangle, EffectInputDescription* inputDescriptions, Common.RectF* requiredInputRects, uint inputCount);
+ HResult GetEffectRequiredInputRectangles(ID2D1Effect* renderEffect, Win32.Numerics.RectF* renderImageRectangle, EffectInputDescription* inputDescriptions, Win32.Numerics.RectF** requiredInputRects, uint inputCount);
[VtblIndex(91)]
- void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Common.RectF* destinationRectangle, Common.RectF* sourceRectangle);
+ void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle);
}
}
diff --git a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext1.cs b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext1.cs
index 8bac572..2f9d399 100644
--- a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext1.cs
+++ b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext1.cs
@@ -181,17 +181,17 @@ public unsafe partial struct ID2D1DeviceContext1 : ID2D1DeviceContext1.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(16)]
- public void DrawRectangle(Common.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
+ public void DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(17)]
- public void FillRectangle(Common.RectF* rect, ID2D1Brush* brush)
+ public void FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), rect, brush);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), rect, brush);
}
///
@@ -253,25 +253,25 @@ public unsafe partial struct ID2D1DeviceContext1 : ID2D1DeviceContext1.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(25)]
- public void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, OpacityMaskContent content, Common.RectF* destinationRectangle, Common.RectF* sourceRectangle)
+ public void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, OpacityMaskContent content, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), opacityMask, brush, content, destinationRectangle, sourceRectangle);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), opacityMask, brush, content, destinationRectangle, sourceRectangle);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(26)]
- public void DrawBitmap(ID2D1Bitmap* bitmap, Common.RectF* destinationRectangle, float opacity, BitmapInterpolationMode interpolationMode, Common.RectF* sourceRectangle)
+ public void DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, BitmapInterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(27)]
- public void DrawText(ushort* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Common.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)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
}
///
@@ -413,9 +413,9 @@ public unsafe partial struct ID2D1DeviceContext1 : ID2D1DeviceContext1.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(45)]
- public void PushAxisAlignedClip(Common.RectF* clipRect, AntialiasMode antialiasMode)
+ public void PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
}
///
@@ -616,25 +616,25 @@ public unsafe partial struct ID2D1DeviceContext1 : ID2D1DeviceContext1.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(70)]
- public HResult GetImageLocalBounds(ID2D1Image* image, Common.RectF* localBounds)
+ public HResult GetImageLocalBounds(ID2D1Image* image, Win32.Numerics.RectF** localBounds)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[70]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), image, localBounds);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[70]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), image, localBounds);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(71)]
- public HResult GetImageWorldBounds(ID2D1Image* image, Common.RectF* worldBounds)
+ public HResult GetImageWorldBounds(ID2D1Image* image, Win32.Numerics.RectF** worldBounds)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[71]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), image, worldBounds);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[71]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), image, worldBounds);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(72)]
- public HResult GetGlyphRunWorldBounds(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, Common.RectF* bounds)
+ public HResult GetGlyphRunWorldBounds(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, Win32.Numerics.RectF** bounds)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds);
}
///
@@ -720,9 +720,9 @@ public unsafe partial struct ID2D1DeviceContext1 : ID2D1DeviceContext1.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(83)]
- public void DrawImage(ID2D1Image* image, Vector2* targetOffset, Common.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode)
+ public void DrawImage(ID2D1Image* image, Vector2* targetOffset, Win32.Numerics.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[83]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[83]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
}
///
@@ -736,9 +736,9 @@ public unsafe partial struct ID2D1DeviceContext1 : ID2D1DeviceContext1.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(85)]
- public void DrawBitmap(ID2D1Bitmap* bitmap, Common.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Common.RectF* sourceRectangle, Matrix4x4* perspectiveTransform)
+ public void DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle, Matrix4x4* perspectiveTransform)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[85]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[85]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
}
///
@@ -752,9 +752,9 @@ public unsafe partial struct ID2D1DeviceContext1 : ID2D1DeviceContext1.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(87)]
- public HResult InvalidateEffectInputRectangle(ID2D1Effect* effect, uint input, Common.RectF* inputRectangle)
+ public HResult InvalidateEffectInputRectangle(ID2D1Effect* effect, uint input, Win32.Numerics.RectF* inputRectangle)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[87]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), effect, input, inputRectangle);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[87]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), effect, input, inputRectangle);
}
///
@@ -768,25 +768,25 @@ public unsafe partial struct ID2D1DeviceContext1 : ID2D1DeviceContext1.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(89)]
- public HResult GetEffectInvalidRectangles(ID2D1Effect* effect, Common.RectF* rectangles, uint rectanglesCount)
+ public HResult GetEffectInvalidRectangles(ID2D1Effect* effect, Win32.Numerics.RectF** rectangles, uint rectanglesCount)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[89]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), effect, rectangles, rectanglesCount);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[89]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), effect, rectangles, rectanglesCount);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(90)]
- public HResult GetEffectRequiredInputRectangles(ID2D1Effect* renderEffect, Common.RectF* renderImageRectangle, EffectInputDescription* inputDescriptions, Common.RectF* requiredInputRects, uint inputCount)
+ public HResult GetEffectRequiredInputRectangles(ID2D1Effect* renderEffect, Win32.Numerics.RectF* renderImageRectangle, EffectInputDescription* inputDescriptions, Win32.Numerics.RectF** requiredInputRects, uint inputCount)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[90]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), renderEffect, renderImageRectangle, inputDescriptions, requiredInputRects, inputCount);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[90]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), renderEffect, renderImageRectangle, inputDescriptions, requiredInputRects, inputCount);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(91)]
- public void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Common.RectF* destinationRectangle, Common.RectF* sourceRectangle)
+ public void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[91]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[91]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
}
///
diff --git a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext2.cs b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext2.cs
index 4e98450..439dbd2 100644
--- a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext2.cs
+++ b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext2.cs
@@ -181,17 +181,17 @@ public unsafe partial struct ID2D1DeviceContext2 : ID2D1DeviceContext2.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(16)]
- public void DrawRectangle(Common.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
+ public void DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(17)]
- public void FillRectangle(Common.RectF* rect, ID2D1Brush* brush)
+ public void FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), rect, brush);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), rect, brush);
}
///
@@ -253,25 +253,25 @@ public unsafe partial struct ID2D1DeviceContext2 : ID2D1DeviceContext2.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(25)]
- public void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, OpacityMaskContent content, Common.RectF* destinationRectangle, Common.RectF* sourceRectangle)
+ public void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, OpacityMaskContent content, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), opacityMask, brush, content, destinationRectangle, sourceRectangle);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), opacityMask, brush, content, destinationRectangle, sourceRectangle);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(26)]
- public void DrawBitmap(ID2D1Bitmap* bitmap, Common.RectF* destinationRectangle, float opacity, BitmapInterpolationMode interpolationMode, Common.RectF* sourceRectangle)
+ public void DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, BitmapInterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(27)]
- public void DrawText(ushort* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Common.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)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
}
///
@@ -413,9 +413,9 @@ public unsafe partial struct ID2D1DeviceContext2 : ID2D1DeviceContext2.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(45)]
- public void PushAxisAlignedClip(Common.RectF* clipRect, AntialiasMode antialiasMode)
+ public void PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
}
///
@@ -616,25 +616,25 @@ public unsafe partial struct ID2D1DeviceContext2 : ID2D1DeviceContext2.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(70)]
- public HResult GetImageLocalBounds(ID2D1Image* image, Common.RectF* localBounds)
+ public HResult GetImageLocalBounds(ID2D1Image* image, Win32.Numerics.RectF** localBounds)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[70]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), image, localBounds);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[70]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), image, localBounds);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(71)]
- public HResult GetImageWorldBounds(ID2D1Image* image, Common.RectF* worldBounds)
+ public HResult GetImageWorldBounds(ID2D1Image* image, Win32.Numerics.RectF** worldBounds)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[71]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), image, worldBounds);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[71]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), image, worldBounds);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(72)]
- public HResult GetGlyphRunWorldBounds(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, Common.RectF* bounds)
+ public HResult GetGlyphRunWorldBounds(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, Win32.Numerics.RectF** bounds)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds);
}
///
@@ -720,9 +720,9 @@ public unsafe partial struct ID2D1DeviceContext2 : ID2D1DeviceContext2.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(83)]
- public void DrawImage(ID2D1Image* image, Vector2* targetOffset, Common.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode)
+ public void DrawImage(ID2D1Image* image, Vector2* targetOffset, Win32.Numerics.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[83]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[83]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
}
///
@@ -736,9 +736,9 @@ public unsafe partial struct ID2D1DeviceContext2 : ID2D1DeviceContext2.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(85)]
- public void DrawBitmap(ID2D1Bitmap* bitmap, Common.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Common.RectF* sourceRectangle, Matrix4x4* perspectiveTransform)
+ public void DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle, Matrix4x4* perspectiveTransform)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[85]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[85]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
}
///
@@ -752,9 +752,9 @@ public unsafe partial struct ID2D1DeviceContext2 : ID2D1DeviceContext2.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(87)]
- public HResult InvalidateEffectInputRectangle(ID2D1Effect* effect, uint input, Common.RectF* inputRectangle)
+ public HResult InvalidateEffectInputRectangle(ID2D1Effect* effect, uint input, Win32.Numerics.RectF* inputRectangle)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[87]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), effect, input, inputRectangle);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[87]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), effect, input, inputRectangle);
}
///
@@ -768,25 +768,25 @@ public unsafe partial struct ID2D1DeviceContext2 : ID2D1DeviceContext2.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(89)]
- public HResult GetEffectInvalidRectangles(ID2D1Effect* effect, Common.RectF* rectangles, uint rectanglesCount)
+ public HResult GetEffectInvalidRectangles(ID2D1Effect* effect, Win32.Numerics.RectF** rectangles, uint rectanglesCount)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[89]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), effect, rectangles, rectanglesCount);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[89]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), effect, rectangles, rectanglesCount);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(90)]
- public HResult GetEffectRequiredInputRectangles(ID2D1Effect* renderEffect, Common.RectF* renderImageRectangle, EffectInputDescription* inputDescriptions, Common.RectF* requiredInputRects, uint inputCount)
+ public HResult GetEffectRequiredInputRectangles(ID2D1Effect* renderEffect, Win32.Numerics.RectF* renderImageRectangle, EffectInputDescription* inputDescriptions, Win32.Numerics.RectF** requiredInputRects, uint inputCount)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[90]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), renderEffect, renderImageRectangle, inputDescriptions, requiredInputRects, inputCount);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[90]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), renderEffect, renderImageRectangle, inputDescriptions, requiredInputRects, inputCount);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(91)]
- public void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Common.RectF* destinationRectangle, Common.RectF* sourceRectangle)
+ public void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[91]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[91]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle);
}
///
@@ -864,9 +864,9 @@ public unsafe partial struct ID2D1DeviceContext2 : ID2D1DeviceContext2.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(101)]
- public HResult GetGradientMeshWorldBounds(ID2D1GradientMesh* gradientMesh, Common.RectF* pBounds)
+ public HResult GetGradientMeshWorldBounds(ID2D1GradientMesh* gradientMesh, Win32.Numerics.RectF** pBounds)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[101]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), gradientMesh, pBounds);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[101]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), gradientMesh, pBounds);
}
///
@@ -888,9 +888,9 @@ public unsafe partial struct ID2D1DeviceContext2 : ID2D1DeviceContext2.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(104)]
- public void DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Common.RectF* destinationRectangle, Common.RectF* sourceRectangle)
+ public void DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[104]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), gdiMetafile, destinationRectangle, sourceRectangle);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[104]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), gdiMetafile, destinationRectangle, sourceRectangle);
}
///
@@ -922,7 +922,7 @@ public unsafe partial struct ID2D1DeviceContext2 : ID2D1DeviceContext2.Interface
HResult CreateImageSourceFromDxgi(Graphics.Dxgi.IDXGISurface** surfaces, uint surfaceCount, Graphics.Dxgi.Common.ColorSpaceType colorSpace, ImageSourceFromDxgiOptions options, ID2D1ImageSource** imageSource);
[VtblIndex(101)]
- HResult GetGradientMeshWorldBounds(ID2D1GradientMesh* gradientMesh, Common.RectF* pBounds);
+ HResult GetGradientMeshWorldBounds(ID2D1GradientMesh* gradientMesh, Win32.Numerics.RectF** pBounds);
[VtblIndex(102)]
void DrawInk(ID2D1Ink* ink, ID2D1Brush* brush, ID2D1InkStyle* inkStyle);
@@ -931,7 +931,7 @@ public unsafe partial struct ID2D1DeviceContext2 : ID2D1DeviceContext2.Interface
void DrawGradientMesh(ID2D1GradientMesh* gradientMesh);
[VtblIndex(104)]
- void DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Common.RectF* destinationRectangle, Common.RectF* sourceRectangle);
+ void DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle);
[VtblIndex(105)]
HResult CreateTransformedImageSource(ID2D1ImageSource* imageSource, TransformedImageSourceProperties* properties, ID2D1TransformedImageSource** transformedImageSource);
diff --git a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext3.cs b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext3.cs
index c9c7a8c..95ebd0e 100644
--- a/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext3.cs
+++ b/src/Vortice.Win32.Graphics.Direct2D/Generated/ID2D1DeviceContext3.cs
@@ -181,17 +181,17 @@ public unsafe partial struct ID2D1DeviceContext3 : ID2D1DeviceContext3.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(16)]
- public void DrawRectangle(Common.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
+ public void DrawRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(17)]
- public void FillRectangle(Common.RectF* rect, ID2D1Brush* brush)
+ public void FillRectangle(Win32.Numerics.RectF* rect, ID2D1Brush* brush)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), rect, brush);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), rect, brush);
}
///
@@ -253,25 +253,25 @@ public unsafe partial struct ID2D1DeviceContext3 : ID2D1DeviceContext3.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(25)]
- public void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, OpacityMaskContent content, Common.RectF* destinationRectangle, Common.RectF* sourceRectangle)
+ public void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, OpacityMaskContent content, Win32.Numerics.RectF* destinationRectangle, Win32.Numerics.RectF* sourceRectangle)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), opacityMask, brush, content, destinationRectangle, sourceRectangle);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), opacityMask, brush, content, destinationRectangle, sourceRectangle);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(26)]
- public void DrawBitmap(ID2D1Bitmap* bitmap, Common.RectF* destinationRectangle, float opacity, BitmapInterpolationMode interpolationMode, Common.RectF* sourceRectangle)
+ public void DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, BitmapInterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(27)]
- public void DrawText(ushort* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Common.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)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode);
}
///
@@ -413,9 +413,9 @@ public unsafe partial struct ID2D1DeviceContext3 : ID2D1DeviceContext3.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(45)]
- public void PushAxisAlignedClip(Common.RectF* clipRect, AntialiasMode antialiasMode)
+ public void PushAxisAlignedClip(Win32.Numerics.RectF* clipRect, AntialiasMode antialiasMode)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), clipRect, antialiasMode);
}
///
@@ -616,25 +616,25 @@ public unsafe partial struct ID2D1DeviceContext3 : ID2D1DeviceContext3.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(70)]
- public HResult GetImageLocalBounds(ID2D1Image* image, Common.RectF* localBounds)
+ public HResult GetImageLocalBounds(ID2D1Image* image, Win32.Numerics.RectF** localBounds)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[70]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), image, localBounds);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[70]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), image, localBounds);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(71)]
- public HResult GetImageWorldBounds(ID2D1Image* image, Common.RectF* worldBounds)
+ public HResult GetImageWorldBounds(ID2D1Image* image, Win32.Numerics.RectF** worldBounds)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[71]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), image, worldBounds);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[71]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), image, worldBounds);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(72)]
- public HResult GetGlyphRunWorldBounds(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, Common.RectF* bounds)
+ public HResult GetGlyphRunWorldBounds(Vector2 baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, Win32.Numerics.RectF** bounds)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds);
}
///
@@ -720,9 +720,9 @@ public unsafe partial struct ID2D1DeviceContext3 : ID2D1DeviceContext3.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(83)]
- public void DrawImage(ID2D1Image* image, Vector2* targetOffset, Common.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode)
+ public void DrawImage(ID2D1Image* image, Vector2* targetOffset, Win32.Numerics.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[83]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[83]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode);
}
///
@@ -736,9 +736,9 @@ public unsafe partial struct ID2D1DeviceContext3 : ID2D1DeviceContext3.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(85)]
- public void DrawBitmap(ID2D1Bitmap* bitmap, Common.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Common.RectF* sourceRectangle, Matrix4x4* perspectiveTransform)
+ public void DrawBitmap(ID2D1Bitmap* bitmap, Win32.Numerics.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Win32.Numerics.RectF* sourceRectangle, Matrix4x4* perspectiveTransform)
{
- ((delegate* unmanaged[Stdcall])(lpVtbl[85]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
+ ((delegate* unmanaged[Stdcall])(lpVtbl[85]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform);
}
///
@@ -752,9 +752,9 @@ public unsafe partial struct ID2D1DeviceContext3 : ID2D1DeviceContext3.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(87)]
- public HResult InvalidateEffectInputRectangle(ID2D1Effect* effect, uint input, Common.RectF* inputRectangle)
+ public HResult InvalidateEffectInputRectangle(ID2D1Effect* effect, uint input, Win32.Numerics.RectF* inputRectangle)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[87]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), effect, input, inputRectangle);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[87]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), effect, input, inputRectangle);
}
///
@@ -768,25 +768,25 @@ public unsafe partial struct ID2D1DeviceContext3 : ID2D1DeviceContext3.Interface
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(89)]
- public HResult GetEffectInvalidRectangles(ID2D1Effect* effect, Common.RectF* rectangles, uint rectanglesCount)
+ public HResult GetEffectInvalidRectangles(ID2D1Effect* effect, Win32.Numerics.RectF** rectangles, uint rectanglesCount)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[89]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), effect, rectangles, rectanglesCount);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[89]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), effect, rectangles, rectanglesCount);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(90)]
- public HResult GetEffectRequiredInputRectangles(ID2D1Effect* renderEffect, Common.RectF* renderImageRectangle, EffectInputDescription* inputDescriptions, Common.RectF* requiredInputRects, uint inputCount)
+ public HResult GetEffectRequiredInputRectangles(ID2D1Effect* renderEffect, Win32.Numerics.RectF* renderImageRectangle, EffectInputDescription* inputDescriptions, Win32.Numerics.RectF** requiredInputRects, uint inputCount)
{
- return ((delegate* unmanaged[Stdcall])(lpVtbl[90]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), renderEffect, renderImageRectangle, inputDescriptions, requiredInputRects, inputCount);
+ return ((delegate* unmanaged[Stdcall])(lpVtbl[90]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), renderEffect, renderImageRectangle, inputDescriptions, requiredInputRects, inputCount);
}
///