[hb-cairo] Some header tweaks

pull/3976/head
Behdad Esfahbod 2 years ago
parent 1ad24421a6
commit e594780e28
  1. 11
      src/hb-cairo-utils.hh
  2. 1
      src/hb-cairo.h

@ -24,12 +24,12 @@
* Google Author(s): Matthias Clasen * Google Author(s): Matthias Clasen
*/ */
#pragma once #ifndef HB_CAIRO_UTILS_H
#define HB_CAIRO_UTILS_H
#include <hb.h> #include "hb.hh"
#include <cairo.h> #include "hb-cairo.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)
@ -94,4 +94,5 @@ 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 /* HB_CAIRO_UTILS_H */

@ -28,6 +28,7 @@
#define HB_CAIRO_H #define HB_CAIRO_H
#include "hb.h" #include "hb.h"
#include <cairo.h> #include <cairo.h>
HB_BEGIN_DECLS HB_BEGIN_DECLS

Loading…
Cancel
Save