Skip to content

Commit

Permalink
add back: D2D1_BITMAP_BRUSH_PROPERTIES, D2D1_BITMAP_BRUSH_PROPERTIES1
Browse files Browse the repository at this point in the history
  • Loading branch information
d2phap committed Jan 28, 2023
1 parent a8c1441 commit 5cfea85
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\d2d1.h(329,9)
using System.Runtime.InteropServices;

namespace DirectN
{
/// <summary>
/// Describes the extend modes and the interpolation mode of an ID2D1BitmapBrush.
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public partial struct D2D1_BITMAP_BRUSH_PROPERTIES
{
public D2D1_EXTEND_MODE extendModeX;
public D2D1_EXTEND_MODE extendModeY;
public D2D1_BITMAP_INTERPOLATION_MODE interpolationMode;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\d2d1_1.h(506,9)
using System.Runtime.InteropServices;

namespace DirectN
{
/// <summary>
/// Describes the extend modes and the interpolation mode of an ID2D1BitmapBrush.
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public partial struct D2D1_BITMAP_BRUSH_PROPERTIES1
{
public D2D1_EXTEND_MODE extendModeX;
public D2D1_EXTEND_MODE extendModeY;
public D2D1_INTERPOLATION_MODE interpolationMode;
}
}

0 comments on commit 5cfea85

Please sign in to comment.