cairo/util
Adrian Johnson 9fbf427548 Use uintptr_t for all casts between pointer and integer
On 64-bit windows, long is 32-bit. When compiling there are a large
number of warnings about mismatched sizes when casting long to/from a
pointer.

Use the (u)intptr_t type for any integer that will have a pointer stored
in it. Use a (u)intptr_t cast when integers are stored in pointers to
silence warnings.

Fixes #263
2021-07-25 11:01:20 +09:30
..
cairo-fdr Drop the conditional inclusion of config.h 2021-05-01 17:05:29 +01:00
cairo-gobject meson: Use more dependency objects 2021-05-22 07:59:52 +02:00
cairo-missing meson: Use more dependency objects 2021-05-22 07:59:52 +02:00
cairo-script Use uintptr_t for all casts between pointer and integer 2021-07-25 11:01:20 +09:30
cairo-sphinx meson: Use more dependency objects 2021-05-22 07:59:52 +02:00
cairo-trace Use uintptr_t for all casts between pointer and integer 2021-07-25 11:01:20 +09:30
.gitignore stroke: Convert the outlines into contour and then into a polygon 2011-08-15 10:31:47 +01:00
cairo-api-update Misc. typos 2019-01-31 17:37:15 -08:00
cairo-view [util] Fix pangram 2008-12-24 22:29:59 -05:00
cairo.modules Use HTTPS URLs for freedesktop.org domains 2018-10-16 10:03:07 -07:00
COPYING Add a COPYING file to each aux. source directory 2008-10-31 16:14:14 +00:00
font-view.c util/font-view: fix build error 2017-10-21 20:05:56 +10:30
Makefile.am utils: remove hacky replacement for backtrace_symbols in glibc 2021-02-23 12:29:58 +00:00
malloc-stats.c test and util: maintain consistency in the usage of ARRAY_LENGTH macro 2014-04-30 13:01:35 -07:00
meson.build Fix meson build without zlib 2021-05-22 08:16:47 +02:00
README utils: remove hacky replacement for backtrace_symbols in glibc 2021-02-23 12:29:58 +00:00
show-contour.c Remove stray _GNU_SOURCE definitions 2021-05-01 16:58:15 +01:00
show-edges.c Remove stray _GNU_SOURCE definitions 2021-05-01 16:58:15 +01:00
show-events.c Remove stray _GNU_SOURCE definitions 2021-05-01 16:58:15 +01:00
show-polygon.c Remove stray _GNU_SOURCE definitions 2021-05-01 16:58:15 +01:00
show-traps.c Remove stray _GNU_SOURCE definitions 2021-05-01 16:58:15 +01:00
trace-to-xml.c Drop the conditional inclusion of config.h 2021-05-01 17:05:29 +01:00
waterfall [util] Add waterfall 2008-12-26 16:38:26 -05:00
xml-to-trace.c Add xml surface 2009-08-29 17:07:34 +01:00
xr2cairo Fixed to not munge some internal cairot names, (such as cairo_traps_*) 2003-07-26 20:38:58 +00:00

Cairo Utilities
===============

There are a varieties of utilities we use with cairo.


malloc-stats
------------

This is a small shared library designed to be preloaded by the
linker and its purpose is to make the malloc_stats() function
of glibc produce more useful information.

Build by:

	make malloc-stats.so

and use by:

	LD_PRELOAD=$PWD/malloc-stats.so app-to-run

cairo-trace
-----------

This tool can be used to trace all the cairo function calls made by an
applications.  This is useful for either extracting a test case triggering
a bug from an application, or simply to get a general idea of how an
application is using cairo.


cairo-api-update and xr2cairo
-----------------------------

These two scripts were used to convert source code written for pre-1.0
cairo to newer API.  See $(top_srcdir)/PORTING_GUIDE for more information.

These files are obsolete now and may be removed in a future version.


cairo-view and waterfall
------------------------

These are two pycairo scripts useful for testing the toy font backend.