MagickCore  7.0.10
Convert, Edit, Or Compose Bitmap Images
attribute.c File Reference
#include "MagickCore/studio.h"
#include "MagickCore/artifact.h"
#include "MagickCore/attribute.h"
#include "MagickCore/blob.h"
#include "MagickCore/blob-private.h"
#include "MagickCore/cache.h"
#include "MagickCore/cache-private.h"
#include "MagickCore/cache-view.h"
#include "MagickCore/channel.h"
#include "MagickCore/client.h"
#include "MagickCore/color.h"
#include "MagickCore/color-private.h"
#include "MagickCore/colormap.h"
#include "MagickCore/colormap-private.h"
#include "MagickCore/colorspace.h"
#include "MagickCore/colorspace-private.h"
#include "MagickCore/composite.h"
#include "MagickCore/composite-private.h"
#include "MagickCore/constitute.h"
#include "MagickCore/draw.h"
#include "MagickCore/draw-private.h"
#include "MagickCore/effect.h"
#include "MagickCore/enhance.h"
#include "MagickCore/exception.h"
#include "MagickCore/exception-private.h"
#include "MagickCore/geometry.h"
#include "MagickCore/histogram.h"
#include "MagickCore/identify.h"
#include "MagickCore/image.h"
#include "MagickCore/image-private.h"
#include "MagickCore/list.h"
#include "MagickCore/log.h"
#include "MagickCore/memory_.h"
#include "MagickCore/magick.h"
#include "MagickCore/monitor.h"
#include "MagickCore/monitor-private.h"
#include "MagickCore/option.h"
#include "MagickCore/paint.h"
#include "MagickCore/pixel.h"
#include "MagickCore/pixel-accessor.h"
#include "MagickCore/property.h"
#include "MagickCore/quantize.h"
#include "MagickCore/quantum-private.h"
#include "MagickCore/random_.h"
#include "MagickCore/resource_.h"
#include "MagickCore/semaphore.h"
#include "MagickCore/segment.h"
#include "MagickCore/splay-tree.h"
#include "MagickCore/string_.h"
#include "MagickCore/string-private.h"
#include "MagickCore/thread-private.h"
#include "MagickCore/threshold.h"
#include "MagickCore/transform.h"
#include "MagickCore/utility.h"

Data Structures

struct  _EdgeInfo
 

Typedefs

typedef struct _EdgeInfo EdgeInfo
 

Functions

static double GetEdgeBackgroundCensus (const Image *image, const CacheView *image_view, const GravityType gravity, const size_t width, const size_t height, const ssize_t x_offset, const ssize_t y_offset, ExceptionInfo *exception)
 
static double GetMinEdgeBackgroundCensus (const EdgeInfo *edge)
 
static RectangleInfo GetEdgeBoundingBox (const Image *image, ExceptionInfo *exception)
 
MagickExport RectangleInfo GetImageBoundingBox (const Image *image, ExceptionInfo *exception)
 
static double LexicographicalOrder (PointInfo *a, PointInfo *b, PointInfo *c)
 
static PixelInfo GetEdgeBackgroundColor (const Image *image, const CacheView *image_view, ExceptionInfo *exception)
 
void TraceConvexHull (PointInfo *coordinates, size_t number_coordinates, PointInfo ***monotone_chain, size_t *chain_length)
 
MagickExport PointInfoGetImageConvexHull (const Image *image, size_t *number_coordinates, ExceptionInfo *exception)
 
MagickExport size_t GetImageDepth (const Image *image, ExceptionInfo *exception)
 
static double getAngle (const PointInfo *p, const PointInfo *q)
 
static double getDistance (const PointInfo *p, const PointInfo *q, const PointInfo *v)
 
static PointInfo getIntersection (const PointInfo *a, const PointInfo *b, const PointInfo *c, const PointInfo *d)
 
static PointInfogetModuloPoint (PointInfo *points, const ssize_t n, const size_t number_points)
 
static PointInfo rotateVector (const PointInfo *p, const double radians)
 
MagickExport PointInfoGetImageMinimumBoundingBox (Image *image, size_t *number_coordinates, ExceptionInfo *exception)
 
MagickExport size_t GetImageQuantumDepth (const Image *image, const MagickBooleanType constrain)
 
MagickExport ImageType GetImageType (const Image *image)
 
MagickExport ImageType IdentifyImageGray (const Image *image, ExceptionInfo *exception)
 
MagickExport MagickBooleanType IdentifyImageMonochrome (const Image *image, ExceptionInfo *exception)
 
MagickExport ImageType IdentifyImageType (const Image *image, ExceptionInfo *exception)
 
MagickExport MagickBooleanType IsImageGray (const Image *image)
 
MagickExport MagickBooleanType IsImageMonochrome (const Image *image)
 
MagickExport MagickBooleanType IsImageOpaque (const Image *image, ExceptionInfo *exception)
 
MagickExport MagickBooleanType SetImageDepth (Image *image, const size_t depth, ExceptionInfo *exception)
 
MagickExport MagickBooleanType SetImageType (Image *image, const ImageType type, ExceptionInfo *exception)
 

Typedef Documentation

typedef struct _EdgeInfo EdgeInfo

Function Documentation

static double getAngle ( const PointInfo p,
const PointInfo q 
)
static
static double getDistance ( const PointInfo p,
const PointInfo q,
const PointInfo v 
)
static
MagickExport size_t GetImageQuantumDepth ( const Image image,
const MagickBooleanType  constrain 
)
static PointInfo getIntersection ( const PointInfo a,
const PointInfo b,
const PointInfo c,
const PointInfo d 
)
static
static double GetMinEdgeBackgroundCensus ( const EdgeInfo edge)
inlinestatic
static PointInfo* getModuloPoint ( PointInfo points,
const ssize_t  n,
const size_t  number_points 
)
static
static double LexicographicalOrder ( PointInfo a,
PointInfo b,
PointInfo c 
)
static

References _PointInfo::x, and _PointInfo::y.

Referenced by TraceConvexHull().

static PointInfo rotateVector ( const PointInfo p,
const double  radians 
)
static

References _PointInfo::x, and _PointInfo::y.

Referenced by GetImageMinimumBoundingBox().

void TraceConvexHull ( PointInfo coordinates,
size_t  number_coordinates,
PointInfo ***  monotone_chain,
size_t *  chain_length 
)

References LexicographicalOrder().

Referenced by GetImageConvexHull().