# drawing-wand.h

Go to the documentation of this file.

    00001 /*
    00002   Copyright 1999-2009 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.
    00006   obtain a copy of the License at
    00007
    00008     http://www.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 #if defined(__cplusplus) || defined(c_plusplus)
    00022 extern "C" {
    00023 #endif
    00024
    00025 #include "wand/pixel-wand.h"
    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   *DrawGetException(const DrawingWand *,ExceptionType *),
    00036   *DrawGetFont(const DrawingWand *),
    00037   *DrawGetFontFamily(const DrawingWand *),
    00038   *DrawGetTextEncoding(const DrawingWand *),
    00039   *DrawGetVectorGraphics(DrawingWand *);
    00040
    00041 extern WandExport ClipPathUnits
    00042   DrawGetClipUnits(const DrawingWand *);
    00043
    00044 extern WandExport DecorationType
    00045   DrawGetTextDecoration(const DrawingWand *);
    00046
    00047 extern WandExport double
    00048   DrawGetFillOpacity(const DrawingWand *),
    00049   DrawGetFontSize(const DrawingWand *),
    00050   *DrawGetStrokeDashArray(const DrawingWand *,unsigned long *),
    00051   DrawGetStrokeDashOffset(const DrawingWand *),
    00052   DrawGetStrokeOpacity(const DrawingWand *),
    00053   DrawGetStrokeWidth(const DrawingWand *);
    00054
    00055 extern WandExport DrawInfo
    00056   *PeekDrawingWand(const DrawingWand *);
    00057
    00058 extern WandExport DrawingWand
    00059   *CloneDrawingWand(const DrawingWand *),
    00060   *DestroyDrawingWand(DrawingWand *),
    00061   *DrawAllocateWand(const DrawInfo *,Image *),
    00062   *NewDrawingWand(void);
    00063
    00064 extern WandExport ExceptionType
    00065   DrawGetExceptionType(const DrawingWand *);
    00066
    00067 extern WandExport FillRule
    00068   DrawGetClipRule(const DrawingWand *),
    00069   DrawGetFillRule(const DrawingWand *);
    00070
    00071 extern WandExport GravityType
    00072   DrawGetGravity(const DrawingWand *);
    00073
    00074 extern WandExport LineCap
    00075   DrawGetStrokeLineCap(const DrawingWand *);
    00076
    00077 extern WandExport LineJoin
    00078   DrawGetStrokeLineJoin(const DrawingWand *);
    00079
    00080 extern WandExport MagickBooleanType
    00081   DrawClearException(DrawingWand *),
    00082   DrawComposite(DrawingWand *,const CompositeOperator,const double,const double,
    00083     const double,const double,MagickWand *),
    00084   DrawGetStrokeAntialias(const DrawingWand *),
    00085   DrawGetTextAntialias(const DrawingWand *),
    00086   DrawPopPattern(DrawingWand *),
    00087   DrawPushPattern(DrawingWand *,const char *,const double,const double,
    00088     const double,const double),
    00089   DrawRender(DrawingWand *),
    00090   DrawSetClipPath(DrawingWand *,const char *),
    00091   DrawSetFillPatternURL(DrawingWand *,const char *),
    00092   DrawSetFont(DrawingWand *,const char *),
    00093   DrawSetFontFamily(DrawingWand *,const char *),
    00094   DrawSetStrokeDashArray(DrawingWand *,const unsigned long,const double *),
    00095   DrawSetStrokePatternURL(DrawingWand *,const char *),
    00096   DrawSetVectorGraphics(DrawingWand *,const char *),
    00097   IsDrawingWand(const DrawingWand *),
    00098   PopDrawingWand(DrawingWand *),
    00099   PushDrawingWand(DrawingWand *);
    00100
    00101 extern WandExport StretchType
    00102   DrawGetFontStretch(const DrawingWand *);
    00103
    00104 extern WandExport StyleType
    00105   DrawGetFontStyle(const DrawingWand *);
    00106
    00107 extern WandExport unsigned long
    00108   DrawGetFontWeight(const DrawingWand *),
    00109   DrawGetStrokeMiterLimit(const DrawingWand *);
    00110
    00111 extern WandExport void
    00112   ClearDrawingWand(DrawingWand *),
    00113   DrawAffine(DrawingWand *,const AffineMatrix *),
    00114   DrawAnnotation(DrawingWand *,const double,const double,const unsigned char *),
    00115   DrawArc(DrawingWand *,const double,const double,const double,const double,
    00116     const double,const double),
    00117   DrawBezier(DrawingWand *,const unsigned long,const PointInfo *),
    00118   DrawCircle(DrawingWand *,const double,const double,const double,const double),
    00119   DrawColor(DrawingWand *,const double,const double,const PaintMethod),
    00120   DrawComment(DrawingWand *,const char *),
    00121   DrawEllipse(DrawingWand *,const double,const double,const double,const double,
    00122     const double,const double),
    00123   DrawGetFillColor(const DrawingWand *,PixelWand *),
    00124   DrawGetStrokeColor(const DrawingWand *,PixelWand *),
    00125   DrawGetTextUnderColor(const DrawingWand *,PixelWand *),
    00126   DrawLine(DrawingWand *,const double, const double,const double,const double),
    00127   DrawMatte(DrawingWand *,const double,const double,const PaintMethod),
    00128   DrawPathClose(DrawingWand *),
    00129   DrawPathCurveToAbsolute(DrawingWand *,const double,const double,const double,
    00130     const double,const double,const double),
    00131   DrawPathCurveToRelative(DrawingWand *,const double,const double,const double,
    00132     const double,const double, const double),
    00133   DrawPathCurveToQuadraticBezierAbsolute(DrawingWand *,const double,
    00134     const double,const double,const double),
    00135   DrawPathCurveToQuadraticBezierRelative(DrawingWand *,const double,
    00136     const double,const double,const double),
    00137   DrawPathCurveToQuadraticBezierSmoothAbsolute(DrawingWand *,const double,
    00138     const double),
    00139   DrawPathCurveToQuadraticBezierSmoothRelative(DrawingWand *,const double,
    00140     const double),
    00141   DrawPathCurveToSmoothAbsolute(DrawingWand *,const double,const double,
    00142     const double,const double),
    00143   DrawPathCurveToSmoothRelative(DrawingWand *,const double,const double,
    00144     const double,const double),
    00145   DrawPathEllipticArcAbsolute(DrawingWand *,const double,const double,
    00146     const double,const MagickBooleanType,const MagickBooleanType,const double,
    00147     const double),
    00148   DrawPathEllipticArcRelative(DrawingWand *,const double,const double,
    00149     const double,const MagickBooleanType,const MagickBooleanType,const double,
    00150     const double),
    00151   DrawPathFinish(DrawingWand *),
    00152   DrawPathLineToAbsolute(DrawingWand *,const double,const double),
    00153   DrawPathLineToRelative(DrawingWand *,const double,const double),
    00154   DrawPathLineToHorizontalAbsolute(DrawingWand *,const double),
    00155   DrawPathLineToHorizontalRelative(DrawingWand *,const double),
    00156   DrawPathLineToVerticalAbsolute(DrawingWand *,const double),
    00157   DrawPathLineToVerticalRelative(DrawingWand *,const double),
    00158   DrawPathMoveToAbsolute(DrawingWand *,const double,const double),
    00159   DrawPathMoveToRelative(DrawingWand *,const double,const double),
    00160   DrawPathStart(DrawingWand *),
    00161   DrawPoint(DrawingWand *,const double,const double),
    00162   DrawPolygon(DrawingWand *,const unsigned long,const PointInfo *),
    00163   DrawPolyline(DrawingWand *,const unsigned long,const PointInfo *),
    00164   DrawPopClipPath(DrawingWand *),
    00165   DrawPopDefs(DrawingWand *),
    00166   DrawPushClipPath(DrawingWand *,const char *),
    00167   DrawPushDefs(DrawingWand *),
    00168   DrawRectangle(DrawingWand *,const double,const double,const double,
    00169     const double),
    00170   DrawResetVectorGraphics(DrawingWand *),
    00171   DrawRotate(DrawingWand *,const double),
    00172   DrawRoundRectangle(DrawingWand *,double,double,double,double,double,double),
    00173   DrawScale(DrawingWand *,const double,const double),
    00174   DrawSetClipRule(DrawingWand *,const FillRule),
    00175   DrawSetClipUnits(DrawingWand *,const ClipPathUnits),
    00176   DrawSetFillColor(DrawingWand *,const PixelWand *),
    00177   DrawSetFillOpacity(DrawingWand *,const double),
    00178   DrawSetFillRule(DrawingWand *,const FillRule),
    00179   DrawSetFontSize(DrawingWand *,const double),
    00180   DrawSetFontStretch(DrawingWand *,const StretchType),
    00181   DrawSetFontStyle(DrawingWand *,const StyleType),
    00182   DrawSetFontWeight(DrawingWand *,const unsigned long),
    00183   DrawSetGravity(DrawingWand *,const GravityType),
    00184   DrawSetStrokeAntialias(DrawingWand *,const MagickBooleanType),
    00185   DrawSetStrokeColor(DrawingWand *,const PixelWand *),
    00186   DrawSetStrokeDashOffset(DrawingWand *,const double dashoffset),
    00187   DrawSetStrokeLineCap(DrawingWand *,const LineCap),
    00188   DrawSetStrokeLineJoin(DrawingWand *,const LineJoin),
    00189   DrawSetStrokeMiterLimit(DrawingWand *,const unsigned long),
    00190   DrawSetStrokeOpacity(DrawingWand *, const double),
    00191   DrawSetStrokeWidth(DrawingWand *,const double),
    00192   DrawSetTextAlignment(DrawingWand *,const AlignType),
    00193   DrawSetTextAntialias(DrawingWand *,const MagickBooleanType),
    00194   DrawSetTextDecoration(DrawingWand *,const DecorationType),
    00195   DrawSetTextEncoding(DrawingWand *,const char *),
    00196   DrawSetTextUnderColor(DrawingWand *,const PixelWand *),
    00197   DrawSetViewbox(DrawingWand *,unsigned long,unsigned long,unsigned long,
    00198     unsigned long),
    00199   DrawSkewX(DrawingWand *,const double),
    00200   DrawSkewY(DrawingWand *,const double),
    00201   DrawTranslate(DrawingWand *,const double,const double);
    00202
    00203 #if defined(__cplusplus) || defined(c_plusplus)
    00204 }
    00205 #endif
    00206
    00207 #endif