18#ifndef MAGICKWAND_DRAWING_WAND_H
19#define MAGICKWAND_DRAWING_WAND_H
21#include "MagickWand/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 ExceptionInfo
75extern WandExport ExceptionType
78extern WandExport FillRule
79 DrawGetClipRule(
const DrawingWand *) magick_attribute((__pure__)),
80 DrawGetFillRule(
const DrawingWand *) magick_attribute((__pure__));
82extern WandExport GravityType
83 DrawGetGravity(
const DrawingWand *) magick_attribute((__pure__));
85extern WandExport LineCap
86 DrawGetStrokeLineCap(
const DrawingWand *) magick_attribute((__pure__));
88extern WandExport LineJoin
89 DrawGetStrokeLineJoin(
const DrawingWand *) magick_attribute((__pure__));
91extern WandExport MagickBooleanType
93 DrawComposite(
DrawingWand *,
const CompositeOperator,
const double,
94 const double,
const double,
const double,
MagickWand *),
95 DrawGetFontResolution(
const DrawingWand *,
double *,
double *),
96 DrawGetStrokeAntialias(
const DrawingWand *) magick_attribute((__pure__)),
97 DrawGetTextAntialias(
const DrawingWand *) magick_attribute((__pure__)),
98 DrawGetTypeMetrics(
const DrawingWand *,
const char *,MagickBooleanType,
101 DrawPushPattern(
DrawingWand *,
const char *,
const double,
const double,
102 const double,
const double),
109 DrawSetFontResolution(
DrawingWand *,
const double,
const double),
110 DrawSetStrokeDashArray(
DrawingWand *,
const size_t,
const double *),
111 DrawSetStrokePatternURL(
DrawingWand *,
const char *),
117extern WandExport StretchType
120extern WandExport StyleType
123extern WandExport
size_t
124 DrawGetFontWeight(
const DrawingWand *) magick_attribute((__pure__)),
125 DrawGetStrokeMiterLimit(
const DrawingWand *) magick_attribute((__pure__));
127extern WandExport
void
130 DrawAlpha(
DrawingWand *,
const double,
const double,
const PaintMethod),
131 DrawAnnotation(
DrawingWand *,
const double,
const double,
const unsigned char *),
132 DrawArc(
DrawingWand *,
const double,
const double,
const double,
const double,
133 const double,
const double),
134 DrawBezier(
DrawingWand *,
const size_t,
const PointInfo *),
136 DrawCircle(
DrawingWand *,
const double,
const double,
const double,
const double),
137 DrawColor(
DrawingWand *,
const double,
const double,
const PaintMethod),
139 DrawEllipse(
DrawingWand *,
const double,
const double,
const double,
const double,
140 const double,
const double),
144 DrawSetTextInterlineSpacing(
DrawingWand *,
const double),
145 DrawSetTextInterwordSpacing(
DrawingWand *,
const double),
147 DrawLine(
DrawingWand *,
const double,
const double,
const double,
const double),
149 DrawPathCurveToAbsolute(
DrawingWand *,
const double,
const double,
const double,
150 const double,
const double,
const double),
151 DrawPathCurveToRelative(
DrawingWand *,
const double,
const double,
const double,
152 const double,
const double,
const double),
153 DrawPathCurveToQuadraticBezierAbsolute(
DrawingWand *,
const double,
154 const double,
const double,
const double),
155 DrawPathCurveToQuadraticBezierRelative(
DrawingWand *,
const double,
156 const double,
const double,
const double),
157 DrawPathCurveToQuadraticBezierSmoothAbsolute(
DrawingWand *,
const double,
159 DrawPathCurveToQuadraticBezierSmoothRelative(
DrawingWand *,
const double,
161 DrawPathCurveToSmoothAbsolute(
DrawingWand *,
const double,
const double,
162 const double,
const double),
163 DrawPathCurveToSmoothRelative(
DrawingWand *,
const double,
const double,
164 const double,
const double),
165 DrawPathEllipticArcAbsolute(
DrawingWand *,
const double,
const double,
166 const double,
const MagickBooleanType,
const MagickBooleanType,
const double,
168 DrawPathEllipticArcRelative(
DrawingWand *,
const double,
const double,
169 const double,
const MagickBooleanType,
const MagickBooleanType,
const double,
172 DrawPathLineToAbsolute(
DrawingWand *,
const double,
const double),
173 DrawPathLineToRelative(
DrawingWand *,
const double,
const double),
174 DrawPathLineToHorizontalAbsolute(
DrawingWand *,
const double),
175 DrawPathLineToHorizontalRelative(
DrawingWand *,
const double),
176 DrawPathLineToVerticalAbsolute(
DrawingWand *,
const double),
177 DrawPathLineToVerticalRelative(
DrawingWand *,
const double),
178 DrawPathMoveToAbsolute(
DrawingWand *,
const double,
const double),
179 DrawPathMoveToRelative(
DrawingWand *,
const double,
const double),
181 DrawPoint(
DrawingWand *,
const double,
const double),
182 DrawPolygon(
DrawingWand *,
const size_t,
const PointInfo *),
183 DrawPolyline(
DrawingWand *,
const size_t,
const PointInfo *),
188 DrawRectangle(
DrawingWand *,
const double,
const double,
const double,
192 DrawRoundRectangle(
DrawingWand *,
double,
double,
double,
double,
double,
double),
193 DrawScale(
DrawingWand *,
const double,
const double),
196 DrawSetClipUnits(
DrawingWand *,
const ClipPathUnits),
201 DrawSetFontStretch(
DrawingWand *,
const StretchType),
206 DrawSetStrokeAntialias(
DrawingWand *,
const MagickBooleanType),
208 DrawSetStrokeDashOffset(
DrawingWand *,
const double dashoffset),
210 DrawSetStrokeLineJoin(
DrawingWand *,
const LineJoin),
211 DrawSetStrokeMiterLimit(
DrawingWand *,
const size_t),
214 DrawSetTextAlignment(
DrawingWand *,
const AlignType),
215 DrawSetTextAntialias(
DrawingWand *,
const MagickBooleanType),
216 DrawSetTextDecoration(
DrawingWand *,
const DecorationType),
217 DrawSetTextDirection(
DrawingWand *,
const DirectionType),
220 DrawSetViewbox(
DrawingWand *,
const double,
const double,
const double,
224 DrawTranslate(
DrawingWand *,
const double,
const double);
226#if defined(__cplusplus) || defined(c_plusplus)