Mention that gdk_window_create_similar_image_surface inherits the scale

https://bugzilla.gnome.org/show_bug.cgi?id=776132
This commit is contained in:
Debarshi Ray 2016-12-15 13:17:57 +01:00
parent 2cb975ea77
commit 339f6e141a

View File

@ -7743,6 +7743,10 @@ gdk_window_create_similar_surface (GdkWindow * window,
* scale);
* ]|
*
* Note that unlike cairo_surface_create_similar_image(), the new
* surface's device scale is set to @scale, or to the scale factor of
* @window if @scale is 0.
*
* Returns: a pointer to the newly allocated surface. The caller
* owns the surface and should call cairo_surface_destroy() when done
* with it.