[cairo] [PATCH 02/71] core: dropped dead code
Enrico Weigelt, metux IT consult
enrico.weigelt at gr13.net
Mon Apr 17 16:56:41 UTC 2017
Signed-off-by: Enrico Weigelt, metux IT consult <enrico.weigelt at gr13.net>
---
src/cairo.c | 52 ----------------------------------------------------
src/cairo.h | 13 -------------
2 files changed, 65 deletions(-)
diff --git a/src/cairo.c b/src/cairo.c
index eb863efdb..bdf50e7af 100644
--- a/src/cairo.c
+++ b/src/cairo.c
@@ -1908,40 +1908,6 @@ cairo_arc_negative (cairo_t *cr,
_cairo_set_error (cr, status);
}
-/* XXX: NYI
-void
-cairo_arc_to (cairo_t *cr,
- double x1, double y1,
- double x2, double y2,
- double radius)
-{
- cairo_status_t status;
-
- if (unlikely (cr->status))
- return;
-
- status = cr->backend->arc_to (cr, x1, y1, x2, y2, radius);
- if (unlikely (status))
- _cairo_set_error (cr, status);
-}
-
-void
-cairo_rel_arc_to (cairo_t *cr,
- double dx1, double dy1,
- double dx2, double dy2,
- double radius)
-{
- cairo_status_t status;
-
- if (unlikely (cr->status))
- return;
-
- status = cr->backend->rel_arc_to (cr, dx1, dy1, dx2, dy2, radius);
- if (unlikely (status))
- _cairo_set_error (cr, status);
-}
-*/
-
/**
* cairo_rel_move_to:
* @cr: a cairo context
@@ -2090,24 +2056,6 @@ cairo_rectangle (cairo_t *cr,
_cairo_set_error (cr, status);
}
-#if 0
-/* XXX: NYI */
-void
-cairo_stroke_to_path (cairo_t *cr)
-{
- cairo_status_t status;
-
- if (unlikely (cr->status))
- return;
-
- /* The code in _cairo_recording_surface_get_path has a poorman's stroke_to_path */
-
- status = _cairo_gstate_stroke_path (cr->gstate);
- if (unlikely (status))
- _cairo_set_error (cr, status);
-}
-#endif
-
/**
* cairo_close_path:
* @cr: a cairo context
diff --git a/src/cairo.h b/src/cairo.h
index 32fc88b17..33270d1ea 100644
--- a/src/cairo.h
+++ b/src/cairo.h
@@ -878,14 +878,6 @@ cairo_arc_negative (cairo_t *cr,
double radius,
double angle1, double angle2);
-/* XXX: NYI
-cairo_public void
-cairo_arc_to (cairo_t *cr,
- double x1, double y1,
- double x2, double y2,
- double radius);
-*/
-
cairo_public void
cairo_rel_move_to (cairo_t *cr, double dx, double dy);
@@ -903,11 +895,6 @@ cairo_rectangle (cairo_t *cr,
double x, double y,
double width, double height);
-/* XXX: NYI
-cairo_public void
-cairo_stroke_to_path (cairo_t *cr);
-*/
-
cairo_public void
cairo_close_path (cairo_t *cr);
--
2.11.0.rc0.7.gbe5a750
More information about the cairo
mailing list