cairo/util
George Matsumura 825154fef7 cairo-trace: Fix escape character encoding in string literals
This fixes a typo wherein both a return character and a tab character
were encoded when only a return character was specified for encoding.

Signed-off-by: George Matsumura <gmmatsumura01@bvsd.org>
2020-11-27 18:18:03 -08:00
..
cairo-fdr Add meson build definitions 2020-07-31 12:21:50 +01:00
cairo-gobject cairo-gobject: Missing cairo include directories 2020-10-07 11:50:07 -04:00
cairo-missing Add meson build definitions 2020-07-31 12:21:50 +01:00
cairo-script build: Fix various compiler warnings 2020-11-07 06:45:01 -07:00
cairo-sphinx build: Include correct poll.h 2020-09-05 12:15:57 +00:00
cairo-trace cairo-trace: Fix escape character encoding in string literals 2020-11-27 18:18:03 -08:00
.gitignore stroke: Convert the outlines into contour and then into a polygon 2011-08-15 10:31:47 +01:00
backtrace-symbols.c Cairo trivial typos 2018-04-02 17:46:58 -07: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 Protect code using dlfcn.h with CAIRO_HAS_DLSYM 2012-04-10 12:07:49 +01: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 meson: Fix build when libpng is not found 2020-10-03 22:42:56 -04:00
README Fix various README typos 2009-01-02 02:56:38 -05:00
show-contour.c stroke: Convert the outlines into contour and then into a polygon 2011-08-15 10:31:47 +01:00
show-edges.c [util] Show total edge length in show-edges 2009-08-29 08:08:31 +01:00
show-events.c Eliminate self-intersecting strokes. 2009-08-29 08:08:28 +01:00
show-polygon.c util/show-polygon: Show the limited range of each edge 2012-11-01 08:37:58 +00:00
show-traps.c util/show-traps: Cache the rendering of the traps+edges 2011-08-12 20:25:59 +01:00
trace-to-xml.c xml: Port to cairo_device_t 2010-01-22 23:01:50 +00: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.


backtrace-symbols
-----------------

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

Build by:

	make backtrace-symbols.so

and use by:

	LD_PRELOAD=$PWD/backtrace-symbols.so app-to-run

This code should be contributed back to glibc at some point.


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

This works best when backtrace-symbols is in use.  That is:

	LD_PRELOAD="$PWD/backtrace-symbols.so $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.