[PATCH] drop dead code

"Enrico Weigelt, metux IT consult" <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
-- 

mit freundlichen Grüßen
--
Enrico, Sohn von Wilfried, a.d.F. Weigelt,
metux IT consulting
+49-151-27565287

-- 
cairo mailing list
[email protected]
https://lists.cairographics.org/mailman/listinfo/cairo
0002-core-dropped-dead-code.patch (text/x-patch, 2.5 KB)
From 1babeed43d702606a0bab42e771646fac323ee3f Mon Sep 17 00:00:00 2001
From: "Enrico Weigelt, metux IT consult" <[email protected]>
Date: Thu, 21 Jul 2016 19:30:43 +0200
Subject: [PATCH 2/6] core: dropped dead code

Signed-off-by: Enrico Weigelt, metux IT consult <[email protected]>
---
 src/cairo.c | 52 ----------------------------------------------------
 src/cairo.h | 13 -------------
 2 files changed, 65 deletions(-)

diff --git a/src/cairo.c b/src/cairo.c
index ec27fe7..eb8f319 100644
--- a/src/cairo.c
+++ b/src/cairo.c
@@ -1693,40 +1693,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
@@ -1875,24 +1841,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 a09d839..8bc5f66 100644
--- a/src/cairo.h
+++ b/src/cairo.h
@@ -876,14 +876,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);
 
@@ -901,11 +893,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.6.4.442.g545299f
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.