MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
|
#include "MagickCore/geometry.h"
#include "MagickCore/image.h"
#include "MagickCore/pixel.h"
#include "MagickCore/type.h"
#include "MagickCore/color.h"
Go to the source code of this file.
Data Structures | |
struct | _StopInfo |
struct | _GradientInfo |
struct | _ElementReference |
struct | _DrawInfo |
struct | _PrimitiveInfo |
struct | _TypeMetric |
Typedefs | |
typedef struct _StopInfo | StopInfo |
typedef struct _GradientInfo | GradientInfo |
typedef struct _ElementReference | ElementReference |
typedef struct _DrawInfo | DrawInfo |
typedef struct _PrimitiveInfo | PrimitiveInfo |
typedef struct _TypeMetric | TypeMetric |
Functions | |
MagickExport DrawInfo * | AcquireDrawInfo (void) |
MagickExport DrawInfo * | CloneDrawInfo (const ImageInfo *, const DrawInfo *) |
MagickExport DrawInfo * | DestroyDrawInfo (DrawInfo *) |
MagickExport MagickBooleanType | DrawAffineImage (Image *, const Image *, const AffineMatrix *, ExceptionInfo *) |
MagickExport MagickBooleanType | DrawClipPath (Image *, const DrawInfo *, const char *, ExceptionInfo *) |
MagickExport MagickBooleanType | DrawGradientImage (Image *, const DrawInfo *, ExceptionInfo *) |
MagickExport MagickBooleanType | DrawImage (Image *, const DrawInfo *, ExceptionInfo *) |
MagickExport MagickBooleanType | DrawPatternPath (Image *, const DrawInfo *, const char *, Image **, ExceptionInfo *) |
MagickExport MagickBooleanType | DrawPrimitive (Image *, const DrawInfo *, const PrimitiveInfo *, ExceptionInfo *) |
MagickExport void | GetAffineMatrix (AffineMatrix *) |
MagickExport void | GetDrawInfo (const ImageInfo *, DrawInfo *) |
typedef struct _ElementReference ElementReference |
typedef struct _GradientInfo GradientInfo |
typedef struct _PrimitiveInfo PrimitiveInfo |
typedef struct _TypeMetric TypeMetric |
enum AlignType |
enum ClipPathUnits |
enum DecorationType |
enum DirectionType |
enum GradientType |
enum LineCap |
enum LineJoin |
enum PaintMethod |
enum PrimitiveType |
enum ReferenceType |
enum SpreadMethod |
MagickExport DrawInfo * AcquireDrawInfo | ( | void | ) |
MagickExport DrawInfo * CloneDrawInfo | ( | const ImageInfo * | , |
const DrawInfo * | |||
) |
MagickExport DrawInfo * DestroyDrawInfo | ( | DrawInfo * | draw_info | ) |
Definition at line 965 of file draw.c.
References _DrawInfo::clip_mask, _DrawInfo::clipping_mask, _DrawInfo::composite_mask, _DrawInfo::dash_pattern, _DrawInfo::density, DestroyImage(), DestroyString(), _DrawInfo::encoding, _DrawInfo::family, _DrawInfo::fill_pattern, _DrawInfo::font, _DrawInfo::geometry, GetMagickModule, _DrawInfo::gradient, _DrawInfo::id, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, _DrawInfo::metrics, _DrawInfo::primitive, RelinquishMagickMemory(), _DrawInfo::server_name, _DrawInfo::signature, _GradientInfo::stops, _DrawInfo::stroke_pattern, _DrawInfo::text, and TraceEvent.
Referenced by AnnotateImage(), DrawBoundingRectangles(), DrawClippingMask(), DrawCompositeMask(), DrawDashPolygon(), DrawPatternPath(), DrawPrimitive(), DrawStrokePolygon(), GetMultilineTypeMetrics(), GetTypeMetrics(), GradientImage(), MontageImageList(), PolaroidImage(), RenderHoughLines(), RenderMVGContent(), RenderType(), and VignetteImage().
MagickExport MagickBooleanType DrawAffineImage | ( | Image * | , |
const Image * | , | ||
const AffineMatrix * | , | ||
ExceptionInfo * | |||
) |
MagickExport MagickBooleanType DrawClipPath | ( | Image * | , |
const DrawInfo * | , | ||
const char * | , | ||
ExceptionInfo * | |||
) |
MagickExport MagickBooleanType DrawGradientImage | ( | Image * | , |
const DrawInfo * | , | ||
ExceptionInfo * | |||
) |
MagickExport MagickBooleanType DrawImage | ( | Image * | , |
const DrawInfo * | , | ||
ExceptionInfo * | |||
) |
MagickExport MagickBooleanType DrawPatternPath | ( | Image * | , |
const DrawInfo * | , | ||
const char * | , | ||
Image ** | , | ||
ExceptionInfo * | |||
) |
MagickExport MagickBooleanType DrawPrimitive | ( | Image * | image, |
const DrawInfo * | draw_info, | ||
const PrimitiveInfo * | primitive_info, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 5286 of file draw.c.
References AcquireAuthenticCacheView(), AcquireImageInfo(), _DrawInfo::affine, _DrawInfo::alpha, _PixelInfo::alpha, _Image::alpha_trait, AlphaChannel, AlphaPrimitive, AnnotateImage(), _PixelInfo::blue, _DrawInfo::border_color, CastDoubleToLong(), ClampToQuantum(), _DrawInfo::clipping_mask, CloneDrawInfo(), CloneString(), _PrimitiveInfo::closed_subpath, ColorPrimitive, _Image::colorspace, _Image::columns, _DrawInfo::compliance, _DrawInfo::compose, _DrawInfo::composite_mask, CompositeImage(), CompositePixelMask, CompositePixelOver(), CopyMagickString(), _DrawInfo::dash_pattern, _DrawInfo::debug, DestroyCacheView(), DestroyDrawInfo(), DestroyImage(), DestroyImageInfo(), DestroyImageList(), DestroyString(), DrawAffineImage(), DrawDashPolygon(), DrawEvent, DrawPolygonPrimitive(), DrawStrokePolygon(), ExpandAffine(), _ImageInfo::extract, _ImageInfo::filename, FileOpenError, _DrawInfo::fill, FillToBorderMethod, _Image::filter, FloodfillMethod, FloodfillPaintImage(), FormatLocaleString(), _DrawInfo::geometry, GetCacheViewAuthenticPixels(), GetFillColor(), GetMagickModule, GetOneCacheViewVirtualPixelInfo(), GetOneVirtualPixelInfo(), GetPathAttributes(), GetPixelAlpha(), GetPixelChannels(), GetPixelInfo(), GetPixelInfoPixel(), _DrawInfo::gravity, _Image::gravity, _PixelInfo::green, ImagePrimitive, _Image::interpolate, IsEventLogging(), IsFuzzyEquivalencePixelInfo(), IsGrayColorspace(), IsPixelInfoGray(), _DrawInfo::linecap, _DrawInfo::linejoin, LocaleCompare(), LocaleNCompare(), LogMagickEvent(), LogPrimitiveInfo(), _ImageInfo::magick, magick_restrict, MagickEpsilon, MagickFalse, MagickPathExtent, MagickTrue, _PrimitiveInfo::method, OpaqueAlpha, OpaqueAlphaChannel, OverCompositeOp, ParseGravityGeometry(), _PrimitiveInfo::point, PointMethod, PointPrimitive, _PrimitiveInfo::primitive, ReadImage(), ReadInlineImage(), _PixelInfo::red, RemoveFirstImageFromList(), ReplaceMethod, ResetMethod, RoundCap, RoundJoin, _Image::rows, _AffineMatrix::rx, _AffineMatrix::ry, SetGeometry(), SetImageAlpha(), SetImageAlphaChannel(), SetImageChannelMask(), SetImageColorspace(), SetImageInfo(), SetImageMask(), SetImageProgressMonitor(), SetPixelAlpha(), SetPixelViaPixelInfo(), _ImageInfo::size, SrcOverCompositeOp, sRGBColorspace, _DrawInfo::stroke, _DrawInfo::stroke_pattern, _DrawInfo::stroke_width, SVGCompliance, _AffineMatrix::sx, _AffineMatrix::sy, SyncCacheViewAuthenticPixels(), _DrawInfo::text, _PrimitiveInfo::text, TextPrimitive, ThrowMagickException(), TileVirtualPixelMethod, TransformImage(), TransparentAlpha, _AffineMatrix::tx, _AffineMatrix::ty, UndefinedPixelTrait, UndefinedPrimitive, WritePixelMask, _PointInfo::x, _RectangleInfo::x, _PointInfo::y, and _RectangleInfo::y.
Referenced by DrawBoundingRectangles(), and RenderMVGContent().
MagickExport void GetAffineMatrix | ( | AffineMatrix * | ) |
MagickExport void GetDrawInfo | ( | const ImageInfo * | image_info, |
DrawInfo * | draw_info | ||
) |
Definition at line 5965 of file draw.c.
References AcquireExceptionInfo(), AcquireString(), _DrawInfo::affine, AllCompliance, _DrawInfo::alpha, _PixelInfo::alpha, AnnotateEvent, _ImageInfo::antialias, _DrawInfo::border_color, _ImageInfo::border_color, ButtCap, _DrawInfo::clip_path, CloneImageInfo(), CloneString(), _DrawInfo::compose, _DrawInfo::debug, _DrawInfo::decorate, _DrawInfo::density, _ImageInfo::density, DestroyExceptionInfo(), DestroyImageInfo(), _DrawInfo::direction, DrawEvent, _DrawInfo::encoding, EvenOddRule, _DrawInfo::family, _DrawInfo::fill, _DrawInfo::fill_alpha, _DrawInfo::fill_rule, _DrawInfo::font, _ImageInfo::font, GetAffineMatrix(), GetDrawValue(), GetImageOption(), GetLogEventMask(), GetMagickModule, _DrawInfo::gravity, _DrawInfo::interline_spacing, _DrawInfo::interword_spacing, IsEventLogging(), _DrawInfo::kerning, _DrawInfo::linecap, _DrawInfo::linejoin, LogMagickEvent(), MagickCoreSignature, MagickDirectionOptions, MagickEpsilon, MagickFalse, MagickGravityOptions, MagickStyleOptions, MagickTrue, MagickWeightOptions, MiterJoin, _DrawInfo::miterlimit, NoDecoration, OpaqueAlpha, OverCompositeOp, ParseCommandOption(), _DrawInfo::pointsize, _ImageInfo::pointsize, QueryColorCompliance(), _DrawInfo::render, _DrawInfo::server_name, _ImageInfo::server_name, _DrawInfo::signature, StringToUnsignedLong(), _DrawInfo::stroke, _DrawInfo::stroke_alpha, _DrawInfo::stroke_antialias, _DrawInfo::stroke_width, _DrawInfo::style, _DrawInfo::text_antialias, TraceEvent, TransparentAlpha, UndefinedDirection, _DrawInfo::undercolor, and _DrawInfo::weight.
Referenced by AcquireDrawInfo(), and CloneDrawInfo().