diff options
Diffstat (limited to 'include/painter')
-rw-r--r-- | include/painter/canvas.h | 4 | ||||
-rw-r--r-- | include/painter/color.h | 18 |
2 files changed, 11 insertions, 11 deletions
diff --git a/include/painter/canvas.h b/include/painter/canvas.h index ac278ff..51a7dc9 100644 --- a/include/painter/canvas.h +++ b/include/painter/canvas.h | |||
@@ -26,7 +26,7 @@ typedef struct { | |||
26 | * height - the height in pixels | 26 | * height - the height in pixels |
27 | * | 27 | * |
28 | * Returns: | 28 | * Returns: |
29 | * The initialised canvas | 29 | * The initialised canvas, dynamically allocated |
30 | */ | 30 | */ |
31 | Canvas *canvas_create(IntVector width, IntVector height); | 31 | Canvas *canvas_create(IntVector width, IntVector height); |
32 | 32 | ||
@@ -38,7 +38,7 @@ Canvas *canvas_create(IntVector width, IntVector height); | |||
38 | * *fpath - path to the base image file | 38 | * *fpath - path to the base image file |
39 | * | 39 | * |
40 | * Returns: | 40 | * Returns: |
41 | * The initialised canvas | 41 | * The initialised canvas, dynamically allocated |
42 | */ | 42 | */ |
43 | Canvas *canvas_create_from_image(const char *fpath); | 43 | Canvas *canvas_create_from_image(const char *fpath); |
44 | 44 | ||
diff --git a/include/painter/color.h b/include/painter/color.h index ea41faf..4a97f50 100644 --- a/include/painter/color.h +++ b/include/painter/color.h | |||
@@ -32,28 +32,28 @@ typedef union { | |||
32 | 32 | ||
33 | /** | 33 | /** |
34 | * Function: color_equals | 34 | * Function: color_equals |
35 | * Compares the supplied colors. | 35 | * Compares the supplied colours. |
36 | * | 36 | * |
37 | * Parameters: | 37 | * Parameters: |
38 | * c1 - the first color | 38 | * c1 - the first colour |
39 | * c2 - the second color | 39 | * c2 - the second colour |
40 | * | 40 | * |
41 | * Returns: | 41 | * Returns: |
42 | * T(c1 is the same color as c2) | 42 | * T(c1 is the same colour as c2) |
43 | */ | 43 | */ |
44 | bool color_equals(Color c1, Color c2); | 44 | bool color_equals(Color c1, Color c2); |
45 | 45 | ||
46 | /** | 46 | /** |
47 | * Function: color_blend | 47 | * Function: color_blend |
48 | * Blends two colors. | 48 | * Blends two colours. |
49 | * | 49 | * |
50 | * Parameters: | 50 | * Parameters: |
51 | * origin - the first color | 51 | * origin - the first colour |
52 | * target - the second color | 52 | * target - the second colour |
53 | * distance - the distance from the first color | 53 | * distance - the distance from the first colour |
54 | * | 54 | * |
55 | * Returns: | 55 | * Returns: |
56 | * The blended color | 56 | * The blended colour |
57 | */ | 57 | */ |
58 | Color color_blend(Color origin, Color target, TimeVector distance); | 58 | Color color_blend(Color origin, Color target, TimeVector distance); |
59 | 59 | ||