Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

C-based implementation of the GDI+ API

branch: master

Fix float-to-int conversion to handle recent versions of clang.

Recent versions of clang are much more aggressive in exploiting undefined
behavior. Given MaxInt cannot be encoded as float, the compiler would miscompile
the macro and produce a negative number.
latest commit 898dfba28d
Rodrigo Kumpera kumpera authored
Octocat-spinner-32 cairo [configure] Fixup breakage with recent autoconf
Octocat-spinner-32 docs Some minimal documentation about using valgrind to debug libgdiplus a…
Octocat-spinner-32 pixman Update generated files due to more recent autotools.
Octocat-spinner-32 src Fix float-to-int conversion to handle recent versions of clang.
Octocat-spinner-32 tests tests: fix build
Octocat-spinner-32 .cvsignore * src/image.c, src/gdip.h: Added GdipDrawImage/DrawImageRect
Octocat-spinner-32 .gitignore Replace "Status" which was a typedef from X11 with "GpStatus" from GDI+
Octocat-spinner-32 AUTHORS - Merged cairo 1.0 branch of GDI+
Octocat-spinner-32 COPYING Initial revision
Octocat-spinner-32 ChangeLog 2009-01-02 Sebastien Pouliot <sebastien@ximian.com>
Octocat-spinner-32 INSTALL - Merged cairo 1.0 branch of GDI+
Octocat-spinner-32 LICENSE Add new license
Octocat-spinner-32 MPL-1.1.html Add new license
Octocat-spinner-32 Makefile.am dist_subdirs
Octocat-spinner-32 NEWS 2007-08-09 Sebastien Pouliot <sebastien@ximian.com>
Octocat-spinner-32 README kick buildbot
Octocat-spinner-32 TODO 2007-08-09 Sebastien Pouliot <sebastien@ximian.com>
Octocat-spinner-32 autogen.sh Modernize auto* files so it builds with recent versions.
Octocat-spinner-32 configure.in Modernize auto* files so it builds with recent versions.
Octocat-spinner-32 libgdiplus.pc.in revert this, it breaks for libexif and anyway the new options aren't …
Octocat-spinner-32 libgdiplus0.spec.in update spec file
README
libgdiplus: An Open Source implementation of the GDI+ API.

This is part of the Mono project - http://mono-project.com

Requirements:

	This requires the libraries used by the Cairo vector graphics library
	to build (freetype2, fontconfig, Xft2 and libpng, basically).
	See cairo/README. Note that libpixman is included in this package already.

	If the system cairo is newer than the bundled version (1.6.4) provided
	by libgdiplus then the newer version will be used

To build:

	./configure --prefix=YOUPREFIX
	make

To install:

	make install

Optional build options [UNSUPPORTED]

	--with-pango

	This build libgdiplus using Pango to render (measure and draw) 
	all of it's text. This can only be enabled if libgdiplus is built
	with the *system* cairo and requires Pango version 1.10 (or later).


Something went wrong with that request. Please try again.