drawing-wand.h

Go to the documentation of this file.
00001 /*
00002   Copyright 1999-2020 ImageMagick Studio LLC, a non-profit organization
00003   dedicated to making software imaging solutions freely available.
00004   
00005   You may not use this file except in compliance with the License.  You may
00006   obtain a copy of the License at
00007   
00008     https://imagemagick.org/script/license.php
00009   
00010   Unless required by applicable law or agreed to in writing, software
00011   distributed under the License is distributed on an "AS IS" BASIS,
00012   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013   See the License for the specific language governing permissions and
00014   limitations under the License.
00015 
00016   MagickWand drawing wand methods.
00017 */
00018 #ifndef MAGICKWAND_DRAWING_WAND_H
00019 #define MAGICKWAND_DRAWING_WAND_H
00020 
00021 #include "wand/pixel-wand.h"
00022 
00023 #if defined(__cplusplus) || defined(c_plusplus)
00024 extern "C" {
00025 #endif
00026 
00027 typedef struct _DrawingWand
00028   DrawingWand;
00029 
00030 extern WandExport AlignType
00031   DrawGetTextAlignment(const DrawingWand *);
00032 
00033 extern WandExport char
00034   *DrawGetClipPath(const DrawingWand *),
00035   *DrawGetDensity(const DrawingWand *),
00036   *DrawGetException(const DrawingWand *,ExceptionType *),
00037   *DrawGetFont(const DrawingWand *),
00038   *DrawGetFontFamily(const DrawingWand *),
00039   *DrawGetTextEncoding(const DrawingWand *),
00040   *DrawGetVectorGraphics(DrawingWand *);
00041 
00042 extern WandExport ClipPathUnits
00043   DrawGetClipUnits(const DrawingWand *) magick_attribute((__pure__));
00044 
00045 extern WandExport DecorationType
00046   DrawGetTextDecoration(const DrawingWand *) magick_attribute((__pure__));
00047 
00048 extern WandExport DirectionType
00049   DrawGetTextDirection(const DrawingWand *);
00050 
00051 extern WandExport double
00052   DrawGetFillOpacity(const DrawingWand *) magick_attribute((__pure__)),
00053   DrawGetFontSize(const DrawingWand *) magick_attribute((__pure__)),
00054   DrawGetOpacity(const DrawingWand *) magick_attribute((__pure__)),
00055   *DrawGetStrokeDashArray(const DrawingWand *,size_t *),
00056   DrawGetStrokeDashOffset(const DrawingWand *) magick_attribute((__pure__)),
00057   DrawGetStrokeOpacity(const DrawingWand *) magick_attribute((__pure__)),
00058   DrawGetStrokeWidth(const DrawingWand *) magick_attribute((__pure__)),
00059   DrawGetTextKerning(DrawingWand *) magick_attribute((__pure__)),
00060   DrawGetTextInterlineSpacing(DrawingWand *) magick_attribute((__pure__)),
00061   DrawGetTextInterwordSpacing(DrawingWand *) magick_attribute((__pure__));
00062 
00063 extern WandExport DrawInfo
00064   *PeekDrawingWand(const DrawingWand *);
00065 
00066 extern WandExport DrawingWand
00067   *AcquireDrawingWand(const DrawInfo *,Image *),
00068   *CloneDrawingWand(const DrawingWand *),
00069   *DestroyDrawingWand(DrawingWand *),
00070   *NewDrawingWand(void);
00071 
00072 extern WandExport ExceptionType
00073   DrawGetExceptionType(const DrawingWand *);
00074 
00075 extern WandExport FillRule
00076   DrawGetClipRule(const DrawingWand *) magick_attribute((__pure__)),
00077   DrawGetFillRule(const DrawingWand *) magick_attribute((__pure__));
00078 
00079 extern WandExport GravityType
00080   DrawGetGravity(const DrawingWand *) magick_attribute((__pure__));
00081 
00082 extern WandExport LineCap
00083   DrawGetStrokeLineCap(const DrawingWand *) magick_attribute((__pure__));
00084 
00085 extern WandExport LineJoin
00086   DrawGetStrokeLineJoin(const DrawingWand *) magick_attribute((__pure__));
00087 
00088 extern WandExport MagickBooleanType
00089   DrawClearException(DrawingWand *),
00090   DrawComposite(DrawingWand *,const CompositeOperator,const double,const double,
00091     const double,const double,MagickWand *),
00092   DrawGetFontResolution(const DrawingWand *,double *,double *),
00093   DrawGetStrokeAntialias(const DrawingWand *) magick_attribute((__pure__)),
00094   DrawGetTextAntialias(const DrawingWand *) magick_attribute((__pure__)),
00095   DrawPopPattern(DrawingWand *),
00096   DrawPushPattern(DrawingWand *,const char *,const double,const double,
00097     const double,const double),
00098   DrawRender(DrawingWand *),
00099   DrawSetClipPath(DrawingWand *,const char *),
00100   DrawSetDensity(DrawingWand *,const char *),
00101   DrawSetFillPatternURL(DrawingWand *,const char *),
00102   DrawSetFont(DrawingWand *,const char *),
00103   DrawSetFontFamily(DrawingWand *,const char *),
00104   DrawSetFontResolution(DrawingWand *,const double,const double),
00105   DrawSetStrokeDashArray(DrawingWand *,const size_t,const double *),
00106   DrawSetStrokePatternURL(DrawingWand *,const char *),
00107   DrawSetVectorGraphics(DrawingWand *,const char *),
00108   IsDrawingWand(const DrawingWand *),
00109   PopDrawingWand(DrawingWand *),
00110   PushDrawingWand(DrawingWand *);
00111 
00112 extern WandExport StretchType
00113   DrawGetFontStretch(const DrawingWand *);
00114 
00115 extern WandExport StyleType
00116   DrawGetFontStyle(const DrawingWand *);
00117 
00118 extern WandExport size_t
00119   DrawGetFontWeight(const DrawingWand *) magick_attribute((__pure__)),
00120   DrawGetStrokeMiterLimit(const DrawingWand *) magick_attribute((__pure__));
00121 
00122 extern WandExport void
00123   ClearDrawingWand(DrawingWand *),
00124   DrawAffine(DrawingWand *,const AffineMatrix *),
00125   DrawAnnotation(DrawingWand *,const double,const double,const unsigned char *),
00126   DrawArc(DrawingWand *,const double,const double,const double,const double,
00127     const double,const double),
00128   DrawBezier(DrawingWand *,const size_t,const PointInfo *),
00129   DrawGetBorderColor(const DrawingWand *,PixelWand *),
00130   DrawCircle(DrawingWand *,const double,const double,const double,const double),
00131   DrawColor(DrawingWand *,const double,const double,const PaintMethod),
00132   DrawComment(DrawingWand *,const char *),
00133   DrawEllipse(DrawingWand *,const double,const double,const double,const double,
00134     const double,const double),
00135   DrawGetFillColor(const DrawingWand *,PixelWand *),
00136   DrawGetStrokeColor(const DrawingWand *,PixelWand *),
00137   DrawSetTextKerning(DrawingWand *,const double),
00138   DrawSetTextInterlineSpacing(DrawingWand *,const double),
00139   DrawSetTextInterwordSpacing(DrawingWand *,const double),
00140   DrawGetTextUnderColor(const DrawingWand *,PixelWand *),
00141   DrawLine(DrawingWand *,const double, const double,const double,const double),
00142   DrawMatte(DrawingWand *,const double,const double,const PaintMethod),
00143   DrawPathClose(DrawingWand *),
00144   DrawPathCurveToAbsolute(DrawingWand *,const double,const double,const double,
00145     const double,const double,const double),
00146   DrawPathCurveToRelative(DrawingWand *,const double,const double,const double,
00147     const double,const double, const double),
00148   DrawPathCurveToQuadraticBezierAbsolute(DrawingWand *,const double,
00149     const double,const double,const double),
00150   DrawPathCurveToQuadraticBezierRelative(DrawingWand *,const double,
00151     const double,const double,const double),
00152   DrawPathCurveToQuadraticBezierSmoothAbsolute(DrawingWand *,const double,
00153     const double),
00154   DrawPathCurveToQuadraticBezierSmoothRelative(DrawingWand *,const double,
00155     const double),
00156   DrawPathCurveToSmoothAbsolute(DrawingWand *,const double,const double,
00157     const double,const double),
00158   DrawPathCurveToSmoothRelative(DrawingWand *,const double,const double,
00159     const double,const double),
00160   DrawPathEllipticArcAbsolute(DrawingWand *,const double,const double,
00161     const double,const MagickBooleanType,const MagickBooleanType,const double,
00162     const double),
00163   DrawPathEllipticArcRelative(DrawingWand *,const double,const double,
00164     const double,const MagickBooleanType,const MagickBooleanType,const double,
00165     const double),
00166   DrawPathFinish(DrawingWand *),
00167   DrawPathLineToAbsolute(DrawingWand *,const double,const double),
00168   DrawPathLineToRelative(DrawingWand *,const double,const double),
00169   DrawPathLineToHorizontalAbsolute(DrawingWand *,const double),
00170   DrawPathLineToHorizontalRelative(DrawingWand *,const double),
00171   DrawPathLineToVerticalAbsolute(DrawingWand *,const double),
00172   DrawPathLineToVerticalRelative(DrawingWand *,const double),
00173   DrawPathMoveToAbsolute(DrawingWand *,const double,const double),
00174   DrawPathMoveToRelative(DrawingWand *,const double,const double),
00175   DrawPathStart(DrawingWand *),
00176   DrawPoint(DrawingWand *,const double,const double),
00177   DrawPolygon(DrawingWand *,const size_t,const PointInfo *),
00178   DrawPolyline(DrawingWand *,const size_t,const PointInfo *),
00179   DrawPopClipPath(DrawingWand *),
00180   DrawPopDefs(DrawingWand *),
00181   DrawPushClipPath(DrawingWand *,const char *),
00182   DrawPushDefs(DrawingWand *),
00183   DrawRectangle(DrawingWand *,const double,const double,const double,
00184     const double),
00185   DrawResetVectorGraphics(DrawingWand *),
00186   DrawRotate(DrawingWand *,const double),
00187   DrawRoundRectangle(DrawingWand *,double,double,double,double,double,double),
00188   DrawScale(DrawingWand *,const double,const double),
00189   DrawSetBorderColor(DrawingWand *,const PixelWand *),
00190   DrawSetClipRule(DrawingWand *,const FillRule),
00191   DrawSetClipUnits(DrawingWand *,const ClipPathUnits),
00192   DrawSetFillColor(DrawingWand *,const PixelWand *),
00193   DrawSetFillOpacity(DrawingWand *,const double),
00194   DrawSetFillRule(DrawingWand *,const FillRule),
00195   DrawSetFontSize(DrawingWand *,const double),
00196   DrawSetFontStretch(DrawingWand *,const StretchType),
00197   DrawSetFontStyle(DrawingWand *,const StyleType),
00198   DrawSetFontWeight(DrawingWand *,const size_t),
00199   DrawSetGravity(DrawingWand *,const GravityType),
00200   DrawSetOpacity(DrawingWand *,const double),
00201   DrawSetStrokeAntialias(DrawingWand *,const MagickBooleanType),
00202   DrawSetStrokeColor(DrawingWand *,const PixelWand *),
00203   DrawSetStrokeDashOffset(DrawingWand *,const double dashoffset),
00204   DrawSetStrokeLineCap(DrawingWand *,const LineCap),
00205   DrawSetStrokeLineJoin(DrawingWand *,const LineJoin),
00206   DrawSetStrokeMiterLimit(DrawingWand *,const size_t),
00207   DrawSetStrokeOpacity(DrawingWand *, const double),
00208   DrawSetStrokeWidth(DrawingWand *,const double),
00209   DrawSetTextAlignment(DrawingWand *,const AlignType),
00210   DrawSetTextAntialias(DrawingWand *,const MagickBooleanType),
00211   DrawSetTextDecoration(DrawingWand *,const DecorationType),
00212   DrawSetTextDirection(DrawingWand *,const DirectionType),
00213   DrawSetTextEncoding(DrawingWand *,const char *),
00214   DrawSetTextUnderColor(DrawingWand *,const PixelWand *),
00215   DrawSetViewbox(DrawingWand *,ssize_t,ssize_t,ssize_t,ssize_t),
00216   DrawSkewX(DrawingWand *,const double),
00217   DrawSkewY(DrawingWand *,const double),
00218   DrawTranslate(DrawingWand *,const double,const double);
00219 
00220 #if defined(__cplusplus) || defined(c_plusplus)
00221 }
00222 #endif
00223 
00224 #endif

Generated on 17 Mar 2020 for MagickWand by  doxygen 1.6.1