cairo/util
Adrian Johnson 86a6a3a2ec offsetof is ANSI C
Fixes

  166 |     A = csi_container_of (link, csi_blob_t, list);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../util/cairo-script/cairo-script-private.h:132:33: note: expanded from macro 'csi_container_of'
  132 |     (type *) ((char *) mptr__ - offsetof (type, member)); \
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~
../util/cairo-script/cairo-script-private.h:128:37: note: expanded from macro 'offsetof'
  128 |     ((char *) &((type *) 0)->member - (char *) 0)
      |                                     ^ ~~~~~~~~~~
2024-07-06 07:24:44 +09:30
..
cairo-fdr Build with hidden symbols by default 2023-08-16 16:33:04 +01:00
cairo-gobject Build with hidden symbols by default 2023-08-16 16:33:04 +01:00
cairo-missing Defining Windows version macros in meson.build 2023-01-13 05:47:03 +09:00
cairo-script offsetof is ANSI C 2024-07-06 07:24:44 +09:30
cairo-trace Fix bug in cairo-trace when writing A8 images 2024-06-27 07:07:22 +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
meson.build util: remove malloc-stats 2023-09-28 11:21:53 +02:00
README util: remove malloc-stats 2023-09-28 11:21:53 +02: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
waterfall [util] Add waterfall 2008-12-26 16:38:26 -05: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.

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.