litehtml/containers/cairo/conic_gradient.h
2025-05-27 03:19:07 +03:00

12 lines
338 B
C++

#ifndef LITEHTML_CONIC_GRADIENT_H
#define LITEHTML_CONIC_GRADIENT_H
#include <litehtml.h>
#include <cairo.h>
using bg_color_point = litehtml::background_layer::color_point;
cairo_pattern_t* create_conic_gradient_pattern(double angle, double radius, const std::vector<bg_color_point>& color_points);
#endif //LITEHTML_CONIC_GRADIENT_H