![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "widgets/stroke_raster.h"#include <cairo.h>#include <setjmp.h>#include <stdarg.h>#include <stddef.h>#include <stdint.h>#include <cmocka.h>
Include dependency graph for test_stroke_raster.c:Go to the source code of this file.
Functions | |
| static uint32_t | _pixel (cairo_surface_t *surface, const int x, const int y) |
| static int | _alpha (cairo_surface_t *surface, const int x, const int y) |
| static dt_stroke_style_t | _solid (const double width, const double r, const double g, const double b) |
| static void | _a_horizontal_line_paints_a_band_of_its_width (void **state) |
| static void | _flat_caps_stop_at_the_ends (void **state) |
| static void | _dashes_leave_gaps_along_the_line (void **state) |
| static void | _the_bright_pass_paints_over_the_dark_one (void **state) |
| static void | _a_surface_it_cannot_write_is_refused_and_the_path_kept (void **state) |
| static void | _a_path_in_a_pushed_group_lands_where_cairo_puts_it (void **state) |
| static void | _the_matrix_scales_widths_and_positions (void **state) |
| static void | _a_device_scaled_surface_is_painted_in_its_pixels (void **state) |
| static void | _the_touched_record_resets (void **state) |
| int | main (void) |
Definition at line 196 of file test_stroke_raster.c.
References _alpha(), _solid(), dt_stroke_raster_path(), state, and void().
Referenced by main().
Definition at line 57 of file test_stroke_raster.c.
References _alpha(), _pixel(), _solid(), dt_stroke_raster_polyline(), dt_stroke_raster_touched(), state, and void().
Referenced by main().
Definition at line 152 of file test_stroke_raster.c.
References _alpha(), _solid(), dt_stroke_raster_path(), state, and void().
Referenced by main().
Definition at line 134 of file test_stroke_raster.c.
References _solid(), dt_stroke_raster_path(), state, and void().
Referenced by main().
|
static |
Definition at line 44 of file test_stroke_raster.c.
Referenced by _a_device_scaled_surface_is_painted_in_its_pixels(), _a_horizontal_line_paints_a_band_of_its_width(), _a_path_in_a_pushed_group_lands_where_cairo_puts_it(), _dashes_leave_gaps_along_the_line(), _flat_caps_stop_at_the_ends(), and _the_matrix_scales_widths_and_positions().
Definition at line 101 of file test_stroke_raster.c.
References _alpha(), _solid(), dt_stroke_style_t::dash_off, dt_stroke_style_t::dash_on, dt_stroke_raster_polyline(), FALSE, dt_stroke_style_t::round_caps, state, and void().
Referenced by main().
Definition at line 87 of file test_stroke_raster.c.
References _alpha(), _solid(), dt_stroke_raster_polyline(), FALSE, dt_stroke_style_t::round_caps, state, and void().
Referenced by main().
|
static |
Definition at line 36 of file test_stroke_raster.c.
References x.
Referenced by _a_horizontal_line_paints_a_band_of_its_width(), _alpha(), and _the_bright_pass_paints_over_the_dark_one().
|
static |
Definition at line 49 of file test_stroke_raster.c.
References dt_stroke_style_t::dark, g, r, dt_stroke_style_t::round_caps, TRUE, width, and dt_stroke_pass_t::width.
Referenced by _a_device_scaled_surface_is_painted_in_its_pixels(), _a_horizontal_line_paints_a_band_of_its_width(), _a_path_in_a_pushed_group_lands_where_cairo_puts_it(), _a_surface_it_cannot_write_is_refused_and_the_path_kept(), _dashes_leave_gaps_along_the_line(), _flat_caps_stop_at_the_ends(), _the_bright_pass_paints_over_the_dark_one(), _the_matrix_scales_widths_and_positions(), and _the_touched_record_resets().
Definition at line 119 of file test_stroke_raster.c.
References _pixel(), _solid(), dt_stroke_style_t::bright, dt_stroke_raster_polyline(), state, void(), and dt_stroke_pass_t::width.
Referenced by main().
Definition at line 178 of file test_stroke_raster.c.
References _alpha(), _solid(), dt_stroke_raster_path(), state, and void().
Referenced by main().
Definition at line 239 of file test_stroke_raster.c.
References _solid(), dt_stroke_raster_polyline(), dt_stroke_raster_touched(), dt_stroke_raster_touched_reset(), state, and void().
Referenced by main().
| int main | ( | void | ) |
Definition at line 254 of file test_stroke_raster.c.
References _a_device_scaled_surface_is_painted_in_its_pixels(), _a_horizontal_line_paints_a_band_of_its_width(), _a_path_in_a_pushed_group_lands_where_cairo_puts_it(), _a_surface_it_cannot_write_is_refused_and_the_path_kept(), _dashes_leave_gaps_along_the_line(), _flat_caps_stop_at_the_ends(), _the_bright_pass_paints_over_the_dark_one(), _the_matrix_scales_widths_and_positions(), and _the_touched_record_resets().