Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 10:11:45

0001 /*
0002   Copyright @ 2002 ImageMagick Studio LLC, a non-profit organization
0003   dedicated to making software imaging solutions freely available.
0004   
0005   You may not use this file except in compliance with the License.  You may
0006   obtain a copy of the License at
0007   
0008     https://imagemagick.org/script/license.php
0009   
0010   Unless required by applicable law or agreed to in writing, software
0011   distributed under the License is distributed on an "AS IS" BASIS,
0012   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0013   See the License for the specific language governing permissions and
0014   limitations under the License.
0015 
0016   MagickWand drawing wand methods.
0017 */
0018 #ifndef MAGICKWAND_DRAWING_WAND_H
0019 #define MAGICKWAND_DRAWING_WAND_H
0020 
0021 #include "MagickWand/pixel-wand.h"
0022 
0023 #if defined(__cplusplus) || defined(c_plusplus)
0024 extern "C" {
0025 #endif
0026 
0027 typedef struct _DrawingWand
0028   DrawingWand;
0029 
0030 extern WandExport AlignType
0031   DrawGetTextAlignment(const DrawingWand *);
0032 
0033 extern WandExport char
0034   *DrawGetClipPath(const DrawingWand *),
0035   *DrawGetDensity(const DrawingWand *),
0036   *DrawGetException(const DrawingWand *,ExceptionType *),
0037   *DrawGetFont(const DrawingWand *),
0038   *DrawGetFontFamily(const DrawingWand *),
0039   *DrawGetTextEncoding(const DrawingWand *),
0040   *DrawGetVectorGraphics(DrawingWand *);
0041 
0042 extern WandExport ClipPathUnits
0043   DrawGetClipUnits(const DrawingWand *) magick_attribute((__pure__));
0044 
0045 extern WandExport DecorationType
0046   DrawGetTextDecoration(const DrawingWand *) magick_attribute((__pure__));
0047 
0048 extern WandExport DirectionType
0049   DrawGetTextDirection(const DrawingWand *);
0050 
0051 extern WandExport double
0052   DrawGetFillOpacity(const DrawingWand *) magick_attribute((__pure__)),
0053   DrawGetFontSize(const DrawingWand *) magick_attribute((__pure__)),
0054   DrawGetOpacity(const DrawingWand *) magick_attribute((__pure__)),
0055   *DrawGetStrokeDashArray(const DrawingWand *,size_t *),
0056   DrawGetStrokeDashOffset(const DrawingWand *) magick_attribute((__pure__)),
0057   DrawGetStrokeOpacity(const DrawingWand *) magick_attribute((__pure__)),
0058   DrawGetStrokeWidth(const DrawingWand *) magick_attribute((__pure__)),
0059   DrawGetTextKerning(DrawingWand *) magick_attribute((__pure__)),
0060   DrawGetTextInterlineSpacing(DrawingWand *) magick_attribute((__pure__)),
0061   DrawGetTextInterwordSpacing(DrawingWand *) magick_attribute((__pure__));
0062 
0063 extern WandExport DrawInfo
0064   *PeekDrawingWand(const DrawingWand *);
0065 
0066 extern WandExport DrawingWand
0067   *AcquireDrawingWand(const DrawInfo *,Image *),
0068   *CloneDrawingWand(const DrawingWand *),
0069   *DestroyDrawingWand(DrawingWand *),
0070   *NewDrawingWand(void);
0071 
0072 extern WandExport ExceptionInfo
0073   *DrawCloneExceptionInfo(const DrawingWand *wand);
0074 
0075 extern WandExport ExceptionType
0076   DrawGetExceptionType(const DrawingWand *);
0077 
0078 extern WandExport FillRule
0079   DrawGetClipRule(const DrawingWand *) magick_attribute((__pure__)),
0080   DrawGetFillRule(const DrawingWand *) magick_attribute((__pure__));
0081 
0082 extern WandExport GravityType
0083   DrawGetGravity(const DrawingWand *) magick_attribute((__pure__));
0084 
0085 extern WandExport LineCap
0086   DrawGetStrokeLineCap(const DrawingWand *) magick_attribute((__pure__));
0087 
0088 extern WandExport LineJoin
0089   DrawGetStrokeLineJoin(const DrawingWand *) magick_attribute((__pure__));
0090 
0091 extern WandExport MagickBooleanType
0092   DrawClearException(DrawingWand *),
0093   DrawComposite(DrawingWand *,const CompositeOperator,const double,
0094     const double,const double,const double,MagickWand *),
0095   DrawGetFontResolution(const DrawingWand *,double *,double *),
0096   DrawGetStrokeAntialias(const DrawingWand *) magick_attribute((__pure__)),
0097   DrawGetTextAntialias(const DrawingWand *) magick_attribute((__pure__)),
0098   DrawGetTypeMetrics(const DrawingWand *,const char *,MagickBooleanType,
0099     TypeMetric *),
0100   DrawPopPattern(DrawingWand *),
0101   DrawPushPattern(DrawingWand *,const char *,const double,const double,
0102     const double,const double),
0103   DrawRender(DrawingWand *),
0104   DrawSetClipPath(DrawingWand *,const char *),
0105   DrawSetDensity(DrawingWand *,const char *),
0106   DrawSetFillPatternURL(DrawingWand *,const char *),
0107   DrawSetFont(DrawingWand *,const char *),
0108   DrawSetFontFamily(DrawingWand *,const char *),
0109   DrawSetFontResolution(DrawingWand *,const double,const double),
0110   DrawSetStrokeDashArray(DrawingWand *,const size_t,const double *),
0111   DrawSetStrokePatternURL(DrawingWand *,const char *),
0112   DrawSetVectorGraphics(DrawingWand *,const char *),
0113   IsDrawingWand(const DrawingWand *),
0114   PopDrawingWand(DrawingWand *),
0115   PushDrawingWand(DrawingWand *);
0116 
0117 extern WandExport StretchType
0118   DrawGetFontStretch(const DrawingWand *);
0119 
0120 extern WandExport StyleType
0121   DrawGetFontStyle(const DrawingWand *);
0122 
0123 extern WandExport size_t
0124   DrawGetFontWeight(const DrawingWand *) magick_attribute((__pure__)),
0125   DrawGetStrokeMiterLimit(const DrawingWand *) magick_attribute((__pure__));
0126 
0127 extern WandExport void
0128   ClearDrawingWand(DrawingWand *),
0129   DrawAffine(DrawingWand *,const AffineMatrix *),
0130   DrawAlpha(DrawingWand *,const double,const double,const PaintMethod),
0131   DrawAnnotation(DrawingWand *,const double,const double,const unsigned char *),
0132   DrawArc(DrawingWand *,const double,const double,const double,const double,
0133     const double,const double),
0134   DrawBezier(DrawingWand *,const size_t,const PointInfo *),
0135   DrawGetBorderColor(const DrawingWand *,PixelWand *),
0136   DrawCircle(DrawingWand *,const double,const double,const double,const double),
0137   DrawColor(DrawingWand *,const double,const double,const PaintMethod),
0138   DrawComment(DrawingWand *,const char *),
0139   DrawEllipse(DrawingWand *,const double,const double,const double,const double,
0140     const double,const double),
0141   DrawGetFillColor(const DrawingWand *,PixelWand *),
0142   DrawGetStrokeColor(const DrawingWand *,PixelWand *),
0143   DrawSetTextKerning(DrawingWand *,const double),
0144   DrawSetTextInterlineSpacing(DrawingWand *,const double),
0145   DrawSetTextInterwordSpacing(DrawingWand *,const double),
0146   DrawGetTextUnderColor(const DrawingWand *,PixelWand *),
0147   DrawLine(DrawingWand *,const double, const double,const double,const double),
0148   DrawPathClose(DrawingWand *),
0149   DrawPathCurveToAbsolute(DrawingWand *,const double,const double,const double,
0150     const double,const double,const double),
0151   DrawPathCurveToRelative(DrawingWand *,const double,const double,const double,
0152     const double,const double, const double),
0153   DrawPathCurveToQuadraticBezierAbsolute(DrawingWand *,const double,
0154     const double,const double,const double),
0155   DrawPathCurveToQuadraticBezierRelative(DrawingWand *,const double,
0156     const double,const double,const double),
0157   DrawPathCurveToQuadraticBezierSmoothAbsolute(DrawingWand *,const double,
0158     const double),
0159   DrawPathCurveToQuadraticBezierSmoothRelative(DrawingWand *,const double,
0160     const double),
0161   DrawPathCurveToSmoothAbsolute(DrawingWand *,const double,const double,
0162     const double,const double),
0163   DrawPathCurveToSmoothRelative(DrawingWand *,const double,const double,
0164     const double,const double),
0165   DrawPathEllipticArcAbsolute(DrawingWand *,const double,const double,
0166     const double,const MagickBooleanType,const MagickBooleanType,const double,
0167     const double),
0168   DrawPathEllipticArcRelative(DrawingWand *,const double,const double,
0169     const double,const MagickBooleanType,const MagickBooleanType,const double,
0170     const double),
0171   DrawPathFinish(DrawingWand *),
0172   DrawPathLineToAbsolute(DrawingWand *,const double,const double),
0173   DrawPathLineToRelative(DrawingWand *,const double,const double),
0174   DrawPathLineToHorizontalAbsolute(DrawingWand *,const double),
0175   DrawPathLineToHorizontalRelative(DrawingWand *,const double),
0176   DrawPathLineToVerticalAbsolute(DrawingWand *,const double),
0177   DrawPathLineToVerticalRelative(DrawingWand *,const double),
0178   DrawPathMoveToAbsolute(DrawingWand *,const double,const double),
0179   DrawPathMoveToRelative(DrawingWand *,const double,const double),
0180   DrawPathStart(DrawingWand *),
0181   DrawPoint(DrawingWand *,const double,const double),
0182   DrawPolygon(DrawingWand *,const size_t,const PointInfo *),
0183   DrawPolyline(DrawingWand *,const size_t,const PointInfo *),
0184   DrawPopClipPath(DrawingWand *),
0185   DrawPopDefs(DrawingWand *),
0186   DrawPushClipPath(DrawingWand *,const char *),
0187   DrawPushDefs(DrawingWand *),
0188   DrawRectangle(DrawingWand *,const double,const double,const double,
0189     const double),
0190   DrawResetVectorGraphics(DrawingWand *),
0191   DrawRotate(DrawingWand *,const double),
0192   DrawRoundRectangle(DrawingWand *,double,double,double,double,double,double),
0193   DrawScale(DrawingWand *,const double,const double),
0194   DrawSetBorderColor(DrawingWand *,const PixelWand *),
0195   DrawSetClipRule(DrawingWand *,const FillRule),
0196   DrawSetClipUnits(DrawingWand *,const ClipPathUnits),
0197   DrawSetFillColor(DrawingWand *,const PixelWand *),
0198   DrawSetFillOpacity(DrawingWand *,const double),
0199   DrawSetFillRule(DrawingWand *,const FillRule),
0200   DrawSetFontSize(DrawingWand *,const double),
0201   DrawSetFontStretch(DrawingWand *,const StretchType),
0202   DrawSetFontStyle(DrawingWand *,const StyleType),
0203   DrawSetFontWeight(DrawingWand *,const size_t),
0204   DrawSetGravity(DrawingWand *,const GravityType),
0205   DrawSetOpacity(DrawingWand *,const double),
0206   DrawSetStrokeAntialias(DrawingWand *,const MagickBooleanType),
0207   DrawSetStrokeColor(DrawingWand *,const PixelWand *),
0208   DrawSetStrokeDashOffset(DrawingWand *,const double dashoffset),
0209   DrawSetStrokeLineCap(DrawingWand *,const LineCap),
0210   DrawSetStrokeLineJoin(DrawingWand *,const LineJoin),
0211   DrawSetStrokeMiterLimit(DrawingWand *,const size_t),
0212   DrawSetStrokeOpacity(DrawingWand *, const double),
0213   DrawSetStrokeWidth(DrawingWand *,const double),
0214   DrawSetTextAlignment(DrawingWand *,const AlignType),
0215   DrawSetTextAntialias(DrawingWand *,const MagickBooleanType),
0216   DrawSetTextDecoration(DrawingWand *,const DecorationType),
0217   DrawSetTextDirection(DrawingWand *,const DirectionType),
0218   DrawSetTextEncoding(DrawingWand *,const char *),
0219   DrawSetTextUnderColor(DrawingWand *,const PixelWand *),
0220   DrawSetViewbox(DrawingWand *,const double,const double,const double,
0221     const double),
0222   DrawSkewX(DrawingWand *,const double),
0223   DrawSkewY(DrawingWand *,const double),
0224   DrawTranslate(DrawingWand *,const double,const double);
0225 
0226 #if defined(__cplusplus) || defined(c_plusplus)
0227 }
0228 #endif
0229 
0230 #endif