geometry.c File Reference

#include "magick/studio.h"
#include "magick/constitute.h"
#include "magick/draw.h"
#include "magick/exception.h"
#include "magick/exception-private.h"
#include "magick/geometry.h"
#include "magick/memory_.h"
#include "magick/string_.h"
#include "magick/token.h"
Include dependency graph for geometry.c:

Go to the source code of this file.

Functions

MagickExport MagickStatusType GetGeometry (const char *geometry, long *x, long *y, unsigned long *width, unsigned long *height)
MagickExport char * GetPageGeometry (const char *page_geometry)
MagickExport void GravityAdjustGeometry (const unsigned long width, const unsigned long height, const GravityType gravity, RectangleInfo *region)
MagickExport MagickBooleanType IsGeometry (const char *geometry)
MagickExport MagickBooleanType IsSceneGeometry (const char *geometry, const MagickBooleanType pedantic)
MagickExport MagickStatusType ParseAbsoluteGeometry (const char *geometry, RectangleInfo *region_info)
MagickExport MagickStatusType ParseAffineGeometry (const char *geometry, AffineMatrix *affine_matrix, ExceptionInfo *exception)
MagickExport MagickStatusType ParseGeometry (const char *geometry, GeometryInfo *geometry_info)
MagickExport MagickStatusType ParseGravityGeometry (const Image *image, const char *geometry, RectangleInfo *region_info, ExceptionInfo *exception)
static unsigned long MagickMax (const unsigned long x, const unsigned long y)
MagickExport MagickStatusType ParseMetaGeometry (const char *geometry, long *x, long *y, unsigned long *width, unsigned long *height)
MagickExport MagickStatusType ParsePageGeometry (const Image *image, const char *geometry, RectangleInfo *region_info, ExceptionInfo *exception)
MagickExport MagickStatusType ParseRegionGeometry (const Image *image, const char *geometry, RectangleInfo *region_info, ExceptionInfo *exception)
MagickExport void SetGeometry (const Image *image, RectangleInfo *geometry)
MagickExport void SetGeometryInfo (GeometryInfo *geometry_info)

Function Documentation

MagickExport MagickStatusType GetGeometry ( const char *  geometry,
long *  x,
long *  y,
unsigned long *  width,
unsigned long *  height 
)
MagickExport char* GetPageGeometry ( const char *  page_geometry  ) 
MagickExport void GravityAdjustGeometry ( const unsigned long  width,
const unsigned long  height,
const GravityType  gravity,
RectangleInfo region 
)
MagickExport MagickBooleanType IsGeometry ( const char *  geometry  ) 

Definition at line 501 of file geometry.c.

References MagickFalse, MagickTrue, NoValue, and ParseGeometry().

Referenced by GetPathComponent(), and SetImageInfo().

MagickExport MagickBooleanType IsSceneGeometry ( const char *  geometry,
const MagickBooleanType  pedantic 
)

Definition at line 544 of file geometry.c.

References MagickFalse, and MagickTrue.

Referenced by GetPathComponent(), ReadImage(), and SetImageInfo().

static unsigned long MagickMax ( const unsigned long  x,
const unsigned long  y 
) [inline, static]

Definition at line 1065 of file geometry.c.

Referenced by ParseMetaGeometry().

MagickExport MagickStatusType ParseAbsoluteGeometry ( const char *  geometry,
RectangleInfo region_info 
)
MagickExport MagickStatusType ParseAffineGeometry ( const char *  geometry,
AffineMatrix affine_matrix,
ExceptionInfo exception 
)
MagickExport MagickStatusType ParseGeometry ( const char *  geometry,
GeometryInfo geometry_info 
)
MagickExport MagickStatusType ParseGravityGeometry ( const Image image,
const char *  geometry,
RectangleInfo region_info,
ExceptionInfo exception 
)
MagickExport MagickStatusType ParseMetaGeometry ( const char *  geometry,
long *  x,
long *  y,
unsigned long *  width,
unsigned long *  height 
)
MagickExport MagickStatusType ParsePageGeometry ( const Image image,
const char *  geometry,
RectangleInfo region_info,
ExceptionInfo exception 
)
MagickExport MagickStatusType ParseRegionGeometry ( const Image image,
const char *  geometry,
RectangleInfo region_info,
ExceptionInfo exception 
)
MagickExport void SetGeometry ( const Image image,
RectangleInfo geometry 
)
MagickExport void SetGeometryInfo ( GeometryInfo geometry_info  ) 

Generated on 19 Nov 2009 for MagickCore by  doxygen 1.6.1