|
MagickWand
6.7.5
|
00001 /* 00002 Copyright 1999-2012 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 "MagickWand/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 DrawGetFillAlpha(const DrawingWand *), 00049 DrawGetFontSize(const DrawingWand *), 00050 DrawGetAlpha(const DrawingWand *), 00051 *DrawGetStrokeDashArray(const DrawingWand *,size_t *), 00052 DrawGetStrokeDashOffset(const DrawingWand *), 00053 DrawGetStrokeAlpha(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 DrawGetFontResolution(const DrawingWand *,double *,double *), 00089 DrawGetStrokeAntialias(const DrawingWand *), 00090 DrawGetTextAntialias(const DrawingWand *), 00091 DrawPopPattern(DrawingWand *), 00092 DrawPushPattern(DrawingWand *,const char *,const double,const double, 00093 const double,const double), 00094 DrawRender(DrawingWand *), 00095 DrawSetClipPath(DrawingWand *,const char *), 00096 DrawSetFillPatternURL(DrawingWand *,const char *), 00097 DrawSetFont(DrawingWand *,const char *), 00098 DrawSetFontFamily(DrawingWand *,const char *), 00099 DrawSetFontResolution(DrawingWand *,const double,const double), 00100 DrawSetStrokeDashArray(DrawingWand *,const size_t,const double *), 00101 DrawSetStrokePatternURL(DrawingWand *,const char *), 00102 DrawSetVectorGraphics(DrawingWand *,const char *), 00103 IsDrawingWand(const DrawingWand *), 00104 PopDrawingWand(DrawingWand *), 00105 PushDrawingWand(DrawingWand *); 00106 00107 extern WandExport StretchType 00108 DrawGetFontStretch(const DrawingWand *); 00109 00110 extern WandExport StyleType 00111 DrawGetFontStyle(const DrawingWand *); 00112 00113 extern WandExport size_t 00114 DrawGetFontWeight(const DrawingWand *), 00115 DrawGetStrokeMiterLimit(const DrawingWand *); 00116 00117 extern WandExport void 00118 ClearDrawingWand(DrawingWand *), 00119 DrawAffine(DrawingWand *,const AffineMatrix *), 00120 DrawAnnotation(DrawingWand *,const double,const double,const unsigned char *), 00121 DrawArc(DrawingWand *,const double,const double,const double,const double, 00122 const double,const double), 00123 DrawBezier(DrawingWand *,const size_t,const PointInfo *), 00124 DrawGetBorderColor(const DrawingWand *,PixelWand *), 00125 DrawCircle(DrawingWand *,const double,const double,const double,const double), 00126 DrawColor(DrawingWand *,const double,const double,const PaintMethod), 00127 DrawComment(DrawingWand *,const char *), 00128 DrawEllipse(DrawingWand *,const double,const double,const double,const double, 00129 const double,const double), 00130 DrawGetFillColor(const DrawingWand *,PixelWand *), 00131 DrawGetStrokeColor(const DrawingWand *,PixelWand *), 00132 DrawSetTextKerning(DrawingWand *,const double), 00133 DrawSetTextInterlineSpacing(DrawingWand *,const double), 00134 DrawSetTextInterwordSpacing(DrawingWand *,const double), 00135 DrawGetTextUnderColor(const DrawingWand *,PixelWand *), 00136 DrawLine(DrawingWand *,const double, const double,const double,const double), 00137 DrawMatte(DrawingWand *,const double,const double,const PaintMethod), 00138 DrawPathClose(DrawingWand *), 00139 DrawPathCurveToAbsolute(DrawingWand *,const double,const double,const double, 00140 const double,const double,const double), 00141 DrawPathCurveToRelative(DrawingWand *,const double,const double,const double, 00142 const double,const double, const double), 00143 DrawPathCurveToQuadraticBezierAbsolute(DrawingWand *,const double, 00144 const double,const double,const double), 00145 DrawPathCurveToQuadraticBezierRelative(DrawingWand *,const double, 00146 const double,const double,const double), 00147 DrawPathCurveToQuadraticBezierSmoothAbsolute(DrawingWand *,const double, 00148 const double), 00149 DrawPathCurveToQuadraticBezierSmoothRelative(DrawingWand *,const double, 00150 const double), 00151 DrawPathCurveToSmoothAbsolute(DrawingWand *,const double,const double, 00152 const double,const double), 00153 DrawPathCurveToSmoothRelative(DrawingWand *,const double,const double, 00154 const double,const double), 00155 DrawPathEllipticArcAbsolute(DrawingWand *,const double,const double, 00156 const double,const MagickBooleanType,const MagickBooleanType,const double, 00157 const double), 00158 DrawPathEllipticArcRelative(DrawingWand *,const double,const double, 00159 const double,const MagickBooleanType,const MagickBooleanType,const double, 00160 const double), 00161 DrawPathFinish(DrawingWand *), 00162 DrawPathLineToAbsolute(DrawingWand *,const double,const double), 00163 DrawPathLineToRelative(DrawingWand *,const double,const double), 00164 DrawPathLineToHorizontalAbsolute(DrawingWand *,const double), 00165 DrawPathLineToHorizontalRelative(DrawingWand *,const double), 00166 DrawPathLineToVerticalAbsolute(DrawingWand *,const double), 00167 DrawPathLineToVerticalRelative(DrawingWand *,const double), 00168 DrawPathMoveToAbsolute(DrawingWand *,const double,const double), 00169 DrawPathMoveToRelative(DrawingWand *,const double,const double), 00170 DrawPathStart(DrawingWand *), 00171 DrawPoint(DrawingWand *,const double,const double), 00172 DrawPolygon(DrawingWand *,const size_t,const PointInfo *), 00173 DrawPolyline(DrawingWand *,const size_t,const PointInfo *), 00174 DrawPopClipPath(DrawingWand *), 00175 DrawPopDefs(DrawingWand *), 00176 DrawPushClipPath(DrawingWand *,const char *), 00177 DrawPushDefs(DrawingWand *), 00178 DrawRectangle(DrawingWand *,const double,const double,const double, 00179 const double), 00180 DrawResetVectorGraphics(DrawingWand *), 00181 DrawRotate(DrawingWand *,const double), 00182 DrawRoundRectangle(DrawingWand *,double,double,double,double,double,double), 00183 DrawScale(DrawingWand *,const double,const double), 00184 DrawSetBorderColor(DrawingWand *,const PixelWand *), 00185 DrawSetClipRule(DrawingWand *,const FillRule), 00186 DrawSetClipUnits(DrawingWand *,const ClipPathUnits), 00187 DrawSetFillColor(DrawingWand *,const PixelWand *), 00188 DrawSetFillAlpha(DrawingWand *,const double), 00189 DrawSetFillRule(DrawingWand *,const FillRule), 00190 DrawSetFontSize(DrawingWand *,const double), 00191 DrawSetFontStretch(DrawingWand *,const StretchType), 00192 DrawSetFontStyle(DrawingWand *,const StyleType), 00193 DrawSetFontWeight(DrawingWand *,const size_t), 00194 DrawSetGravity(DrawingWand *,const GravityType), 00195 DrawSetAlpha(DrawingWand *,const double), 00196 DrawSetStrokeAntialias(DrawingWand *,const MagickBooleanType), 00197 DrawSetStrokeColor(DrawingWand *,const PixelWand *), 00198 DrawSetStrokeDashOffset(DrawingWand *,const double dashoffset), 00199 DrawSetStrokeLineCap(DrawingWand *,const LineCap), 00200 DrawSetStrokeLineJoin(DrawingWand *,const LineJoin), 00201 DrawSetStrokeMiterLimit(DrawingWand *,const size_t), 00202 DrawSetStrokeAlpha(DrawingWand *, const double), 00203 DrawSetStrokeWidth(DrawingWand *,const double), 00204 DrawSetTextAlignment(DrawingWand *,const AlignType), 00205 DrawSetTextAntialias(DrawingWand *,const MagickBooleanType), 00206 DrawSetTextDecoration(DrawingWand *,const DecorationType), 00207 DrawSetTextEncoding(DrawingWand *,const char *), 00208 DrawSetTextUnderColor(DrawingWand *,const PixelWand *), 00209 DrawSetViewbox(DrawingWand *,ssize_t,ssize_t,ssize_t,ssize_t), 00210 DrawSkewX(DrawingWand *,const double), 00211 DrawSkewY(DrawingWand *,const double), 00212 DrawTranslate(DrawingWand *,const double,const double); 00213 00214 #if defined(__cplusplus) || defined(c_plusplus) 00215 } 00216 #endif 00217 00218 #endif