Correct Since tags

This commit is contained in:
Matthias Clasen 2014-10-11 22:54:49 -04:00
parent fdeb4f8c16
commit 7a80c3b004
2 changed files with 13 additions and 11 deletions

View File

@ -2949,13 +2949,15 @@ gdk_window_begin_paint_region (GdkWindow *window,
* @cr: a #cairo_t * @cr: a #cairo_t
* *
* If you call this during a paint (e.g. between gdk_window_begin_paint_region() * If you call this during a paint (e.g. between gdk_window_begin_paint_region()
* and gdk_window_end_paint() then gdk will mark the current clip region of the * and gdk_window_end_paint() then GDK will mark the current clip region of the
* window as being drawn. This is required when mixing GL rendering via * window as being drawn. This is required when mixing GL rendering via
* gdk_cairo_draw_from_gl() and cairo rendering, as otherwise gdk has no way * gdk_cairo_draw_from_gl() and cairo rendering, as otherwise GDK has no way
* of knowing when something paints over the gl drawn regions. * of knowing when something paints over the GL-drawn regions.
* *
* This is typically called automatically by Gtk and you don't need * This is typically called automatically by GTK+ and you don't need
* to care about this. * to care about this.
*
* Since: 3.16
**/ **/
void void
gdk_window_mark_paint_from_clip (GdkWindow *window, gdk_window_mark_paint_from_clip (GdkWindow *window,
@ -2978,7 +2980,7 @@ gdk_window_mark_paint_from_clip (GdkWindow *window,
double buffer surface that need to be blended OVER the back buffer rather double buffer surface that need to be blended OVER the back buffer rather
than SRCed. */ than SRCed. */
cairo_save (cr); cairo_save (cr);
/* We set the indentity matrix here so we get and apply regions in native /* We set the identity matrix here so we get and apply regions in native
window coordinates. */ window coordinates. */
cairo_identity_matrix (cr); cairo_identity_matrix (cr);
gdk_cairo_region (cr, impl_window->current_paint.flushed_region); gdk_cairo_region (cr, impl_window->current_paint.flushed_region);
@ -3014,14 +3016,14 @@ gdk_window_mark_paint_from_clip (GdkWindow *window,
* gdk_window_end_paint: * gdk_window_end_paint:
* @window: a #GdkWindow * @window: a #GdkWindow
* *
* Indicates that the backing store created by the most recent call to * Indicates that the backing store created by the most recent call
* gdk_window_begin_paint_region() should be copied onscreen and * to gdk_window_begin_paint_region() should be copied onscreen and
* deleted, leaving the next-most-recent backing store or no backing * deleted, leaving the next-most-recent backing store or no backing
* store at all as the active paint region. See * store at all as the active paint region. See
* gdk_window_begin_paint_region() for full details. It is an error to * gdk_window_begin_paint_region() for full details.
* call this function without a matching
* gdk_window_begin_paint_region() first.
* *
* It is an error to call this function without a matching
* gdk_window_begin_paint_region() first.
**/ **/
void void
gdk_window_end_paint (GdkWindow *window) gdk_window_end_paint (GdkWindow *window)

View File

@ -739,7 +739,7 @@ cairo_region_t *gdk_window_get_visible_region(GdkWindow *window);
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL
void gdk_window_begin_paint_rect (GdkWindow *window, void gdk_window_begin_paint_rect (GdkWindow *window,
const GdkRectangle *rectangle); const GdkRectangle *rectangle);
GDK_AVAILABLE_IN_3_14 GDK_AVAILABLE_IN_3_16
void gdk_window_mark_paint_from_clip (GdkWindow *window, void gdk_window_mark_paint_from_clip (GdkWindow *window,
cairo_t *cr); cairo_t *cr);
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL