MagickCore  7.0.2
paint.c File Reference
Include dependency graph for paint.c:

Go to the source code of this file.

Macros

#define MaxStacksize   524288UL
 
#define PushSegmentStack(up, left, right, delta)
 
#define NumberPaintBins   256
 
#define OilPaintImageTag   "OilPaint/Image"
 
#define OpaquePaintImageTag   "Opaque/Image"
 
#define TransparentPaintImageTag   "Transparent/Image"
 
#define TransparentPaintImageTag   "Transparent/Image"
 

Functions

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)
 
MagickExport MagickBooleanType GradientImage (Image *image, const GradientType type, const SpreadMethod method, const StopInfo *stops, const size_t number_stops, ExceptionInfo *exception)
 
static size_t ** DestroyHistogramThreadSet (size_t **histogram)
 
static size_t ** AcquireHistogramThreadSet (const size_t count)
 
MagickExport ImageOilPaintImage (const Image *image, const double radius, const double sigma, ExceptionInfo *exception)
 
MagickExport MagickBooleanType OpaquePaintImage (Image *image, const PixelInfo *target, const PixelInfo *fill, const MagickBooleanType invert, ExceptionInfo *exception)
 
MagickExport MagickBooleanType TransparentPaintImage (Image *image, const PixelInfo *target, const Quantum opacity, const MagickBooleanType invert, ExceptionInfo *exception)
 
MagickExport MagickBooleanType TransparentPaintImageChroma (Image *image, const PixelInfo *low, const PixelInfo *high, const Quantum opacity, const MagickBooleanType invert, ExceptionInfo *exception)
 

Macro Definition Documentation

#define MaxStacksize   524288UL

Referenced by FloodfillPaintImage().

#define NumberPaintBins   256

Referenced by OilPaintImage().

#define OilPaintImageTag   "OilPaint/Image"

Referenced by OilPaintImage().

#define OpaquePaintImageTag   "Opaque/Image"

Referenced by OpaquePaintImage().

#define PushSegmentStack (   up,
  left,
  right,
  delta 
)
Value:
{ \
if (s >= (segment_stack+MaxStacksize)) \
ThrowBinaryException(DrawError,"SegmentStackOverflow",image->filename) \
else \
{ \
if ((((up)+(delta)) >= 0) && (((up)+(delta)) < (ssize_t) image->rows)) \
{ \
s->x1=(double) (left); \
s->y1=(double) (up); \
s->x2=(double) (right); \
s->y2=(double) (delta); \
s++; \
} \
} \
}
#define MaxStacksize

Referenced by FloodfillPaintImage().

#define TransparentPaintImageTag   "Transparent/Image"
#define TransparentPaintImageTag   "Transparent/Image"

Function Documentation

static size_t** AcquireHistogramThreadSet ( const size_t  count)
static
static size_t** DestroyHistogramThreadSet ( size_t **  histogram)
static