[gtk/wip/matthiasc/lottie-stroke: 2/10] Privately export gsk_contour_foreach
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/lottie-stroke: 2/10] Privately export gsk_contour_foreach
- Date: Mon, 30 Nov 2020 19:02:24 +0000 (UTC)
commit 39f6470acecc81791d73bb238abbb12f6ac42b60
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Nov 29 21:06:35 2020 -0500
Privately export gsk_contour_foreach
We are going to use it in the next commit.
gsk/gskpath.c | 2 +-
gsk/gskpathprivate.h | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/gsk/gskpath.c b/gsk/gskpath.c
index c2f476ce22..d956725602 100644
--- a/gsk/gskpath.c
+++ b/gsk/gskpath.c
@@ -1726,7 +1726,7 @@ gsk_contour_get_size (const GskContour *contour)
return contour->klass->get_size (contour);
}
-static gboolean
+gboolean
gsk_contour_foreach (const GskContour *contour,
float tolerance,
GskPathForeachFunc func,
diff --git a/gsk/gskpathprivate.h b/gsk/gskpathprivate.h
index 550f49f1fc..18b1912567 100644
--- a/gsk/gskpathprivate.h
+++ b/gsk/gskpathprivate.h
@@ -102,6 +102,10 @@ void gsk_contour_add_segment (const GskContou
gpointer measure_data,
float start,
float end);
+gboolean gsk_contour_foreach (const GskContour *self,
+ float tolerance,
+ GskPathForeachFunc func,
+ gpointer user_data);
void gsk_path_builder_add_contour (GskPathBuilder *builder,
GskContour *contour);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]