@@ -625,7 +625,7 @@ sxbp_result_t sxbp_render_figure_to_bitmap(
625625 * callback.
626626 * @returns `SXBP_RESULT_OK` if the figure could be rendered successfully
627627 * @returns `SXBP_RESULT_FAIL_PRECONDITION` if `figure`, `buffer` or
628- * `render_callback` is `NULL`
628+ * `render_callback` are `NULL`
629629 * @returns Any other valid value for type `sxbp_result_t`, according to all
630630 * the possible error codes that can be returned by the given render callback.
631631 * @since v0.54.0
@@ -641,6 +641,9 @@ sxbp_result_t sxbp_render_figure(
641641/**
642642 * @brief A dummy renderer function that does nothing
643643 * @details This exists for testing purposes only
644+ * @warn This function is currently unusable because it always returns the
645+ * "not implemented" failure error code
646+ * @returns `SXBP_RESULT_FAIL_UNIMPLEMENTED`
644647 */
645648sxbp_result_t sxbp_render_figure_to_null (
646649 const sxbp_figure_t * const figure ,
@@ -651,6 +654,11 @@ sxbp_result_t sxbp_render_figure_to_null(
651654
652655/**
653656 * @brief Renders figures to PBM images
657+ * @details If successful, the buffer will be filled with data which represents
658+ * a binary format PBM image (P4 format).
659+ * @returns `SXBP_RESULT_OK` if the figure could be rendered successfully
660+ * @returns `SXBP_RESULT_FAIL_PRECONDITION` if `figure` or `buffer` are `NULL`
661+ * @returns `SXBP_RESULT_FAIL_MEMORY` if a memory allocation error occurred
654662 */
655663sxbp_result_t sxbp_render_figure_to_pbm (
656664 const sxbp_figure_t * const figure ,
0 commit comments