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
31 DrawGetTextAlignment(
const DrawingWand *);
34 *DrawGetClipPath(
const DrawingWand *),
35 *DrawGetDensity(
const DrawingWand *),
36 *DrawGetException(
const DrawingWand *,ExceptionType *),
37 *DrawGetFont(
const DrawingWand *),
38 *DrawGetFontFamily(
const DrawingWand *),
39 *DrawGetTextEncoding(
const DrawingWand *),
40 *DrawGetVectorGraphics(DrawingWand *);
42extern WandExport ClipPathUnits
43 DrawGetClipUnits(
const DrawingWand *) magick_attribute((__pure__));
45extern WandExport DecorationType
46 DrawGetTextDecoration(
const DrawingWand *) magick_attribute((__pure__));
48extern WandExport DirectionType
49 DrawGetTextDirection(
const DrawingWand *);
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
64 *PeekDrawingWand(
const DrawingWand *);
66extern WandExport DrawingWand
67 *AcquireDrawingWand(
const DrawInfo *,Image *),
68 *CloneDrawingWand(
const DrawingWand *),
69 *DestroyDrawingWand(DrawingWand *),
70 *NewDrawingWand(
void);
72extern WandExport ExceptionInfo
73 *DrawCloneExceptionInfo(
const DrawingWand *wand);
75extern WandExport ExceptionType
76 DrawGetExceptionType(
const DrawingWand *);
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
92 DrawClearException(DrawingWand *),
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,
100 DrawPopPattern(DrawingWand *),
101 DrawPushPattern(DrawingWand *,
const char *,
const double,
const double,
102 const double,
const double),
103 DrawRender(DrawingWand *),
104 DrawSetClipPath(DrawingWand *,
const char *),
105 DrawSetDensity(DrawingWand *,
const char *),
106 DrawSetFillPatternURL(DrawingWand *,
const char *),
107 DrawSetFont(DrawingWand *,
const char *),
108 DrawSetFontFamily(DrawingWand *,
const char *),
109 DrawSetFontResolution(DrawingWand *,
const double,
const double),
110 DrawSetStrokeDashArray(DrawingWand *,
const size_t,
const double *),
111 DrawSetStrokePatternURL(DrawingWand *,
const char *),
112 DrawSetVectorGraphics(DrawingWand *,
const char *),
113 IsDrawingWand(
const DrawingWand *),
114 PopDrawingWand(DrawingWand *),
115 PushDrawingWand(DrawingWand *);
117extern WandExport StretchType
118 DrawGetFontStretch(
const DrawingWand *);
120extern WandExport StyleType
121 DrawGetFontStyle(
const DrawingWand *);
123extern WandExport
size_t
124 DrawGetFontWeight(
const DrawingWand *) magick_attribute((__pure__)),
125 DrawGetStrokeMiterLimit(
const DrawingWand *) magick_attribute((__pure__));
127extern WandExport
void
128 ClearDrawingWand(DrawingWand *),
129 DrawAffine(DrawingWand *,
const AffineMatrix *),
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 *),
135 DrawGetBorderColor(
const DrawingWand *,PixelWand *),
136 DrawCircle(DrawingWand *,
const double,
const double,
const double,
const double),
137 DrawColor(DrawingWand *,
const double,
const double,
const PaintMethod),
138 DrawComment(DrawingWand *,
const char *),
139 DrawEllipse(DrawingWand *,
const double,
const double,
const double,
const double,
140 const double,
const double),
141 DrawGetFillColor(
const DrawingWand *,PixelWand *),
142 DrawGetStrokeColor(
const DrawingWand *,PixelWand *),
143 DrawSetTextKerning(DrawingWand *,
const double),
144 DrawSetTextInterlineSpacing(DrawingWand *,
const double),
145 DrawSetTextInterwordSpacing(DrawingWand *,
const double),
146 DrawGetTextUnderColor(
const DrawingWand *,PixelWand *),
147 DrawLine(DrawingWand *,
const double,
const double,
const double,
const double),
148 DrawPathClose(DrawingWand *),
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,
171 DrawPathFinish(DrawingWand *),
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),
180 DrawPathStart(DrawingWand *),
181 DrawPoint(DrawingWand *,
const double,
const double),
182 DrawPolygon(DrawingWand *,
const size_t,
const PointInfo *),
183 DrawPolyline(DrawingWand *,
const size_t,
const PointInfo *),
184 DrawPopClipPath(DrawingWand *),
185 DrawPopDefs(DrawingWand *),
186 DrawPushClipPath(DrawingWand *,
const char *),
187 DrawPushDefs(DrawingWand *),
188 DrawRectangle(DrawingWand *,
const double,
const double,
const double,
190 DrawResetVectorGraphics(DrawingWand *),
191 DrawRotate(DrawingWand *,
const double),
192 DrawRoundRectangle(DrawingWand *,
double,
double,
double,
double,
double,
double),
193 DrawScale(DrawingWand *,
const double,
const double),
194 DrawSetBorderColor(DrawingWand *,
const PixelWand *),
195 DrawSetClipRule(DrawingWand *,
const FillRule),
196 DrawSetClipUnits(DrawingWand *,
const ClipPathUnits),
197 DrawSetFillColor(DrawingWand *,
const PixelWand *),
198 DrawSetFillOpacity(DrawingWand *,
const double),
199 DrawSetFillRule(DrawingWand *,
const FillRule),
200 DrawSetFontSize(DrawingWand *,
const double),
201 DrawSetFontStretch(DrawingWand *,
const StretchType),
202 DrawSetFontStyle(DrawingWand *,
const StyleType),
203 DrawSetFontWeight(DrawingWand *,
const size_t),
204 DrawSetGravity(DrawingWand *,
const GravityType),
205 DrawSetOpacity(DrawingWand *,
const double),
206 DrawSetStrokeAntialias(DrawingWand *,
const MagickBooleanType),
207 DrawSetStrokeColor(DrawingWand *,
const PixelWand *),
208 DrawSetStrokeDashOffset(DrawingWand *,
const double dashoffset),
209 DrawSetStrokeLineCap(DrawingWand *,
const LineCap),
210 DrawSetStrokeLineJoin(DrawingWand *,
const LineJoin),
211 DrawSetStrokeMiterLimit(DrawingWand *,
const size_t),
212 DrawSetStrokeOpacity(DrawingWand *,
const double),
213 DrawSetStrokeWidth(DrawingWand *,
const double),
214 DrawSetTextAlignment(DrawingWand *,
const AlignType),
215 DrawSetTextAntialias(DrawingWand *,
const MagickBooleanType),
216 DrawSetTextDecoration(DrawingWand *,
const DecorationType),
217 DrawSetTextDirection(DrawingWand *,
const DirectionType),
218 DrawSetTextEncoding(DrawingWand *,
const char *),
219 DrawSetTextUnderColor(DrawingWand *,
const PixelWand *),
220 DrawSetViewbox(DrawingWand *,
const double,
const double,
const double,
222 DrawSkewX(DrawingWand *,
const double),
223 DrawSkewY(DrawingWand *,
const double),
224 DrawTranslate(DrawingWand *,
const double,
const double);
226#if defined(__cplusplus) || defined(c_plusplus)