drawing-wand.h

Go to the documentation of this file.
00001 /*
00002   Copyright 1999-2019 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 "MagickWand/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 ExceptionInfo
00073   *DrawCloneExceptionInfo(const DrawingWand *wand);
00074 
00075 extern WandExport ExceptionType
00076   DrawGetExceptionType(const DrawingWand *);
00077 
00078 extern WandExport FillRule
00079   DrawGetClipRule(const DrawingWand *) magick_attribute((__pure__)),
00080   DrawGetFillRule(const DrawingWand *) magick_attribute((__pure__));
00081 
00082 extern WandExport GravityType
00083   DrawGetGravity(const DrawingWand *) magick_attribute((__pure__));
00084 
00085 extern WandExport LineCap
00086   DrawGetStrokeLineCap(const DrawingWand *) magick_attribute((__pure__));
00087 
00088 extern WandExport LineJoin
00089   DrawGetStrokeLineJoin(const DrawingWand *) magick_attribute((__pure__));
00090 
00091 extern WandExport MagickBooleanType
00092   DrawClearException(DrawingWand *),
00093   DrawComposite(DrawingWand *,const CompositeOperator,const double,
00094     const double,const double,const double,MagickWand *),
00095   DrawGetFontResolution(const DrawingWand *,double *,double *),
00096   DrawGetStrokeAntialias(const DrawingWand *) magick_attribute((__pure__)),
00097   DrawGetTextAntialias(const DrawingWand *) magick_attribute((__pure__)),
00098   DrawGetTypeMetrics(const DrawingWand *,const char *,MagickBooleanType,
00099     TypeMetric *),
00100   DrawPopPattern(DrawingWand *),
00101   DrawPushPattern(DrawingWand *,const char *,const double,const double,
00102     const double,const double),
00103   DrawRender(DrawingWand *),
00104   DrawSetClipPath(DrawingWand *,const char *),
00105   DrawSetDensity(DrawingWand *,const char *),
00106   DrawSetFillPatternURL(DrawingWand *,const char *),
00107   DrawSetFont(DrawingWand *,const char *),
00108   DrawSetFontFamily(DrawingWand *,const char *),
00109   DrawSetFontResolution(DrawingWand *,const double,const double),
00110   DrawSetStrokeDashArray(DrawingWand *,const size_t,const double *),
00111   DrawSetStrokePatternURL(DrawingWand *,const char *),
00112   DrawSetVectorGraphics(DrawingWand *,const char *),
00113   IsDrawingWand(const DrawingWand *),
00114   PopDrawingWand(DrawingWand *),
00115   PushDrawingWand(DrawingWand *);
00116 
00117 extern WandExport StretchType
00118   DrawGetFontStretch(const DrawingWand *);
00119 
00120 extern WandExport StyleType
00121   DrawGetFontStyle(const DrawingWand *);
00122 
00123 extern WandExport size_t
00124   DrawGetFontWeight(const DrawingWand *) magick_attribute((__pure__)),
00125   DrawGetStrokeMiterLimit(const DrawingWand *) magick_attribute((__pure__));
00126 
00127 extern WandExport void
00128   ClearDrawingWand(DrawingWand *),
00129   DrawAffine(DrawingWand *,const AffineMatrix *),
00130   DrawAlpha(DrawingWand *,const double,const double,const PaintMethod),
00131   DrawAnnotation(DrawingWand *,const double,const double,const unsigned char *),
00132   DrawArc(DrawingWand *,const double,const double,const double,const double,
00133     const double,const double),
00134   DrawBezier(DrawingWand *,const size_t,const PointInfo *),
00135   DrawGetBorderColor(const DrawingWand *,PixelWand *),
00136   DrawCircle(DrawingWand *,const double,const double,const double,const double),
00137   DrawColor(DrawingWand *,const double,const double,const PaintMethod),
00138   DrawComment(DrawingWand *,const char *),
00139   DrawEllipse(DrawingWand *,const double,const double,const double,const double,
00140     const double,const double),
00141   DrawGetFillColor(const DrawingWand *,PixelWand *),
00142   DrawGetStrokeColor(const DrawingWand *,PixelWand *),
00143   DrawSetTextKerning(DrawingWand *,const double),
00144   DrawSetTextInterlineSpacing(DrawingWand *,const double),
00145   DrawSetTextInterwordSpacing(DrawingWand *,const double),
00146   DrawGetTextUnderColor(const DrawingWand *,PixelWand *),
00147   DrawLine(DrawingWand *,const double, const double,const double,const double),
00148   DrawPathClose(DrawingWand *),
00149   DrawPathCurveToAbsolute(DrawingWand *,const double,const double,const double,
00150     const double,const double,const double),
00151   DrawPathCurveToRelative(DrawingWand *,const double,const double,const double,
00152     const double,const double, const double),
00153   DrawPathCurveToQuadraticBezierAbsolute(DrawingWand *,const double,
00154     const double,const double,const double),
00155   DrawPathCurveToQuadraticBezierRelative(DrawingWand *,const double,
00156     const double,const double,const double),
00157   DrawPathCurveToQuadraticBezierSmoothAbsolute(DrawingWand *,const double,
00158     const double),
00159   DrawPathCurveToQuadraticBezierSmoothRelative(DrawingWand *,const double,
00160     const double),
00161   DrawPathCurveToSmoothAbsolute(DrawingWand *,const double,const double,
00162     const double,const double),
00163   DrawPathCurveToSmoothRelative(DrawingWand *,const double,const double,
00164     const double,const double),
00165   DrawPathEllipticArcAbsolute(DrawingWand *,const double,const double,
00166     const double,const MagickBooleanType,const MagickBooleanType,const double,
00167     const double),
00168   DrawPathEllipticArcRelative(DrawingWand *,const double,const double,
00169     const double,const MagickBooleanType,const MagickBooleanType,const double,
00170     const double),
00171   DrawPathFinish(DrawingWand *),
00172   DrawPathLineToAbsolute(DrawingWand *,const double,const double),
00173   DrawPathLineToRelative(DrawingWand *,const double,const double),
00174   DrawPathLineToHorizontalAbsolute(DrawingWand *,const double),
00175   DrawPathLineToHorizontalRelative(DrawingWand *,const double),
00176   DrawPathLineToVerticalAbsolute(DrawingWand *,const double),
00177   DrawPathLineToVerticalRelative(DrawingWand *,const double),
00178   DrawPathMoveToAbsolute(DrawingWand *,const double,const double),
00179   DrawPathMoveToRelative(DrawingWand *,const double,const double),
00180   DrawPathStart(DrawingWand *),
00181   DrawPoint(DrawingWand *,const double,const double),
00182   DrawPolygon(DrawingWand *,const size_t,const PointInfo *),
00183   DrawPolyline(DrawingWand *,const size_t,const PointInfo *),
00184   DrawPopClipPath(DrawingWand *),
00185   DrawPopDefs(DrawingWand *),
00186   DrawPushClipPath(DrawingWand *,const char *),
00187   DrawPushDefs(DrawingWand *),
00188   DrawRectangle(DrawingWand *,const double,const double,const double,
00189     const double),
00190   DrawResetVectorGraphics(DrawingWand *),
00191   DrawRotate(DrawingWand *,const double),
00192   DrawRoundRectangle(DrawingWand *,double,double,double,double,double,double),
00193   DrawScale(DrawingWand *,const double,const double),
00194   DrawSetBorderColor(DrawingWand *,const PixelWand *),
00195   DrawSetClipRule(DrawingWand *,const FillRule),
00196   DrawSetClipUnits(DrawingWand *,const ClipPathUnits),
00197   DrawSetFillColor(DrawingWand *,const PixelWand *),
00198   DrawSetFillOpacity(DrawingWand *,const double),
00199   DrawSetFillRule(DrawingWand *,const FillRule),
00200   DrawSetFontSize(DrawingWand *,const double),
00201   DrawSetFontStretch(DrawingWand *,const StretchType),
00202   DrawSetFontStyle(DrawingWand *,const StyleType),
00203   DrawSetFontWeight(DrawingWand *,const size_t),
00204   DrawSetGravity(DrawingWand *,const GravityType),
00205   DrawSetOpacity(DrawingWand *,const double),
00206   DrawSetStrokeAntialias(DrawingWand *,const MagickBooleanType),
00207   DrawSetStrokeColor(DrawingWand *,const PixelWand *),
00208   DrawSetStrokeDashOffset(DrawingWand *,const double dashoffset),
00209   DrawSetStrokeLineCap(DrawingWand *,const LineCap),
00210   DrawSetStrokeLineJoin(DrawingWand *,const LineJoin),
00211   DrawSetStrokeMiterLimit(DrawingWand *,const size_t),
00212   DrawSetStrokeOpacity(DrawingWand *, const double),
00213   DrawSetStrokeWidth(DrawingWand *,const double),
00214   DrawSetTextAlignment(DrawingWand *,const AlignType),
00215   DrawSetTextAntialias(DrawingWand *,const MagickBooleanType),
00216   DrawSetTextDecoration(DrawingWand *,const DecorationType),
00217   DrawSetTextDirection(DrawingWand *,const DirectionType),
00218   DrawSetTextEncoding(DrawingWand *,const char *),
00219   DrawSetTextUnderColor(DrawingWand *,const PixelWand *),
00220   DrawSetViewbox(DrawingWand *,const double,const double,const double,
00221     const double),
00222   DrawSkewX(DrawingWand *,const double),
00223   DrawSkewY(DrawingWand *,const double),
00224   DrawTranslate(DrawingWand *,const double,const double);
00225 
00226 #if defined(__cplusplus) || defined(c_plusplus)
00227 }
00228 #endif
00229 
00230 #endif

Generated on 30 Sep 2019 for MagickWand by  doxygen 1.6.1