small fixup to hb-cairo-utils

pull/3938/head
Matthias Clasen 2 years ago committed by Behdad Esfahbod
parent f1f8d1e855
commit 8bcd13dd91
  1. 11
      util/hb-cairo-utils.h

@ -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

Loading…
Cancel
Save