From 31e8e0b2e22f28899b46e648a628cc022136d052 Mon Sep 17 00:00:00 2001 From: Jean Sirmai Date: Wed, 23 Oct 2024 00:06:21 +0200 Subject: [PATCH] doxygen compatible (cleaned) but severe modif in graphics doc (init, draw, grid) - graphics_set_arrow() fixed --- doc/docbook/d7/d04/graphics_8h.xml | 80 ++++++++++++++++++++++++++++++ doc/rtfm/man3/graphics.h.3 | 33 ++++++++++++ include/graphics.h | 16 +++++- 3 files changed, 127 insertions(+), 2 deletions(-) diff --git a/doc/docbook/d7/d04/graphics_8h.xml b/doc/docbook/d7/d04/graphics_8h.xml index 18de17f..48c782c 100644 --- a/doc/docbook/d7/d04/graphics_8h.xml +++ b/doc/docbook/d7/d04/graphics_8h.xml @@ -101,6 +101,10 @@ Writes grid lines on space faces. long graphics_draw_grids_on_space_faces_lines (const int graphics_stack_id, long offset_vertex, long x, long y, long z) + + int graphics_set_arrow (int graphics_stack_id, int arrows_nb, int space_X, int space_Y, int space_Z, int requested_weight, int site, int arrow_x, int arrow_y, int arrow_z) + +phantom documentation @@ -727,6 +731,82 @@ Parameters +
+ graphics_set_arrow() +graphics_set_arrowgraphics.h +graphics.hgraphics_set_arrow +int graphics_set_arrow (int graphics_stack_id, int arrows_nb, int space_X, int space_Y, int space_Z, int requested_weight, int site, int arrow_x, int arrow_y, int arrow_z) + +phantom documentation + + + + + +Parameters + + + + + + + +graphics_stack_id + + + + +arrows_nb + + + + +space_X + + + + +space_Y + + + + +space_Z + + + + +requested_weight + + + + +site + + + + +arrow_x + + + + +arrow_y + + + + +arrow_z + + + + + +
+
+
+
+
graphics_shutdown() graphics_shutdowngraphics.h diff --git a/doc/rtfm/man3/graphics.h.3 b/doc/rtfm/man3/graphics.h.3 index 8e47341..f64f00e 100644 --- a/doc/rtfm/man3/graphics.h.3 +++ b/doc/rtfm/man3/graphics.h.3 @@ -108,6 +108,10 @@ include/graphics.h \- graphics header .ti -1c .RI "long \fBgraphics_draw_grids_on_space_faces_lines\fP (const int graphics_stack_id, long offset_vertex, long x, long y, long z)" .br +.ti -1c +.RI "int \fBgraphics_set_arrow\fP (int graphics_stack_id, int arrows_nb, int space_X, int space_Y, int space_Z, int requested_weight, int site, int arrow_x, int arrow_y, int arrow_z)" +.br +.RI "phantom documentation " .in -1c .SS "Variables" @@ -380,6 +384,35 @@ graphics_model_setup .RE .PP +.SS "int graphics_set_arrow (int graphics_stack_id, int arrows_nb, int space_X, int space_Y, int space_Z, int requested_weight, int site, int arrow_x, int arrow_y, int arrow_z)" + +.PP +phantom documentation +.PP +\fBParameters\fP +.RS 4 +\fIgraphics_stack_id\fP +.br +\fIarrows_nb\fP +.br +\fIspace_X\fP +.br +\fIspace_Y\fP +.br +\fIspace_Z\fP +.br +\fIrequested_weight\fP +.br +\fIsite\fP +.br +\fIarrow_x\fP +.br +\fIarrow_y\fP +.br +\fIarrow_z\fP +.RE +.PP + .SS "bool graphics_shutdown (const int id, void * error_buffer)" .PP diff --git a/include/graphics.h b/include/graphics.h index ad92125..bcfd5f1 100644 --- a/include/graphics.h +++ b/include/graphics.h @@ -309,7 +309,19 @@ long graphics_draw_grids_on_space_faces_lines (const int graphics_stack_id, long y, long z); -/* +/** phantom documentation + * + * @param graphics_stack_id + * @param arrows_nb + * @param space_X + * @param space_Y + * @param space_Z + * @param requested_weight + * @param site + * @param arrow_x + * @param arrow_y + * @param arrow_z + */ int graphics_set_arrow ( int graphics_stack_id, int arrows_nb, @@ -322,4 +334,4 @@ int graphics_set_arrow ( int arrow_y, int arrow_z ); -*/ +