diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-10-29 13:06:08 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-10-29 14:23:46 -0400 |
commit | 574a3a456d48b1645c24564f25b32001952ab397 (patch) | |
tree | b34340676b28e288b8019a5c0ecdd1f565e964af /gdk/gdkrectangle.c | |
parent | 3617fbab4236b0356cfb4ab46a180a05685015a9 (diff) | |
download | gtk+-574a3a456d48b1645c24564f25b32001952ab397.tar.gz |
gdk: Drop GdkPoint from the api
This typedef was not used in any public APIs, and is
only used in the MacOS backend. It is not worth preserving
as public API, move it to the only user.
Diffstat (limited to 'gdk/gdkrectangle.c')
-rw-r--r-- | gdk/gdkrectangle.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/gdk/gdkrectangle.c b/gdk/gdkrectangle.c index edae510625..8043716044 100644 --- a/gdk/gdkrectangle.c +++ b/gdk/gdkrectangle.c @@ -30,21 +30,23 @@ /** * SECTION:regions - * @Short_description: Simple graphical data types - * @Title: Points and Rectangles + * @Short_description: Simple graphical data type + * @Title: GdkRectangle * - * GDK provides the #GdkPoint and #GdkRectangle data types for representing pixels - * and sets of pixels on the screen. Together with Cairo’s #cairo_region_t data - * type, they make up the central types for representing graphical data. - * - * A #GdkPoint represents an x and y coordinate of a point. + * GDK provides a #GdkRectangle data type for representing rectangles. + * Together with Cairo’s #cairo_region_t data type, these are the central + * types for representing sets of pixels. * * A #GdkRectangle represents the position and size of a rectangle. * The intersection of two rectangles can be computed with * gdk_rectangle_intersect(). To find the union of two rectangles use * gdk_rectangle_union(). * - * #cairo_region_t is usually used for managing clipping of graphical operations. + * #cairo_region_t is usually used for managing clipping of graphical + * operations. + * + * The graphene library has a number of other data types for regions and + * volumes in 2D and 3D. */ |