From 6741b6e287bf89607eb6ce8378d79f7b4cf4b162 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 14 Feb 2017 23:05:30 +0000 Subject: clean up incorrect documentation comments from plotter API rework --- frontends/gtk/print.c | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) (limited to 'frontends/gtk/print.c') diff --git a/frontends/gtk/print.c b/frontends/gtk/print.c index 4f3408166..d2ca29751 100644 --- a/frontends/gtk/print.c +++ b/frontends/gtk/print.c @@ -177,6 +177,12 @@ nsgtk_print_plot_clip(const struct redraw_context *ctx, const struct rect *clip) * horizontal, in degrees. * * \param ctx The current redraw context. + * \param style Style controlling the arc plot. + * \param x The x coordinate of the arc. + * \param y The y coordinate of the arc. + * \param radius The radius of the arc. + * \param angle1 The start angle of the arc. + * \param angle2 The finish angle of the arc. * \return NSERROR_OK on success else error code. */ static nserror @@ -203,7 +209,10 @@ nsgtk_print_plot_arc(const struct redraw_context *ctx, * Plot a circle centered on (x,y), which is optionally filled. * * \param ctx The current redraw context. - * \param pstyle Style controlling the circle plot. + * \param style Style controlling the circle plot. + * \param x x coordinate of circle centre. + * \param y y coordinate of circle centre. + * \param radius circle radius. * \return NSERROR_OK on success else error code. */ static nserror @@ -258,7 +267,7 @@ nsgtk_print_plot_disc(const struct redraw_context *ctx, * centre of line width/thickness. * * \param ctx The current redraw context. - * \param pstyle Style controlling the line plot. + * \param style Style controlling the line plot. * \param line A rectangle defining the line to be drawn * \return NSERROR_OK on success else error code. */ @@ -306,7 +315,7 @@ nsgtk_print_plot_line(const struct redraw_context *ctx, * width and height. * * \param ctx The current redraw context. - * \param pstyle Style controlling the rectangle plot. + * \param style Style controlling the rectangle plot. * \param rect A rectangle defining the line to be drawn * \return NSERROR_OK on success else error code. */ @@ -559,6 +568,13 @@ static bool nsgtk_print_plot_pixbuf(int x, int y, int width, int height, * the image is to be scaled to. * * \param ctx The current redraw context. + * \param bitmap The bitmap to plot + * \param x The x coordinate to plot the bitmap + * \param y The y coordiante to plot the bitmap + * \param width The width of area to plot the bitmap into + * \param height The height of area to plot the bitmap into + * \param bg the background colour to alpha blend into + * \param flags the flags controlling the type of plot operation * \return NSERROR_OK on success else error code. */ static nserror -- cgit v1.2.3