{"id":19364282,"url":"https://github.com/mity/windrawlib","last_synced_at":"2025-07-12T13:34:39.657Z","repository":{"id":152121466,"uuid":"55932438","full_name":"mity/windrawlib","owner":"mity","description":"C library for Windows for easy-to-use 2D painting with Direct2D or, on older Windows versions, GDI+.","archived":false,"fork":false,"pushed_at":"2019-12-03T17:59:27.000Z","size":332,"stargazers_count":97,"open_issues_count":1,"forks_count":21,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-02T15:42:56.082Z","etag":null,"topics":["c","direct2d","gdi-plus","graphics-libraries","mit-license","windows"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mity.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-04-11T01:29:02.000Z","updated_at":"2025-02-19T22:06:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"47164c83-cad8-4da9-89fd-cdd42ee28165","html_url":"https://github.com/mity/windrawlib","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mity%2Fwindrawlib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mity%2Fwindrawlib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mity%2Fwindrawlib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mity%2Fwindrawlib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mity","download_url":"https://codeload.github.com/mity/windrawlib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250451592,"owners_count":21432852,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","direct2d","gdi-plus","graphics-libraries","mit-license","windows"],"created_at":"2024-11-10T07:36:58.416Z","updated_at":"2025-04-23T14:30:45.140Z","avatar_url":"https://github.com/mity.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build status (appveyor.com)](https://img.shields.io/appveyor/ci/mity/windrawlib/master.svg?label=build)](https://ci.appveyor.com/project/mity/windrawlib/branch/master)\n\n# WinDrawLib\n\nHome: http://github.com/mity/windrawlib\n\nWinDrawLib is C library for Windows for easy-to-use painting with Direct2D\nor, on older Windows versions, GDI+.\n\nThe WinDrawLib was created by isolating and cleaning a helper painting code\nfrom the [mCtrl](http://mctrl.org) project as it seems to be very useful on its\nown.\n\n\n## Building WinDrawLib\n\nTo build WinDrawLib you need to use CMake to generate MS Visual Studio solution\nor to generate Makefile. Then build that normally using your tool chain.\n\nFor example, to build with MSYS + [mingw-w64](http://mingw-w64.org) + Make:\n```sh\n$ cd path/to/windrawlib\n$ mkdir build\n$ cd build\n$ cmake -G \"MSYS Makefiles\" ..\n$ make\n```\n\nStatic lib of WinDrawLib is built as well as few examples using the library.\n\n\n## Using WinDrawLib\n\nUse WinDrawLib as a normal static library. There is single public header file,\n`wdl.h` in the include directory which you need to #include in your sources.\n\nAPI is documented directly in the public header.\n\nThen link with the static library `WINDRAWLIB.LIB` (Visual Studio) or\n`LIBWINDRAWLIB.A` (gcc).\n\n\n## Release Cycle and API Stability\n\nNote the API is not considered rock-stable and it may be in a constant flux,\nalthough hopefully it will converge to something more or less stable in near\nfuture.\n\nAlso there is no typical release process and no official binary packages.\nThe library is quite small and simple and the intended use is to directly\nembed it into a client project.\n\n\n## License\n\nWinDrawLib is covered with MIT license:\n\n```\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmity%2Fwindrawlib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmity%2Fwindrawlib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmity%2Fwindrawlib/lists"}