small fixup to hb-cairo-utils

This commit is contained in:
Matthias Clasen 2022-12-18 09:41:00 -05:00 committed by Behdad Esfahbod
parent f1f8d1e855
commit 8bcd13dd91
1 changed files with 5 additions and 6 deletions

View File

@ -24,10 +24,11 @@
* Google Author(s): Matthias Clasen * Google Author(s): Matthias Clasen
*/ */
#ifndef HB_CAIRO_UTILS_H #pragma once
#define HB_CAIRO_UTILS_H
extern "C" { #include <hb.h>
HB_BEGIN_DECLS
static inline cairo_operator_t static inline cairo_operator_t
hb_paint_composite_mode_to_cairo (hb_paint_composite_mode_t mode) hb_paint_composite_mode_to_cairo (hb_paint_composite_mode_t mode)
@ -99,6 +100,4 @@ void hb_cairo_paint_sweep_gradient (cairo_t *cr,
float x0, float y0, float x0, float y0,
float start_angle, float end_angle); float start_angle, float end_angle);
} HB_END_DECLS
#endif