mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-07 14:50:28 +01:00
This adds a compiler check that the function result is used by the caller and enables it by default for all cairo_private functions and for public API that returns a cairo_status_t. It has been discussed that to extend the warnings to all functions, a new function type could been introduced to cover static functions: cairo_static. This has not been done at the present time in order to minimise the churn and focus on the more common errors. In order to reduce the warning spew generated by gcc for invalid use of this attribute, -Wno-attributes is added to CFLAGS. This has the unfortunate side-effect of masking future warnings for all attributes - be warned! |
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||
| AUTHORS | ||
| autogen.sh | ||
| ChangeLog | ||
| ChangeLog.libic | ||
| ChangeLog.libpixregion | ||
| ChangeLog.slim | ||
| configure.in | ||
| COPYING | ||
| INSTALL | ||
| libpixman.pc.in | ||
| Makefile.am | ||
| NEWS | ||
| README | ||
| RELEASING | ||
| TODO | ||
| update.pl | ||
libpixman - Pixel manipulation library libpixman is a merge of libpixregion and libic. It also includes the slim headers. ---------------------------------------------------------------------- libpixregion - Pixel region Library libpixregion is a generic library for manipulating pixel regions. A PixRegion is a set of Y-X banded rectangles that cover the desired region. The original code for libxregion was part of the reference X server implementation of the X Window System. A modified copy of the code also exists in the Xlib client library. libpixregion was formed so that both the X server and client libraries could share common code for region manipulation. libpixregion is also intended to be applicable outside of the X Window System. The public interface of libpixregion does not depend on any part of the X Window System. ---------------------------------------------------------------------- libic - Image compositing library libic is a generic image compositing library. libic provides Porter/Duff compositing of images and implicit mask generation for geometric primitives including trapezoids, triangles, and rectangles. The semantics of libic are designed to precisely match the specification of the X Render extension. In fact, the initial implementation of libic was lifted from the reference implementation of RENDER from the X server. However, libic is intended to be useful independent of the X Window System. The public interface exported by libic does not contain any X-specific data structures. Carl Worth cworth@isi.edu Keith Packard (keithp@keithp.com) originally wrote all the original RENDER code that was yanked out to become libic. Keith also provided impetus and guidance in the development of libic. ---------------------------------------------------------------------- slim - Shared Library Interface Macros