Is there a way to get the clip bounds in Direct2D similar to GDI+? https://learn.microsoft.com/en-us/windows/win32/api/gdiplusgraphics/nf-gdiplusgrap ...
Is there a way to get the clip bounds in Direct2D similar to GDI+? https://learn.microsoft.com/en-us/windows/win32/api/gdiplusgraphics/nf-gdiplusgrap ...
I am making custom effects with Direct2D, based on Microsoft Learn page. The problem is that, I wanted to make a Direct2D effect which support a varia ...
I am trying to make a game in C++ and have multiple sounds playing at the same time (player footsteps, gunshots, etc.). Using sndPlaySound() I can onl ...
I am trying to add gif support to my program with Direct2D, according to the MSDN sample. It seems that I almost deal with just rendering the animati ...
I wrote some solution to draw gifs, using Direct2D GIF sample: Where gifDecoder is obtained this way: But in my program almost with all gifs, ...
Currently I draw images next way: During load, using WIC, I obtain the original bitmap, store it as a property in object, that represents an image ...
In Direct2D, rounded rectangle geometry can be created this way: Where radiusX and radiusY are confusing me, because I can't understand how two val ...
I have a class that represents an gui-element, that has method to set an image on it's background: All works fine, but the problem, is that loading ...
Currently I wrote some code that loads original image with WIC, stores it in variable as ID2D1Bitmap* and then creates another resized one, via compat ...
I'm using a SwapChain created with CreateSwapChainForHwnd with DXGI_SCALING_STRETCH scaling. When the sizes of the swapchain and the window client are ...
Is there any way to draw a colored polygonal image in SharpDX.Direct2D1? I need to draw a image using ColorMatrix in a given polygon, so that I can co ...
I want is to create backdrop-blur effect as in UWP apps in-app blur for my ui library, but stuck with it for a few days. For some reason, it either d ...
I want to make UI control blur-behind effect, like css backdrop-filter:blur(). Logic is seems to be simple: Get current ID2D1DeviceContext* render ...
I am trying to migrate my graphics interface project from Gdiplus to Direct2D. Currently, I have a code that calculates clipping area for an renderin ...
Edits. I'm switching for HwndRenderTargets to DeviceContexts and SwapChains for Hwnd in a Direct2d + Win32 application and the render target is not re ...
I wrote a static library for using Direct2D. It compiled fine, with no warnings; but when I tried to implement it in a sample project, I get loads of ...
I've 4 image byte array with the same resolution 640*480. I'm trying to copy the byte array data from memory if the D2D1Bitmap is already available. A ...
I want to implement NVIDIA Reflex to My Direct2D application. I have a ID2D11Device, but NvAPI_D3D_SetSleepMode requires Direct3DDevice. I know that ...
i've been using this wonderful library for low impact screen recording software however im at a point where i need to use a DirectX Scale Effect to sc ...
So I'm trying to iron out kinks of how I'm rendering images with direct stuff. Right now it works as a DXGISwapchain with D3D11 and I make a ID2D1Rend ...