aboutsummaryrefslogtreecommitdiffstats
path: root/LIBCOLOUR_SRGB.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_SRGB.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 'LIBCOLOUR_SRGB.7')
-rw-r--r--LIBCOLOUR_SRGB.720
1 files changed, 10 insertions, 10 deletions
diff --git a/LIBCOLOUR_SRGB.7 b/LIBCOLOUR_SRGB.7
index f5bff7b..e6f7888 100644
--- a/LIBCOLOUR_SRGB.7
+++ b/LIBCOLOUR_SRGB.7
@@ -5,9 +5,9 @@ LIBCOLOUR_SRGB - Standard RGB
sRGB colours are presented with either of
.nf
- \fBtypedef struct libcolour_srgb_f libcolour_srgb_f_t;\fP
- \fBtypedef struct libcolour_srgb_lf libcolour_srgb_lf_t;\fP
- \fBtypedef struct libcolour_srgb_llf libcolour_srgb_llf_t;\fP
+ typedef struct libcolour_srgb_f libcolour_srgb_f_t;
+ typedef struct libcolour_srgb_lf libcolour_srgb_lf_t;
+ typedef struct libcolour_srgb_llf libcolour_srgb_llf_t;
.fi
These
@@ -23,13 +23,13 @@ and are otherwise identical.
is defined as
.nf
- \fBstruct libcolour_srgb_f {\fP
- \fBenum libcolour_model\fP \fImodel\fP\fB;\fP
- \fBfloat\fP \fIR\fP\fB;\fP
- \fBfloat\fP \fIG\fP\fB;\fP
- \fBfloat\fP \fIB\fP\fB;\fP
- \fBint\fP \fIwith_transfer\fP\fB;\fP
- \fB};\fP
+ struct libcolour_srgb_f {
+ enum libcolour_model \fImodel\fP;
+ float \fIR\fP;
+ float \fIG\fP;
+ float \fIB\fP;
+ int \fIwith_transfer\fP;
+ };
.fi
.I .model