diff options
author | Mattias Andrée <maandree@kth.se> | 2017-06-10 10:48:21 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2017-06-10 10:48:21 +0200 |
commit | 42ca750430bf40ba13493ac46028d22e6f3555b9 (patch) | |
tree | 04324f1e954990175dc7922c46da26855a4b5a92 /LIBCOLOUR_CIE1960UCS.7 | |
parent | Reduce size of RGB struct, and add LIBCOLOUR_CIELCHUV.7 and LIBCOLOUR_RGB.7 (diff) | |
download | libcolour-42ca750430bf40ba13493ac46028d22e6f3555b9.tar.gz libcolour-42ca750430bf40ba13493ac46028d22e6f3555b9.tar.bz2 libcolour-42ca750430bf40ba13493ac46028d22e6f3555b9.tar.xz |
m + add libcolour_delta_e.3, libcolour_srgb_decode.3, and libcolour_srgb_encode.3
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'LIBCOLOUR_CIE1960UCS.7')
-rw-r--r-- | LIBCOLOUR_CIE1960UCS.7 | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/LIBCOLOUR_CIE1960UCS.7 b/LIBCOLOUR_CIE1960UCS.7 index 95dff79..a736cfe 100644 --- a/LIBCOLOUR_CIE1960UCS.7 +++ b/LIBCOLOUR_CIE1960UCS.7 @@ -6,9 +6,9 @@ CIE 1960 UCS colours are presented with either of .nf - \fBtypedef struct libcolour_cie1960ucs_f libcolour_cie1960ucs_f_t;\fP - \fBtypedef struct libcolour_cie1960ucs_lf libcolour_cie1960ucs_lf_t;\fP - \fBtypedef struct libcolour_cie1960ucs_llf libcolour_cie1960ucs_llf_t;\fP + typedef struct libcolour_cie1960ucs_f libcolour_cie1960ucs_f_t; + typedef struct libcolour_cie1960ucs_lf libcolour_cie1960ucs_lf_t; + typedef struct libcolour_cie1960ucs_llf libcolour_cie1960ucs_llf_t; .fi These @@ -24,12 +24,12 @@ and are otherwise identical. is defined as .nf - \fBstruct libcolour_cie1960ucs_f {\fP - \fBenum libcolour_model\fP \fImodel\fP\fB;\fP - \fBfloat\fP \fIu\fP\fB;\fP - \fBfloat\fP \fIv\fP\fB;\fP - \fBfloat\fP \fIY\fP\fB;\fP - \fB};\fP + struct libcolour_cie1960ucs_f { + enum libcolour_model \fImodel\fP; + float \fIu\fP; + float \fIv\fP; + float \fIY\fP; + }; .fi .I .model |