MagickCore
6.9.10
Convert, Edit, Or Compose Bitmap Images
|
#include "magick/studio.h"
#include "magick/annotate.h"
#include "magick/attribute.h"
#include "magick/cache-private.h"
#include "magick/cache-view.h"
#include "magick/channel.h"
#include "magick/client.h"
#include "magick/color.h"
#include "magick/color-private.h"
#include "magick/colorspace-private.h"
#include "magick/composite.h"
#include "magick/composite-private.h"
#include "magick/constitute.h"
#include "magick/draw.h"
#include "magick/draw-private.h"
#include "magick/exception.h"
#include "magick/exception-private.h"
#include "magick/gem.h"
#include "magick/geometry.h"
#include "magick/image-private.h"
#include "magick/log.h"
#include "magick/quantum.h"
#include "magick/quantum-private.h"
#include "magick/pixel-accessor.h"
#include "magick/property.h"
#include "magick/resource_.h"
#include "magick/semaphore.h"
#include "magick/statistic.h"
#include "magick/string_.h"
#include "magick/token.h"
#include "magick/token-private.h"
#include "magick/transform.h"
#include "magick/type.h"
#include "magick/utility.h"
#include "magick/xwindow-private.h"
Data Structures | |
struct | _GraphemeInfo |
Typedefs | |
typedef struct _GraphemeInfo | GraphemeInfo |
Variables | |
static SemaphoreInfo * | annotate_semaphore = (SemaphoreInfo *) NULL |
typedef struct _GraphemeInfo GraphemeInfo |
MagickExport MagickBooleanType AnnotateComponentGenesis | ( | void | ) |
References AllocateSemaphoreInfo(), annotate_semaphore, and MagickTrue.
Referenced by MagickCoreGenesis().
MagickExport void AnnotateComponentTerminus | ( | void | ) |
References ActivateSemaphoreInfo(), annotate_semaphore, and DestroySemaphoreInfo().
Referenced by MagickCoreTerminus().
MagickExport MagickBooleanType AnnotateImage | ( | Image * | image, |
const DrawInfo * | draw_info | ||
) |
References _DrawInfo::affine, _DrawInfo::align, _TypeMetric::ascent, CenterAlign, CenterGravity, CloneDrawInfo(), CloneString(), _Image::colorspace, _Image::debug, _DrawInfo::decorate, _TypeMetric::descent, DestroyDrawInfo(), DestroyString(), DirectClass, DrawImage(), EastGravity, _Image::exception, _Image::filename, _DrawInfo::fill, FormatLocaleString(), _DrawInfo::geometry, GetMagickModule, GetTypeMetrics(), _DrawInfo::gravity, _RectangleInfo::height, _DrawInfo::interline_spacing, IsGrayColorspace(), LeftAlign, LineThroughDecoration, LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickTrue, MaxTextExtent, NorthEastGravity, NorthGravity, NorthWestGravity, _PixelPacket::opacity, _TypeMetric::origin, OverlineDecoration, _Image::page, ParseGeometry(), ParsePageGeometry(), _DrawInfo::primitive, _GeometryInfo::psi, RelinquishMagickMemory(), RenderType(), RightAlign, _AffineMatrix::rx, _AffineMatrix::ry, SetGeometry(), SetGeometryInfo(), SetImageColorspace(), SetImageStorageClass(), _Image::signature, _DrawInfo::signature, SouthEastGravity, SouthGravity, SouthWestGravity, sRGBColorspace, StaticGravity, StringToList(), _AffineMatrix::sx, _AffineMatrix::sy, _DrawInfo::text, TraceEvent, TransparentOpacity, _AffineMatrix::tx, _AffineMatrix::ty, UndefinedGravity, _DrawInfo::undercolor, _TypeMetric::underline_position, _TypeMetric::underline_thickness, UnderlineDecoration, WestGravity, _RectangleInfo::width, _TypeMetric::width, _RectangleInfo::x, _PointInfo::x, _GeometryInfo::xi, _RectangleInfo::y, and _PointInfo::y.
Referenced by DrawPrimitive(), MontageImageList(), and PolaroidImage().
|
static |
References AcquireQuantumMemory(), MaxTextExtent, ResourceLimitFatalError, and ThrowFatalException.
Referenced by RenderPostscript().
MagickExport ssize_t FormatMagickCaption | ( | Image * | image, |
DrawInfo * | draw_info, | ||
const MagickBooleanType | split, | ||
TypeMetric * | metrics, | ||
char ** | caption | ||
) |
MagickExport MagickBooleanType GetMultilineTypeMetrics | ( | Image * | image, |
const DrawInfo * | draw_info, | ||
TypeMetric * | metrics | ||
) |
References _TypeMetric::ascent, CloneDrawInfo(), _Image::debug, _TypeMetric::descent, DestroyDrawInfo(), DestroyString(), _DrawInfo::direction, _Image::filename, GetMagickModule, GetTypeMetrics(), _TypeMetric::height, _DrawInfo::interline_spacing, LogMagickEvent(), MagickCoreSignature, MagickFalse, RelinquishMagickMemory(), _DrawInfo::render, _Image::signature, _DrawInfo::signature, StringToList(), _DrawInfo::text, TraceEvent, UndefinedDirection, and _TypeMetric::width.
MagickExport MagickBooleanType GetTypeMetrics | ( | Image * | image, |
const DrawInfo * | draw_info, | ||
TypeMetric * | metrics | ||
) |
References AnnotateEvent, _TypeMetric::ascent, _TypeMetric::bounds, CloneDrawInfo(), _Image::debug, _TypeMetric::descent, DestroyDrawInfo(), _DrawInfo::direction, _Image::filename, GetMagickModule, _TypeMetric::height, LogMagickEvent(), MagickCoreSignature, MagickFalse, _TypeMetric::max_advance, _TypeMetric::origin, _TypeMetric::pixels_per_em, _DrawInfo::render, RenderType(), _Image::signature, _DrawInfo::signature, _DrawInfo::text, TraceEvent, UndefinedDirection, _TypeMetric::underline_position, _TypeMetric::underline_thickness, _TypeMetric::width, _PointInfo::x, _SegmentInfo::x1, _SegmentInfo::x2, _PointInfo::y, _SegmentInfo::y1, and _SegmentInfo::y2.
Referenced by AnnotateImage(), DrawImage(), FormatMagickCaption(), GetMultilineTypeMetrics(), and MontageImageList().
static MagickBooleanType RenderFreetype | ( | Image * | , |
const DrawInfo * | , | ||
const char * | , | ||
const PointInfo * | , | ||
TypeMetric * | |||
) |
Referenced by RenderType().
|
static |
static MagickBooleanType RenderPostscript | ( | Image * | image, |
const DrawInfo * | draw_info, | ||
const PointInfo * | offset, | ||
TypeMetric * | metrics | ||
) |
References AcquireAuthenticCacheView(), AcquireImageInfo(), AcquireUniqueFileResource(), _DrawInfo::affine, AnnotateEvent, _ImageInfo::antialias, _TypeMetric::ascent, _PixelPacket::blue, _TypeMetric::bounds, CatchException(), ClampToQuantum(), CloneString(), _Image::columns, CompositeImage(), _Image::debug, DefaultResolution, _DrawInfo::density, _ImageInfo::density, _TypeMetric::descent, DestroyCacheView(), DestroyImage(), DestroyImageInfo(), DestroyString(), EscapeParenthesis(), _Image::exception, ExpandAffine(), _ImageInfo::filename, FileOpenError, _DrawInfo::fill, _DrawInfo::font, FormatLocaleFile(), FormatLocaleString(), GetCacheViewAuthenticPixels(), GetFillColor(), GetImageBoundingBox(), GetMagickModule, GetPixelIntensity(), _PixelPacket::green, _RectangleInfo::height, _TypeMetric::height, LogMagickEvent(), magick_restrict, MagickEpsilon, MagickFalse, MagickTrue, _Image::matte, _TypeMetric::max_advance, MaxTextExtent, _PixelPacket::opacity, OpaqueAlphaChannel, OverCompositeOp, _ImageInfo::page, ParseGeometry(), _TypeMetric::pixels_per_em, _DrawInfo::pointsize, QuantumRange, ReadImage(), _PixelPacket::red, RelinquishUniqueFileResource(), _DrawInfo::render, _GeometryInfo::rho, _Image::rows, _AffineMatrix::rx, _AffineMatrix::ry, SetImageAlphaChannel(), SetPixelAlpha, SetPixelBlue, SetPixelGreen, SetPixelRed, _GeometryInfo::sigma, SigmaValue, _AffineMatrix::sx, _AffineMatrix::sy, SyncCacheViewAuthenticPixels(), _DrawInfo::text, _DrawInfo::text_antialias, ThrowFileException, TransformImage(), TransparentOpacity, _TypeMetric::underline_position, _TypeMetric::underline_thickness, _RectangleInfo::width, _TypeMetric::width, _RectangleInfo::x, _PointInfo::x, _SegmentInfo::x1, _SegmentInfo::x2, _RectangleInfo::y, _PointInfo::y, _SegmentInfo::y1, and _SegmentInfo::y2.
Referenced by RenderFreetype(), and RenderType().
|
static |
References AcquireAuthenticCacheView(), AcquireQuantumMemory(), AcquireString(), AcquireTokenInfo(), _DrawInfo::affine, AnnotateEvent, _TypeMetric::ascent, _TypeMetric::bounds, CloneDrawInfo(), CloneString(), _GraphemeInfo::cluster, _Image::columns, ConcatenateString(), ConstantString(), ConvertLatin1ToUTF8(), _DrawInfo::dash_pattern, _Image::debug, DefaultResolution, _DrawInfo::density, _TypeMetric::descent, DestroyCacheView(), DestroyDrawInfo(), DestroyString(), DestroyTokenInfo(), DirectClass, _DrawInfo::direction, DrawImage(), _TypeInfo::encoding, _DrawInfo::encoding, _Image::exception, _TypeInfo::face, _DrawInfo::face, _DrawInfo::family, _Image::filename, _DrawInfo::fill, _DrawInfo::fill_pattern, _DrawInfo::font, FormatLocaleString(), GetCacheViewAuthenticPixels(), GetFillColor(), GetImageProperty(), GetMagickModule, GetTypeInfo(), GetTypeInfoByFamily(), GetUTFCode(), GetUTFOctets(), _TypeInfo::glyphs, _TypeMetric::height, _GraphemeInfo::index, _DrawInfo::interword_spacing, IsPathAccessible(), IsUTFSpace(), _DrawInfo::kerning, LocaleCompare(), LogMagickEvent(), magick_restrict, MagickCompositeOver(), MagickEpsilon, MagickFalse, MagickTrue, _Image::matte, _TypeMetric::max_advance, MaxTextExtent, _TypeInfo::metrics, _DrawInfo::metrics, _PixelPacket::opacity, OpaqueAlphaChannel, _TypeMetric::origin, ParseGeometry(), _TypeMetric::pixels_per_em, _DrawInfo::pointsize, _DrawInfo::primitive, QuantumRange, QuantumScale, RelinquishMagickMemory(), _DrawInfo::render, RenderFreetype(), RenderPostscript(), RenderX11(), _GeometryInfo::rho, RightToLeftDirection, RoundJoin, RoundToUnity(), _Image::rows, _AffineMatrix::rx, _AffineMatrix::ry, SetImageAlphaChannel(), SetImageStorageClass(), SetPixelAlpha, _GeometryInfo::sigma, SigmaValue, _Image::storage_class, _DrawInfo::stretch, StringToArgv(), _DrawInfo::stroke, _DrawInfo::stroke_pattern, _DrawInfo::style, _AffineMatrix::sx, _AffineMatrix::sy, SyncCacheViewAuthenticPixels(), _DrawInfo::text, _DrawInfo::text_antialias, ThrowBinaryException, ThrowMagickException(), Tokenizer(), TransparentOpacity, _AffineMatrix::tx, _AffineMatrix::ty, TypeError, TypeWarning, _TypeMetric::underline_position, _TypeMetric::underline_thickness, _DrawInfo::weight, _TypeMetric::width, _PointInfo::x, _SegmentInfo::x1, _SegmentInfo::x2, _GraphemeInfo::x_advance, _GraphemeInfo::x_offset, _PointInfo::y, _SegmentInfo::y1, _SegmentInfo::y2, and _GraphemeInfo::y_offset.
Referenced by AnnotateImage(), and GetTypeMetrics().
static MagickBooleanType RenderX11 | ( | Image * | image, |
const DrawInfo * | draw_info, | ||
const PointInfo * | offset, | ||
TypeMetric * | metrics | ||
) |
References ActivateSemaphoreInfo(), annotate_semaphore, LockSemaphoreInfo(), UnlockSemaphoreInfo(), and XRenderImage().
Referenced by RenderType().
|
static |
Referenced by AnnotateComponentGenesis(), AnnotateComponentTerminus(), and RenderX11().