MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
geometry.c File Reference
Include dependency graph for geometry.c:

Go to the source code of this file.

Macros

#define MagickPageSize(name, geometry)   { (name), sizeof(name)-1, (geometry) }
 

Functions

MagickExport MagickStatusType GetGeometry (const char *geometry, ssize_t *x, ssize_t *y, size_t *width, size_t *height)
 
MagickExport char * GetPageGeometry (const char *page_geometry)
 
MagickExport void GravityAdjustGeometry (const size_t width, const size_t 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)
 
MagickExport MagickStatusType ParseMetaGeometry (const char *geometry, ssize_t *x, ssize_t *y, size_t *width, size_t *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)
 

Macro Definition Documentation

◆ MagickPageSize

#define MagickPageSize (   name,
  geometry 
)    { (name), sizeof(name)-1, (geometry) }

Function Documentation

◆ GetGeometry()

◆ GetPageGeometry()

◆ GravityAdjustGeometry()

◆ IsGeometry()

MagickExport MagickBooleanType IsGeometry ( const char *  geometry)

Definition at line 619 of file geometry.c.

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

Referenced by GetPathComponent(), MorphologyImage(), OpenBlob(), and SetImageInfo().

◆ IsSceneGeometry()

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

◆ ParseAbsoluteGeometry()

◆ ParseAffineGeometry()

◆ ParseGeometry()

◆ ParseGravityGeometry()

◆ ParseMetaGeometry()

◆ ParsePageGeometry()

◆ ParseRegionGeometry()

MagickExport MagickStatusType ParseRegionGeometry ( const Image image,
const char *  geometry,
RectangleInfo region_info,
ExceptionInfo exception 
)

◆ SetGeometry()

◆ SetGeometryInfo()