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

Generated on 19 Nov 2009 for MagickWand by  doxygen 1.6.1