summaryrefslogtreecommitdiff
path: root/gdk/gdkdraw.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-07-14 14:07:21 +0200
committerBenjamin Otte <otte@redhat.com>2010-08-10 21:02:27 +0200
commit559ae63f01efa2ca20041ec1f17e0e7cbce7adb5 (patch)
tree7513b23cf91fe6841ed5d6f4b169261e1725dfe1 /gdk/gdkdraw.c
parent9b713fa4fde3174d78994674c407ee3d688bbbea (diff)
downloadgtk+-559ae63f01efa2ca20041ec1f17e0e7cbce7adb5.tar.gz
API: remove gdk_draw_arc()
Diffstat (limited to 'gdk/gdkdraw.c')
-rw-r--r--gdk/gdkdraw.c49
1 files changed, 0 insertions, 49 deletions
diff --git a/gdk/gdkdraw.c b/gdk/gdkdraw.c
index e8a0a170c3..2a5c36b717 100644
--- a/gdk/gdkdraw.c
+++ b/gdk/gdkdraw.c
@@ -324,55 +324,6 @@ gdk_draw_rectangle (GdkDrawable *drawable,
}
/**
- * gdk_draw_arc:
- * @drawable: a #GdkDrawable (a #GdkWindow or a #GdkPixmap).
- * @gc: a #GdkGC.
- * @filled: %TRUE if the arc should be filled, producing a 'pie slice'.
- * @x: the x coordinate of the left edge of the bounding rectangle.
- * @y: the y coordinate of the top edge of the bounding rectangle.
- * @width: the width of the bounding rectangle.
- * @height: the height of the bounding rectangle.
- * @angle1: the start angle of the arc, relative to the 3 o'clock position,
- * counter-clockwise, in 1/64ths of a degree.
- * @angle2: the end angle of the arc, relative to @angle1, in 1/64ths
- * of a degree.
- *
- * Draws an arc or a filled 'pie slice'. The arc is defined by the bounding
- * rectangle of the entire ellipse, and the start and end angles of the part
- * of the ellipse to be drawn.
- **/
-void
-gdk_draw_arc (GdkDrawable *drawable,
- GdkGC *gc,
- gboolean filled,
- gint x,
- gint y,
- gint width,
- gint height,
- gint angle1,
- gint angle2)
-{
- g_return_if_fail (GDK_IS_DRAWABLE (drawable));
- g_return_if_fail (GDK_IS_GC (gc));
-
- if (width < 0 || height < 0)
- {
- gint real_width;
- gint real_height;
-
- gdk_drawable_get_size (drawable, &real_width, &real_height);
-
- if (width < 0)
- width = real_width;
- if (height < 0)
- height = real_height;
- }
-
- GDK_DRAWABLE_GET_CLASS (drawable)->draw_arc (drawable, gc, filled,
- x, y, width, height, angle1, angle2);
-}
-
-/**
* gdk_draw_polygon:
* @drawable: a #GdkDrawable (a #GdkWindow or a #GdkPixmap).
* @gc: a #GdkGC.