MagickWand  6.8.5
drawing-wand.h
Go to the documentation of this file.
1 /*
2  Copyright 1999-2013 ImageMagick Studio LLC, a non-profit organization
3  dedicated to making software imaging solutions freely available.
4 
5  You may not use this file except in compliance with the License.
6  obtain a copy of the License at
7 
8  http://www.imagemagick.org/script/license.php
9 
10  Unless required by applicable law or agreed to in writing, software
11  distributed under the License is distributed on an "AS IS" BASIS,
12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  See the License for the specific language governing permissions and
14  limitations under the License.
15 
16  MagickWand drawing wand methods.
17 */
18 #ifndef _MAGICKWAND_DRAWING_WAND_H
19 #define _MAGICKWAND_DRAWING_WAND_H
20 
21 #if defined(__cplusplus) || defined(c_plusplus)
22 extern "C" {
23 #endif
24 
25 #include "wand/pixel-wand.h"
26 
27 typedef struct _DrawingWand
29 
30 extern WandExport AlignType
32 
33 extern WandExport char
34  *DrawGetClipPath(const DrawingWand *),
35  *DrawGetException(const DrawingWand *,ExceptionType *),
36  *DrawGetFont(const DrawingWand *),
40 
41 extern WandExport ClipPathUnits
43 
44 extern WandExport DecorationType
46 
47 extern WandExport double
50  DrawGetOpacity(const DrawingWand *),
51  *DrawGetStrokeDashArray(const DrawingWand *,size_t *),
58 
59 extern WandExport DrawInfo
60  *PeekDrawingWand(const DrawingWand *);
61 
63  *CloneDrawingWand(const DrawingWand *),
65  *DrawAllocateWand(const DrawInfo *,Image *),
66  *NewDrawingWand(void);
67 
68 extern WandExport ExceptionType
70 
71 extern WandExport FillRule
74 
75 extern WandExport GravityType
76  DrawGetGravity(const DrawingWand *);
77 
78 extern WandExport LineCap
80 
81 extern WandExport LineJoin
83 
84 extern WandExport MagickBooleanType
86  DrawComposite(DrawingWand *,const CompositeOperator,const double,const double,
87  const double,const double,MagickWand *),
88  DrawGetFontResolution(const DrawingWand *,double *,double *),
92  DrawPushPattern(DrawingWand *,const char *,const double,const double,
93  const double,const double),
95  DrawSetClipPath(DrawingWand *,const char *),
96  DrawSetFillPatternURL(DrawingWand *,const char *),
97  DrawSetFont(DrawingWand *,const char *),
98  DrawSetFontFamily(DrawingWand *,const char *),
99  DrawSetFontResolution(DrawingWand *,const double,const double),
100  DrawSetStrokeDashArray(DrawingWand *,const size_t,const double *),
101  DrawSetStrokePatternURL(DrawingWand *,const char *),
102  DrawSetVectorGraphics(DrawingWand *,const char *),
103  IsDrawingWand(const DrawingWand *),
106 
107 extern WandExport StretchType
109 
110 extern WandExport StyleType
111  DrawGetFontStyle(const DrawingWand *);
112 
113 extern WandExport size_t
116 
117 extern WandExport void
119  DrawAffine(DrawingWand *,const AffineMatrix *),
120  DrawAnnotation(DrawingWand *,const double,const double,const unsigned char *),
121  DrawArc(DrawingWand *,const double,const double,const double,const double,
122  const double,const double),
123  DrawBezier(DrawingWand *,const size_t,const PointInfo *),
125  DrawCircle(DrawingWand *,const double,const double,const double,const double),
126  DrawColor(DrawingWand *,const double,const double,const PaintMethod),
127  DrawComment(DrawingWand *,const char *),
128  DrawEllipse(DrawingWand *,const double,const double,const double,const double,
129  const double,const double),
132  DrawSetTextKerning(DrawingWand *,const double),
136  DrawLine(DrawingWand *,const double, const double,const double,const double),
137  DrawMatte(DrawingWand *,const double,const double,const PaintMethod),
139  DrawPathCurveToAbsolute(DrawingWand *,const double,const double,const double,
140  const double,const double,const double),
141  DrawPathCurveToRelative(DrawingWand *,const double,const double,const double,
142  const double,const double, const double),
144  const double,const double,const double),
146  const double,const double,const double),
148  const double),
150  const double),
151  DrawPathCurveToSmoothAbsolute(DrawingWand *,const double,const double,
152  const double,const double),
153  DrawPathCurveToSmoothRelative(DrawingWand *,const double,const double,
154  const double,const double),
155  DrawPathEllipticArcAbsolute(DrawingWand *,const double,const double,
156  const double,const MagickBooleanType,const MagickBooleanType,const double,
157  const double),
158  DrawPathEllipticArcRelative(DrawingWand *,const double,const double,
159  const double,const MagickBooleanType,const MagickBooleanType,const double,
160  const double),
162  DrawPathLineToAbsolute(DrawingWand *,const double,const double),
163  DrawPathLineToRelative(DrawingWand *,const double,const double),
168  DrawPathMoveToAbsolute(DrawingWand *,const double,const double),
169  DrawPathMoveToRelative(DrawingWand *,const double,const double),
171  DrawPoint(DrawingWand *,const double,const double),
172  DrawPolygon(DrawingWand *,const size_t,const PointInfo *),
173  DrawPolyline(DrawingWand *,const size_t,const PointInfo *),
176  DrawPushClipPath(DrawingWand *,const char *),
178  DrawRectangle(DrawingWand *,const double,const double,const double,
179  const double),
181  DrawRotate(DrawingWand *,const double),
182  DrawRoundRectangle(DrawingWand *,double,double,double,double,double,double),
183  DrawScale(DrawingWand *,const double,const double),
185  DrawSetClipRule(DrawingWand *,const FillRule),
186  DrawSetClipUnits(DrawingWand *,const ClipPathUnits),
188  DrawSetFillOpacity(DrawingWand *,const double),
189  DrawSetFillRule(DrawingWand *,const FillRule),
190  DrawSetFontSize(DrawingWand *,const double),
191  DrawSetFontStretch(DrawingWand *,const StretchType),
192  DrawSetFontStyle(DrawingWand *,const StyleType),
193  DrawSetFontWeight(DrawingWand *,const size_t),
194  DrawSetGravity(DrawingWand *,const GravityType),
195  DrawSetOpacity(DrawingWand *,const double),
196  DrawSetStrokeAntialias(DrawingWand *,const MagickBooleanType),
198  DrawSetStrokeDashOffset(DrawingWand *,const double dashoffset),
199  DrawSetStrokeLineCap(DrawingWand *,const LineCap),
200  DrawSetStrokeLineJoin(DrawingWand *,const LineJoin),
201  DrawSetStrokeMiterLimit(DrawingWand *,const size_t),
202  DrawSetStrokeOpacity(DrawingWand *, const double),
203  DrawSetStrokeWidth(DrawingWand *,const double),
204  DrawSetTextAlignment(DrawingWand *,const AlignType),
205  DrawSetTextAntialias(DrawingWand *,const MagickBooleanType),
206  DrawSetTextDecoration(DrawingWand *,const DecorationType),
207  DrawSetTextEncoding(DrawingWand *,const char *),
209  DrawSetViewbox(DrawingWand *,ssize_t,ssize_t,ssize_t,ssize_t),
210  DrawSkewX(DrawingWand *,const double),
211  DrawSkewY(DrawingWand *,const double),
212  DrawTranslate(DrawingWand *,const double,const double);
213 
214 #if defined(__cplusplus) || defined(c_plusplus)
215 }
216 #endif
217 
218 #endif