home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 February / CMCD0205.ISO / Linux / gimp-2.2.0.tar.gz / gimp-2.2.0.tar / gimp-2.2.0 / libgimpcolor / gimpcmyk.h < prev    next >
C/C++ Source or Header  |  2003-07-14  |  3KB  |  68 lines

  1. /* LIBGIMP - The GIMP Library
  2.  * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
  3.  *
  4.  * This library is free software; you can redistribute it and/or
  5.  * modify it under the terms of the GNU Lesser General Public
  6.  * License as published by the Free Software Foundation; either
  7.  * version 2 of the License, or (at your option) any later version.
  8.  *
  9.  * This library is distributed in the hope that it will be useful,
  10.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  12.  * Library General Public License for more details.
  13.  *
  14.  * You should have received a copy of the GNU Lesser General Public
  15.  * License along with this library; if not, write to the
  16.  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  17.  * Boston, MA 02111-1307, USA.
  18.  */
  19.  
  20. #ifndef __GIMP_CMYK_H__
  21. #define __GIMP_CMYK_H__
  22.  
  23. G_BEGIN_DECLS
  24.  
  25.  
  26. /* For information look into the C source or the html documentation */
  27.  
  28.  
  29. void      gimp_cmyk_set        (GimpCMYK       *cmyk,
  30.                                 gdouble         cyan,
  31.                                 gdouble         magenta,
  32.                                 gdouble         yellow,
  33.                                 gdouble         black);
  34. void      gimp_cmyk_set_uchar  (GimpCMYK       *cmyk,
  35.                                 guchar          cyan,
  36.                                 guchar          magenta,
  37.                                 guchar          yellow,
  38.                                 guchar          black);
  39. void      gimp_cmyk_get_uchar  (const GimpCMYK *cmyk,
  40.                                 guchar         *cyan,
  41.                                 guchar         *magenta,
  42.                                 guchar         *yellow,
  43.                                 guchar         *black);
  44.  
  45. void      gimp_cmyka_set       (GimpCMYK       *cmyka,
  46.                                 gdouble         cyan,
  47.                                 gdouble         magenta,
  48.                                 gdouble         yellow,
  49.                                 gdouble         black,
  50.                                 gdouble         alpha);
  51. void      gimp_cmyka_set_uchar (GimpCMYK       *cmyka,
  52.                                 guchar          cyan,
  53.                                 guchar          magenta,
  54.                                 guchar          yellow,
  55.                                 guchar          black,
  56.                                 guchar          alpha);
  57. void      gimp_cmyka_get_uchar (const GimpCMYK *cmyka,
  58.                                 guchar         *cyan,
  59.                                 guchar         *magenta,
  60.                                 guchar         *yellow,
  61.                                 guchar         *black,
  62.                                 guchar         *alpha);
  63.  
  64.  
  65. G_END_DECLS
  66.  
  67. #endif  /* __GIMP_CMYK_H__ */
  68.