/* image-cairo.h
 * This file is part of Amsam photo cropping program
 * Copyright 2021, 2023, 2024, 2025, 2026 Nandakumar Edamana
 * Distributed under GNU General Public License, version 3
 */ 

#ifndef N96_DRAW_image_cairo_h
#define N96_DRAW_image_cairo_h

#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include "error.h"
#include <cairo.h>
#include "cairo.h"
#include "core.h"
#include "core.h"
void copy_image_to_cairo_surface_argb32(Image *img, cairo_surface_t *surf);
void copy_image_region_to_cairo_surface(Image *img, cairo_surface_t *surf, VaraRect rect);
VaraFileIOError write_image_to_png(Image *img, const char *fname);

#endif /* N96_DRAW_image_cairo_h */
