Files
RedBear-OS/recipes/libs/cairo/source/test/bug-75705.c
T
vasilito ff4ff35918 feat: track all source trees in git — full fork offline-first model
Red Bear OS is a full fork. All sources must be available from git clone
with zero network access. Removed gitignore rules that excluded fetched
source trees under recipes/*/source/, local/recipes/kde/*/source/,
local/recipes/qt/*/source/, and vendor source trees.

Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded.

127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt
frameworks, mesa, wayland, DRM drivers, and every other recipe source.
2026-05-14 10:55:53 +01:00

33 lines
772 B
C

#include "cairo-test.h"
static cairo_test_status_t
draw (cairo_t *cr, int width, int height)
{
double dsh[2] = {1,3};
cairo_set_source_rgba (cr, 0, 0, 0, 1);
cairo_paint (cr);
cairo_set_line_cap (cr, CAIRO_LINE_CAP_ROUND);
cairo_move_to (cr, 3, 3);
/* struct glitter_scan_converter spans_embedded array size is 64 */
cairo_line_to (cr, 65+3, 3);
cairo_set_antialias (cr, CAIRO_ANTIALIAS_FAST);
cairo_set_tolerance (cr, 1);
cairo_set_dash (cr, dsh, 2, 0);
cairo_set_line_width (cr, 2);
cairo_stroke (cr);
return CAIRO_TEST_SUCCESS;
}
CAIRO_TEST (bug_75705,
"Bug 75705 (exercise tor22-scan-converter)",
"dash, stroke, antialias", /* keywords */
NULL, /* requirements */
72, 8,
NULL, draw)