blob: de71255c3900b915f6bd8084126af940e9a009a5 [file] [log] [blame]
cristy3ed852e2009-09-05 21:47:34 +00001/*
cristy7e41fe82010-12-04 23:12:08 +00002 Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization
cristy3ed852e2009-09-05 21:47:34 +00003 dedicated to making software imaging solutions freely available.
4
5 You may not use this file except in compliance with the License.
6 obtain a copy of the License at
7
8 http://www.imagemagick.org/script/license.php
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15
cristyd1dd6e42011-09-04 01:46:08 +000016 MagickCore graphic gems methods.
cristy3ed852e2009-09-05 21:47:34 +000017*/
cristyd1dd6e42011-09-04 01:46:08 +000018#ifndef _MAGICKCORE_GEM_H
19#define _MAGICKCORE_GEM_H
cristy3ed852e2009-09-05 21:47:34 +000020
21#if defined(__cplusplus) || defined(c_plusplus)
22extern "C" {
23#endif
24
cristy4c08aed2011-07-01 19:47:50 +000025#include <MagickCore/fx.h>
26#include <MagickCore/random_.h>
cristy3ed852e2009-09-05 21:47:34 +000027
28extern MagickExport double
29 ExpandAffine(const AffineMatrix *),
30 GenerateDifferentialNoise(RandomInfo *,const Quantum,const NoiseType,
31 const MagickRealType);
32
cristybb503372010-05-27 20:51:26 +000033extern MagickExport size_t
cristye96405a2010-05-19 02:24:31 +000034 GetOptimalKernelWidth(const double,const double),
35 GetOptimalKernelWidth1D(const double,const double),
36 GetOptimalKernelWidth2D(const double,const double);
cristy3ed852e2009-09-05 21:47:34 +000037
38extern MagickExport void
cristy3ed852e2009-09-05 21:47:34 +000039 ConvertHSLToRGB(const double,const double,const double,Quantum *,Quantum *,
40 Quantum *),
cristy3ed852e2009-09-05 21:47:34 +000041 ConvertRGBToHSL(const Quantum,const Quantum,const Quantum,double *,double *,
cristy3ed852e2009-09-05 21:47:34 +000042 double *);
43
44#if defined(__cplusplus) || defined(c_plusplus)
45}
46#endif
47
48#endif