diff options
Diffstat (limited to 'libdimension/dimension/canvas.h')
-rw-r--r-- | libdimension/dimension/canvas.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libdimension/dimension/canvas.h b/libdimension/dimension/canvas.h index d03a37e..765260d 100644 --- a/libdimension/dimension/canvas.h +++ b/libdimension/dimension/canvas.h @@ -25,12 +25,12 @@ #include <stddef.h> -/** A canvas, or image. */ +/// A canvas, or image. typedef struct dmnsn_canvas { - size_t width; /**< Canvas width. */ - size_t height; /**< Canvas height. */ + size_t width; ///< Canvas width. + size_t height; ///< Canvas height. - /** An array of <tt>dmnsn_canvas_optimizer</tt>s. */ + /// An array of <tt>dmnsn_canvas_optimizer</tt>s. dmnsn_array *optimizers; /** @@ -51,12 +51,12 @@ typedef struct dmnsn_canvas { typedef void dmnsn_canvas_optimizer_fn(const dmnsn_canvas *canvas, void *ptr, size_t x, size_t y); -/** Canvas optimizer. */ +/// Canvas optimizer. typedef struct dmnsn_canvas_optimizer { - dmnsn_canvas_optimizer_fn *optimizer_fn; /**< Optimizer callback. */ - dmnsn_free_fn *free_fn; /**< Destructor callback. */ + dmnsn_canvas_optimizer_fn *optimizer_fn; ///< Optimizer callback. + dmnsn_free_fn *free_fn; ///< Destructor callback. - void *ptr; /**< Generic pointer. */ + void *ptr; ///< Generic pointer. } dmnsn_canvas_optimizer; /** @@ -87,7 +87,7 @@ dmnsn_canvas_optimizer * dmnsn_canvas_find_optimizer(const dmnsn_canvas *canvas, dmnsn_canvas_optimizer_fn *optimizer_fn); -/* Pixel accessors */ +// Pixel accessors /** * Get the color of a pixel. |