18#ifndef MAGICKWAND_DRAWING_WAND_H
19#define MAGICKWAND_DRAWING_WAND_H
21#include "wand/pixel-wand.h"
23#if defined(__cplusplus) || defined(c_plusplus)
30extern WandExport AlignType
36 *DrawGetException(
const DrawingWand *,ExceptionType *),
42extern WandExport ClipPathUnits
43 DrawGetClipUnits(
const DrawingWand *) magick_attribute((__pure__));
45extern WandExport DecorationType
46 DrawGetTextDecoration(
const DrawingWand *) magick_attribute((__pure__));
48extern WandExport DirectionType
51extern WandExport
double
52 DrawGetFillOpacity(
const DrawingWand *) magick_attribute((__pure__)),
53 DrawGetFontSize(
const DrawingWand *) magick_attribute((__pure__)),
54 DrawGetOpacity(
const DrawingWand *) magick_attribute((__pure__)),
55 *DrawGetStrokeDashArray(
const DrawingWand *,
size_t *),
56 DrawGetStrokeDashOffset(
const DrawingWand *) magick_attribute((__pure__)),
57 DrawGetStrokeOpacity(
const DrawingWand *) magick_attribute((__pure__)),
58 DrawGetStrokeWidth(
const DrawingWand *) magick_attribute((__pure__)),
59 DrawGetTextKerning(
DrawingWand *) magick_attribute((__pure__)),
60 DrawGetTextInterlineSpacing(
DrawingWand *) magick_attribute((__pure__)),
61 DrawGetTextInterwordSpacing(
DrawingWand *) magick_attribute((__pure__));
63extern WandExport DrawInfo
67 *AcquireDrawingWand(
const DrawInfo *,Image *),
70 *NewDrawingWand(
void);
72extern WandExport ExceptionType
75extern WandExport FillRule
76 DrawGetClipRule(
const DrawingWand *) magick_attribute((__pure__)),
77 DrawGetFillRule(
const DrawingWand *) magick_attribute((__pure__));
79extern WandExport GravityType
80 DrawGetGravity(
const DrawingWand *) magick_attribute((__pure__));
82extern WandExport LineCap
83 DrawGetStrokeLineCap(
const DrawingWand *) magick_attribute((__pure__));
85extern WandExport LineJoin
86 DrawGetStrokeLineJoin(
const DrawingWand *) magick_attribute((__pure__));
88extern WandExport MagickBooleanType
90 DrawComposite(
DrawingWand *,
const CompositeOperator,
const double,
const double,
92 DrawGetFontResolution(
const DrawingWand *,
double *,
double *),
93 DrawGetStrokeAntialias(
const DrawingWand *) magick_attribute((__pure__)),
94 DrawGetTextAntialias(
const DrawingWand *) magick_attribute((__pure__)),
96 DrawPushPattern(
DrawingWand *,
const char *,
const double,
const double,
97 const double,
const double),
104 DrawSetFontResolution(
DrawingWand *,
const double,
const double),
105 DrawSetStrokeDashArray(
DrawingWand *,
const size_t,
const double *),
106 DrawSetStrokePatternURL(
DrawingWand *,
const char *),
112extern WandExport StretchType
115extern WandExport StyleType
118extern WandExport
size_t
119 DrawGetFontWeight(
const DrawingWand *) magick_attribute((__pure__)),
120 DrawGetStrokeMiterLimit(
const DrawingWand *) magick_attribute((__pure__));
122extern WandExport
void
125 DrawAnnotation(
DrawingWand *,
const double,
const double,
const unsigned char *),
126 DrawArc(
DrawingWand *,
const double,
const double,
const double,
const double,
127 const double,
const double),
128 DrawBezier(
DrawingWand *,
const size_t,
const PointInfo *),
130 DrawCircle(
DrawingWand *,
const double,
const double,
const double,
const double),
131 DrawColor(
DrawingWand *,
const double,
const double,
const PaintMethod),
133 DrawEllipse(
DrawingWand *,
const double,
const double,
const double,
const double,
134 const double,
const double),
138 DrawSetTextInterlineSpacing(
DrawingWand *,
const double),
139 DrawSetTextInterwordSpacing(
DrawingWand *,
const double),
141 DrawLine(
DrawingWand *,
const double,
const double,
const double,
const double),
142 DrawMatte(
DrawingWand *,
const double,
const double,
const PaintMethod),
144 DrawPathCurveToAbsolute(
DrawingWand *,
const double,
const double,
const double,
145 const double,
const double,
const double),
146 DrawPathCurveToRelative(
DrawingWand *,
const double,
const double,
const double,
147 const double,
const double,
const double),
148 DrawPathCurveToQuadraticBezierAbsolute(
DrawingWand *,
const double,
149 const double,
const double,
const double),
150 DrawPathCurveToQuadraticBezierRelative(
DrawingWand *,
const double,
151 const double,
const double,
const double),
152 DrawPathCurveToQuadraticBezierSmoothAbsolute(
DrawingWand *,
const double,
154 DrawPathCurveToQuadraticBezierSmoothRelative(
DrawingWand *,
const double,
156 DrawPathCurveToSmoothAbsolute(
DrawingWand *,
const double,
const double,
157 const double,
const double),
158 DrawPathCurveToSmoothRelative(
DrawingWand *,
const double,
const double,
159 const double,
const double),
160 DrawPathEllipticArcAbsolute(
DrawingWand *,
const double,
const double,
161 const double,
const MagickBooleanType,
const MagickBooleanType,
const double,
163 DrawPathEllipticArcRelative(
DrawingWand *,
const double,
const double,
164 const double,
const MagickBooleanType,
const MagickBooleanType,
const double,
167 DrawPathLineToAbsolute(
DrawingWand *,
const double,
const double),
168 DrawPathLineToRelative(
DrawingWand *,
const double,
const double),
169 DrawPathLineToHorizontalAbsolute(
DrawingWand *,
const double),
170 DrawPathLineToHorizontalRelative(
DrawingWand *,
const double),
171 DrawPathLineToVerticalAbsolute(
DrawingWand *,
const double),
172 DrawPathLineToVerticalRelative(
DrawingWand *,
const double),
173 DrawPathMoveToAbsolute(
DrawingWand *,
const double,
const double),
174 DrawPathMoveToRelative(
DrawingWand *,
const double,
const double),
176 DrawPoint(
DrawingWand *,
const double,
const double),
177 DrawPolygon(
DrawingWand *,
const size_t,
const PointInfo *),
178 DrawPolyline(
DrawingWand *,
const size_t,
const PointInfo *),
183 DrawRectangle(
DrawingWand *,
const double,
const double,
const double,
187 DrawRoundRectangle(
DrawingWand *,
double,
double,
double,
double,
double,
double),
188 DrawScale(
DrawingWand *,
const double,
const double),
191 DrawSetClipUnits(
DrawingWand *,
const ClipPathUnits),
196 DrawSetFontStretch(
DrawingWand *,
const StretchType),
201 DrawSetStrokeAntialias(
DrawingWand *,
const MagickBooleanType),
203 DrawSetStrokeDashOffset(
DrawingWand *,
const double dashoffset),
205 DrawSetStrokeLineJoin(
DrawingWand *,
const LineJoin),
206 DrawSetStrokeMiterLimit(
DrawingWand *,
const size_t),
209 DrawSetTextAlignment(
DrawingWand *,
const AlignType),
210 DrawSetTextAntialias(
DrawingWand *,
const MagickBooleanType),
211 DrawSetTextDecoration(
DrawingWand *,
const DecorationType),
212 DrawSetTextDirection(
DrawingWand *,
const DirectionType),
215 DrawSetViewbox(
DrawingWand *,ssize_t,ssize_t,ssize_t,ssize_t),
218 DrawTranslate(
DrawingWand *,
const double,
const double);
220#if defined(__cplusplus) || defined(c_plusplus)