42#ifndef DT_DEVELOP_MASKS_DEBUG_H
43#define DT_DEVELOP_MASKS_DEBUG_H
gboolean dt_masks_debug_write_png(struct dt_develop_t *dev, struct dt_masks_form_t *form, const dt_masks_debug_request_t *request, const char *path)
Render form per request and write it to path as a PNG.
dt_masks_debug_backdrop_t
What the overlay is drawn on top of.
@ DT_MASKS_DEBUG_BACKDROP_TRANSPARENT
@ DT_MASKS_DEBUG_BACKDROP_RASTER
@ DT_MASKS_DEBUG_BACKDROP_BLACK
gboolean dt_masks_debug_write_outline_csv(struct dt_develop_t *dev, struct dt_masks_form_t *form, const char *path)
Write the shape's outline buffers to path as CSV: index, centreline, border.
float * dt_masks_debug_rasterise(struct dt_develop_t *dev, struct dt_masks_form_t *form, int width, int height)
Rasterise form into a freshly allocated width*height float buffer, 0..1.
What to render. Zeroed means: raster only, at full image resolution, on black.
dt_masks_debug_backdrop_t backdrop