MagickCore  7.0.3
paint.h
Go to the documentation of this file.
1 /*
2  Copyright 1999-2019 ImageMagick Studio LLC, a non-profit organization
3  dedicated to making software imaging solutions freely available.
4 
5  You may not use this file except in compliance with the License. You may
6  obtain a copy of the License at
7 
8  https://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 
16  MagickCore image paint methods.
17 */
18 #ifndef MAGICKCORE_PAINT_H
19 #define MAGICKCORE_PAINT_H
20 
21 #include "MagickCore/color.h"
22 #include "MagickCore/draw.h"
23 
24 #if defined(__cplusplus) || defined(c_plusplus)
25 extern "C" {
26 #endif
27 
28 extern MagickExport Image
29  *OilPaintImage(const Image *,const double,const double,ExceptionInfo *);
30 
32  FloodfillPaintImage(Image *,const DrawInfo *,const PixelInfo *,const ssize_t,
33  const ssize_t,const MagickBooleanType,ExceptionInfo *),
35  const size_t,ExceptionInfo *),
36  OpaquePaintImage(Image *,const PixelInfo *,const PixelInfo *,
41  const PixelInfo *,const Quantum,const MagickBooleanType,ExceptionInfo *);
42 
43 #if defined(__cplusplus) || defined(c_plusplus)
44 }
45 #endif
46 
47 #endif
MagickExport MagickBooleanType TransparentPaintImage(Image *image, const PixelInfo *target, const Quantum opacity, const MagickBooleanType invert, ExceptionInfo *exception)
Definition: paint.c:1057
MagickExport MagickBooleanType FloodfillPaintImage(Image *image, const DrawInfo *draw_info, const PixelInfo *target, const ssize_t x_offset, const ssize_t y_offset, const MagickBooleanType invert, ExceptionInfo *exception)
Definition: paint.c:112
Definition: image.h:151
SpreadMethod
Definition: draw.h:130
GradientType
Definition: draw.h:71
MagickBooleanType
Definition: magick-type.h:158
MagickExport MagickBooleanType TransparentPaintImageChroma(Image *image, const PixelInfo *low, const PixelInfo *high, const Quantum opacity, const MagickBooleanType invert, ExceptionInfo *exception)
Definition: paint.c:1188
MagickExport MagickBooleanType OpaquePaintImage(Image *image, const PixelInfo *target, const PixelInfo *fill, const MagickBooleanType invert, ExceptionInfo *exception)
Definition: paint.c:907
unsigned short Quantum
Definition: magick-type.h:82
MagickExport MagickBooleanType GradientImage(Image *image, const GradientType type, const SpreadMethod method, const StopInfo *stops, const size_t number_stops, ExceptionInfo *exception)
Definition: paint.c:404
#define MagickExport
MagickExport Image * OilPaintImage(const Image *image, const double radius, const double sigma, ExceptionInfo *exception)
Definition: paint.c:686