Releases: jingwood/d2dlib
Releases · jingwood/d2dlib
v1.5.0
Changes
- New feature to draw stroked text
DrawStrokedText
#96 - New feature to draw combining geometries #99
- New feature to use
BitmapBrush
#119, #121 - use .NET math classes instead of original classes, e.g.
D2DPoint
toVector2
#97 - API to create font face instance
- API to create text format instance
- New
FPSCounter
class - Resolve some C++ build warnings #117
- Other minor fixes
v1.4.1 Release
v1.4.0 Strong named assembly, minor updates
Changes
- Adding some function overload to simplify API (like
LoadBitmap(string filepath)
) 9f440ac - Rename some enumerable types to CamelCase style (like
D2D1_DEBUG_LEVEL
toD2DDebugLevel
) bbe75cc - Set window default DPI to 96 in order to resolve some issues in High DPI environment 9a8810d
- Fixed a FPS counter problem #77
- Fixed memory leak from
CreateTextLayout
function (DrawText
) #82 - Strong named assemblies #85
- Change supported .NET framework to .NET 4.6.2, .NET Standard 2.0, tested on .NET 6.0 #86
1.3.1 Release
- Added a
DrawText
overriding method to make call simpler 41ffd54 - Added more predefined colors 3cb43c8
- Added method to draw path with a pen object, #49
- Added layer operation APIs, support to render masked graphics, #50
- Added support to specify line cap styles (
DrawLine
method only), #55 #56 - Added new method
Device.CreateBitmapFromHBitmap
to create a Direct2D bitmap directly, #57 - Fixed
FillPolygon
method not working, #46 - Fixed example program that uses a 3x2 Matrix to perform hit test and rendering, #48
- Other minor fixes
1.3.0 Release
- New API to draw pie geometry #33
- New project and package settings for .NET Core and .NET 5 support #39, #40
- Add
SetTransform
andGetTransform
API 9aa66ad - Add the
Hello World
example - Source code - Add hit-test example using transform matrix (#35 (comment))
- Fix memory leak caused by linear gradient brush #37
- Fix PInvoke exception #19
- Stop use the default system font to improve the text rendering performance, wip #36