smourier / DirectN

Direct interop Code for .NET Framework, .NET Core and .NET 5+ : DXGI, WIC, DirectX 9 to 12, Direct2D, Direct Write, Direct Composition, Media Foundation, WASAPI, CodecAPI, GDI, Spatial Audio, DVD, Windows Media Player, UWP DXInterop, WinUI3, etc.
MIT License
311 stars 28 forks source link

Add SetTransform/GetTransform in ID2D1RenderTargetExtensions.cs #59

Closed Charltsing closed 2 months ago

Charltsing commented 2 months ago

1

Add SetTransform/GetTransform in ID2D1RenderTargetExtensions.cs

thank you

smourier commented 2 months ago

These methods are typically easy to use w/o extensions, it's just one "Object" property away, but I've added some https://github.com/smourier/DirectN/commit/63d07ca8910baacdb025b47bf72d61daac1448e7

Charltsing commented 2 months ago

The more comprehensive the expansion method, the more convenient it will be to use. Thank you