[retro-gtk/build-doc: 4/11] pixdata: Document the aspect ratio in retro_pixdata_to_pixbuf()



commit 87cec13bcb10557f241f1300e5d5552456aef38b
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Fri Apr 17 15:38:53 2020 +0200

    pixdata: Document the aspect ratio in retro_pixdata_to_pixbuf()

 retro-gtk/retro-pixdata.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/retro-gtk/retro-pixdata.c b/retro-gtk/retro-pixdata.c
index 56b647d..ab82be2 100644
--- a/retro-gtk/retro-pixdata.c
+++ b/retro-gtk/retro-pixdata.c
@@ -310,6 +310,9 @@ retro_pixdata_get_aspect_ratio (RetroPixdata *self)
  *
  * Creates a new #GdkPixbuf from @self.
  *
+ * The #GdkPixbuf stores the intended aspect-ratio, you can access it via
+ * retro_pixbuf_get_aspect_ratio().
+ *
  * Returns: (transfer full): a new #RetroPixdata
  */
 GdkPixbuf *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]