Skip to content

Releases: jingwood/d2dlib

v1.5.0

23 Aug 04:34
Compare
Choose a tag to compare

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 to Vector2 #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

30 Oct 05:38
Compare
Choose a tag to compare

Changes

  • Add opacity brush as optional parameter to PushLayer function, #91
  • Add font style, font weight, font stretch parameters to DrawText function, #94

v1.4.0 Strong named assembly, minor updates

08 Aug 02:02
Compare
Choose a tag to compare

Changes

  • Adding some function overload to simplify API (like LoadBitmap(string filepath)) 9f440ac
  • Rename some enumerable types to CamelCase style (like D2D1_DEBUG_LEVEL to D2DDebugLevel) 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

12 Mar 15:29
Compare
Choose a tag to compare
  • 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

16 Dec 07:34
Compare
Choose a tag to compare
  • New API to draw pie geometry #33
  • New project and package settings for .NET Core and .NET 5 support #39, #40
  • Add SetTransform and GetTransform 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