diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2011-04-19 23:49:56 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2011-04-19 23:49:56 +0200 |
commit | 781969994b5381ba4bed03beef217f9bde6e7c58 (patch) | |
tree | aede27c7532f0fbe82f03dc0c04c9316be510fd5 /gs/base/gxcspace.h | |
parent | 0b17959f31afe3baffbc328e7f92e88e634ad8b8 (diff) |
Indent with spaces and strip trailing whitespace.
Diffstat (limited to 'gs/base/gxcspace.h')
-rw-r--r-- | gs/base/gxcspace.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/gs/base/gxcspace.h b/gs/base/gxcspace.h index b2a1d1a31..824a814ee 100644 --- a/gs/base/gxcspace.h +++ b/gs/base/gxcspace.h @@ -1,6 +1,6 @@ /* Copyright (C) 2001-2006 Artifex Software, Inc. All Rights Reserved. - + This software is provided AS-IS with no warranty, either express or implied. @@ -77,7 +77,7 @@ struct gs_color_space_type_s { int proc(const gs_color_space *) #define cs_num_components(pcs)\ (*(pcs)->type->num_components)(pcs) - cs_proc_num_components((*num_components)); + cs_proc_num_components((*num_components)); /* Construct the initial color value for this space. */ @@ -87,7 +87,7 @@ struct gs_color_space_type_s { (*(pcs)->type->init_color)(pcc, pcs) #define cs_full_init_color(pcc, pcs)\ ((pcc)->pattern = 0, cs_init_color(pcc, pcs)) - cs_proc_init_color((*init_color)); + cs_proc_init_color((*init_color)); /* Force a client color into its legal range. */ @@ -95,17 +95,17 @@ struct gs_color_space_type_s { void proc(gs_client_color *, const gs_color_space *) #define cs_restrict_color(pcc, pcs)\ ((pcs)->type->restrict_color(pcc, pcs)) - cs_proc_restrict_color((*restrict_color)); + cs_proc_restrict_color((*restrict_color)); /* Return the concrete color space underlying this one. */ /* (Not defined for Pattern spaces.) */ #define cs_proc_concrete_space(proc)\ const gs_color_space *proc(const gs_color_space *,\ - const gs_imager_state *) + const gs_imager_state *) #define cs_concrete_space(pcs, pis)\ (*(pcs)->type->concrete_space)(pcs, pis) - cs_proc_concrete_space((*concrete_space)); + cs_proc_concrete_space((*concrete_space)); /* * Reduce a color to a concrete color. A concrete color is one @@ -120,15 +120,15 @@ struct gs_color_space_type_s { frac *, const gs_imager_state *, gx_device *) #define cs_concretize_color(pcc, pcs, values, pis, dev)\ (*(pcs)->type->concretize_color)(pcc, pcs, values, pis, dev) - cs_proc_concretize_color((*concretize_color)); + cs_proc_concretize_color((*concretize_color)); /* Map a concrete color to a device color. */ /* (Only defined for concrete color spaces.) */ #define cs_proc_remap_concrete_color(proc)\ int proc(const frac *, const gs_color_space * pcs, gx_device_color *,\ - const gs_imager_state *, gx_device *, gs_color_select_t) - cs_proc_remap_concrete_color((*remap_concrete_color)); + const gs_imager_state *, gx_device *, gs_color_select_t) + cs_proc_remap_concrete_color((*remap_concrete_color)); /* Map a color directly to a device color. */ @@ -136,13 +136,13 @@ struct gs_color_space_type_s { int proc(const gs_client_color *, const gs_color_space *,\ gx_device_color *, const gs_imager_state *, gx_device *,\ gs_color_select_t) - cs_proc_remap_color((*remap_color)); + cs_proc_remap_color((*remap_color)); /* Install the color space in a graphics state. */ #define cs_proc_install_cspace(proc)\ int proc(gs_color_space *, gs_state *) - cs_proc_install_cspace((*install_cspace)); + cs_proc_install_cspace((*install_cspace)); /* * Push the appropriate overprint compositor onto the current device. @@ -158,13 +158,13 @@ struct gs_color_space_type_s { #define cs_proc_set_overprint(proc)\ int proc(const gs_color_space *, gs_state *) - cs_proc_set_overprint((*set_overprint)); + cs_proc_set_overprint((*set_overprint)); /* Free contents of composite colorspace objects. */ #define cs_proc_final(proc)\ void proc(const gs_color_space *) - cs_proc_final((*final)); + cs_proc_final((*final)); /* Adjust reference counts of indirect color components. */ /* @@ -179,12 +179,12 @@ struct gs_color_space_type_s { #define cs_adjust_color_count(pgs, delta)\ (*gs_currentcolorspace_inline(pgs)->type->adjust_color_count)\ (gs_currentcolor_inline(pgs), gs_currentcolorspace_inline(pgs), delta) - cs_proc_adjust_color_count((*adjust_color_count)); + cs_proc_adjust_color_count((*adjust_color_count)); /* Adjust both reference counts. */ #define cs_adjust_counts(pgs, delta)\ cs_adjust_color_count(pgs, delta); \ - rc_adjust_const(gs_currentcolorspace_inline(pgs), delta, "cs_adjust_counts") + rc_adjust_const(gs_currentcolorspace_inline(pgs), delta, "cs_adjust_counts") /* Serialization. */ /* @@ -196,19 +196,19 @@ struct gs_color_space_type_s { int proc(const gs_color_space *, stream *) #define cs_serialize(pcs, s)\ (*(pcs)->type->serialize)(pcs, s) - cs_proc_serialize((*serialize)); + cs_proc_serialize((*serialize)); /* A color mapping linearity check. */ #define cs_proc_is_linear(proc)\ int proc(const gs_color_space *cs, const gs_imager_state * pis,\ - gx_device *dev,\ - const gs_client_color *c0, const gs_client_color *c1,\ - const gs_client_color *c2, const gs_client_color *c3,\ - float smoothness, gsicc_link_t *icclink) + gx_device *dev,\ + const gs_client_color *c0, const gs_client_color *c1,\ + const gs_client_color *c2, const gs_client_color *c3,\ + float smoothness, gsicc_link_t *icclink) #define cs_is_linear(pcs, pis, dev, c0, c1, c2, c3, smoothness, icclink)\ (*(pcs)->type->is_linear)(pcs, pis, dev, c0, c1, c2, c3, smoothness, icclink) - cs_proc_is_linear((*is_linear)); + cs_proc_is_linear((*is_linear)); }; extern_st(st_base_color_space); |