MagickWand 7.1.0
Convert, Edit, Or Compose Bitmap Images
|
#include "MagickWand/studio.h"
#include "MagickWand/MagickWand.h"
#include "MagickWand/magick-wand-private.h"
#include "MagickWand/wand.h"
#include "MagickCore/image-private.h"
#include "MagickCore/string-private.h"
Go to the source code of this file.
Data Structures | |
struct | _DrawingWand |
Macros | |
#define | DRAW_BINARY_IMPLEMENTATION 0 |
#define | CurrentContext (wand->graphic_context[wand->index]) |
#define | DrawingWandId "DrawingWand" |
#define | ThrowDrawException(severity, tag, reason) |
Functions | |
static int | MVGPrintf (DrawingWand *, wand_attribute((format(const char *,...) |
static int | MVGAutoWrapPrintf (DrawingWand *wand, const char *format,...) |
static void | MVGAppendColor (DrawingWand *wand, const PixelInfo *packet) |
static void | MVGAppendPointsCommand (DrawingWand *wand, const char *command, const size_t number_coordinates, const PointInfo *coordinates) |
static void | AdjustAffine (DrawingWand *wand, const AffineMatrix *affine) |
WandExport DrawingWand * | AcquireDrawingWand (const DrawInfo *draw_info, Image *image) |
WandExport void | ClearDrawingWand (DrawingWand *wand) |
WandExport DrawingWand * | CloneDrawingWand (const DrawingWand *wand) |
WandExport DrawingWand * | DestroyDrawingWand (DrawingWand *wand) |
WandExport void | DrawAffine (DrawingWand *wand, const AffineMatrix *affine) |
WandExport void | DrawAlpha (DrawingWand *wand, const double x, const double y, const PaintMethod paint_method) |
WandExport void | DrawAnnotation (DrawingWand *wand, const double x, const double y, const unsigned char *text) |
WandExport void | DrawArc (DrawingWand *wand, const double sx, const double sy, const double ex, const double ey, const double sd, const double ed) |
WandExport void | DrawBezier (DrawingWand *wand, const size_t number_coordinates, const PointInfo *coordinates) |
WandExport void | DrawCircle (DrawingWand *wand, const double ox, const double oy, const double px, const double py) |
WandExport MagickBooleanType | DrawClearException (DrawingWand *wand) |
WandExport ExceptionInfo * | DrawCloneExceptionInfo (const DrawingWand *wand) |
WandExport void | DrawColor (DrawingWand *wand, const double x, const double y, const PaintMethod paint_method) |
WandExport MagickBooleanType | DrawComposite (DrawingWand *wand, const CompositeOperator compose, const double x, const double y, const double width, const double height, MagickWand *magick_wand) |
WandExport void | DrawComment (DrawingWand *wand, const char *comment) |
WandExport void | DrawEllipse (DrawingWand *wand, const double ox, const double oy, const double rx, const double ry, const double start, const double end) |
WandExport void | DrawGetBorderColor (const DrawingWand *wand, PixelWand *border_color) |
WandExport char * | DrawGetClipPath (const DrawingWand *wand) |
WandExport FillRule | DrawGetClipRule (const DrawingWand *wand) |
WandExport ClipPathUnits | DrawGetClipUnits (const DrawingWand *wand) |
WandExport char * | DrawGetDensity (const DrawingWand *wand) |
WandExport char * | DrawGetException (const DrawingWand *wand, ExceptionType *severity) |
WandExport ExceptionType | DrawGetExceptionType (const DrawingWand *wand) |
WandExport void | DrawGetFillColor (const DrawingWand *wand, PixelWand *fill_color) |
WandExport double | DrawGetFillOpacity (const DrawingWand *wand) |
WandExport FillRule | DrawGetFillRule (const DrawingWand *wand) |
WandExport char * | DrawGetFont (const DrawingWand *wand) |
WandExport char * | DrawGetFontFamily (const DrawingWand *wand) |
WandExport MagickBooleanType | DrawGetFontResolution (const DrawingWand *wand, double *x, double *y) |
WandExport double | DrawGetFontSize (const DrawingWand *wand) |
WandExport StretchType | DrawGetFontStretch (const DrawingWand *wand) |
WandExport StyleType | DrawGetFontStyle (const DrawingWand *wand) |
WandExport size_t | DrawGetFontWeight (const DrawingWand *wand) |
WandExport GravityType | DrawGetGravity (const DrawingWand *wand) |
WandExport double | DrawGetOpacity (const DrawingWand *wand) |
WandExport MagickBooleanType | DrawGetStrokeAntialias (const DrawingWand *wand) |
WandExport void | DrawGetStrokeColor (const DrawingWand *wand, PixelWand *stroke_color) |
WandExport double * | DrawGetStrokeDashArray (const DrawingWand *wand, size_t *number_elements) |
WandExport double | DrawGetStrokeDashOffset (const DrawingWand *wand) |
WandExport LineCap | DrawGetStrokeLineCap (const DrawingWand *wand) |
WandExport LineJoin | DrawGetStrokeLineJoin (const DrawingWand *wand) |
WandExport size_t | DrawGetStrokeMiterLimit (const DrawingWand *wand) |
WandExport double | DrawGetStrokeOpacity (const DrawingWand *wand) |
WandExport double | DrawGetStrokeWidth (const DrawingWand *wand) |
WandExport AlignType | DrawGetTextAlignment (const DrawingWand *wand) |
WandExport MagickBooleanType | DrawGetTextAntialias (const DrawingWand *wand) |
WandExport DecorationType | DrawGetTextDecoration (const DrawingWand *wand) |
WandExport DirectionType | DrawGetTextDirection (const DrawingWand *wand) |
WandExport char * | DrawGetTextEncoding (const DrawingWand *wand) |
WandExport double | DrawGetTextKerning (DrawingWand *wand) |
WandExport double | DrawGetTextInterlineSpacing (DrawingWand *wand) |
WandExport double | DrawGetTextInterwordSpacing (DrawingWand *wand) |
WandExport MagickBooleanType | DrawGetTypeMetrics (const DrawingWand *wand, const char *text, MagickBooleanType ignore_newlines, TypeMetric *metrics) |
WandExport char * | DrawGetVectorGraphics (DrawingWand *wand) |
WandExport void | DrawGetTextUnderColor (const DrawingWand *wand, PixelWand *under_color) |
WandExport void | DrawLine (DrawingWand *wand, const double sx, const double sy, const double ex, const double ey) |
WandExport void | DrawPathClose (DrawingWand *wand) |
static void | DrawPathCurveTo (DrawingWand *wand, const PathMode mode, const double x1, const double y1, const double x2, const double y2, const double x, const double y) |
WandExport void | DrawPathCurveToAbsolute (DrawingWand *wand, const double x1, const double y1, const double x2, const double y2, const double x, const double y) |
WandExport void | DrawPathCurveToRelative (DrawingWand *wand, const double x1, const double y1, const double x2, const double y2, const double x, const double y) |
static void | DrawPathCurveToQuadraticBezier (DrawingWand *wand, const PathMode mode, const double x1, double y1, const double x, const double y) |
WandExport void | DrawPathCurveToQuadraticBezierAbsolute (DrawingWand *wand, const double x1, const double y1, const double x, const double y) |
WandExport void | DrawPathCurveToQuadraticBezierRelative (DrawingWand *wand, const double x1, const double y1, const double x, const double y) |
static void | DrawPathCurveToQuadraticBezierSmooth (DrawingWand *wand, const PathMode mode, const double x, const double y) |
WandExport void | DrawPathCurveToQuadraticBezierSmoothAbsolute (DrawingWand *wand, const double x, const double y) |
WandExport void | DrawPathCurveToQuadraticBezierSmoothRelative (DrawingWand *wand, const double x, const double y) |
static void | DrawPathCurveToSmooth (DrawingWand *wand, const PathMode mode, const double x2, const double y2, const double x, const double y) |
WandExport void | DrawPathCurveToSmoothAbsolute (DrawingWand *wand, const double x2, const double y2, const double x, const double y) |
WandExport void | DrawPathCurveToSmoothRelative (DrawingWand *wand, const double x2, const double y2, const double x, const double y) |
static void | DrawPathEllipticArc (DrawingWand *wand, const PathMode mode, const double rx, const double ry, const double x_axis_rotation, const MagickBooleanType large_arc_flag, const MagickBooleanType sweep_flag, const double x, const double y) |
WandExport void | DrawPathEllipticArcAbsolute (DrawingWand *wand, const double rx, const double ry, const double x_axis_rotation, const MagickBooleanType large_arc_flag, const MagickBooleanType sweep_flag, const double x, const double y) |
WandExport void | DrawPathEllipticArcRelative (DrawingWand *wand, const double rx, const double ry, const double x_axis_rotation, const MagickBooleanType large_arc_flag, const MagickBooleanType sweep_flag, const double x, const double y) |
WandExport void | DrawPathFinish (DrawingWand *wand) |
static void | DrawPathLineTo (DrawingWand *wand, const PathMode mode, const double x, const double y) |
WandExport void | DrawPathLineToAbsolute (DrawingWand *wand, const double x, const double y) |
WandExport void | DrawPathLineToRelative (DrawingWand *wand, const double x, const double y) |
static void | DrawPathLineToHorizontal (DrawingWand *wand, const PathMode mode, const double x) |
WandExport void | DrawPathLineToHorizontalAbsolute (DrawingWand *wand, const double x) |
WandExport void | DrawPathLineToHorizontalRelative (DrawingWand *wand, const double x) |
static void | DrawPathLineToVertical (DrawingWand *wand, const PathMode mode, const double y) |
WandExport void | DrawPathLineToVerticalAbsolute (DrawingWand *wand, const double y) |
WandExport void | DrawPathLineToVerticalRelative (DrawingWand *wand, const double y) |
static void | DrawPathMoveTo (DrawingWand *wand, const PathMode mode, const double x, const double y) |
WandExport void | DrawPathMoveToAbsolute (DrawingWand *wand, const double x, const double y) |
WandExport void | DrawPathMoveToRelative (DrawingWand *wand, const double x, const double y) |
WandExport void | DrawPathStart (DrawingWand *wand) |
WandExport void | DrawPoint (DrawingWand *wand, const double x, const double y) |
WandExport void | DrawPolygon (DrawingWand *wand, const size_t number_coordinates, const PointInfo *coordinates) |
WandExport void | DrawPolyline (DrawingWand *wand, const size_t number_coordinates, const PointInfo *coordinates) |
WandExport void | DrawPopClipPath (DrawingWand *wand) |
WandExport void | DrawPopDefs (DrawingWand *wand) |
WandExport MagickBooleanType | DrawPopPattern (DrawingWand *wand) |
WandExport void | DrawPushClipPath (DrawingWand *wand, const char *clip_mask_id) |
WandExport void | DrawPushDefs (DrawingWand *wand) |
WandExport MagickBooleanType | DrawPushPattern (DrawingWand *wand, const char *pattern_id, const double x, const double y, const double width, const double height) |
WandExport void | DrawRectangle (DrawingWand *wand, const double x1, const double y1, const double x2, const double y2) |
WandExport MagickBooleanType | DrawRender (DrawingWand *wand) |
WandExport void | DrawResetVectorGraphics (DrawingWand *wand) |
WandExport void | DrawRotate (DrawingWand *wand, const double degrees) |
WandExport void | DrawRoundRectangle (DrawingWand *wand, double x1, double y1, double x2, double y2, double rx, double ry) |
WandExport void | DrawScale (DrawingWand *wand, const double x, const double y) |
WandExport void | DrawSetBorderColor (DrawingWand *wand, const PixelWand *border_wand) |
WandExport MagickBooleanType | DrawSetClipPath (DrawingWand *wand, const char *clip_mask) |
WandExport void | DrawSetClipRule (DrawingWand *wand, const FillRule fill_rule) |
WandExport void | DrawSetClipUnits (DrawingWand *wand, const ClipPathUnits clip_units) |
WandExport MagickBooleanType | DrawSetDensity (DrawingWand *wand, const char *density) |
WandExport void | DrawSetFillColor (DrawingWand *wand, const PixelWand *fill_wand) |
WandExport void | DrawSetFillOpacity (DrawingWand *wand, const double fill_opacity) |
WandExport MagickBooleanType | DrawSetFontResolution (DrawingWand *wand, const double x_resolution, const double y_resolution) |
WandExport void | DrawSetOpacity (DrawingWand *wand, const double opacity) |
WandExport MagickBooleanType | DrawSetFillPatternURL (DrawingWand *wand, const char *fill_url) |
WandExport void | DrawSetFillRule (DrawingWand *wand, const FillRule fill_rule) |
WandExport MagickBooleanType | DrawSetFont (DrawingWand *wand, const char *font_name) |
WandExport MagickBooleanType | DrawSetFontFamily (DrawingWand *wand, const char *font_family) |
WandExport void | DrawSetFontSize (DrawingWand *wand, const double pointsize) |
WandExport void | DrawSetFontStretch (DrawingWand *wand, const StretchType font_stretch) |
WandExport void | DrawSetFontStyle (DrawingWand *wand, const StyleType style) |
WandExport void | DrawSetFontWeight (DrawingWand *wand, const size_t font_weight) |
WandExport void | DrawSetGravity (DrawingWand *wand, const GravityType gravity) |
WandExport void | DrawSetStrokeColor (DrawingWand *wand, const PixelWand *stroke_wand) |
WandExport MagickBooleanType | DrawSetStrokePatternURL (DrawingWand *wand, const char *stroke_url) |
WandExport void | DrawSetStrokeAntialias (DrawingWand *wand, const MagickBooleanType stroke_antialias) |
WandExport MagickBooleanType | DrawSetStrokeDashArray (DrawingWand *wand, const size_t number_elements, const double *dasharray) |
WandExport void | DrawSetStrokeDashOffset (DrawingWand *wand, const double dash_offset) |
WandExport void | DrawSetStrokeLineCap (DrawingWand *wand, const LineCap linecap) |
WandExport void | DrawSetStrokeLineJoin (DrawingWand *wand, const LineJoin linejoin) |
WandExport void | DrawSetStrokeMiterLimit (DrawingWand *wand, const size_t miterlimit) |
WandExport void | DrawSetStrokeOpacity (DrawingWand *wand, const double opacity) |
WandExport void | DrawSetStrokeWidth (DrawingWand *wand, const double stroke_width) |
WandExport void | DrawSetTextAlignment (DrawingWand *wand, const AlignType alignment) |
WandExport void | DrawSetTextAntialias (DrawingWand *wand, const MagickBooleanType text_antialias) |
WandExport void | DrawSetTextDecoration (DrawingWand *wand, const DecorationType decoration) |
WandExport void | DrawSetTextDirection (DrawingWand *wand, const DirectionType direction) |
WandExport void | DrawSetTextEncoding (DrawingWand *wand, const char *encoding) |
WandExport void | DrawSetTextKerning (DrawingWand *wand, const double kerning) |
WandExport void | DrawSetTextInterlineSpacing (DrawingWand *wand, const double interline_spacing) |
WandExport void | DrawSetTextInterwordSpacing (DrawingWand *wand, const double interword_spacing) |
WandExport void | DrawSetTextUnderColor (DrawingWand *wand, const PixelWand *under_wand) |
static MagickBooleanType | IsPoint (const char *point) |
WandExport MagickBooleanType | DrawSetVectorGraphics (DrawingWand *wand, const char *xml) |
WandExport void | DrawSkewX (DrawingWand *wand, const double degrees) |
WandExport void | DrawSkewY (DrawingWand *wand, const double degrees) |
WandExport void | DrawTranslate (DrawingWand *wand, const double x, const double y) |
WandExport void | DrawSetViewbox (DrawingWand *wand, const double x1, const double y1, const double x2, const double y2) |
WandExport MagickBooleanType | IsDrawingWand (const DrawingWand *wand) |
WandExport DrawingWand * | NewDrawingWand (void) |
WandExport DrawInfo * | PeekDrawingWand (const DrawingWand *wand) |
WandExport MagickBooleanType | PopDrawingWand (DrawingWand *wand) |
WandExport MagickBooleanType | PushDrawingWand (DrawingWand *wand) |
#define CurrentContext (wand->graphic_context[wand->index]) |
Definition at line 61 of file drawing-wand.c.
#define DRAW_BINARY_IMPLEMENTATION 0 |
Definition at line 59 of file drawing-wand.c.
#define DrawingWandId "DrawingWand" |
Definition at line 62 of file drawing-wand.c.
#define ThrowDrawException | ( | severity, | |
tag, | |||
reason | |||
) |
Definition at line 63 of file drawing-wand.c.
enum PathMode |
Enumerator | |
---|---|
DefaultPathMode | |
AbsolutePathMode | |
RelativePathMode |
Definition at line 84 of file drawing-wand.c.
enum PathOperation |
Definition at line 69 of file drawing-wand.c.
WandExport DrawingWand * AcquireDrawingWand | ( | const DrawInfo * | draw_info, |
Image * | image | ||
) |
Definition at line 373 of file drawing-wand.c.
References CurrentContext, _DrawingWand::destroy, _DrawingWand::image, and NewDrawingWand().
|
static |
Definition at line 324 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
Referenced by DrawAffine(), and DrawSetClipUnits().
WandExport void ClearDrawingWand | ( | DrawingWand * | wand | ) |
Definition at line 416 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, DefaultPathMode, _DrawingWand::destroy, _DrawingWand::exception, _DrawingWand::filter_off, _DrawingWand::graphic_context, _DrawingWand::image, _DrawingWand::indent_depth, _DrawingWand::index, MagickWandSignature, _DrawingWand::mvg, _DrawingWand::mvg_alloc, _DrawingWand::mvg_length, _DrawingWand::mvg_width, _DrawingWand::name, _DrawingWand::path_mode, _DrawingWand::path_operation, PathDefaultOperation, _DrawingWand::pattern_bounds, _DrawingWand::pattern_id, _DrawingWand::pattern_offset, _DrawingWand::signature, and ThrowDrawException.
WandExport DrawingWand * CloneDrawingWand | ( | const DrawingWand * | wand | ) |
Definition at line 486 of file drawing-wand.c.
References AcquireWandId(), _DrawingWand::debug, _DrawingWand::destroy, _DrawingWand::exception, _DrawingWand::filter_off, _DrawingWand::graphic_context, _DrawingWand::id, _DrawingWand::image, _DrawingWand::indent_depth, _DrawingWand::index, MagickPathExtent, MagickWandSignature, _DrawingWand::mvg, _DrawingWand::mvg_alloc, _DrawingWand::mvg_length, _DrawingWand::mvg_width, _DrawingWand::name, _DrawingWand::path_mode, _DrawingWand::path_operation, _DrawingWand::pattern_bounds, _DrawingWand::pattern_id, _DrawingWand::pattern_offset, _DrawingWand::signature, and ThrowWandFatalException.
WandExport DrawingWand * DestroyDrawingWand | ( | DrawingWand * | wand | ) |
Definition at line 564 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::destroy, _DrawingWand::exception, _DrawingWand::graphic_context, _DrawingWand::id, _DrawingWand::image, _DrawingWand::index, MagickWandSignature, _DrawingWand::mvg, _DrawingWand::name, _DrawingWand::pattern_id, RelinquishWandId(), and _DrawingWand::signature.
WandExport void DrawAffine | ( | DrawingWand * | wand, |
const AffineMatrix * | affine | ||
) |
Definition at line 614 of file drawing-wand.c.
References AdjustAffine(), _DrawingWand::debug, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawAlpha | ( | DrawingWand * | wand, |
const double | x, | ||
const double | y, | ||
const PaintMethod | paint_method | ||
) |
Definition at line 663 of file drawing-wand.c.
References _DrawingWand::debug, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawAnnotation | ( | DrawingWand * | wand, |
const double | x, | ||
const double | y, | ||
const unsigned char * | text | ||
) |
Definition at line 703 of file drawing-wand.c.
References _DrawingWand::debug, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawArc | ( | DrawingWand * | wand, |
const double | sx, | ||
const double | sy, | ||
const double | ex, | ||
const double | ey, | ||
const double | sd, | ||
const double | ed | ||
) |
Definition at line 758 of file drawing-wand.c.
References _DrawingWand::debug, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawBezier | ( | DrawingWand * | wand, |
const size_t | number_coordinates, | ||
const PointInfo * | coordinates | ||
) |
Definition at line 796 of file drawing-wand.c.
References _DrawingWand::debug, MagickWandSignature, MVGAppendPointsCommand(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawCircle | ( | DrawingWand * | wand, |
const double | ox, | ||
const double | oy, | ||
const double | px, | ||
const double | py | ||
) |
Definition at line 838 of file drawing-wand.c.
References _DrawingWand::debug, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport MagickBooleanType DrawClearException | ( | DrawingWand * | wand | ) |
Definition at line 870 of file drawing-wand.c.
References _DrawingWand::debug, _DrawingWand::exception, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport ExceptionInfo * DrawCloneExceptionInfo | ( | const DrawingWand * | wand | ) |
Definition at line 902 of file drawing-wand.c.
References _DrawingWand::exception, MagickWandSignature, and _DrawingWand::signature.
WandExport void DrawColor | ( | DrawingWand * | wand, |
const double | x, | ||
const double | y, | ||
const PaintMethod | paint_method | ||
) |
Definition at line 947 of file drawing-wand.c.
References _DrawingWand::debug, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawComment | ( | DrawingWand * | wand, |
const char * | comment | ||
) |
Definition at line 1106 of file drawing-wand.c.
References MVGPrintf().
WandExport MagickBooleanType DrawComposite | ( | DrawingWand * | wand, |
const CompositeOperator | compose, | ||
const double | x, | ||
const double | y, | ||
const double | width, | ||
const double | height, | ||
MagickWand * | magick_wand | ||
) |
Definition at line 999 of file drawing-wand.c.
References _DrawingWand::debug, _DrawingWand::exception, GetImageFromMagickWand(), MagickPathExtent, MagickWandSignature, MVGPrintf(), _DrawingWand::name, _DrawingWand::signature, and ThrowDrawException.
WandExport void DrawEllipse | ( | DrawingWand * | wand, |
const double | ox, | ||
const double | oy, | ||
const double | rx, | ||
const double | ry, | ||
const double | start, | ||
const double | end | ||
) |
Definition at line 1146 of file drawing-wand.c.
References _DrawingWand::debug, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawGetBorderColor | ( | const DrawingWand * | wand, |
PixelWand * | border_color | ||
) |
Definition at line 1183 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, PixelSetPixelColor(), and _DrawingWand::signature.
WandExport char * DrawGetClipPath | ( | const DrawingWand * | wand | ) |
Definition at line 1217 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport FillRule DrawGetClipRule | ( | const DrawingWand * | wand | ) |
Definition at line 1251 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport ClipPathUnits DrawGetClipUnits | ( | const DrawingWand * | wand | ) |
Definition at line 1282 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport char * DrawGetDensity | ( | const DrawingWand * | wand | ) |
Definition at line 1314 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport char * DrawGetException | ( | const DrawingWand * | wand, |
ExceptionType * | severity | ||
) |
Definition at line 1351 of file drawing-wand.c.
References _DrawingWand::debug, _DrawingWand::exception, MagickPathExtent, MagickWandSignature, _DrawingWand::name, _DrawingWand::signature, and ThrowWandFatalException.
WandExport ExceptionType DrawGetExceptionType | ( | const DrawingWand * | wand | ) |
Definition at line 1407 of file drawing-wand.c.
References _DrawingWand::debug, _DrawingWand::exception, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawGetFillColor | ( | const DrawingWand * | wand, |
PixelWand * | fill_color | ||
) |
Definition at line 1441 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, PixelSetPixelColor(), and _DrawingWand::signature.
Referenced by MagickMontageImage().
WandExport double DrawGetFillOpacity | ( | const DrawingWand * | wand | ) |
Definition at line 1474 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport FillRule DrawGetFillRule | ( | const DrawingWand * | wand | ) |
Definition at line 1509 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport char * DrawGetFont | ( | const DrawingWand * | wand | ) |
Definition at line 1542 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
Referenced by MagickMontageImage().
WandExport char * DrawGetFontFamily | ( | const DrawingWand * | wand | ) |
Definition at line 1576 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport MagickBooleanType DrawGetFontResolution | ( | const DrawingWand * | wand, |
double * | x, | ||
double * | y | ||
) |
Definition at line 1614 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport double DrawGetFontSize | ( | const DrawingWand * | wand | ) |
Definition at line 1662 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
Referenced by MagickMontageImage().
WandExport StretchType DrawGetFontStretch | ( | const DrawingWand * | wand | ) |
Definition at line 1693 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport StyleType DrawGetFontStyle | ( | const DrawingWand * | wand | ) |
Definition at line 1724 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport size_t DrawGetFontWeight | ( | const DrawingWand * | wand | ) |
Definition at line 1755 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport GravityType DrawGetGravity | ( | const DrawingWand * | wand | ) |
Definition at line 1787 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport double DrawGetOpacity | ( | const DrawingWand * | wand | ) |
Definition at line 1819 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport MagickBooleanType DrawGetStrokeAntialias | ( | const DrawingWand * | wand | ) |
Definition at line 1857 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawGetStrokeColor | ( | const DrawingWand * | wand, |
PixelWand * | stroke_color | ||
) |
Definition at line 1891 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, PixelSetPixelColor(), and _DrawingWand::signature.
Referenced by MagickMontageImage().
WandExport double * DrawGetStrokeDashArray | ( | const DrawingWand * | wand, |
size_t * | number_elements | ||
) |
Definition at line 1929 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport double DrawGetStrokeDashOffset | ( | const DrawingWand * | wand | ) |
Definition at line 1998 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport LineCap DrawGetStrokeLineCap | ( | const DrawingWand * | wand | ) |
Definition at line 2031 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport LineJoin DrawGetStrokeLineJoin | ( | const DrawingWand * | wand | ) |
Definition at line 2065 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport size_t DrawGetStrokeMiterLimit | ( | const DrawingWand * | wand | ) |
Definition at line 2100 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport double DrawGetStrokeOpacity | ( | const DrawingWand * | wand | ) |
Definition at line 2131 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport double DrawGetStrokeWidth | ( | const DrawingWand * | wand | ) |
Definition at line 2167 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport AlignType DrawGetTextAlignment | ( | const DrawingWand * | wand | ) |
Definition at line 2199 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport MagickBooleanType DrawGetTextAntialias | ( | const DrawingWand * | wand | ) |
Definition at line 2231 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport DecorationType DrawGetTextDecoration | ( | const DrawingWand * | wand | ) |
Definition at line 2263 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport DirectionType DrawGetTextDirection | ( | const DrawingWand * | wand | ) |
Definition at line 2295 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport char * DrawGetTextEncoding | ( | const DrawingWand * | wand | ) |
Definition at line 2328 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport double DrawGetTextInterlineSpacing | ( | DrawingWand * | wand | ) |
Definition at line 2393 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport double DrawGetTextInterwordSpacing | ( | DrawingWand * | wand | ) |
Definition at line 2424 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport double DrawGetTextKerning | ( | DrawingWand * | wand | ) |
Definition at line 2361 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawGetTextUnderColor | ( | const DrawingWand * | wand, |
PixelWand * | under_color | ||
) |
Definition at line 2786 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::name, PixelSetPixelColor(), and _DrawingWand::signature.
WandExport MagickBooleanType DrawGetTypeMetrics | ( | const DrawingWand * | wand, |
const char * | text, | ||
MagickBooleanType | ignore_newlines, | ||
TypeMetric * | metrics | ||
) |
Definition at line 2482 of file drawing-wand.c.
References _DrawingWand::debug, _DrawingWand::exception, _DrawingWand::image, MagickWandSignature, _DrawingWand::name, PeekDrawingWand(), and _DrawingWand::signature.
WandExport char * DrawGetVectorGraphics | ( | DrawingWand * | wand | ) |
Definition at line 2533 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::image, MagickPathExtent, MagickWandSignature, _DrawingWand::mvg, _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawLine | ( | DrawingWand * | wand, |
const double | sx, | ||
const double | sy, | ||
const double | ex, | ||
const double | ey | ||
) |
Definition at line 2829 of file drawing-wand.c.
References _DrawingWand::debug, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawPathClose | ( | DrawingWand * | wand | ) |
Definition at line 2864 of file drawing-wand.c.
References AbsolutePathMode, _DrawingWand::debug, MagickWandSignature, MVGAutoWrapPrintf(), _DrawingWand::name, _DrawingWand::path_mode, and _DrawingWand::signature.
|
static |
Definition at line 2915 of file drawing-wand.c.
References AbsolutePathMode, _DrawingWand::debug, MagickWandSignature, MVGAutoWrapPrintf(), _DrawingWand::name, _DrawingWand::path_mode, _DrawingWand::path_operation, PathCurveToOperation, and _DrawingWand::signature.
Referenced by DrawPathCurveToAbsolute(), and DrawPathCurveToRelative().
WandExport void DrawPathCurveToAbsolute | ( | DrawingWand * | wand, |
const double | x1, | ||
const double | y1, | ||
const double | x2, | ||
const double | y2, | ||
const double | x, | ||
const double | y | ||
) |
Definition at line 2936 of file drawing-wand.c.
References AbsolutePathMode, _DrawingWand::debug, DrawPathCurveTo(), MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
|
static |
Definition at line 3031 of file drawing-wand.c.
References AbsolutePathMode, _DrawingWand::debug, MagickWandSignature, MVGAutoWrapPrintf(), _DrawingWand::name, _DrawingWand::path_mode, _DrawingWand::path_operation, PathCurveToQuadraticBezierOperation, and _DrawingWand::signature.
Referenced by DrawPathCurveToQuadraticBezierAbsolute(), and DrawPathCurveToQuadraticBezierRelative().
WandExport void DrawPathCurveToQuadraticBezierAbsolute | ( | DrawingWand * | wand, |
const double | x1, | ||
const double | y1, | ||
const double | x, | ||
const double | y | ||
) |
Definition at line 3050 of file drawing-wand.c.
References AbsolutePathMode, _DrawingWand::debug, DrawPathCurveToQuadraticBezier(), MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawPathCurveToQuadraticBezierRelative | ( | DrawingWand * | wand, |
const double | x1, | ||
const double | y1, | ||
const double | x, | ||
const double | y | ||
) |
Definition at line 3094 of file drawing-wand.c.
References _DrawingWand::debug, DrawPathCurveToQuadraticBezier(), MagickWandSignature, _DrawingWand::name, RelativePathMode, and _DrawingWand::signature.
|
static |
Definition at line 3143 of file drawing-wand.c.
References AbsolutePathMode, _DrawingWand::debug, MagickWandSignature, MVGAutoWrapPrintf(), _DrawingWand::name, _DrawingWand::path_mode, _DrawingWand::path_operation, PathCurveToQuadraticBezierSmoothOperation, and _DrawingWand::signature.
Referenced by DrawPathCurveToQuadraticBezierSmoothAbsolute(), and DrawPathCurveToQuadraticBezierSmoothRelative().
WandExport void DrawPathCurveToQuadraticBezierSmoothAbsolute | ( | DrawingWand * | wand, |
const double | x, | ||
const double | y | ||
) |
Definition at line 3162 of file drawing-wand.c.
References AbsolutePathMode, _DrawingWand::debug, DrawPathCurveToQuadraticBezierSmooth(), MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawPathCurveToQuadraticBezierSmoothRelative | ( | DrawingWand * | wand, |
const double | x, | ||
const double | y | ||
) |
Definition at line 3209 of file drawing-wand.c.
References DrawPathCurveToQuadraticBezierSmooth(), and RelativePathMode.
WandExport void DrawPathCurveToRelative | ( | DrawingWand * | wand, |
const double | x1, | ||
const double | y1, | ||
const double | x2, | ||
const double | y2, | ||
const double | x, | ||
const double | y | ||
) |
Definition at line 2986 of file drawing-wand.c.
References _DrawingWand::debug, DrawPathCurveTo(), MagickWandSignature, _DrawingWand::name, RelativePathMode, and _DrawingWand::signature.
|
static |
Definition at line 3257 of file drawing-wand.c.
References AbsolutePathMode, _DrawingWand::debug, MagickWandSignature, MVGAutoWrapPrintf(), _DrawingWand::name, _DrawingWand::path_mode, _DrawingWand::path_operation, PathCurveToSmoothOperation, and _DrawingWand::signature.
Referenced by DrawPathCurveToSmoothAbsolute(), and DrawPathCurveToSmoothRelative().
WandExport void DrawPathCurveToSmoothAbsolute | ( | DrawingWand * | wand, |
const double | x2, | ||
const double | y2, | ||
const double | x, | ||
const double | y | ||
) |
Definition at line 3276 of file drawing-wand.c.
References AbsolutePathMode, _DrawingWand::debug, DrawPathCurveToSmooth(), MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawPathCurveToSmoothRelative | ( | DrawingWand * | wand, |
const double | x2, | ||
const double | y2, | ||
const double | x, | ||
const double | y | ||
) |
Definition at line 3326 of file drawing-wand.c.
References _DrawingWand::debug, DrawPathCurveToSmooth(), MagickWandSignature, _DrawingWand::name, RelativePathMode, and _DrawingWand::signature.
|
static |
Definition at line 3385 of file drawing-wand.c.
References AbsolutePathMode, _DrawingWand::debug, MagickWandSignature, MVGAutoWrapPrintf(), _DrawingWand::name, _DrawingWand::path_mode, _DrawingWand::path_operation, PathEllipticArcOperation, and _DrawingWand::signature.
Referenced by DrawPathEllipticArcAbsolute(), and DrawPathEllipticArcRelative().
WandExport void DrawPathEllipticArcAbsolute | ( | DrawingWand * | wand, |
const double | rx, | ||
const double | ry, | ||
const double | x_axis_rotation, | ||
const MagickBooleanType | large_arc_flag, | ||
const MagickBooleanType | sweep_flag, | ||
const double | x, | ||
const double | y | ||
) |
Definition at line 3408 of file drawing-wand.c.
References AbsolutePathMode, _DrawingWand::debug, DrawPathEllipticArc(), MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawPathEllipticArcRelative | ( | DrawingWand * | wand, |
const double | rx, | ||
const double | ry, | ||
const double | x_axis_rotation, | ||
const MagickBooleanType | large_arc_flag, | ||
const MagickBooleanType | sweep_flag, | ||
const double | x, | ||
const double | y | ||
) |
Definition at line 3468 of file drawing-wand.c.
References DrawPathEllipticArc(), and RelativePathMode.
WandExport void DrawPathFinish | ( | DrawingWand * | wand | ) |
Definition at line 3499 of file drawing-wand.c.
References _DrawingWand::debug, DefaultPathMode, MagickWandSignature, MVGPrintf(), _DrawingWand::name, _DrawingWand::path_mode, _DrawingWand::path_operation, PathDefaultOperation, and _DrawingWand::signature.
|
static |
Definition at line 3539 of file drawing-wand.c.
References AbsolutePathMode, _DrawingWand::debug, MagickWandSignature, MVGAutoWrapPrintf(), _DrawingWand::name, _DrawingWand::path_mode, _DrawingWand::path_operation, PathLineToOperation, and _DrawingWand::signature.
Referenced by DrawPathLineToAbsolute(), and DrawPathLineToRelative().
WandExport void DrawPathLineToAbsolute | ( | DrawingWand * | wand, |
const double | x, | ||
const double | y | ||
) |
Definition at line 3558 of file drawing-wand.c.
References AbsolutePathMode, _DrawingWand::debug, DrawPathLineTo(), MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
|
static |
Definition at line 3634 of file drawing-wand.c.
References AbsolutePathMode, _DrawingWand::debug, MagickWandSignature, MVGAutoWrapPrintf(), _DrawingWand::name, _DrawingWand::path_mode, _DrawingWand::path_operation, PathLineToHorizontalOperation, and _DrawingWand::signature.
Referenced by DrawPathLineToHorizontalAbsolute(), and DrawPathLineToHorizontalRelative().
WandExport void DrawPathLineToHorizontalAbsolute | ( | DrawingWand * | wand, |
const double | x | ||
) |
Definition at line 3653 of file drawing-wand.c.
References AbsolutePathMode, _DrawingWand::debug, DrawPathLineToHorizontal(), MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawPathLineToHorizontalRelative | ( | DrawingWand * | wand, |
const double | x | ||
) |
Definition at line 3690 of file drawing-wand.c.
References DrawPathLineToHorizontal(), and RelativePathMode.
WandExport void DrawPathLineToRelative | ( | DrawingWand * | wand, |
const double | x, | ||
const double | y | ||
) |
Definition at line 3597 of file drawing-wand.c.
References _DrawingWand::debug, DrawPathLineTo(), MagickWandSignature, _DrawingWand::name, RelativePathMode, and _DrawingWand::signature.
|
static |
Definition at line 3724 of file drawing-wand.c.
References AbsolutePathMode, _DrawingWand::debug, MagickWandSignature, MVGAutoWrapPrintf(), _DrawingWand::name, _DrawingWand::path_mode, _DrawingWand::path_operation, PathLineToVerticalOperation, and _DrawingWand::signature.
Referenced by DrawPathLineToVerticalAbsolute(), and DrawPathLineToVerticalRelative().
WandExport void DrawPathLineToVerticalAbsolute | ( | DrawingWand * | wand, |
const double | y | ||
) |
Definition at line 3743 of file drawing-wand.c.
References AbsolutePathMode, _DrawingWand::debug, DrawPathLineToVertical(), MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawPathLineToVerticalRelative | ( | DrawingWand * | wand, |
const double | y | ||
) |
Definition at line 3779 of file drawing-wand.c.
References _DrawingWand::debug, DrawPathLineToVertical(), MagickWandSignature, _DrawingWand::name, RelativePathMode, and _DrawingWand::signature.
|
static |
Definition at line 3817 of file drawing-wand.c.
References AbsolutePathMode, _DrawingWand::debug, MagickWandSignature, MVGAutoWrapPrintf(), _DrawingWand::name, _DrawingWand::path_mode, _DrawingWand::path_operation, PathMoveToOperation, and _DrawingWand::signature.
Referenced by DrawPathMoveToAbsolute(), and DrawPathMoveToRelative().
WandExport void DrawPathMoveToAbsolute | ( | DrawingWand * | wand, |
const double | x, | ||
const double | y | ||
) |
Definition at line 3836 of file drawing-wand.c.
References AbsolutePathMode, _DrawingWand::debug, DrawPathMoveTo(), MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawPathMoveToRelative | ( | DrawingWand * | wand, |
const double | x, | ||
const double | y | ||
) |
Definition at line 3875 of file drawing-wand.c.
References _DrawingWand::debug, DrawPathMoveTo(), MagickWandSignature, _DrawingWand::name, RelativePathMode, and _DrawingWand::signature.
WandExport void DrawPathStart | ( | DrawingWand * | wand | ) |
Definition at line 3911 of file drawing-wand.c.
References _DrawingWand::debug, DefaultPathMode, MagickWandSignature, MVGPrintf(), _DrawingWand::name, _DrawingWand::path_mode, _DrawingWand::path_operation, PathDefaultOperation, and _DrawingWand::signature.
WandExport void DrawPoint | ( | DrawingWand * | wand, |
const double | x, | ||
const double | y | ||
) |
Definition at line 3948 of file drawing-wand.c.
References _DrawingWand::debug, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawPolygon | ( | DrawingWand * | wand, |
const size_t | number_coordinates, | ||
const PointInfo * | coordinates | ||
) |
Definition at line 3985 of file drawing-wand.c.
References _DrawingWand::debug, MagickWandSignature, MVGAppendPointsCommand(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawPolyline | ( | DrawingWand * | wand, |
const size_t | number_coordinates, | ||
const PointInfo * | coordinates | ||
) |
Definition at line 4023 of file drawing-wand.c.
References _DrawingWand::debug, MagickWandSignature, MVGAppendPointsCommand(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawPopClipPath | ( | DrawingWand * | wand | ) |
Definition at line 4055 of file drawing-wand.c.
References _DrawingWand::debug, _DrawingWand::indent_depth, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawPopDefs | ( | DrawingWand * | wand | ) |
Definition at line 4088 of file drawing-wand.c.
References _DrawingWand::debug, _DrawingWand::indent_depth, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport MagickBooleanType DrawPopPattern | ( | DrawingWand * | wand | ) |
Definition at line 4121 of file drawing-wand.c.
References _DrawingWand::debug, _DrawingWand::filter_off, _DrawingWand::image, _DrawingWand::indent_depth, MagickPathExtent, MagickWandSignature, _DrawingWand::mvg, MVGPrintf(), _DrawingWand::name, _DrawingWand::pattern_bounds, _DrawingWand::pattern_id, _DrawingWand::pattern_offset, _DrawingWand::signature, and ThrowDrawException.
WandExport void DrawPushClipPath | ( | DrawingWand * | wand, |
const char * | clip_mask_id | ||
) |
Definition at line 4184 of file drawing-wand.c.
References _DrawingWand::debug, _DrawingWand::indent_depth, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawPushDefs | ( | DrawingWand * | wand | ) |
Definition at line 4219 of file drawing-wand.c.
References _DrawingWand::debug, _DrawingWand::indent_depth, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport MagickBooleanType DrawPushPattern | ( | DrawingWand * | wand, |
const char * | pattern_id, | ||
const double | x, | ||
const double | y, | ||
const double | width, | ||
const double | height | ||
) |
Definition at line 4268 of file drawing-wand.c.
References _DrawingWand::debug, _DrawingWand::filter_off, _DrawingWand::indent_depth, MagickWandSignature, _DrawingWand::mvg_length, MVGPrintf(), _DrawingWand::name, _DrawingWand::pattern_bounds, _DrawingWand::pattern_id, _DrawingWand::pattern_offset, _DrawingWand::signature, and ThrowDrawException.
WandExport void DrawRectangle | ( | DrawingWand * | wand, |
const double | x1, | ||
const double | y1, | ||
const double | x2, | ||
const double | y2 | ||
) |
Definition at line 4326 of file drawing-wand.c.
References _DrawingWand::debug, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport MagickBooleanType DrawRender | ( | DrawingWand * | wand | ) |
Definition at line 4361 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::exception, _DrawingWand::image, MagickWandSignature, _DrawingWand::mvg, _DrawingWand::name, _DrawingWand::signature, and ThrowDrawException.
WandExport void DrawResetVectorGraphics | ( | DrawingWand * | wand | ) |
Definition at line 4403 of file drawing-wand.c.
References _DrawingWand::debug, MagickWandSignature, _DrawingWand::mvg, _DrawingWand::mvg_alloc, _DrawingWand::mvg_length, _DrawingWand::mvg_width, _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawRotate | ( | DrawingWand * | wand, |
const double | degrees | ||
) |
Definition at line 4440 of file drawing-wand.c.
References _DrawingWand::debug, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawRoundRectangle | ( | DrawingWand * | wand, |
double | x1, | ||
double | y1, | ||
double | x2, | ||
double | y2, | ||
double | rx, | ||
double | ry | ||
) |
Definition at line 4486 of file drawing-wand.c.
References _DrawingWand::debug, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawScale | ( | DrawingWand * | wand, |
const double | x, | ||
const double | y | ||
) |
Definition at line 4524 of file drawing-wand.c.
References _DrawingWand::debug, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawSetBorderColor | ( | DrawingWand * | wand, |
const PixelWand * | border_wand | ||
) |
Definition at line 4558 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::filter_off, MagickWandSignature, MVGAppendColor(), MVGPrintf(), _DrawingWand::name, PixelGetQuantumPacket(), and _DrawingWand::signature.
WandExport MagickBooleanType DrawSetClipPath | ( | DrawingWand * | wand, |
const char * | clip_mask | ||
) |
Definition at line 4611 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::exception, _DrawingWand::filter_off, _DrawingWand::image, MagickWandSignature, MVGPrintf(), _DrawingWand::name, _DrawingWand::signature, and ThrowDrawException.
WandExport void DrawSetClipRule | ( | DrawingWand * | wand, |
const FillRule | fill_rule | ||
) |
Definition at line 4659 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::filter_off, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawSetClipUnits | ( | DrawingWand * | wand, |
const ClipPathUnits | clip_units | ||
) |
Definition at line 4700 of file drawing-wand.c.
References AdjustAffine(), CurrentContext, _DrawingWand::debug, _DrawingWand::filter_off, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport MagickBooleanType DrawSetDensity | ( | DrawingWand * | wand, |
const char * | density | ||
) |
Definition at line 4753 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::filter_off, MagickWandSignature, MVGPrintf(), and _DrawingWand::signature.
WandExport void DrawSetFillColor | ( | DrawingWand * | wand, |
const PixelWand * | fill_wand | ||
) |
Definition at line 4795 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::filter_off, MagickWandSignature, MVGAppendColor(), MVGPrintf(), _DrawingWand::name, PixelGetQuantumPacket(), and _DrawingWand::signature.
WandExport void DrawSetFillOpacity | ( | DrawingWand * | wand, |
const double | fill_opacity | ||
) |
Definition at line 4845 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::filter_off, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport MagickBooleanType DrawSetFillPatternURL | ( | DrawingWand * | wand, |
const char * | fill_url | ||
) |
Definition at line 4977 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::exception, _DrawingWand::image, MagickPathExtent, MagickWandSignature, MVGPrintf(), _DrawingWand::name, _DrawingWand::signature, and ThrowDrawException.
WandExport void DrawSetFillRule | ( | DrawingWand * | wand, |
const FillRule | fill_rule | ||
) |
Definition at line 5037 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::filter_off, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport MagickBooleanType DrawSetFont | ( | DrawingWand * | wand, |
const char * | font_name | ||
) |
Definition at line 5077 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::filter_off, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport MagickBooleanType DrawSetFontFamily | ( | DrawingWand * | wand, |
const char * | font_family | ||
) |
Definition at line 5120 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::filter_off, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport MagickBooleanType DrawSetFontResolution | ( | DrawingWand * | wand, |
const double | x_resolution, | ||
const double | y_resolution | ||
) |
Definition at line 4890 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickPathExtent, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawSetFontSize | ( | DrawingWand * | wand, |
const double | pointsize | ||
) |
Definition at line 5162 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::filter_off, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawSetFontStretch | ( | DrawingWand * | wand, |
const StretchType | font_stretch | ||
) |
Definition at line 5205 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::filter_off, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawSetFontStyle | ( | DrawingWand * | wand, |
const StyleType | style | ||
) |
Definition at line 5246 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::filter_off, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawSetFontWeight | ( | DrawingWand * | wand, |
const size_t | font_weight | ||
) |
Definition at line 5286 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::filter_off, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawSetGravity | ( | DrawingWand * | wand, |
const GravityType | gravity | ||
) |
Definition at line 5329 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::filter_off, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawSetOpacity | ( | DrawingWand * | wand, |
const double | opacity | ||
) |
Definition at line 4931 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::filter_off, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawSetStrokeAntialias | ( | DrawingWand * | wand, |
const MagickBooleanType | stroke_antialias | ||
) |
Definition at line 5481 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::filter_off, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawSetStrokeColor | ( | DrawingWand * | wand, |
const PixelWand * | stroke_wand | ||
) |
Definition at line 5369 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::filter_off, MagickWandSignature, MVGAppendColor(), MVGPrintf(), _DrawingWand::name, PixelGetQuantumPacket(), and _DrawingWand::signature.
WandExport MagickBooleanType DrawSetStrokeDashArray | ( | DrawingWand * | wand, |
const size_t | number_elements, | ||
const double * | dasharray | ||
) |
Definition at line 5530 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::filter_off, MagickWandSignature, MVGPrintf(), _DrawingWand::name, _DrawingWand::signature, and ThrowDrawException.
WandExport void DrawSetStrokeDashOffset | ( | DrawingWand * | wand, |
const double | dash_offset | ||
) |
Definition at line 5651 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::filter_off, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawSetStrokeLineCap | ( | DrawingWand * | wand, |
const LineCap | linecap | ||
) |
Definition at line 5693 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::filter_off, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawSetStrokeLineJoin | ( | DrawingWand * | wand, |
const LineJoin | linejoin | ||
) |
Definition at line 5734 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::filter_off, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawSetStrokeMiterLimit | ( | DrawingWand * | wand, |
const size_t | miterlimit | ||
) |
Definition at line 5778 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawSetStrokeOpacity | ( | DrawingWand * | wand, |
const double | opacity | ||
) |
Definition at line 5817 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::filter_off, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport MagickBooleanType DrawSetStrokePatternURL | ( | DrawingWand * | wand, |
const char * | stroke_url | ||
) |
Definition at line 5420 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::exception, _DrawingWand::image, MagickPathExtent, MagickWandSignature, MVGPrintf(), _DrawingWand::name, _DrawingWand::signature, and ThrowDrawException.
WandExport void DrawSetStrokeWidth | ( | DrawingWand * | wand, |
const double | stroke_width | ||
) |
Definition at line 5862 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::filter_off, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawSetTextAlignment | ( | DrawingWand * | wand, |
const AlignType | alignment | ||
) |
Definition at line 5902 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::filter_off, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawSetTextAntialias | ( | DrawingWand * | wand, |
const MagickBooleanType | text_antialias | ||
) |
Definition at line 5945 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::filter_off, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawSetTextDecoration | ( | DrawingWand * | wand, |
const DecorationType | decoration | ||
) |
Definition at line 5987 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::filter_off, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawSetTextDirection | ( | DrawingWand * | wand, |
const DirectionType | direction | ||
) |
Definition at line 6030 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::filter_off, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawSetTextEncoding | ( | DrawingWand * | wand, |
const char * | encoding | ||
) |
Definition at line 6076 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::filter_off, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawSetTextInterlineSpacing | ( | DrawingWand * | wand, |
const double | interline_spacing | ||
) |
Definition at line 6156 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::filter_off, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawSetTextInterwordSpacing | ( | DrawingWand * | wand, |
const double | interword_spacing | ||
) |
Definition at line 6198 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::filter_off, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawSetTextKerning | ( | DrawingWand * | wand, |
const double | kerning | ||
) |
Definition at line 6116 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::filter_off, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawSetTextUnderColor | ( | DrawingWand * | wand, |
const PixelWand * | under_wand | ||
) |
Definition at line 6241 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::filter_off, MagickWandSignature, MVGAppendColor(), MVGPrintf(), _DrawingWand::name, PixelGetQuantumPacket(), and _DrawingWand::signature.
WandExport MagickBooleanType DrawSetVectorGraphics | ( | DrawingWand * | wand, |
const char * | xml | ||
) |
Definition at line 6304 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::exception, IsPoint(), MagickPathExtent, MagickWandSignature, _DrawingWand::mvg, _DrawingWand::mvg_alloc, _DrawingWand::mvg_length, _DrawingWand::name, _DrawingWand::signature, and ThrowWandFatalException.
WandExport void DrawSetViewbox | ( | DrawingWand * | wand, |
const double | x1, | ||
const double | y1, | ||
const double | x2, | ||
const double | y2 | ||
) |
Definition at line 6726 of file drawing-wand.c.
References _DrawingWand::debug, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawSkewX | ( | DrawingWand * | wand, |
const double | degrees | ||
) |
Definition at line 6610 of file drawing-wand.c.
References _DrawingWand::debug, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawSkewY | ( | DrawingWand * | wand, |
const double | degrees | ||
) |
Definition at line 6644 of file drawing-wand.c.
References _DrawingWand::debug, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport void DrawTranslate | ( | DrawingWand * | wand, |
const double | x, | ||
const double | y | ||
) |
Definition at line 6682 of file drawing-wand.c.
References _DrawingWand::debug, MagickWandSignature, MVGPrintf(), _DrawingWand::name, and _DrawingWand::signature.
WandExport MagickBooleanType IsDrawingWand | ( | const DrawingWand * | wand | ) |
Definition at line 6758 of file drawing-wand.c.
References DrawingWandId, MagickWandSignature, _DrawingWand::name, and _DrawingWand::signature.
|
inlinestatic |
Definition at line 6291 of file drawing-wand.c.
Referenced by DrawSetVectorGraphics().
|
static |
Definition at line 280 of file drawing-wand.c.
References _DrawingWand::image, MagickPathExtent, and MVGPrintf().
Referenced by DrawSetBorderColor(), DrawSetFillColor(), DrawSetStrokeColor(), and DrawSetTextUnderColor().
|
static |
Definition at line 306 of file drawing-wand.c.
References MVGAutoWrapPrintf(), and MVGPrintf().
Referenced by DrawBezier(), DrawPolygon(), and DrawPolyline().
|
static |
Definition at line 250 of file drawing-wand.c.
References MagickPathExtent, _DrawingWand::mvg_width, MVGPrintf(), and ThrowDrawException.
Referenced by DrawPathClose(), DrawPathCurveTo(), DrawPathCurveToQuadraticBezier(), DrawPathCurveToQuadraticBezierSmooth(), DrawPathCurveToSmooth(), DrawPathEllipticArc(), DrawPathLineTo(), DrawPathLineToHorizontal(), DrawPathLineToVertical(), DrawPathMoveTo(), and MVGAppendPointsCommand().
|
static |
Definition at line 160 of file drawing-wand.c.
References MagickPathExtent, MagickWandSignature, and ThrowDrawException.
Referenced by DrawAffine(), DrawAlpha(), DrawAnnotation(), DrawArc(), DrawCircle(), DrawColor(), DrawComment(), DrawComposite(), DrawEllipse(), DrawLine(), DrawPathFinish(), DrawPathStart(), DrawPoint(), DrawPopClipPath(), DrawPopDefs(), DrawPopPattern(), DrawPushClipPath(), DrawPushDefs(), DrawPushPattern(), DrawRectangle(), DrawRotate(), DrawRoundRectangle(), DrawScale(), DrawSetBorderColor(), DrawSetClipPath(), DrawSetClipRule(), DrawSetClipUnits(), DrawSetDensity(), DrawSetFillColor(), DrawSetFillOpacity(), DrawSetFillPatternURL(), DrawSetFillRule(), DrawSetFont(), DrawSetFontFamily(), DrawSetFontSize(), DrawSetFontStretch(), DrawSetFontStyle(), DrawSetFontWeight(), DrawSetGravity(), DrawSetOpacity(), DrawSetStrokeAntialias(), DrawSetStrokeColor(), DrawSetStrokeDashArray(), DrawSetStrokeDashOffset(), DrawSetStrokeLineCap(), DrawSetStrokeLineJoin(), DrawSetStrokeMiterLimit(), DrawSetStrokeOpacity(), DrawSetStrokePatternURL(), DrawSetStrokeWidth(), DrawSetTextAlignment(), DrawSetTextAntialias(), DrawSetTextDecoration(), DrawSetTextDirection(), DrawSetTextEncoding(), DrawSetTextInterlineSpacing(), DrawSetTextInterwordSpacing(), DrawSetTextKerning(), DrawSetTextUnderColor(), DrawSetViewbox(), DrawSkewX(), DrawSkewY(), DrawTranslate(), MVGAppendColor(), MVGAppendPointsCommand(), MVGAutoWrapPrintf(), PopDrawingWand(), and PushDrawingWand().
WandExport DrawingWand * NewDrawingWand | ( | void | ) |
Definition at line 6788 of file drawing-wand.c.
References AcquireWandId(), CheckMagickCoreCompatibility(), CurrentContext, _DrawingWand::debug, DefaultPathMode, _DrawingWand::destroy, DrawingWandId, _DrawingWand::exception, _DrawingWand::filter_off, _DrawingWand::graphic_context, _DrawingWand::id, _DrawingWand::image, _DrawingWand::indent_depth, _DrawingWand::index, MagickPathExtent, MagickWandSignature, _DrawingWand::mvg, _DrawingWand::mvg_alloc, _DrawingWand::mvg_length, _DrawingWand::mvg_width, _DrawingWand::name, _DrawingWand::path_mode, _DrawingWand::path_operation, PathDefaultOperation, _DrawingWand::pattern_bounds, _DrawingWand::pattern_id, _DrawingWand::pattern_offset, _DrawingWand::signature, and ThrowWandFatalException.
Referenced by AcquireDrawingWand().
WandExport DrawInfo * PeekDrawingWand | ( | const DrawingWand * | wand | ) |
Definition at line 6855 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, MagickWandSignature, _DrawingWand::mvg, _DrawingWand::name, and _DrawingWand::signature.
Referenced by DrawGetTypeMetrics(), MagickAffineTransformImage(), MagickAnnotateImage(), MagickDrawImage(), MagickPolaroidImage(), MagickQueryFontMetrics(), and MagickQueryMultilineFontMetrics().
WandExport MagickBooleanType PopDrawingWand | ( | DrawingWand * | wand | ) |
Definition at line 6894 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::exception, _DrawingWand::graphic_context, _DrawingWand::image, _DrawingWand::indent_depth, _DrawingWand::index, MagickWandSignature, MVGPrintf(), _DrawingWand::name, _DrawingWand::signature, and ThrowDrawException.
WandExport MagickBooleanType PushDrawingWand | ( | DrawingWand * | wand | ) |
Definition at line 6950 of file drawing-wand.c.
References CurrentContext, _DrawingWand::debug, _DrawingWand::graphic_context, _DrawingWand::indent_depth, _DrawingWand::index, MagickWandSignature, MVGPrintf(), _DrawingWand::name, _DrawingWand::signature, and ThrowDrawException.