aboutsummaryrefslogtreecommitdiffstats
path: root/LIBCOLOUR_CIEXYZ.7
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-06-10 10:48:21 +0200
committerMattias Andrée <maandree@kth.se>2017-06-10 10:48:21 +0200
commit42ca750430bf40ba13493ac46028d22e6f3555b9 (patch)
tree04324f1e954990175dc7922c46da26855a4b5a92 /LIBCOLOUR_CIEXYZ.7
parentReduce size of RGB struct, and add LIBCOLOUR_CIELCHUV.7 and LIBCOLOUR_RGB.7 (diff)
downloadlibcolour-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 '')
-rw-r--r--LIBCOLOUR_CIEXYZ.718
1 files changed, 9 insertions, 9 deletions
diff --git a/LIBCOLOUR_CIEXYZ.7 b/LIBCOLOUR_CIEXYZ.7
index cb5cd31..0b06ea0 100644
--- a/LIBCOLOUR_CIEXYZ.7
+++ b/LIBCOLOUR_CIEXYZ.7
@@ -6,9 +6,9 @@ CIE 1931 XYZ (also known simply as CIE XYZ)
colours are presented with either of
.nf
- \fBtypedef struct libcolour_ciexyz_f libcolour_ciexyz_f_t;\fP
- \fBtypedef struct libcolour_ciexyz_lf libcolour_ciexyz_lf_t;\fP
- \fBtypedef struct libcolour_ciexyz_llf libcolour_ciexyz_llf_t;\fP
+ typedef struct libcolour_ciexyz_f libcolour_ciexyz_f_t;
+ typedef struct libcolour_ciexyz_lf libcolour_ciexyz_lf_t;
+ typedef struct libcolour_ciexyz_llf libcolour_ciexyz_llf_t;
.fi
These
@@ -24,12 +24,12 @@ and are otherwise identical.
is defined as
.nf
- \fBstruct libcolour_ciexyz_f {\fP
- \fBenum libcolour_model\fP \fImodel\fP\fB;\fP
- \fBfloat\fP \fIX\fP\fB;\fP
- \fBfloat\fP \fIY\fP\fB;\fP
- \fBfloat\fP \fIZ\fP\fB;\fP
- \fB};\fP
+ struct libcolour_ciexyz_f {
+ enum libcolour_model \fImodel\fP;
+ float \fIX\fP;
+ float \fIY\fP;
+ float \fIZ\fP;
+ };
.fi
.I .model