MagickWand  6.9.7
drawing-wand.c File Reference
#include "wand/studio.h"
#include "wand/MagickWand.h"
#include "wand/magick-wand-private.h"
#include "wand/wand.h"
#include "magick/string-private.h"
Include dependency graph for drawing-wand.c:

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)
 

Enumerations

enum  PathOperation {
  PathDefaultOperation, PathCloseOperation, PathCurveToOperation, PathCurveToQuadraticBezierOperation,
  PathCurveToQuadraticBezierSmoothOperation, PathCurveToSmoothOperation, PathEllipticArcOperation, PathLineToHorizontalOperation,
  PathLineToOperation, PathLineToVerticalOperation, PathMoveToOperation
}
 
enum  PathMode { DefaultPathMode, AbsolutePathMode, RelativePathMode }
 

Functions

static int MVGPrintf (DrawingWand *, wand_attribute((format(const char *,...)
 
static int MVGAutoWrapPrintf (DrawingWand *wand, const char *format,...)
 
static void MVGAppendColor (DrawingWand *wand, const PixelPacket *color)
 
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 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 MagickBooleanType DrawComposite (DrawingWand *wand, const CompositeOperator compose, const double x, const double y, const double width, const double height, MagickWand *magick_wand)
 
WandExport void DrawColor (DrawingWand *wand, const double x, const double y, const PaintMethod paint_method)
 
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)
 
static void SetMagickPixelPacket (const Image *image, const PixelPacket *color, const IndexPacket *index, MagickPixelPacket *pixel)
 
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 DrawMatte (DrawingWand *wand, const double x, const double y, const PaintMethod paint_method)
 
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)
 
static MagickBooleanType IsColorEqual (const PixelPacket *p, const PixelPacket *q)
 
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 stroke_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, ssize_t x1, ssize_t y1, ssize_t x2, ssize_t 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)
 

Macro Definition Documentation

◆ CurrentContext

#define CurrentContext   (wand->graphic_context[wand->index])

Referenced by AcquireDrawingWand(), AdjustAffine(), ClearDrawingWand(), DestroyDrawingWand(), DrawGetBorderColor(), DrawGetClipPath(), DrawGetClipRule(), DrawGetClipUnits(), DrawGetDensity(), DrawGetFillColor(), DrawGetFillOpacity(), DrawGetFillRule(), DrawGetFont(), DrawGetFontFamily(), DrawGetFontResolution(), DrawGetFontSize(), DrawGetFontStretch(), DrawGetFontStyle(), DrawGetFontWeight(), DrawGetGravity(), DrawGetOpacity(), DrawGetStrokeAntialias(), DrawGetStrokeColor(), DrawGetStrokeDashArray(), DrawGetStrokeDashOffset(), DrawGetStrokeLineCap(), DrawGetStrokeLineJoin(), DrawGetStrokeMiterLimit(), DrawGetStrokeOpacity(), DrawGetStrokeWidth(), DrawGetTextAlignment(), DrawGetTextAntialias(), DrawGetTextDecoration(), DrawGetTextDirection(), DrawGetTextEncoding(), DrawGetTextInterlineSpacing(), DrawGetTextInterwordSpacing(), DrawGetTextKerning(), DrawGetTextUnderColor(), DrawGetVectorGraphics(), DrawRender(), DrawSetBorderColor(), DrawSetClipPath(), DrawSetClipRule(), DrawSetClipUnits(), DrawSetDensity(), DrawSetFillColor(), DrawSetFillOpacity(), DrawSetFillPatternURL(), DrawSetFillRule(), DrawSetFont(), DrawSetFontFamily(), DrawSetFontResolution(), 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(), DrawSetVectorGraphics(), NewDrawingWand(), PeekDrawingWand(), PopDrawingWand(), and PushDrawingWand().

◆ DRAW_BINARY_IMPLEMENTATION

#define DRAW_BINARY_IMPLEMENTATION   0

◆ DrawingWandId

#define DrawingWandId   "DrawingWand"

Referenced by IsDrawingWand(), and NewDrawingWand().

◆ ThrowDrawException

#define ThrowDrawException (   severity,
  tag,
  reason 
)
Value:
(void) ThrowMagickException( \
wand->exception,GetMagickModule(),severity,tag,"`%s'",reason);
MagickWand * wand
Definition: wand-view.c:75
ExceptionInfo * exception
Definition: magick-wand-private.h:59

Referenced by ClearDrawingWand(), DrawComposite(), DrawPopPattern(), DrawPushPattern(), DrawRender(), DrawSetClipPath(), DrawSetFillPatternURL(), DrawSetStrokeDashArray(), DrawSetStrokePatternURL(), MVGAutoWrapPrintf(), MVGPrintf(), PopDrawingWand(), and PushDrawingWand().

Enumeration Type Documentation

◆ PathMode

enum PathMode
Enumerator
DefaultPathMode 
AbsolutePathMode 
RelativePathMode 

◆ PathOperation

Enumerator
PathDefaultOperation 
PathCloseOperation 
PathCurveToOperation 
PathCurveToQuadraticBezierOperation 
PathCurveToQuadraticBezierSmoothOperation 
PathCurveToSmoothOperation 
PathEllipticArcOperation 
PathLineToHorizontalOperation 
PathLineToOperation 
PathLineToVerticalOperation 
PathMoveToOperation 

Function Documentation

◆ AcquireDrawingWand()

WandExport DrawingWand* AcquireDrawingWand ( const DrawInfo *  draw_info,
Image *  image 
)

◆ AdjustAffine()

static void AdjustAffine ( DrawingWand *  wand,
const AffineMatrix *  affine 
)
static

◆ ClearDrawingWand()

◆ CloneDrawingWand()

◆ DestroyDrawingWand()

◆ DrawAffine()

WandExport void DrawAffine ( DrawingWand *  wand,
const AffineMatrix *  affine 
)

◆ DrawAnnotation()

WandExport void DrawAnnotation ( DrawingWand *  wand,
const double  x,
const double  y,
const unsigned char *  text 
)

◆ DrawArc()

WandExport void DrawArc ( DrawingWand *  wand,
const double  sx,
const double  sy,
const double  ex,
const double  ey,
const double  sd,
const double  ed 
)

◆ DrawBezier()

WandExport void DrawBezier ( DrawingWand *  wand,
const size_t  number_coordinates,
const PointInfo *  coordinates 
)

◆ DrawCircle()

WandExport void DrawCircle ( DrawingWand *  wand,
const double  ox,
const double  oy,
const double  px,
const double  py 
)

◆ DrawClearException()

◆ DrawColor()

WandExport void DrawColor ( DrawingWand *  wand,
const double  x,
const double  y,
const PaintMethod  paint_method 
)

◆ DrawComment()

WandExport void DrawComment ( DrawingWand *  wand,
const char *  comment 
)

References MVGPrintf().

◆ DrawComposite()

WandExport MagickBooleanType DrawComposite ( DrawingWand *  wand,
const CompositeOperator  compose,
const double  x,
const double  y,
const double  width,
const double  height,
MagickWand *  magick_wand 
)

◆ DrawEllipse()

WandExport void DrawEllipse ( DrawingWand *  wand,
const double  ox,
const double  oy,
const double  rx,
const double  ry,
const double  start,
const double  end 
)

◆ DrawGetBorderColor()

WandExport void DrawGetBorderColor ( const DrawingWand *  wand,
PixelWand *  border_color 
)

◆ DrawGetClipPath()

◆ DrawGetClipRule()

◆ DrawGetClipUnits()

WandExport ClipPathUnits DrawGetClipUnits ( const DrawingWand *  wand)

◆ DrawGetDensity()

WandExport char* DrawGetDensity ( const DrawingWand *  wand)

◆ DrawGetException()

WandExport char* DrawGetException ( const DrawingWand *  wand,
ExceptionType *  severity 
)

◆ DrawGetExceptionType()

WandExport ExceptionType DrawGetExceptionType ( const DrawingWand *  wand)

◆ DrawGetFillColor()

WandExport void DrawGetFillColor ( const DrawingWand *  wand,
PixelWand *  fill_color 
)

◆ DrawGetFillOpacity()

WandExport double DrawGetFillOpacity ( const DrawingWand *  wand)

◆ DrawGetFillRule()

◆ DrawGetFont()

◆ DrawGetFontFamily()

◆ DrawGetFontResolution()

WandExport MagickBooleanType DrawGetFontResolution ( const DrawingWand *  wand,
double *  x,
double *  y 
)

◆ DrawGetFontSize()

◆ DrawGetFontStretch()

WandExport StretchType DrawGetFontStretch ( const DrawingWand *  wand)

◆ DrawGetFontStyle()

WandExport StyleType DrawGetFontStyle ( const DrawingWand *  wand)

◆ DrawGetFontWeight()

◆ DrawGetGravity()

WandExport GravityType DrawGetGravity ( const DrawingWand *  wand)

◆ DrawGetOpacity()

◆ DrawGetStrokeAntialias()

WandExport MagickBooleanType DrawGetStrokeAntialias ( const DrawingWand *  wand)

◆ DrawGetStrokeColor()

WandExport void DrawGetStrokeColor ( const DrawingWand *  wand,
PixelWand *  stroke_color 
)

◆ DrawGetStrokeDashArray()

WandExport double* DrawGetStrokeDashArray ( const DrawingWand *  wand,
size_t *  number_elements 
)

◆ DrawGetStrokeDashOffset()

WandExport double DrawGetStrokeDashOffset ( const DrawingWand *  wand)

◆ DrawGetStrokeLineCap()

WandExport LineCap DrawGetStrokeLineCap ( const DrawingWand *  wand)

◆ DrawGetStrokeLineJoin()

WandExport LineJoin DrawGetStrokeLineJoin ( const DrawingWand *  wand)

◆ DrawGetStrokeMiterLimit()

WandExport size_t DrawGetStrokeMiterLimit ( const DrawingWand *  wand)

◆ DrawGetStrokeOpacity()

WandExport double DrawGetStrokeOpacity ( const DrawingWand *  wand)

◆ DrawGetStrokeWidth()

WandExport double DrawGetStrokeWidth ( const DrawingWand *  wand)

◆ DrawGetTextAlignment()

WandExport AlignType DrawGetTextAlignment ( const DrawingWand *  wand)

◆ DrawGetTextAntialias()

WandExport MagickBooleanType DrawGetTextAntialias ( const DrawingWand *  wand)

◆ DrawGetTextDecoration()

WandExport DecorationType DrawGetTextDecoration ( const DrawingWand *  wand)

◆ DrawGetTextDirection()

WandExport DirectionType DrawGetTextDirection ( const DrawingWand *  wand)

◆ DrawGetTextEncoding()

WandExport char* DrawGetTextEncoding ( const DrawingWand *  wand)

◆ DrawGetTextInterlineSpacing()

WandExport double DrawGetTextInterlineSpacing ( DrawingWand *  wand)

◆ DrawGetTextInterwordSpacing()

WandExport double DrawGetTextInterwordSpacing ( DrawingWand *  wand)

◆ DrawGetTextKerning()

◆ DrawGetTextUnderColor()

WandExport void DrawGetTextUnderColor ( const DrawingWand *  wand,
PixelWand *  under_color 
)

◆ DrawGetVectorGraphics()

◆ DrawLine()

WandExport void DrawLine ( DrawingWand *  wand,
const double  sx,
const double  sy,
const double  ex,
const double  ey 
)

◆ DrawMatte()

WandExport void DrawMatte ( DrawingWand *  wand,
const double  x,
const double  y,
const PaintMethod  paint_method 
)

◆ DrawPathClose()

◆ DrawPathCurveTo()

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 
)
static

◆ DrawPathCurveToAbsolute()

WandExport void DrawPathCurveToAbsolute ( DrawingWand *  wand,
const double  x1,
const double  y1,
const double  x2,
const double  y2,
const double  x,
const double  y 
)

◆ DrawPathCurveToQuadraticBezier()

static void DrawPathCurveToQuadraticBezier ( DrawingWand *  wand,
const PathMode  mode,
const double  x1,
double  y1,
const double  x,
const double  y 
)
static

◆ DrawPathCurveToQuadraticBezierAbsolute()

WandExport void DrawPathCurveToQuadraticBezierAbsolute ( DrawingWand *  wand,
const double  x1,
const double  y1,
const double  x,
const double  y 
)

◆ DrawPathCurveToQuadraticBezierRelative()

WandExport void DrawPathCurveToQuadraticBezierRelative ( DrawingWand *  wand,
const double  x1,
const double  y1,
const double  x,
const double  y 
)

◆ DrawPathCurveToQuadraticBezierSmooth()

◆ DrawPathCurveToQuadraticBezierSmoothAbsolute()

WandExport void DrawPathCurveToQuadraticBezierSmoothAbsolute ( DrawingWand *  wand,
const double  x,
const double  y 
)

◆ DrawPathCurveToQuadraticBezierSmoothRelative()

WandExport void DrawPathCurveToQuadraticBezierSmoothRelative ( DrawingWand *  wand,
const double  x,
const double  y 
)

◆ DrawPathCurveToRelative()

WandExport void DrawPathCurveToRelative ( DrawingWand *  wand,
const double  x1,
const double  y1,
const double  x2,
const double  y2,
const double  x,
const double  y 
)

◆ DrawPathCurveToSmooth()

static void DrawPathCurveToSmooth ( DrawingWand *  wand,
const PathMode  mode,
const double  x2,
const double  y2,
const double  x,
const double  y 
)
static

◆ DrawPathCurveToSmoothAbsolute()

WandExport void DrawPathCurveToSmoothAbsolute ( DrawingWand *  wand,
const double  x2,
const double  y2,
const double  x,
const double  y 
)

◆ DrawPathCurveToSmoothRelative()

WandExport void DrawPathCurveToSmoothRelative ( DrawingWand *  wand,
const double  x2,
const double  y2,
const double  x,
const double  y 
)

◆ DrawPathEllipticArc()

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 
)
static

◆ DrawPathEllipticArcAbsolute()

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 
)

◆ DrawPathEllipticArcRelative()

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 
)

◆ DrawPathFinish()

◆ DrawPathLineTo()

◆ DrawPathLineToAbsolute()

WandExport void DrawPathLineToAbsolute ( DrawingWand *  wand,
const double  x,
const double  y 
)

◆ DrawPathLineToHorizontal()

◆ DrawPathLineToHorizontalAbsolute()

WandExport void DrawPathLineToHorizontalAbsolute ( DrawingWand *  wand,
const double  x 
)

◆ DrawPathLineToHorizontalRelative()

WandExport void DrawPathLineToHorizontalRelative ( DrawingWand *  wand,
const double  x 
)

◆ DrawPathLineToRelative()

WandExport void DrawPathLineToRelative ( DrawingWand *  wand,
const double  x,
const double  y 
)

◆ DrawPathLineToVertical()

◆ DrawPathLineToVerticalAbsolute()

WandExport void DrawPathLineToVerticalAbsolute ( DrawingWand *  wand,
const double  y 
)

◆ DrawPathLineToVerticalRelative()

WandExport void DrawPathLineToVerticalRelative ( DrawingWand *  wand,
const double  y 
)

◆ DrawPathMoveTo()

◆ DrawPathMoveToAbsolute()

WandExport void DrawPathMoveToAbsolute ( DrawingWand *  wand,
const double  x,
const double  y 
)

◆ DrawPathMoveToRelative()

WandExport void DrawPathMoveToRelative ( DrawingWand *  wand,
const double  x,
const double  y 
)

◆ DrawPathStart()

◆ DrawPoint()

WandExport void DrawPoint ( DrawingWand *  wand,
const double  x,
const double  y 
)

◆ DrawPolygon()

WandExport void DrawPolygon ( DrawingWand *  wand,
const size_t  number_coordinates,
const PointInfo *  coordinates 
)

◆ DrawPolyline()

WandExport void DrawPolyline ( DrawingWand *  wand,
const size_t  number_coordinates,
const PointInfo *  coordinates 
)

◆ DrawPopClipPath()

◆ DrawPopDefs()

◆ DrawPopPattern()

◆ DrawPushClipPath()

WandExport void DrawPushClipPath ( DrawingWand *  wand,
const char *  clip_mask_id 
)

◆ DrawPushDefs()

◆ DrawPushPattern()

WandExport MagickBooleanType DrawPushPattern ( DrawingWand *  wand,
const char *  pattern_id,
const double  x,
const double  y,
const double  width,
const double  height 
)

◆ DrawRectangle()

WandExport void DrawRectangle ( DrawingWand *  wand,
const double  x1,
const double  y1,
const double  x2,
const double  y2 
)

◆ DrawRender()

◆ DrawResetVectorGraphics()

◆ DrawRotate()

WandExport void DrawRotate ( DrawingWand *  wand,
const double  degrees 
)

◆ DrawRoundRectangle()

WandExport void DrawRoundRectangle ( DrawingWand *  wand,
double  x1,
double  y1,
double  x2,
double  y2,
double  rx,
double  ry 
)

◆ DrawScale()

WandExport void DrawScale ( DrawingWand *  wand,
const double  x,
const double  y 
)

◆ DrawSetBorderColor()

◆ DrawSetClipPath()

◆ DrawSetClipRule()

WandExport void DrawSetClipRule ( DrawingWand *  wand,
const FillRule  fill_rule 
)

◆ DrawSetClipUnits()

WandExport void DrawSetClipUnits ( DrawingWand *  wand,
const ClipPathUnits  clip_units 
)

◆ DrawSetDensity()

WandExport MagickBooleanType DrawSetDensity ( DrawingWand *  wand,
const char *  density 
)

◆ DrawSetFillColor()

◆ DrawSetFillOpacity()

WandExport void DrawSetFillOpacity ( DrawingWand *  wand,
const double  fill_opacity 
)

◆ DrawSetFillPatternURL()

WandExport MagickBooleanType DrawSetFillPatternURL ( DrawingWand *  wand,
const char *  fill_url 
)

◆ DrawSetFillRule()

WandExport void DrawSetFillRule ( DrawingWand *  wand,
const FillRule  fill_rule 
)

◆ DrawSetFont()

WandExport MagickBooleanType DrawSetFont ( DrawingWand *  wand,
const char *  font_name 
)

◆ DrawSetFontFamily()

WandExport MagickBooleanType DrawSetFontFamily ( DrawingWand *  wand,
const char *  font_family 
)

◆ DrawSetFontResolution()

WandExport MagickBooleanType DrawSetFontResolution ( DrawingWand *  wand,
const double  x_resolution,
const double  y_resolution 
)

◆ DrawSetFontSize()

◆ DrawSetFontStretch()

WandExport void DrawSetFontStretch ( DrawingWand *  wand,
const StretchType  font_stretch 
)

◆ DrawSetFontStyle()

◆ DrawSetFontWeight()

WandExport void DrawSetFontWeight ( DrawingWand *  wand,
const size_t  font_weight 
)

◆ DrawSetGravity()

WandExport void DrawSetGravity ( DrawingWand *  wand,
const GravityType  gravity 
)

◆ DrawSetOpacity()

◆ DrawSetStrokeAntialias()

WandExport void DrawSetStrokeAntialias ( DrawingWand *  wand,
const MagickBooleanType  stroke_antialias 
)

◆ DrawSetStrokeColor()

◆ DrawSetStrokeDashArray()

WandExport MagickBooleanType DrawSetStrokeDashArray ( DrawingWand *  wand,
const size_t  number_elements,
const double *  dasharray 
)

◆ DrawSetStrokeDashOffset()

WandExport void DrawSetStrokeDashOffset ( DrawingWand *  wand,
const double  dash_offset 
)

◆ DrawSetStrokeLineCap()

WandExport void DrawSetStrokeLineCap ( DrawingWand *  wand,
const LineCap  linecap 
)

◆ DrawSetStrokeLineJoin()

WandExport void DrawSetStrokeLineJoin ( DrawingWand *  wand,
const LineJoin  linejoin 
)

◆ DrawSetStrokeMiterLimit()

WandExport void DrawSetStrokeMiterLimit ( DrawingWand *  wand,
const size_t  miterlimit 
)

◆ DrawSetStrokeOpacity()

WandExport void DrawSetStrokeOpacity ( DrawingWand *  wand,
const double  stroke_opacity 
)

◆ DrawSetStrokePatternURL()

WandExport MagickBooleanType DrawSetStrokePatternURL ( DrawingWand *  wand,
const char *  stroke_url 
)

◆ DrawSetStrokeWidth()

WandExport void DrawSetStrokeWidth ( DrawingWand *  wand,
const double  stroke_width 
)

◆ DrawSetTextAlignment()

WandExport void DrawSetTextAlignment ( DrawingWand *  wand,
const AlignType  alignment 
)

◆ DrawSetTextAntialias()

WandExport void DrawSetTextAntialias ( DrawingWand *  wand,
const MagickBooleanType  text_antialias 
)

◆ DrawSetTextDecoration()

WandExport void DrawSetTextDecoration ( DrawingWand *  wand,
const DecorationType  decoration 
)

◆ DrawSetTextDirection()

WandExport void DrawSetTextDirection ( DrawingWand *  wand,
const DirectionType  direction 
)

◆ DrawSetTextEncoding()

WandExport void DrawSetTextEncoding ( DrawingWand *  wand,
const char *  encoding 
)

◆ DrawSetTextInterlineSpacing()

WandExport void DrawSetTextInterlineSpacing ( DrawingWand *  wand,
const double  interline_spacing 
)

◆ DrawSetTextInterwordSpacing()

WandExport void DrawSetTextInterwordSpacing ( DrawingWand *  wand,
const double  interword_spacing 
)

◆ DrawSetTextKerning()

◆ DrawSetTextUnderColor()

◆ DrawSetVectorGraphics()

◆ DrawSetViewbox()

WandExport void DrawSetViewbox ( DrawingWand *  wand,
ssize_t  x1,
ssize_t  y1,
ssize_t  x2,
ssize_t  y2 
)

◆ DrawSkewX()

WandExport void DrawSkewX ( DrawingWand *  wand,
const double  degrees 
)

◆ DrawSkewY()

WandExport void DrawSkewY ( DrawingWand *  wand,
const double  degrees 
)

◆ DrawTranslate()

WandExport void DrawTranslate ( DrawingWand *  wand,
const double  x,
const double  y 
)

◆ IsColorEqual()

static MagickBooleanType IsColorEqual ( const PixelPacket *  p,
const PixelPacket *  q 
)
inlinestatic

◆ IsDrawingWand()

WandExport MagickBooleanType IsDrawingWand ( const DrawingWand *  wand)

◆ IsPoint()

static MagickBooleanType IsPoint ( const char *  point)
inlinestatic

Referenced by DrawSetVectorGraphics().

◆ MVGAppendColor()

static void MVGAppendColor ( DrawingWand *  wand,
const PixelPacket *  color 
)
static

◆ MVGAppendPointsCommand()

static void MVGAppendPointsCommand ( DrawingWand *  wand,
const char *  command,
const size_t  number_coordinates,
const PointInfo *  coordinates 
)
static

◆ MVGAutoWrapPrintf()

◆ MVGPrintf()

static int MVGPrintf ( DrawingWand *  ,
wand_attribute((format (  const char *,
  ... 
)
static

◆ NewDrawingWand()

◆ PeekDrawingWand()

◆ PopDrawingWand()

◆ PushDrawingWand()

◆ SetMagickPixelPacket()

static void SetMagickPixelPacket ( const Image *  image,
const PixelPacket *  color,
const IndexPacket *  index,
MagickPixelPacket *  pixel 
)
inlinestatic