cairo/boilerplate
Anton Danilkin b5175fd8a6 Fix testing in the full mode for PDF, PS and SVG backends
Fix how offset, scale and transparency are handled.

Also do the same change in the "win32-printing" backend as it has a copy of the code from PDS, PS and SVG backends.
2020-11-13 12:04:51 +00:00
..
.gitignore gitignore: Ignore .trs (test results) 2015-07-31 17:56:54 -07:00
cairo-boilerplate-beos.cpp whitespace: Fixup formal arguments and tabs in boilerplate/ and perf/. 2010-06-24 15:02:53 +03:00
cairo-boilerplate-cogl.c build: Fix various compiler warnings 2020-11-07 06:45:01 -07:00
cairo-boilerplate-directfb.c boilerplate: Remove unused thread id parameter 2011-11-12 20:49:08 +01:00
cairo-boilerplate-drm.c boilerplate: Maintain consistency in the usage of switch cases 2014-05-06 10:22:43 -07:00
cairo-boilerplate-egl.c build: Fix various compiler warnings 2020-11-07 06:45:01 -07:00
cairo-boilerplate-getopt.c whitespace: Fixup formal arguments and tabs in boilerplate/ and perf/. 2010-06-24 15:02:53 +03:00
cairo-boilerplate-getopt.h [cairo-boilerplate] Silence compiler warning. 2008-06-13 21:34:43 +01:00
cairo-boilerplate-glx.c boilerplate: Fix list termination for glXChooseVisual 2015-07-30 17:16:53 -07:00
cairo-boilerplate-pdf.c Fix testing in the full mode for PDF, PS and SVG backends 2020-11-13 12:04:51 +00:00
cairo-boilerplate-private.h Refactor ARRAY_LENGTH macro definitions in test code 2014-11-20 12:22:06 -08:00
cairo-boilerplate-ps.c Fix testing in the full mode for PDF, PS and SVG backends 2020-11-13 12:04:51 +00:00
cairo-boilerplate-qt.cpp qt: Fix compilation, also minor fix for building against Qt5 2012-02-12 09:57:00 +00:00
cairo-boilerplate-quartz.c boilerplate: Remove unused thread id parameter 2011-11-12 20:49:08 +01:00
cairo-boilerplate-scaled-font.h whitespace: Fixup formal arguments and tabs in boilerplate/ and perf/. 2010-06-24 15:02:53 +03:00
cairo-boilerplate-script.c boilerplate: Remove unused thread id parameter 2011-11-12 20:49:08 +01:00
cairo-boilerplate-skia.c boilerplate: Remove unused thread id parameter 2011-11-12 20:49:08 +01:00
cairo-boilerplate-svg.c Fix testing in the full mode for PDF, PS and SVG backends 2020-11-13 12:04:51 +00:00
cairo-boilerplate-system.c whitespace: Fixup formal arguments and tabs in boilerplate/ and perf/. 2010-06-24 15:02:53 +03:00
cairo-boilerplate-system.h whitespace: Fixup formal arguments and tabs in boilerplate/ and perf/. 2010-06-24 15:02:53 +03:00
cairo-boilerplate-test-surfaces.c Retire dummy cairo-version.h header to fix meson subproject build 2020-09-29 15:50:53 +00:00
cairo-boilerplate-vg.c vg: Use EGL_NONE and GLX_NONE in place of None 2014-05-19 17:37:38 -07:00
cairo-boilerplate-wgl.c boilerplate: Remove unused thread id parameter 2011-11-12 20:49:08 +01:00
cairo-boilerplate-win32-printing.c Fix testing in the full mode for PDF, PS and SVG backends 2020-11-13 12:04:51 +00:00
cairo-boilerplate-win32.c win32: gcc 5.4 build fix 2016-06-21 19:44:48 +09:30
cairo-boilerplate-xcb.c boilerplate: rename xcb-render-0.0 to xcb-render-0_0 2013-03-22 14:04:44 +01:00
cairo-boilerplate-xlib.c boilerplate: Maintain consistency in the usage of switch cases 2014-05-06 10:22:43 -07:00
cairo-boilerplate-xlib.h [boilerplate] Add missing headers. Oops! 2007-04-21 07:23:30 -04:00
cairo-boilerplate.c Retire dummy cairo-version.h header to fix meson subproject build 2020-09-29 15:50:53 +00:00
cairo-boilerplate.h Refactor ARRAY_LENGTH macro definitions in test code 2014-11-20 12:22:06 -08:00
check-link.c Retire dummy cairo-version.h header to fix meson subproject build 2020-09-29 15:50:53 +00:00
make-cairo-boilerplate-constructors.py Add meson build definitions 2020-07-31 12:21:50 +01:00
make-cairo-boilerplate-constructors.sh Add meson build definitions 2020-07-31 12:21:50 +01:00
Makefile.am build: Add explicit dependcy to cxx lib 2010-07-16 19:49:53 +02:00
Makefile.sources backends: Adds a new Cogl based backend 2011-10-11 09:05:45 +01:00
Makefile.win32 build: Clean up environment variables and flags for the win32 build 2011-06-20 10:24:21 +02:00
Makefile.win32.features Disable skia from configure 2018-04-02 20:20:00 -07:00
meson.build Add meson build definitions 2020-07-31 12:21:50 +01:00
README Add boilerplate/README explaining its purpose 2006-08-30 22:33:53 -07:00

This directory provides code that is common to both of cairo's tests
suites:

 * The test suite for correctness in test/
 * The test suite for performance in perf/

We call it boilerplate as it consists primarily of the boilerplate
code necessary for initializing a backend in order to create a surface
for that backend.

The code here just might be useful for someone looking to get started
writing cairo code to use a particular backend, (but there are no
promises that the boilerplate code found here for any particular
backend is exemplary).