Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
m4/ | H | 03-Oct-2019 | - | 9,075 | 8,203 | |
src/ | H | 03-May-2022 | - | 48,024 | 34,451 | |
tests/ | H | 03-May-2022 | - | 65,323 | 47,177 | |
AUTHORS | H A D | 27-Aug-2014 | 203 | 13 | 11 | |
COPYING | H A D | 25-Sep-2019 | 67 | 2 | 1 | |
ChangeLog | H A D | 25-Sep-2019 | 38 | 2 | 1 | |
INSTALL | H A D | 27-Aug-2014 | 9.3 KiB | 237 | 179 | |
LICENSE | H A D | 25-Sep-2019 | 1 KiB | 14 | 12 | |
Makefile.am | H A D | 25-Sep-2019 | 248 | 13 | 7 | |
Makefile.in | H A D | 03-May-2022 | 28.5 KiB | 904 | 805 | |
NEWS | H A D | 25-Sep-2019 | 81 | 2 | 1 | |
README.md | H A D | 02-Oct-2019 | 3.1 KiB | 90 | 53 | |
TODO | H A D | 25-Sep-2019 | 2.1 KiB | 89 | 60 | |
aclocal.m4 | H A D | 03-Oct-2019 | 52.9 KiB | 1,470 | 1,332 | |
compile | H A D | 25-Mar-2018 | 7.2 KiB | 348 | 258 | |
config.guess | H A D | 24-Feb-2018 | 43.2 KiB | 1,481 | 1,288 | |
config.h.in | H A D | 03-Oct-2019 | 3.2 KiB | 143 | 98 | |
config.sub | H A D | 24-Feb-2018 | 35.3 KiB | 1,802 | 1,661 | |
configure | H A D | 03-Oct-2019 | 492.1 KiB | 16,814 | 14,252 | |
configure.ac | H A D | 03-Oct-2019 | 15.6 KiB | 521 | 448 | |
depcomp | H A D | 25-Mar-2018 | 23 KiB | 792 | 502 | |
install-sh | H A D | 25-Mar-2018 | 14.8 KiB | 509 | 329 | |
libgdiplus.pc.in | H A D | 27-Aug-2014 | 288 | 13 | 10 | |
libgdiplus.sln | H A D | 29-Jan-2018 | 1.3 KiB | 29 | 27 | |
libgdiplus0.spec.in | H A D | 25-Sep-2019 | 1.5 KiB | 66 | 54 | |
ltmain.sh | H A D | 03-Oct-2019 | 316.8 KiB | 11,157 | 7,986 | |
missing | H A D | 25-Mar-2018 | 6.7 KiB | 216 | 143 | |
test-driver | H A D | 25-Mar-2018 | 4.5 KiB | 149 | 87 | |
winconfig.h.in | H A D | 25-Sep-2019 | 177 | 5 | 3 |
README.md
1## libgdiplus: An Open Source implementation of the GDI+ API. 2 3This is part of the [Mono project](http://www.mono-project.com/). 4 5Build status: 6 7| | | 8|----|---| 9| Travis (Linux/OSX) | [![Travis Build Status](https://travis-ci.org/mono/libgdiplus.svg?branch=master)](https://travis-ci.org/mono/libgdiplus)| 10| Jenkins (Linux) | [![Jenkins Linux Build Status](https://jenkins.mono-project.com/job/test-libgdiplus-mainline/badge/icon)](https://jenkins.mono-project.com/job/test-libgdiplus-mainline) | 11| Jenkins (Windows) | [![Jenkins Windows Build Status](https://jenkins.mono-project.com/job/test-libgdiplus-mainline-windows/badge/icon)](https://jenkins.mono-project.com/job/test-libgdiplus-mainline-windows) | 12 13### Requirements: 14 15This requires the libraries used by the Cairo vector graphics library to build (freetype2, fontconfig, Xft2 and libpng). 16 17On **OSX** you can use [Homebrew](https://brew.sh/) to install the dependencies: 18 19 brew install glib cairo libexif libjpeg giflib libtiff autoconf libtool automake pango pkg-config 20 brew link gettext --force 21 22On **Debian-based Linux distributions** you can use `apt-get` to install the dependencies: 23 24 sudo apt-get install libgif-dev autoconf libtool automake build-essential gettext libglib2.0-dev libcairo2-dev libtiff-dev libexif-dev 25 26On **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: 27 28 bootstrap-vcpkg.bat 29 vcpkg.exe integrate install 30 vcpkg.exe install giflib libjpeg-turbo libpng cairo glib tiff libexif glib pango --triplet x86-windows 31 vcpkg.exe install giflib libjpeg-turbo libpng cairo glib tiff libexif glib pango --triplet x64-windows 32 33### Build instructions 34 35To build on **OSX** without X11: 36 37 ./autogen.sh --without-x11 --prefix=YOUR_PREFIX 38 make 39 40To build on **OSX with X11** (e.g. from XQuartz): 41 42 PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig ./autogen.sh --prefix=YOUR_PREFIX 43 make 44 45To build on **Linux**: 46 47 ./autogen.sh --prefix=YOUR_PREFIX 48 make 49 50To build on **Windows**, open `libgdiplus.sln`. 51 52### Running the unit tests 53 54Run the following command from the root of the repository: 55 56 make check 57 58To run the tests with Clang sanitizers, run the following command from the root of the repository: 59 60 ./autogen.sh --enable-asan 61 make check 62 63### Code coverage 64 65Code coverage stats are generated with `lcov`. You can use [Homebrew](https://brew.sh/) on **OSX** to install the dependencies: 66 67 brew install lcov 68 69To run the tests with code coverage, run the following commands from the root of the repository: 70 71 ./autogen.sh --enable-coverage 72 make check 73 lcov --capture --directory src --output-file coverage.info 74 genhtml coverage.info --output-directory coverage 75 76To view the coverage report, navigate to the `coverage` directory in the root of the repository and open `index.html`. 77 78### Installing libgdiplus 79 80Run the following command from the root of the repository: 81 82 make install 83 84### Optional build options 85 86 --with-pango 87 88 This builds libgdiplus using Pango to render (measure and draw) 89 all of it's text. This requires Pango version 1.38 (or later). 90