Commit Graph

155 Commits (0bb9797e2f827390cc803a6e59dbb78a7a8743c4)

Author SHA1 Message Date
dahall 0bb9797e2f BREAKING CHANGES: I have dramatically reduced dependencies of almost all assemblies on .NET runtime assemblies not part of core System assemblies, most specifically System.Drawing and System.Windows.Forms. This forced the removal of some overloaded methods and the replacement of leveraged structures and enums with native equivalents. I added Vanara.Windows.Shell.Common which has all the content from Vanara.WIndows.Shell that did not have dependencies. I extracted all extension methods from Gdi32 and User32 and moved them to Vanara.Windows.Extensions. 2022-01-14 07:32:51 -07:00
dahall 62326772d4 Moved WinForms extension from Gdi32 to new Windows.Extensions project 2022-01-13 12:15:07 -07:00
dahall e15ee53a0a Removed dependencies on WinForms and WPF for Gdi32 and User32 assemblies. This forced the removal of extension methods to convert HBITMAP and HICON to System.Windows.Media.Imaging.BitmapSource. 2022-01-04 07:27:12 -07:00
dahall 87f9f53590 Potentially Breaking Change: Moved TEXTMETRIC, LOGPALLETTE, PALLETTEENTRY, and PC from Gdi32 to Shared project to remove dependencies on Ggi32 by other projects (e.g. Ole). 2021-12-30 13:52:04 -07:00
dahall 7026a893f9 Removed PackageReference details for .NET 5 and 6 projects with System.Drawing.Common. 2021-12-29 10:16:04 -07:00
dahall b9614e7eb2 Rolled version to 3.4.0 and added support for .NET 6.0 2021-12-27 16:34:25 -07:00
dahall 7b671d2b9a Fixed XML docs 2021-06-03 10:51:12 -06:00
dahall c1f2225efb Updated project files for 3.3.10 release 2021-06-02 20:57:31 -06:00
dahall 5343dfe277 Updated SafeBITMAPINFO 2021-05-31 21:46:12 -06:00
dahall 50c6b13781 BREAKING CHANGES: Worked over functions related to BITMAPINFO adding attributes, creating overloads and changing 'ref' params to 'in' params where immutable. Needed because these functions often could fail due to poor processing of the structure. 2021-05-29 08:09:03 -06:00
dahall 4f5f070161 Added related structures for BITMAPINFO and new SafeBITMAPINFO class to handle various incarnations 2021-05-29 08:05:47 -06:00
NN 28822bab9e
Use explicit framework reference. Remove transitive TFM requirement. (#212)
Co-authored-by: NN <NN---@users.noreply.github.com>
2021-03-23 07:26:03 -06:00
dahall 8aa4e7d96e Updated package descriptions with briefer syntax 2021-03-07 11:24:58 -07:00
dahall 3e00f2743c Updated referenced NuGet package versions 2021-03-07 11:15:52 -07:00
dahall 4ad9cc77e2 Updated project files with 3.3.3 info 2021-02-01 13:23:54 -07:00
dahall 06a42c155c Reverted HBITMAP.ToBitmap() extension to just call Image.FromHBITMAP to avoid flipping until addressed (#202) 2021-01-29 14:47:34 -07:00
dahall a6d225b6b8 Updated project files with `ImportWindowsDesktopTargets` feature to prevent NETSDK1136 build error (#200) 2021-01-26 07:49:48 -07:00
dahall d119c5adbd Updated project information 2020-12-24 11:00:18 -07:00
dahall 308b49b8e2 Enhanced HBITMAP.ToBitmap method 2020-12-08 10:42:00 -07:00
dahall f66e5083cd Added GDI extension methods for HBITMAP - IsBottomUpDIB, IsDIB and simplified ToBitmap 2020-12-07 18:54:45 -07:00
dahall 7ec4f19367 Added SafeHBITMAP.ToBitmap method 2020-12-07 18:53:02 -07:00
dahall 53187c0c0f Fixed bug in GetObject overloads 2020-12-07 18:51:34 -07:00
dahall fd1d4de1c7 Added BITMAPINFO.FromHBITMAP method and default static values for BITMAPINFO and DIBSECTION 2020-12-07 18:50:45 -07:00
dahall c904517bf7 Added conversion methods from HBITMAP to Bitmap and BitmapSource 2020-12-03 19:23:44 -07:00
dahall 4d71e6ce9b Updated project information markdown files with new format 2020-11-20 18:52:43 -07:00
dahall c7a322c069 Updated project references to Microsoft.Drawing.Common for .NET 5 2020-11-14 10:12:24 -07:00
dahall 04d33e7e1a Added support for .NET 5.0 (windows) 2020-11-13 16:55:23 -07:00
dahall 85a29eeb55 Renamed, cleaned and removed Windows.Forms dependent methods 2020-11-05 07:16:36 -07:00
dahall 9a9a11ccd2 Added IGraphicsObjectHandle to all appropriate GDI safe handles 2020-11-05 07:11:49 -07:00
dahall e05f835c78 Moved pure extensions for Gdi functions to Gdi32 2020-11-05 07:10:57 -07:00
dahall ffc54378a7 Removed .NET 5.0 support until VS is updated 2020-10-26 18:36:24 -06:00
dahall 69bd276627 Added support for .NET 5.0 (windows) 2020-10-26 10:36:13 -06:00
dahall c081cfa38c Updated project information files 2020-07-14 16:02:36 -06:00
dahall 8d5c587e9d Updated project file information 2020-06-27 18:54:55 -06:00
dahall 28eaf62f3b Updated project information 2020-06-02 22:02:36 -06:00
dahall c0ff453a20 Moved much of the individual project file detail to root Directory.Build.* files for consistency. Fixed build errors due to bad or missing project tags. Cleaned up project files. 2020-04-03 14:51:10 -06:00
dahall 02c4896b98 Fixed build warnings for missing XML docs and obsolete marshal directives 2020-04-02 19:14:40 -06:00
dahall 9fdb1ea000 Update project versions to 3.2.4 2020-04-01 18:48:29 -06:00
dahall 1c217e668e Updated project files to 3.2.3 2020-03-31 18:51:44 -06:00
dahall 4a7c6c48d1 Updated project files and info for 3.2.2. 2020-03-24 17:39:42 -06:00
dahall c9fdd8c398 Updated project information with new functions and stats. 2020-03-23 13:36:57 -06:00
dahall 211db05037 Removed ScriptXX functions that are actually exported into gdi32.dll 2020-03-18 10:40:01 -06:00
dahall 74b50d97ac Added missing wingdi.h and winppi.h functions 2020-03-17 21:58:30 -06:00
dahall 476960ecbf Updated project versions to 3.2.2. 2020-03-17 19:48:07 -06:00
dahall 24dc30de5a Updated project files with v3.2.1 information. 2020-03-09 10:23:37 -06:00
dahall 19b3efd408 Updated project information and version to 3.2.0 2020-02-26 17:35:48 -07:00
dahall 54ee24eb96 Fixed compiler warnings 2020-02-09 11:27:14 -07:00
dahall c856d06332 Updated project files for v3.1.9 2020-01-17 08:50:25 -07:00
dahall 42677e2063 Project files update for v3.1.8. 2020-01-13 09:26:39 -07:00
dahall 6eb542ecd0 Updated project information for 3.1.7 2020-01-03 16:50:52 -07:00