{"id":13420413,"url":"https://github.com/mono/libgdiplus","last_synced_at":"2025-04-04T10:09:49.863Z","repository":{"id":986506,"uuid":"791260","full_name":"mono/libgdiplus","owner":"mono","description":"C-based implementation of the GDI+ API","archived":false,"fork":false,"pushed_at":"2024-05-31T14:09:58.000Z","size":15244,"stargazers_count":329,"open_issues_count":191,"forks_count":171,"subscribers_count":52,"default_branch":"main","last_synced_at":"2024-07-31T22:55:04.186Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.mono-project.com/","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/mono.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":"CODE-OF-CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2010-07-22T15:56:20.000Z","updated_at":"2024-06-29T00:11:19.000Z","dependencies_parsed_at":"2024-10-26T17:49:34.503Z","dependency_job_id":"b85049d6-a67e-4c27-94d2-e64739215b92","html_url":"https://github.com/mono/libgdiplus","commit_stats":{"total_commits":1775,"total_committers":85,"mean_commits":20.88235294117647,"dds":0.7566197183098592,"last_synced_commit":"94a49875487e296376f209fe64b921c6020f74c0"},"previous_names":[],"tags_count":110,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mono%2Flibgdiplus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mono%2Flibgdiplus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mono%2Flibgdiplus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mono%2Flibgdiplus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mono","download_url":"https://codeload.github.com/mono/libgdiplus/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247157283,"owners_count":20893220,"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":[],"created_at":"2024-07-30T22:01:33.174Z","updated_at":"2025-04-04T10:09:49.833Z","avatar_url":"https://github.com/mono.png","language":"C","funding_links":[],"categories":["TODO scan for Android support in followings"],"sub_categories":[],"readme":"## libgdiplus: An Open Source implementation of the GDI+ API.\n\nThis is part of the [Mono project](http://www.mono-project.com/).\n\nBuild status:\n\n[![Build Status](https://dev.azure.com/dnceng/public/_apis/build/status/mono/mono-libgdiplus-ci?branchName=main)](https://dev.azure.com/dnceng/public/_build/latest?definitionId=617\u0026branchName=main)\n\n### Requirements:\n\nThis requires the libraries used by the Cairo vector graphics library to build (freetype2, fontconfig, Xft2 and libpng).\n\nOn **OSX** you can use [Homebrew](https://brew.sh/) to install the dependencies:\n\n\tbrew install glib cairo libexif libjpeg giflib libtiff autoconf libtool automake pango pkg-config\n\tbrew link gettext --force\n\nOn **Debian-based Linux distributions** you can use `apt-get` to install the dependencies:\n\n\tsudo apt-get install libgif-dev autoconf libtool automake build-essential gettext libglib2.0-dev libcairo2-dev libtiff-dev libexif-dev\n\nOn **Windows** you can use [Vcpkg](https://github.com/Microsoft/vcpkg) to install the dependencies. Run the following commands from the root of the repository from an admin command prompt:\n\n\tbootstrap-vcpkg.bat\n\tvcpkg.exe install giflib libjpeg-turbo libpng cairo glib tiff libexif pango --triplet x86-windows\n\tvcpkg.exe install giflib libjpeg-turbo libpng cairo glib tiff libexif pango --triplet x64-windows\n\tvcpkg.exe integrate install\n\n### Build instructions\n\nTo build on **OSX** without X11:\n\n\t./autogen.sh --without-x11 --prefix=YOUR_PREFIX\n\tmake\n\nTo build on **OSX with X11** (e.g. from XQuartz):\n\n\tPKG_CONFIG_PATH=/opt/X11/lib/pkgconfig ./autogen.sh --prefix=YOUR_PREFIX\n\tmake\n\nTo build on **Linux**:\n\n\t./autogen.sh --prefix=YOUR_PREFIX\n\tmake\n\nTo build on **Windows**, open `libgdiplus.sln`.\n\n### Running the unit tests\n\nRun the following command from the root of the repository:\n\n\tmake check\n\nTo run the tests with Clang sanitizers, run the following command from the root of the repository:\n\n\t./autogen.sh --enable-asan\n\tmake check\n\nTo run the unit tests with leak sanitizers, run the following command from the root of the repository:\n\n\t./autogen.sh --enable-asan\n\texport ASAN_OPTIONS=detect_leaks=1:fast_unwind_on_malloc=0\n\texport LSAN_OPTIONS=suppressions=lsansuppressions.txt\n\tmake check\n\n### Code coverage\n\nCode coverage stats are generated with `lcov`. You can use [Homebrew](https://brew.sh/) on **OSX** to install the dependencies:\n\n\tbrew install lcov\n\nTo run the tests with code coverage, run the following commands from the root of the repository:\n\n\t./autogen.sh --enable-coverage\n\tmake check\n\tlcov --capture --directory src --output-file coverage.info\n\tgenhtml coverage.info --output-directory coverage\n\nTo view the coverage report, navigate to the `coverage` directory in the root of the repository and open `index.html`.\n\n### Installing libgdiplus\n\nRun the following command from the root of the repository:\n\n\tmake install\n\n### Optional build options\n\n\t--with-pango\n\n\tThis builds libgdiplus using Pango to render (measure and draw) \n\tall of it's text. This requires Pango version 1.38 (or later).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmono%2Flibgdiplus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmono%2Flibgdiplus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmono%2Flibgdiplus/lists"}