MagickWand 7.1.0
Convert, Edit, Or Compose Bitmap Images
drawing-wand.c File Reference
#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"
Include dependency graph for drawing-wand.c:

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)
 

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 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 DrawingWandAcquireDrawingWand (const DrawInfo *draw_info, Image *image)
 
WandExport void ClearDrawingWand (DrawingWand *wand)
 
WandExport DrawingWandCloneDrawingWand (const DrawingWand *wand)
 
WandExport DrawingWandDestroyDrawingWand (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 DrawingWandNewDrawingWand (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])

Definition at line 61 of file drawing-wand.c.

◆ DRAW_BINARY_IMPLEMENTATION

#define DRAW_BINARY_IMPLEMENTATION   0

Definition at line 59 of file drawing-wand.c.

◆ DrawingWandId

#define DrawingWandId   "DrawingWand"

Definition at line 62 of file drawing-wand.c.

◆ ThrowDrawException

#define ThrowDrawException (   severity,
  tag,
  reason 
)
Value:
(void) ThrowMagickException( \
wand->exception,GetMagickModule(),severity,tag,"`%s'",reason);

Definition at line 63 of file drawing-wand.c.

Enumeration Type Documentation

◆ PathMode

enum PathMode
Enumerator
DefaultPathMode 
AbsolutePathMode 
RelativePathMode 

Definition at line 84 of file drawing-wand.c.

◆ PathOperation

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

Definition at line 69 of file drawing-wand.c.

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 
)

◆ DrawAlpha()

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

◆ 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()

WandExport MagickBooleanType DrawClearException ( DrawingWand wand)

◆ DrawCloneExceptionInfo()

WandExport ExceptionInfo * DrawCloneExceptionInfo ( const DrawingWand wand)

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

Definition at line 1106 of file drawing-wand.c.

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

WandExport char * DrawGetClipPath ( const DrawingWand wand)

◆ DrawGetClipRule()

WandExport FillRule DrawGetClipRule ( const DrawingWand wand)

◆ 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()

WandExport FillRule DrawGetFillRule ( const DrawingWand wand)

◆ DrawGetFont()

WandExport char * DrawGetFont ( const DrawingWand wand)

◆ DrawGetFontFamily()

WandExport char * DrawGetFontFamily ( const DrawingWand wand)

◆ DrawGetFontResolution()

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

◆ DrawGetFontSize()

WandExport double DrawGetFontSize ( const DrawingWand wand)

◆ DrawGetFontStretch()

WandExport StretchType DrawGetFontStretch ( const DrawingWand wand)

◆ DrawGetFontStyle()

WandExport StyleType DrawGetFontStyle ( const DrawingWand wand)

◆ DrawGetFontWeight()

WandExport size_t DrawGetFontWeight ( const DrawingWand wand)

◆ DrawGetGravity()

WandExport GravityType DrawGetGravity ( const DrawingWand wand)

◆ DrawGetOpacity()

WandExport double DrawGetOpacity ( const DrawingWand wand)

◆ 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()

WandExport double DrawGetTextKerning ( DrawingWand wand)

◆ DrawGetTextUnderColor()

WandExport void DrawGetTextUnderColor ( const DrawingWand wand,
PixelWand under_color 
)

◆ DrawGetTypeMetrics()

WandExport MagickBooleanType DrawGetTypeMetrics ( const DrawingWand wand,
const char *  text,
MagickBooleanType  ignore_newlines,
TypeMetric *  metrics 
)

◆ DrawGetVectorGraphics()

◆ DrawLine()

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

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

Definition at line 3209 of file drawing-wand.c.

References DrawPathCurveToQuadraticBezierSmooth(), and RelativePathMode.

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

Definition at line 3468 of file drawing-wand.c.

References DrawPathEllipticArc(), and RelativePathMode.

◆ DrawPathFinish()

◆ DrawPathLineTo()

static void DrawPathLineTo ( DrawingWand wand,
const PathMode  mode,
const double  x,
const double  y 
)
static

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

Definition at line 3690 of file drawing-wand.c.

References DrawPathLineToHorizontal(), and RelativePathMode.

◆ 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()

static void DrawPathMoveTo ( DrawingWand wand,
const PathMode  mode,
const double  x,
const double  y 
)
static

◆ 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()

WandExport void DrawSetFontSize ( DrawingWand wand,
const double  pointsize 
)

◆ DrawSetFontStretch()

WandExport void DrawSetFontStretch ( DrawingWand wand,
const StretchType  font_stretch 
)

◆ DrawSetFontStyle()

WandExport void DrawSetFontStyle ( DrawingWand wand,
const StyleType  style 
)

◆ DrawSetFontWeight()

WandExport void DrawSetFontWeight ( DrawingWand wand,
const size_t  font_weight 
)

◆ DrawSetGravity()

WandExport void DrawSetGravity ( DrawingWand wand,
const GravityType  gravity 
)

◆ DrawSetOpacity()

WandExport void DrawSetOpacity ( DrawingWand wand,
const double  opacity 
)

◆ 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  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()

WandExport void DrawSetTextKerning ( DrawingWand wand,
const double  kerning 
)

◆ DrawSetTextUnderColor()

◆ DrawSetVectorGraphics()

◆ DrawSetViewbox()

WandExport void DrawSetViewbox ( DrawingWand wand,
const double  x1,
const double  y1,
const double  x2,
const double  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 
)

◆ IsDrawingWand()

WandExport MagickBooleanType IsDrawingWand ( const DrawingWand wand)

◆ IsPoint()

static MagickBooleanType IsPoint ( const char *  point)
inlinestatic

Definition at line 6291 of file drawing-wand.c.

Referenced by DrawSetVectorGraphics().

◆ MVGAppendColor()

static void MVGAppendColor ( DrawingWand wand,
const PixelInfo *  packet 
)
static

◆ MVGAppendPointsCommand()

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

Definition at line 306 of file drawing-wand.c.

References MVGAutoWrapPrintf(), and MVGPrintf().

Referenced by DrawBezier(), DrawPolygon(), and DrawPolyline().

◆ MVGAutoWrapPrintf()

◆ MVGPrintf()

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

◆ NewDrawingWand()

◆ PeekDrawingWand()

◆ PopDrawingWand()

◆ PushDrawingWand()