void (*DrawSetTextDecoration)(DrawingWand *,const DecorationType);
void (*DrawSetTextUnderColor)(DrawingWand *,const PixelWand *);
void (*DrawTranslate)(DrawingWand *,const double,const double);
- void (*DrawSetViewbox)(DrawingWand *,size_t,size_t,
- size_t,size_t);
+ void (*DrawSetViewbox)(DrawingWand *,const double,const double,
+ const double,const double);
void (*PeekDrawingWand)(DrawingWand *);
MagickBooleanType (*PopDrawingWand)(DrawingWand *);
MagickBooleanType (*PushDrawingWand)(DrawingWand *);
%
% The format of the DrawGetFontResolution method is:
%
-% DrawBooleanType DrawGetFontResolution(const DrawingWand *wand,
+% MagickBooleanType DrawGetFontResolution(const DrawingWand *wand,
% double *x,double *y)
%
% A description of each parameter follows:
% The format of the DrawGetStrokeColor method is:
%
% void DrawGetStrokeColor(const DrawingWand *wand,
-$ PixelWand *stroke_color)
+% PixelWand *stroke_color)
%
% A description of each parameter follows:
%
%
% The format of the DrawGetTextAlignment method is:
%
-% AlignType DrawGetTextAlignment(DrawingWand *wand)
+% AlignType DrawGetTextAlignment(const DrawingWand *wand)
%
% A description of each parameter follows:
%
%
% The format of the DrawGetTextDecoration method is:
%
-% DecorationType DrawGetTextDecoration(DrawingWand *wand)
+% DecorationType DrawGetTextDecoration(const DrawingWand *wand)
%
% A description of each parameter follows:
%
% %
% %
% %
-% D r a w G e t T e x t I n t e r L i n e S p a c i n g %
+% D r a w G e t T e x t I n t e r l i n e S p a c i n g %
% %
% %
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% DrawGetTextInterwordSpacing() gets the spacing between lines in text.
+% DrawGetTextInterlineSpacing() gets the spacing between lines in text.
%
-% The format of the DrawSetFontKerning method is:
+% The format of the DrawGetTextInterlineSpacing method is:
%
-% double DrawGetTextInterwordSpacing(DrawingWand *wand)
+% double DrawGetTextInterlineSpacing(DrawingWand *wand)
%
% A description of each parameter follows:
%
%
% The format of the DrawGetVectorGraphics method is:
%
-% char *DrawGetVectorGraphics(const DrawingWand *wand)
+% char *DrawGetVectorGraphics(DrawingWand *wand)
%
% A description of each parameter follows:
%
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% DrawPathCurveToQuadraticBezierSmoothAbsolute() draws a quadratic Bezier
+% DrawPathCurveToQuadraticBezierSmoothRelative() draws a quadratic Bezier
% curve (using relative coordinates) from the current point to (x,y). The
% control point is assumed to be the reflection of the control point on the
% previous command relative to the current point. (If there is no previous
% The format of the DrawPathCurveToSmoothAbsolute method is:
%
% void DrawPathCurveToSmoothAbsolute(DrawingWand *wand,
-% const double x2const double y2,const double x,const double y)
+% const double x2,const double y2,const double x,const double y)
%
% A description of each parameter follows:
%
%
% The format of the DrawPathLineToHorizontalAbsolute method is:
%
-% void DrawPathLineToHorizontalAbsolute(DrawingWand *wand,
-% const PathMode mode,const double x)
+% void DrawPathLineToHorizontalAbsolute(DrawingWand *wand,const double x)
%
% A description of each parameter follows:
%
%
% The format of the DrawSetFontResolution method is:
%
-% DrawBooleanType DrawSetFontResolution(DrawingWand *wand,
-% const double x_resolution,const doubtl y_resolution)
+% MagickBooleanType DrawSetFontResolution(DrawingWand *wand,
+% const double x_resolution,const double y_resolution)
%
% A description of each parameter follows:
%
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% DrawSetTextInterwordSpacing() sets the spacing between line in text.
+% DrawSetTextInterlineSpacing() sets the spacing between line in text.
%
-% The format of the DrawSetInterwordSpacing method is:
+% The format of the DrawSetInterlineSpacing method is:
%
-% void DrawSetTextInterwordSpacing(DrawingWand *wand,
+% void DrawSetTextInterlineSpacing(DrawingWand *wand,
% const double interline_spacing)
%
% A description of each parameter follows:
%
% The format of the DrawSetViewbox method is:
%
-% void DrawSetViewbox(DrawingWand *wand,size_t x1,
-% size_t y1,size_t x2,size_t y2)
+% void DrawSetViewbox(DrawingWand *wand,const double x1,const double y1,
+% const double x2,const double y2)
%
% A description of each parameter follows:
%
% o y2: bottom y ordinate
%
*/
-WandExport void DrawSetViewbox(DrawingWand *wand,ssize_t x1,ssize_t y1,
- ssize_t x2,ssize_t y2)
+WandExport void DrawSetViewbox(DrawingWand *wand,const double x1,
+ const double y1,const double x2,const double y2)
{
assert(wand != (DrawingWand *) NULL);
assert(wand->signature == WandSignature);
if (wand->debug != MagickFalse)
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
- (void) MvgPrintf(wand,"viewbox %.20g %.20g %.20g %.20g\n",(double) x1,
- (double) y1,(double) x2,(double) y2);
+ (void) MvgPrintf(wand,"viewbox %.20g %.20g %.20g %.20g\n",x1,y1,x2,y2);
}
\f
/*
%
% The format of the NewDrawingWand method is:
%
-% DrawingWand NewDrawingWand(void)
+% DrawingWand *NewDrawingWand(void)
%
*/
WandExport DrawingWand *NewDrawingWand(void)