github.com/kaydxh/golang@v0.0.131/pkg/gocv/cgo/third_path/graphics-magick/include/wand/drawing_wand.h (about) 1 /* Copyright (C) 2003-2009 GraphicsMagick Group */ 2 /* 3 ImageMagick Drawing Wand API. 4 */ 5 #ifndef _MAGICK_DRAWING_WAND_H 6 #define _MAGICK_DRAWING_WAND_H 7 8 #if defined(__cplusplus) || defined(c_plusplus) 9 extern "C" { 10 #endif 11 12 #include "wand/wand_symbols.h" 13 #include "wand/pixel_wand.h" 14 15 #undef CloneDrawingWand 16 #define CloneDrawingWand MagickCloneDrawingWand 17 #undef DestroyDrawingWand 18 #define DestroyDrawingWand MagickDestroyDrawingWand 19 #undef DrawAffine 20 #define DrawAffine MagickDrawAffine 21 #undef DrawAllocateWand 22 #define DrawAllocateWand MagickDrawAllocateWand 23 #undef DrawAnnotation 24 #define DrawAnnotation MagickDrawAnnotation 25 #undef DrawArc 26 #define DrawArc MagickDrawArc 27 #undef DrawBezier 28 #define DrawBezier MagickDrawBezier 29 #undef DrawClearException 30 #define DrawClearException MagickDrawClearException 31 #undef DrawCircle 32 #define DrawCircle MagickDrawCircle 33 #undef DrawColor 34 #define DrawColor MagickDrawColor 35 #undef DrawComment 36 #define DrawComment MagickDrawComment 37 #undef DrawComposite 38 #define DrawComposite MagickDrawComposite 39 #undef DrawEllipse 40 #define DrawEllipse MagickDrawEllipse 41 #undef DrawGetClipPath 42 #define DrawGetClipPath MagickDrawGetClipPath 43 #undef DrawGetClipRule 44 #define DrawGetClipRule MagickDrawGetClipRule 45 #undef DrawGetClipUnits 46 #define DrawGetClipUnits MagickDrawGetClipUnits 47 #undef DrawGetException 48 #define DrawGetException MagickDrawGetException 49 #undef DrawGetFillColor 50 #define DrawGetFillColor MagickDrawGetFillColor 51 #undef DrawGetFillOpacity 52 #define DrawGetFillOpacity MagickDrawGetFillOpacity 53 #undef DrawGetFillRule 54 #define DrawGetFillRule MagickDrawGetFillRule 55 #undef DrawGetFont 56 #define DrawGetFont MagickDrawGetFont 57 #undef DrawGetFontFamily 58 #define DrawGetFontFamily MagickDrawGetFontFamily 59 #undef DrawGetFontSize 60 #define DrawGetFontSize MagickDrawGetFontSize 61 #undef DrawGetFontStretch 62 #define DrawGetFontStretch MagickDrawGetFontStretch 63 #undef DrawGetFontStyle 64 #define DrawGetFontStyle MagickDrawGetFontStyle 65 #undef DrawGetFontWeight 66 #define DrawGetFontWeight MagickDrawGetFontWeight 67 #undef DrawGetGravity 68 #define DrawGetGravity MagickDrawGetGravity 69 #undef DrawGetStrokeAntialias 70 #define DrawGetStrokeAntialias MagickDrawGetStrokeAntialias 71 #undef DrawGetStrokeColor 72 #define DrawGetStrokeColor MagickDrawGetStrokeColor 73 #undef DrawGetStrokeDashArray 74 #define DrawGetStrokeDashArray MagickDrawGetStrokeDashArray 75 #undef DrawGetStrokeDashOffset 76 #define DrawGetStrokeDashOffset MagickDrawGetStrokeDashOffset 77 #undef DrawGetStrokeLineCap 78 #define DrawGetStrokeLineCap MagickDrawGetStrokeLineCap 79 #undef DrawGetStrokeLineJoin 80 #define DrawGetStrokeLineJoin MagickDrawGetStrokeLineJoin 81 #undef DrawGetStrokeMiterLimit 82 #define DrawGetStrokeMiterLimit MagickDrawGetStrokeMiterLimit 83 #undef DrawGetStrokeOpacity 84 #define DrawGetStrokeOpacity MagickDrawGetStrokeOpacity 85 #undef DrawGetStrokeWidth 86 #define DrawGetStrokeWidth MagickDrawGetStrokeWidth 87 #undef DrawGetTextAntialias 88 #define DrawGetTextAntialias MagickDrawGetTextAntialias 89 #undef DrawGetTextDecoration 90 #define DrawGetTextDecoration MagickDrawGetTextDecoration 91 #undef DrawGetTextEncoding 92 #define DrawGetTextEncoding MagickDrawGetTextEncoding 93 #undef DrawGetTextUnderColor 94 #define DrawGetTextUnderColor MagickDrawGetTextUnderColor 95 #undef DrawLine 96 #define DrawLine MagickDrawLine 97 #undef DrawMatte 98 #define DrawMatte MagickDrawMatte 99 #undef DrawPathClose 100 #define DrawPathClose MagickDrawPathClose 101 #undef DrawPathCurveToAbsolute 102 #define DrawPathCurveToAbsolute MagickDrawPathCurveToAbsolute 103 #undef DrawPathCurveToQuadraticBezierAbsolute 104 #define DrawPathCurveToQuadraticBezierAbsolute MagickDrawPathCurveToQuadraticBezierAbsolute 105 #undef DrawPathCurveToQuadraticBezierRelative 106 #define DrawPathCurveToQuadraticBezierRelative MagickDrawPathCurveToQuadraticBezierRelative 107 #undef DrawPathCurveToQuadraticBezierSmoothAbsolute 108 #define DrawPathCurveToQuadraticBezierSmoothAbsolute MagickDrawPathCurveToQuadraticBezierSmoothAbsolute 109 #undef DrawPathCurveToQuadraticBezierSmoothRelative 110 #define DrawPathCurveToQuadraticBezierSmoothRelative MagickDrawPathCurveToQuadraticBezierSmoothRelative 111 #undef DrawPathCurveToRelative 112 #define DrawPathCurveToRelative MagickDrawPathCurveToRelative 113 #undef DrawPathCurveToSmoothAbsolute 114 #define DrawPathCurveToSmoothAbsolute MagickDrawPathCurveToSmoothAbsolute 115 #undef DrawPathCurveToSmoothRelative 116 #define DrawPathCurveToSmoothRelative MagickDrawPathCurveToSmoothRelative 117 #undef DrawPathEllipticArcAbsolute 118 #define DrawPathEllipticArcAbsolute MagickDrawPathEllipticArcAbsolute 119 #undef DrawPathEllipticArcRelative 120 #define DrawPathEllipticArcRelative MagickDrawPathEllipticArcRelative 121 #undef DrawPathFinish 122 #define DrawPathFinish MagickDrawPathFinish 123 #undef DrawPathLineToAbsolute 124 #define DrawPathLineToAbsolute MagickDrawPathLineToAbsolute 125 #undef DrawPathLineToHorizontalAbsolute 126 #define DrawPathLineToHorizontalAbsolute MagickDrawPathLineToHorizontalAbsolute 127 #undef DrawPathLineToHorizontalRelative 128 #define DrawPathLineToHorizontalRelative MagickDrawPathLineToHorizontalRelative 129 #undef DrawPathLineToRelative 130 #define DrawPathLineToRelative MagickDrawPathLineToRelative 131 #undef DrawPathLineToVerticalAbsolute 132 #define DrawPathLineToVerticalAbsolute MagickDrawPathLineToVerticalAbsolute 133 #undef DrawPathLineToVerticalRelative 134 #define DrawPathLineToVerticalRelative MagickDrawPathLineToVerticalRelative 135 #undef DrawPathMoveToAbsolute 136 #define DrawPathMoveToAbsolute MagickDrawPathMoveToAbsolute 137 #undef DrawPathMoveToRelative 138 #define DrawPathMoveToRelative MagickDrawPathMoveToRelative 139 #undef DrawPathStart 140 #define DrawPathStart MagickDrawPathStart 141 #undef DrawPeekGraphicContext 142 #define DrawPeekGraphicContext MagickDrawPeekGraphicContext 143 #undef DrawPoint 144 #define DrawPoint MagickDrawPoint 145 #undef DrawPolygon 146 #define DrawPolygon MagickDrawPolygon 147 #undef DrawPolyline 148 #define DrawPolyline MagickDrawPolyline 149 #undef DrawPopClipPath 150 #define DrawPopClipPath MagickDrawPopClipPath 151 #undef DrawPopDefs 152 #define DrawPopDefs MagickDrawPopDefs 153 #undef DrawPopGraphicContext 154 #define DrawPopGraphicContext MagickDrawPopGraphicContext 155 #undef DrawPopPattern 156 #define DrawPopPattern MagickDrawPopPattern 157 #undef DrawPushClipPath 158 #define DrawPushClipPath MagickDrawPushClipPath 159 #undef DrawPushDefs 160 #define DrawPushDefs MagickDrawPushDefs 161 #undef DrawPushGraphicContext 162 #define DrawPushGraphicContext MagickDrawPushGraphicContext 163 #undef DrawPushPattern 164 #define DrawPushPattern MagickDrawPushPattern 165 #undef DrawRectangle 166 #define DrawRectangle MagickDrawRectangle 167 #undef DrawRender 168 #define DrawRender MagickDrawRender 169 #undef DrawRotate 170 #define DrawRotate MagickDrawRotate 171 #undef DrawRoundRectangle 172 #define DrawRoundRectangle MagickDrawRoundRectangle 173 #undef DrawScale 174 #define DrawScale MagickDrawScale 175 #undef DrawSetClipPath 176 #define DrawSetClipPath MagickDrawSetClipPath 177 #undef DrawSetClipRule 178 #define DrawSetClipRule MagickDrawSetClipRule 179 #undef DrawSetClipUnits 180 #define DrawSetClipUnits MagickDrawSetClipUnits 181 #undef DrawSetFillColor 182 #define DrawSetFillColor MagickDrawSetFillColor 183 #undef DrawSetFillOpacity 184 #define DrawSetFillOpacity MagickDrawSetFillOpacity 185 #undef DrawSetFillPatternURL 186 #define DrawSetFillPatternURL MagickDrawSetFillPatternURL 187 #undef DrawSetFillRule 188 #define DrawSetFillRule MagickDrawSetFillRule 189 #undef DrawSetFont 190 #define DrawSetFont MagickDrawSetFont 191 #undef DrawSetFontFamily 192 #define DrawSetFontFamily MagickDrawSetFontFamily 193 #undef DrawSetFontSize 194 #define DrawSetFontSize MagickDrawSetFontSize 195 #undef DrawSetFontStretch 196 #define DrawSetFontStretch MagickDrawSetFontStretch 197 #undef DrawSetFontStyle 198 #define DrawSetFontStyle MagickDrawSetFontStyle 199 #undef DrawSetFontWeight 200 #define DrawSetFontWeight MagickDrawSetFontWeight 201 #undef DrawSetGravity 202 #define DrawSetGravity MagickDrawSetGravity 203 #undef DrawSetStrokeAntialias 204 #define DrawSetStrokeAntialias MagickDrawSetStrokeAntialias 205 #undef DrawSetStrokeColor 206 #define DrawSetStrokeColor MagickDrawSetStrokeColor 207 #undef DrawSetStrokeDashArray 208 #define DrawSetStrokeDashArray MagickDrawSetStrokeDashArray 209 #undef DrawSetStrokeDashOffset 210 #define DrawSetStrokeDashOffset MagickDrawSetStrokeDashOffset 211 #undef DrawSetStrokeLineCap 212 #define DrawSetStrokeLineCap MagickDrawSetStrokeLineCap 213 #undef DrawSetStrokeLineJoin 214 #define DrawSetStrokeLineJoin MagickDrawSetStrokeLineJoin 215 #undef DrawSetStrokeMiterLimit 216 #define DrawSetStrokeMiterLimit MagickDrawSetStrokeMiterLimit 217 #undef DrawSetStrokeOpacity 218 #define DrawSetStrokeOpacity MagickDrawSetStrokeOpacity 219 #undef DrawSetStrokePatternURL 220 #define DrawSetStrokePatternURL MagickDrawSetStrokePatternURL 221 #undef DrawSetStrokeWidth 222 #define DrawSetStrokeWidth MagickDrawSetStrokeWidth 223 #undef DrawSetTextAntialias 224 #define DrawSetTextAntialias MagickDrawSetTextAntialias 225 #undef DrawSetTextDecoration 226 #define DrawSetTextDecoration MagickDrawSetTextDecoration 227 #undef DrawSetTextEncoding 228 #define DrawSetTextEncoding MagickDrawSetTextEncoding 229 #undef DrawSetTextUnderColor 230 #define DrawSetTextUnderColor MagickDrawSetTextUnderColor 231 #undef DrawSetViewbox 232 #define DrawSetViewbox MagickDrawSetViewbox 233 #undef DrawSkewX 234 #define DrawSkewX MagickDrawSkewX 235 #undef DrawSkewY 236 #define DrawSkewY MagickDrawSkewY 237 #undef DrawTranslate 238 #define DrawTranslate MagickDrawTranslate 239 #undef NewDrawingWand 240 #define NewDrawingWand MagickNewDrawingWand 241 242 typedef struct _DrawingWand 243 DrawingWand; 244 245 extern WandExport char 246 *DrawGetClipPath(const DrawingWand *), 247 *DrawGetException(const DrawingWand *,ExceptionType *), 248 *DrawGetFont(const DrawingWand *), 249 *DrawGetFontFamily(const DrawingWand *), 250 *DrawGetTextEncoding(const DrawingWand *); 251 252 extern WandExport ClipPathUnits 253 DrawGetClipUnits(const DrawingWand *) MAGICK_FUNC_PURE; 254 255 extern WandExport DecorationType 256 DrawGetTextDecoration(const DrawingWand *) MAGICK_FUNC_PURE; 257 258 extern WandExport double 259 DrawGetFillOpacity(const DrawingWand *) MAGICK_FUNC_PURE, 260 DrawGetFontSize(const DrawingWand *) MAGICK_FUNC_PURE, 261 *DrawGetStrokeDashArray(const DrawingWand *,unsigned long *), 262 DrawGetStrokeDashOffset(const DrawingWand *) MAGICK_FUNC_PURE, 263 DrawGetStrokeOpacity(const DrawingWand *) MAGICK_FUNC_PURE, 264 DrawGetStrokeWidth(const DrawingWand *) MAGICK_FUNC_PURE; 265 266 extern WandExport DrawInfo 267 *DrawPeekGraphicContext(const DrawingWand *); 268 269 extern WandExport DrawingWand 270 *CloneDrawingWand(const DrawingWand *drawing_wand), 271 *DrawAllocateWand(const DrawInfo *,Image *) MAGICK_ATTRIBUTE ((deprecated)), 272 *NewDrawingWand(void); 273 274 extern WandExport FillRule 275 DrawGetClipRule(const DrawingWand *) MAGICK_FUNC_PURE, 276 DrawGetFillRule(const DrawingWand *) MAGICK_FUNC_PURE; 277 278 extern WandExport GravityType 279 DrawGetGravity(const DrawingWand *) MAGICK_FUNC_PURE; 280 281 extern WandExport LineCap 282 DrawGetStrokeLineCap(const DrawingWand *) MAGICK_FUNC_PURE; 283 284 extern WandExport LineJoin 285 DrawGetStrokeLineJoin(const DrawingWand *) MAGICK_FUNC_PURE; 286 287 extern WandExport StretchType 288 DrawGetFontStretch(const DrawingWand *) MAGICK_FUNC_PURE; 289 290 extern WandExport StyleType 291 DrawGetFontStyle(const DrawingWand *) MAGICK_FUNC_PURE; 292 293 extern WandExport unsigned int 294 DrawClearException(DrawingWand *), 295 DrawGetStrokeAntialias(const DrawingWand *) MAGICK_FUNC_PURE, 296 DrawGetTextAntialias(const DrawingWand *) MAGICK_FUNC_PURE, 297 DrawRender(const DrawingWand *) MAGICK_ATTRIBUTE ((deprecated)); /* Use MagickDrawImage() instead */ 298 299 extern WandExport unsigned long 300 DrawGetFontWeight(const DrawingWand *) MAGICK_FUNC_PURE, 301 DrawGetStrokeMiterLimit(const DrawingWand *) MAGICK_FUNC_PURE; 302 303 extern WandExport void 304 DrawAffine(DrawingWand *,const AffineMatrix *), 305 DrawAnnotation(DrawingWand *,const double,const double,const unsigned char *), 306 DrawArc(DrawingWand *,const double,const double,const double,const double, 307 const double,const double), 308 DrawBezier(DrawingWand *,const unsigned long,const PointInfo *), 309 DrawCircle(DrawingWand *,const double,const double,const double,const double), 310 DrawColor(DrawingWand *,const double,const double,const PaintMethod), 311 DrawComment(DrawingWand *,const char *), 312 DestroyDrawingWand(DrawingWand *), 313 DrawEllipse(DrawingWand *,const double,const double,const double,const double, 314 const double,const double), 315 DrawComposite(DrawingWand *,const CompositeOperator,const double,const double, 316 const double,const double,const Image *), 317 DrawGetFillColor(const DrawingWand *,PixelWand *), 318 DrawGetStrokeColor(const DrawingWand *,PixelWand *), 319 DrawGetTextUnderColor(const DrawingWand *,PixelWand *), 320 DrawLine(DrawingWand *,const double, const double,const double,const double), 321 DrawMatte(DrawingWand *,const double,const double,const PaintMethod), 322 DrawPathClose(DrawingWand *), 323 DrawPathCurveToAbsolute(DrawingWand *,const double,const double,const double, 324 const double,const double,const double), 325 DrawPathCurveToRelative(DrawingWand *,const double,const double,const double, 326 const double,const double, const double), 327 DrawPathCurveToQuadraticBezierAbsolute(DrawingWand *,const double, 328 const double,const double,const double), 329 DrawPathCurveToQuadraticBezierRelative(DrawingWand *,const double, 330 const double,const double,const double), 331 DrawPathCurveToQuadraticBezierSmoothAbsolute(DrawingWand *,const double, 332 const double), 333 DrawPathCurveToQuadraticBezierSmoothRelative(DrawingWand *,const double, 334 const double), 335 DrawPathCurveToSmoothAbsolute(DrawingWand *,const double,const double, 336 const double,const double), 337 DrawPathCurveToSmoothRelative(DrawingWand *,const double,const double, 338 const double,const double), 339 DrawPathEllipticArcAbsolute(DrawingWand *,const double,const double, 340 const double,unsigned int,unsigned int,const double,const double), 341 DrawPathEllipticArcRelative(DrawingWand *,const double,const double, 342 const double,unsigned int,unsigned int,const double,const double), 343 DrawPathFinish(DrawingWand *), 344 DrawPathLineToAbsolute(DrawingWand *,const double,const double), 345 DrawPathLineToRelative(DrawingWand *,const double,const double), 346 DrawPathLineToHorizontalAbsolute(DrawingWand *,const double), 347 DrawPathLineToHorizontalRelative(DrawingWand *,const double), 348 DrawPathLineToVerticalAbsolute(DrawingWand *,const double), 349 DrawPathLineToVerticalRelative(DrawingWand *,const double), 350 DrawPathMoveToAbsolute(DrawingWand *,const double,const double), 351 DrawPathMoveToRelative(DrawingWand *,const double,const double), 352 DrawPathStart(DrawingWand *), 353 DrawPoint(DrawingWand *,const double,const double), 354 DrawPolygon(DrawingWand *,const unsigned long,const PointInfo *), 355 DrawPolyline(DrawingWand *,const unsigned long,const PointInfo *), 356 DrawPopClipPath(DrawingWand *), 357 DrawPopDefs(DrawingWand *), 358 DrawPopGraphicContext(DrawingWand *), 359 DrawPopPattern(DrawingWand *), 360 DrawPushClipPath(DrawingWand *,const char *), 361 DrawPushDefs(DrawingWand *), 362 DrawPushGraphicContext(DrawingWand *), 363 DrawPushPattern(DrawingWand *,const char *,const double,const double, 364 const double,const double), 365 DrawRectangle(DrawingWand *,const double,const double,const double, 366 const double), 367 DrawRotate(DrawingWand *,const double), 368 DrawRoundRectangle(DrawingWand *,double,double,double,double,double,double), 369 DrawScale(DrawingWand *,const double,const double), 370 DrawSetClipPath(DrawingWand *,const char *), 371 DrawSetClipRule(DrawingWand *,const FillRule), 372 DrawSetClipUnits(DrawingWand *,const ClipPathUnits), 373 DrawSetFillColor(DrawingWand *,const PixelWand *), 374 DrawSetFillOpacity(DrawingWand *,const double), 375 DrawSetFillRule(DrawingWand *,const FillRule), 376 DrawSetFillPatternURL(DrawingWand *,const char *), 377 DrawSetFont(DrawingWand *,const char *), 378 DrawSetFontFamily(DrawingWand *,const char *), 379 DrawSetFontSize(DrawingWand *,const double), 380 DrawSetFontStretch(DrawingWand *,const StretchType), 381 DrawSetFontStyle(DrawingWand *,const StyleType), 382 DrawSetFontWeight(DrawingWand *,const unsigned long), 383 DrawSetGravity(DrawingWand *,const GravityType), 384 DrawSkewX(DrawingWand *,const double), 385 DrawSkewY(DrawingWand *,const double), 386 DrawSetStrokeAntialias(DrawingWand *,const unsigned int), 387 DrawSetStrokeColor(DrawingWand *,const PixelWand *), 388 DrawSetStrokeDashArray(DrawingWand *,const unsigned long,const double *), 389 DrawSetStrokeDashOffset(DrawingWand *,const double dashoffset), 390 DrawSetStrokeLineCap(DrawingWand *,const LineCap), 391 DrawSetStrokeLineJoin(DrawingWand *,const LineJoin), 392 DrawSetStrokeMiterLimit(DrawingWand *,const unsigned long), 393 DrawSetStrokeOpacity(DrawingWand *, const double), 394 DrawSetStrokePatternURL(DrawingWand *,const char *), 395 DrawSetStrokeWidth(DrawingWand *,const double), 396 DrawSetTextAntialias(DrawingWand *,const unsigned int), 397 DrawSetTextDecoration(DrawingWand *,const DecorationType), 398 DrawSetTextEncoding(DrawingWand *,const char *), 399 DrawSetTextUnderColor(DrawingWand *,const PixelWand *), 400 DrawSetViewbox(DrawingWand *,unsigned long,unsigned long,unsigned long, 401 unsigned long), 402 DrawTranslate(DrawingWand *,const double,const double); 403 404 #if defined(__cplusplus) || defined(c_plusplus) 405 } 406 #endif 407 408 #endif 409 410 /* 411 * Local Variables: 412 * mode: c 413 * c-basic-offset: 2 414 * fill-column: 78 415 * End: 416 */