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

Add D2DSolidColorTextBrush object and interface + extend MeasureText with D2DFontFormat fontFormat and D2DTextLayout textLayout + update Sample/MeasureAndDrawString + update FPS meter algorithm MeasureAndDrawString yield 2x performance gain using cached SolidColorTextBrush...

I would like to draw a one pixel width rectangle on my D2DControl surface using DrawRectangle with the default stroke width of 1. However, the rectangle is two pixels wide...

When using .NET 7, there is a new attribute that can be used to mark p/invokes: https://learn.microsoft.com/en-us/dotnet/standard/native-interop/pinvoke-source-generation The API is kinda similar: ```csharp [DllImport( "nativelib", EntryPoint = "to_lower", CharSet =...

Added - FillPathWithBrush() was defined in the cpp, but was not exposed to c#. It is now using FillPath(D2DGeometry geo, D2DBrush fillBrush) - CreateEllipseGeometry(D2DEllipse ellipse), to do so from an...

A rebased branch from #100

fix issue #98 by replacing ID2D1PathGeometry by D2DGeometryContext where appropriate in Geometry.cpp and renamed arguments accordingly, also in Geometry.h Please discard changes in other files. I'm new to github and...

Hi, This library is really great ! I am exploring geometries. In a form subclassing D2DForm, the code sample below throws a System.AccessViolationException : 'Attempted to read or write protected...