d2dlib icon indicating copy to clipboard operation
d2dlib copied to clipboard

A .NET library for hardware-accelerated, high performance, immediate mode rendering via Direct2D.

Results 59 d2dlib issues
Sort by recently updated
recently updated
newest added

- Support from .NET 3.5

I'm new to Direct2D World and don't quite understand how to prepare images to be used in D2DLib. My images come from DVR Recorder and are in YUV format. How...

As the title says, what is the reason behind not signing the assemblies? I am asking because of the following compiler warning: ``` CSC : warning CS8002: Referenced assembly 'd2dwinform,...

enhancement
resolved

I need to pick a color from a bitmap, but the GetPixel function only exists in the default Bitmap class. Also graphics from image would allow drawing on top of...

enhancement
help wanted
todo

Hi, I need to draw thousand of pie Elements on my RenderContext. Because the calculation is very time consuming, I need to draw them on a memory bitmap and the...

question
wontfix

Considering upgrade the API from Direct2D 1.0 to Direct2D 1.1 in order to support more excellent features and effects. ### Pros. - More excellent features and effects available - Rendering...

todo

When using the DrawBitmap method to draw one bitmap over another, all semi-transparent pixels show up as fully opaque. g.DrawBitmap(backImage, this.ClientRectangle); g.DrawBitmap(frontImage, new D2DRect(0, 0, frontImage.Width, frontImage.Height), 1, D2DBitmapInterpolationMode.Linear); ![image](https://user-images.githubusercontent.com/1911567/131260277-b60d1bb8-6f55-492b-9e58-af810d4d8c31.png)

confirming

Hi, could you please implement DrawPie and FillPie like e.g. described here: [https://docs.microsoft.com/en-us/dotnet/api/system.drawing.graphics.fillpie?view=dotnet-plat-ext-6.0](url) Thank you. Regards

Got it working if you are interested: ```c++ #include "stdafx.h" #include "Effect.h" #include "d2d1effects.h" #include "d2d1_1.h"; HANDLE CreateEffect(HANDLE ctx, REFCLSID effect) { RetrieveContext(ctx); ID2D1HwndRenderTarget* renderTarget = (ID2D1HwndRenderTarget*) context->renderTarget; ID2D1Effect* compositeEffect;...

enhancement
todo

Hi, I am just starting to explore this library and looking for an example of proper D2DControl usage. My main question is what the best practice is for triggering OnRender?...