![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include <stroke_raster.h>
Collaboration diagram for dt_stroke_style_t:Data Fields | |
| dt_stroke_pass_t | dark |
| dt_stroke_pass_t | bright |
| double | dash_on |
| double | dash_off |
| gboolean | round_caps |
How a polyline is stroked. Widths and dash lengths are in whatever space the entry point says: device pixels for dt_stroke_raster_polyline(), user units for dt_stroke_raster_path().
Definition at line 61 of file stroke_raster.h.
| dt_stroke_pass_t dt_stroke_style_t::bright |
painted over it; width <= 0 means no second pass
Definition at line 64 of file stroke_raster.h.
Referenced by _plane_composite_and_clear(), _stroke_polyline(), _the_bright_pass_paints_over_the_dark_one(), dt_draw_shape_lines(), and dt_stroke_raster_path().
| dt_stroke_pass_t dt_stroke_style_t::dark |
painted first, the wider of the two
Definition at line 63 of file stroke_raster.h.
Referenced by _plane_composite_and_clear(), _solid(), _stroke_polyline(), dt_draw_shape_lines(), and dt_stroke_raster_path().
| double dt_stroke_style_t::dash_off |
length of the gap after a dash
Definition at line 66 of file stroke_raster.h.
Referenced by _dashes_leave_gaps_along_the_line(), _plane_stamp_dashed(), _polyline_stamp(), dt_draw_shape_lines(), and dt_stroke_raster_path().
| double dt_stroke_style_t::dash_on |
length of a dash; <= 0 means solid
Definition at line 65 of file stroke_raster.h.
Referenced by _dash_start(), _dashes_leave_gaps_along_the_line(), _plane_stamp_dashed(), _polyline_stamp(), dt_draw_shape_lines(), and dt_stroke_raster_path().
| gboolean dt_stroke_style_t::round_caps |
round ends on the polyline and on every dash; else flat ends
Definition at line 67 of file stroke_raster.h.
Referenced by _dashes_leave_gaps_along_the_line(), _flat_caps_stop_at_the_ends(), _plane_stamp_dashed(), _polyline_stamp(), _solid(), and dt_draw_shape_lines().