### ----------------------------------------------------
### -- MagickWand
### -- Licenses: MIT
### -- Authors: Ahmad M. Zawawi
### -- File: lib/MagickWand/NativeCall/DrawingWand.rakumod
### ----------------------------------------------------
### -- Chunk 1 of 3

use v6;

unit module MagickWand::NativeCall::DrawingWand;

use NativeCall;
use MagickWand::NativeCall::Common;

=begin pod
=head1 ClearDrawingWand
=head2 C

    void ClearDrawingWand(DrawingWand *wand)

ClearDrawingWand() clears resources associated with the drawing wand.- wand: the drawing wand to clear. 
=end pod
sub ClearDrawingWand(
   Pointer $wand
)
is native(&library)
is export { * };


=begin pod
=head1 CloneDrawingWand
=head2 C

    DrawingWand *CloneDrawingWand(const DrawingWand *wand)

CloneDrawingWand() makes an exact copy of the specified wand.- wand: the magick wand. 
=end pod
sub CloneDrawingWand(
   Pointer $wand
)
returns Pointer
is native(&library)
is export { * };


=begin pod
=head1 DestroyDrawingWand
=head2 C

    DrawingWand *DestroyDrawingWand(DrawingWand *wand)

DestroyDrawingWand() frees all resources associated with the drawing wand. Once the drawing wand has been freed, it should not be used and further unless it re-allocated.- wand: the drawing wand to destroy. 
=end pod
sub DestroyDrawingWand(
   Pointer $wand
)
returns Pointer
is native(&library)
is export { * };


=begin pod
=head1 DrawAffine
=head2 C

    void DrawAffine(DrawingWand *wand,const AffineMatrix *affine)

DrawAffine() adjusts the current affine transformation matrix with the specified affine transformation matrix. Note that the current affine transform is adjusted rather than replaced.- wand: Drawing wand - affine: Affine matrix parameters 
=end pod
sub DrawAffine(
   Pointer $wand,
   Pointer $affine
)
is native(&library)
is export { * };


=begin pod
=head1 DrawAnnotation
=head2 C

    void DrawAnnotation(DrawingWand *wand,const double x,
      const double y,const unsigned char *text)

DrawAnnotation() draws text on the image.- wand: the drawing wand. - x: x ordinate to left of text - y: y ordinate to text baseline - text: text to draw 
=end pod
sub DrawAnnotation(
   Pointer $wand,
   num64 $x,
   num64 $y,
   Str $text
)
is native(&library)
is export { * };


=begin pod
=head1 DrawArc
=head2 C

    void DrawArc(DrawingWand *wand,const double sx,const double sy,
      const double ex,const double ey,const double sd,const double ed)

DrawArc() draws an arc falling within a specified bounding rectangle on the image.- wand: the drawing wand. - sx: starting x ordinate of bounding rectangle - sy: starting y ordinate of bounding rectangle - ex: ending x ordinate of bounding rectangle - ey: ending y ordinate of bounding rectangle - sd: starting degrees of rotation - ed: ending degrees of rotation 
=end pod
sub DrawArc(
   Pointer $wand,
   num64 $sx,
   num64 $sy,
   num64 $ex,
   num64 $ey,
   num64 $sd,
   num64 $ed
)
is native(&library)
is export { * };


=begin pod
=head1 DrawBezier
=head2 C

    void DrawBezier(DrawingWand *wand,
      const size_t number_coordinates,const PointInfo *coordinates)

DrawBezier() draws a bezier curve through a set of points on the image.- wand: the drawing wand. - number_coordinates: number of coordinates - coordinates: coordinates 
=end pod
sub DrawBezier(
   Pointer $wand,
   int32 $number_coordinates,
   Pointer $coordinates
)
is native(&library)
is export { * };


=begin pod
=head1 DrawCircle
=head2 C

    void DrawCircle(DrawingWand *wand,const double ox,
      const double oy,const double px, const double py)

DrawCircle() draws a circle on the image.- wand: the drawing wand. - ox: origin x ordinate - oy: origin y ordinate - px: perimeter x ordinate - py: perimeter y ordinate 
=end pod
sub DrawCircle(
   Pointer $wand,
   num64 $ox,
   num64 $oy,
   num64 $px,
   num64 $py
)
is native(&library)
is export { * };


=begin pod
=head1 DrawClearException
=head2 C

    MagickBooleanType DrawClearException(DrawWand *wand)

DrawClearException() clear any exceptions associated with the wand.- wand: the drawing wand. 
=end pod
sub DrawClearException(
   Pointer $wand
)
returns uint32 
is native(&library)
is export { * };


=begin pod
=head1 DrawComposite
=head2 C

    MagickBooleanType DrawComposite(DrawingWand *wand,
      const CompositeOperator compose,const double x,
      const double y,const double width,const double height,
      MagickWand *magick_wand)

DrawComposite() composites an image onto the current image, using the specified composition operator, specified position, and at the specified size.- wand: the drawing wand. - compose: composition operator - x: x ordinate of top left corner - y: y ordinate of top left corner - width: Width to resize image to prior to compositing.  Specify zero to use existing width. - height: Height to resize image to prior to compositing.  Specify zero to use existing height. - magick_wand: Image to composite is obtained from this wand. 
=end pod
sub DrawComposite(
   Pointer $wand,
   uint32 $compose,
   num64 $x,
   num64 $y,
   num64 $width,
   num64 $height,
   Pointer $magick_wand
)
returns uint32 
is native(&library)
is export { * };


=begin pod
=head1 DrawColor
=head2 C

    void DrawColor(DrawingWand *wand,const double x,const double y,
      const PaintMethod paint_method)

DrawColor() draws color on image using the current fill color, starting at specified position, and using specified paint method. The available paint methods are:<pre class="text">    PointMethod: Recolors the target pixel    ReplaceMethod: Recolor any pixel that matches the target pixel.    FloodfillMethod: Recolors target pixels and matching neighbors.    ResetMethod: Recolor all pixels.</pre>- wand: the drawing wand. - x: x ordinate. - y: y ordinate. - paint_method: paint method. 
=end pod
sub DrawColor(
   Pointer $wand,
   num64 $x,
   num64 $y,
   uint32 $paint_method
)
is native(&library)
is export { * };


=begin pod
=head1 DrawComment
=head2 C

    void DrawComment(DrawingWand *wand,const char *comment)

DrawComment() adds a comment to a vector output stream.- wand: the drawing wand. - comment: comment text 
=end pod
sub DrawComment(
   Pointer $wand,
   Str $comment
)
is native(&library)
is export { * };


=begin pod
=head1 DrawEllipse
=head2 C

    void DrawEllipse(DrawingWand *wand,const double ox,const double oy,
       const double rx,const double ry,const double start,const double end)

DrawEllipse() draws an ellipse on the image.- wand: the drawing wand. - ox: origin x ordinate - oy: origin y ordinate - rx: radius in x - ry: radius in y - start: starting rotation in degrees - end: ending rotation in degrees 
=end pod
sub DrawEllipse(
   Pointer $wand,
   num64 $ox,
   num64 $oy,
   num64 $rx,
   num64 $ry,
   num64 $start,
   num64 $end
)
is native(&library)
is export { * };


=begin pod
=head1 DrawGetBorderColor
=head2 C

    void DrawGetBorderColor(const DrawingWand *wand,
      PixelWand *border_color)

DrawGetBorderColor() returns the border color used for drawing bordered objects.- wand: the drawing wand. - border_color: Return the border color. 
=end pod
sub DrawGetBorderColor(
   Pointer $wand,
   Pointer $border_color
)
is native(&library)
is export { * };


=begin pod
=head1 DrawGetClipPath
=head2 C

    char *DrawGetClipPath(const DrawingWand *wand)

DrawGetClipPath() obtains the current clipping path ID. The value returned must be deallocated by the user when it is no longer needed.- wand: the drawing wand. 
=end pod
sub DrawGetClipPath(
   Pointer $wand
)
returns Str
is native(&library)
is export { * };


=begin pod
=head1 DrawGetClipRule
=head2 C

    FillRule DrawGetClipRule(const DrawingWand *wand)

DrawGetClipRule() returns the current polygon fill rule to be used by the clipping path.- wand: the drawing wand. 
=end pod
sub DrawGetClipRule(
   Pointer $wand
)
returns uint32 
is native(&library)
is export { * };


=begin pod
=head1 DrawGetClipUnits
=head2 C

    ClipPathUnits DrawGetClipUnits(const DrawingWand *wand)

DrawGetClipUnits() returns the interpretation of clip path units.- wand: the drawing wand. 
=end pod
sub DrawGetClipUnits(
   Pointer $wand
)
returns uint32 
is native(&library)
is export { * };


=begin pod
=head1 DrawGetDensity
=head2 C

    char *DrawGetDensity(const DrawingWand *wand)

DrawGetDensity() obtains the vertical and horizontal resolution. The value returned must be deallocated by the user when it is no longer needed.- wand: the drawing wand. 
=end pod
sub DrawGetDensity(
   Pointer $wand
)
returns Str
is native(&library)
is export { * };


=begin pod
=head1 DrawGetException
=head2 C

    char *DrawGetException(const DrawWand *wand,
      ExceptionType *severity)

DrawGetException() returns the severity, reason, and description of any error that occurs when using other methods in this API.- wand: the drawing wand. - severity: the severity of the error is returned here. 
=end pod
sub DrawGetException(
   Pointer $wand,
   Pointer $severity
)
returns Str
is native(&library)
is export { * };


=begin pod
=head1 DrawGetExceptionType
=head2 C

    ExceptionType DrawGetExceptionType(const DrawWand *wand)

DrawGetExceptionType() the exception type associated with the wand.  If no exception has occurred, UndefinedExceptionType is returned.- wand: the magick wand. 
=end pod
sub DrawGetExceptionType(
   Pointer $wand
)
returns Pointer
is native(&library)
is export { * };


=begin pod
=head1 DrawGetFillColor
=head2 C

    void DrawGetFillColor(const DrawingWand *wand,
      PixelWand *fill_color)

DrawGetFillColor() returns the fill color used for drawing filled objects.- wand: the drawing wand. - fill_color: Return the fill color. 
=end pod
sub DrawGetFillColor(
   Pointer $wand,
   Pointer $fill_color
)
is native(&library)
is export { * };


=begin pod
=head1 DrawGetFillOpacity
=head2 C

    double DrawGetFillOpacity(const DrawingWand *wand)

DrawGetFillOpacity() returns the opacity used when drawing using the fill color or fill texture.  Fully opaque is 1.0.- wand: the drawing wand. 
=end pod
sub DrawGetFillOpacity(
   Pointer $wand
)
returns num64
is native(&library)
is export { * };


=begin pod
=head1 DrawGetFillRule
=head2 C

    FillRule DrawGetFillRule(const DrawingWand *wand)

DrawGetFillRule() returns the fill rule used while drawing polygons.- wand: the drawing wand. 
=end pod
sub DrawGetFillRule(
   Pointer $wand
)
returns uint32 
is native(&library)
is export { * };


=begin pod
=head1 DrawGetFont
=head2 C

    char *DrawGetFont(const DrawingWand *wand)

DrawGetFont() returns a null-terminaged string specifying the font used when annotating with text. The value returned must be freed by the user when no longer needed.- wand: the drawing wand. 
=end pod
sub DrawGetFont(
   Pointer $wand
)
returns Str
is native(&library)
is export { * };


=begin pod
=head1 DrawGetFontFamily
=head2 C

    char *DrawGetFontFamily(const DrawingWand *wand)

DrawGetFontFamily() returns the font family to use when annotating with text. The value returned must be freed by the user when it is no longer needed.- wand: the drawing wand. 
=end pod
sub DrawGetFontFamily(
   Pointer $wand
)
returns Str
is native(&library)
is export { * };


=begin pod
=head1 DrawGetFontResolution
=head2 C

    DrawBooleanType DrawGetFontResolution(const DrawingWand *wand,
      double *x,double *y)

DrawGetFontResolution() gets the image X and Y resolution.- wand: the magick wand. - x: the x-resolution. - y: the y-resolution. 
=end pod
sub DrawGetFontResolution(
   Pointer $wand,
   CArray[num64] $x,
   CArray[num64] $y
)
returns uint32 
is native(&library)
is export { * };


=begin pod
=head1 DrawGetFontSize
=head2 C

    double DrawGetFontSize(const DrawingWand *wand)

DrawGetFontSize() returns the font pointsize used when annotating with text.- wand: the drawing wand. 
=end pod
sub DrawGetFontSize(
   Pointer $wand
)
returns num64
is native(&library)
is export { * };


=begin pod
=head1 DrawGetFontStretch
=head2 C

    StretchType DrawGetFontStretch(const DrawingWand *wand)

DrawGetFontStretch() returns the font stretch used when annotating with text.- wand: the drawing wand. 
=end pod
sub DrawGetFontStretch(
   Pointer $wand
)
returns uint32 
is native(&library)
is export { * };


=begin pod
=head1 DrawGetFontStyle
=head2 C

    StyleType DrawGetFontStyle(const DrawingWand *wand)

DrawGetFontStyle() returns the font style used when annotating with text.- wand: the drawing wand. 
=end pod
sub DrawGetFontStyle(
   Pointer $wand
)
returns uint32
is native(&library)
is export { * };


=begin pod
=head1 DrawGetFontWeight
=head2 C

    size_t DrawGetFontWeight(const DrawingWand *wand)

DrawGetFontWeight() returns the font weight used when annotating with text.- wand: the drawing wand. 
=end pod
sub DrawGetFontWeight(
   Pointer $wand
)
returns int32 
is native(&library)
is export { * };


=begin pod
=head1 DrawGetGravity
=head2 C

    GravityType DrawGetGravity(const DrawingWand *wand)

DrawGetGravity() returns the text placement gravity used when annotating with text.- wand: the drawing wand. 
=end pod
sub DrawGetGravity(
   Pointer $wand
)
returns uint32 
is native(&library)
is export { * };


=begin pod
=head1 DrawGetOpacity
=head2 C

    double DrawGetOpacity(const DrawingWand *wand)

DrawGetOpacity() returns the opacity used when drawing with the fill or stroke color or texture.  Fully opaque is 1.0.- wand: the drawing wand. 
=end pod
sub DrawGetOpacity(
   Pointer $wand
)
returns num64
is native(&library)
is export { * };


=begin pod
=head1 DrawGetStrokeAntialias
=head2 C

    MagickBooleanType DrawGetStrokeAntialias(const DrawingWand *wand)

DrawGetStrokeAntialias() returns the current stroke antialias setting. Stroked outlines are antialiased by default.  When antialiasing is disabled stroked pixels are thresholded to determine if the stroke color or underlying canvas color should be used.- wand: the drawing wand. 
=end pod
sub DrawGetStrokeAntialias(
   Pointer $wand
)
returns uint32 
is native(&library)
is export { * };


=begin pod
=head1 DrawGetStrokeColor
=head2 C

    void DrawGetStrokeColor(const DrawingWand *wand,
      PixelWand *stroke_color)

DrawGetStrokeColor() returns the color used for stroking object outlines.- wand: the drawing wand. - stroke_color: Return the stroke color. 
=end pod
sub DrawGetStrokeColor(
   Pointer $wand,
   Pointer $stroke_color
)
is native(&library)
is export { * };


=begin pod
=head1 DrawGetStrokeDashArray
=head2 C

    double *DrawGetStrokeDashArray(const DrawingWand *wand,
      size_t *number_elements)

DrawGetStrokeDashArray() returns an array representing the pattern of dashes and gaps used to stroke paths (see DrawSetStrokeDashArray). The array must be freed once it is no longer required by the user.- wand: the drawing wand. - number_elements: address to place number of elements in dash array 
=end pod
sub DrawGetStrokeDashArray(
   Pointer $wand,
   Pointer[int32] $number_elements
)
returns CArray[num64]
is native(&library)
is export { * };


=begin pod
=head1 DrawGetStrokeDashOffset
=head2 C

    double DrawGetStrokeDashOffset(const DrawingWand *wand)

DrawGetStrokeDashOffset() returns the offset into the dash pattern to start the dash.- wand: the drawing wand. 
=end pod
sub DrawGetStrokeDashOffset(
   Pointer $wand
)
returns num64
is native(&library)
is export { * };


=begin pod
=head1 DrawGetStrokeLineCap
=head2 C

    LineCap DrawGetStrokeLineCap(const DrawingWand *wand)

DrawGetStrokeLineCap() returns the shape to be used at the end of open subpaths when they are stroked. Values of LineCap are UndefinedCap, ButtCap, RoundCap, and SquareCap.- wand: the drawing wand. 
=end pod
sub DrawGetStrokeLineCap(
   Pointer $wand
)
returns uint32 
is native(&library)
is export { * };


=begin pod
=head1 DrawGetStrokeLineJoin
=head2 C

    LineJoin DrawGetStrokeLineJoin(const DrawingWand *wand)

DrawGetStrokeLineJoin() returns the shape to be used at the corners of paths (or other vector shapes) when they are stroked. Values of LineJoin are UndefinedJoin, MiterJoin, RoundJoin, and BevelJoin.- wand: the drawing wand. 
=end pod
sub DrawGetStrokeLineJoin(
   Pointer $wand
)
returns uint32 
is native(&library)
is export { * };


=begin pod
=head1 DrawGetStrokeMiterLimit
=head2 C

    size_t DrawGetStrokeMiterLimit(const DrawingWand *wand)

DrawGetStrokeMiterLimit() returns the miter limit. When two line segments meet at a sharp angle and miter joins have been specified for 'lineJoin', it is possible for the miter to extend far beyond the thickness of the line stroking the path. The miterLimit' imposes a limit on the ratio of the miter length to the 'lineWidth'.- wand: the drawing wand. 
=end pod
sub DrawGetStrokeMiterLimit(
   Pointer $wand
)
returns int32 
is native(&library)
is export { * };


=begin pod
=head1 DrawGetStrokeOpacity
=head2 C

    double DrawGetStrokeOpacity(const DrawingWand *wand)

DrawGetStrokeOpacity() returns the opacity of stroked object outlines.- wand: the drawing wand. 
=end pod
sub DrawGetStrokeOpacity(
   Pointer $wand
)
returns num64
is native(&library)
is export { * };


=begin pod
=head1 DrawGetStrokeWidth
=head2 C

    double DrawGetStrokeWidth(const DrawingWand *wand)

DrawGetStrokeWidth() returns the width of the stroke used to draw object outlines.- wand: the drawing wand. 
=end pod
sub DrawGetStrokeWidth(
   Pointer $wand
)
returns num64
is native(&library)
is export { * };


=begin pod
=head1 DrawGetTextAlignment
=head2 C

    AlignType DrawGetTextAlignment(const DrawingWand *wand)

DrawGetTextAlignment() returns the alignment applied when annotating with text.- wand: the drawing wand. 
=end pod
sub DrawGetTextAlignment(
   Pointer $wand
)
returns uint32
is native(&library)
is export { * };


=begin pod
=head1 DrawGetTextAntialias
=head2 C

    MagickBooleanType DrawGetTextAntialias(const DrawingWand *wand)

DrawGetTextAntialias() returns the current text antialias setting, which determines whether text is antialiased.  Text is antialiased by default.- wand: the drawing wand. 
=end pod
sub DrawGetTextAntialias(
   Pointer $wand
)
returns uint32 
is native(&library)
is export { * };


=begin pod
=head1 DrawGetTextDecoration
=head2 C

    DecorationType DrawGetTextDecoration(const DrawingWand *wand)

DrawGetTextDecoration() returns the decoration applied when annotating with text.- wand: the drawing wand. 
=end pod
sub DrawGetTextDecoration(
   Pointer $wand
)
returns uint32 
is native(&library)
is export { * };


=begin pod
=head1 DrawGetTextDirection
=head2 C

    DirectionType DrawGetTextDirection(const DrawingWand *wand)

DrawGetTextDirection() returns the direction that will be used when annotating with text.- wand: the drawing wand. 
=end pod
sub DrawGetTextDirection(
   Pointer $wand
)
returns uint32
is native(&library)
is export { * };


=begin pod
=head1 DrawGetTextEncoding
=head2 C

    char *DrawGetTextEncoding(const DrawingWand *wand)

DrawGetTextEncoding() returns a null-terminated string which specifies the code set used for text annotations. The string must be freed by the user once it is no longer required.- wand: the drawing wand. 
=end pod
sub DrawGetTextEncoding(
   Pointer $wand
)
returns Str
is native(&library)
is export { * };


=begin pod
=head1 DrawGetTextKerning
=head2 C

    double DrawGetTextKerning(DrawingWand *wand)

DrawGetTextKerning() gets the spacing between characters in text.- wand: the drawing wand. 
=end pod
sub DrawGetTextKerning(
   Pointer $wand
)
returns num64
is native(&library)
is export { * };


=begin pod
=head1 DrawGetTextInterlineSpacing
=head2 C

    double DrawGetTextInterwordSpacing(DrawingWand *wand)

DrawGetTextInterlineSpacing() gets the spacing between lines in text.- wand: the drawing wand. 
=end pod
multi sub DrawGetTextInterwordSpacing(
   Pointer $wand
)
returns num64
is native(&library)
is export { * };


=begin pod
=head1 DrawGetTextInterwordSpacing
=head2 C

    double DrawGetTextInterwordSpacing(DrawingWand *wand)

DrawGetTextInterwordSpacing() gets the spacing between words in text.- wand: the drawing wand. 
=end pod
multi sub DrawGetTextInterwordSpacing(
   Pointer $wand
)
returns num64
is native(&library)
is export { * };


=begin pod
=head1 DrawGetVectorGraphics
=head2 C

    char *DrawGetVectorGraphics(DrawingWand *wand)

DrawGetVectorGraphics() returns a null-terminated string which specifies the vector graphics generated by any graphics calls made since the wand was instantiated.  The string must be freed by the user once it is no longer required.- wand: the drawing wand. 
=end pod
sub DrawGetVectorGraphics(
   Pointer $wand
)
returns Str
is native(&library)
is export { * };


=begin pod
=head1 DrawGetTextUnderColor
=head2 C

    void DrawGetTextUnderColor(const DrawingWand *wand,
      PixelWand *under_color)

DrawGetTextUnderColor() returns the color of a background rectangle to place under text annotations.- wand: the drawing wand. - under_color: Return the under color. 
=end pod
sub DrawGetTextUnderColor(
   Pointer $wand,
   Pointer $under_color
)
is native(&library)
is export { * };


=begin pod
=head1 DrawLine
=head2 C

    void DrawLine(DrawingWand *wand,const double sx,const double sy,
      const double ex,const double ey)

DrawLine() draws a line on the image using the current stroke color, stroke opacity, and stroke width.- wand: the drawing wand. - sx: starting x ordinate - sy: starting y ordinate - ex: ending x ordinate - ey: ending y ordinate 
=end pod
sub DrawLine(
   Pointer $wand,
   num64 $sx,
   num64 $sy,
   num64 $ex,
   num64 $ey
)
is native(&library)
is export { * };


=begin pod
=head1 DrawMatte
=head2 C

    void DrawMatte(DrawingWand *wand,const double x,const double y,
      const PaintMethod paint_method)

DrawMatte() paints on the image's opacity channel in order to set effected pixels to transparent. to influence the opacity of pixels. The available paint methods are:<pre class="text">    PointMethod: Select the target pixel    ReplaceMethod: Select any pixel that matches the target pixel.    FloodfillMethod: Select the target pixel and matching neighbors.    FillToBorderMethod: Select the target pixel and neighbors not matchingborder color.    ResetMethod: Select all pixels.</pre>- wand: the drawing wand. - x: x ordinate - y: y ordinate - paint_method: paint method. 
=end pod
sub DrawMatte(
   Pointer $wand,
   num64 $x,
   num64 $y,
   uint32 $paint_method
)
is native(&library)
is export { * };


=begin pod
=head1 DrawPathClose
=head2 C

    void DrawPathClose(DrawingWand *wand)

DrawPathClose() adds a path element to the current path which closes the current subpath by drawing a straight line from the current point to the current subpath's most recent starting point (usually, the most recent moveto point).- wand: the drawing wand. 
=end pod
sub DrawPathClose(
   Pointer $wand
)
is native(&library)
is export { * };


=begin pod
=head1 DrawPathCurveToAbsolute
=head2 C

    void DrawPathCurveToAbsolute(DrawingWand *wand,const double x1,
      const double y1,const double x2,const double y2,const double x,
      const double y)

DrawPathCurveToAbsolute() draws a cubic Bezier curve from the current point to (x,y) using (x1,y1) as the control point at the beginning of the curve and (x2,y2) as the control point at the end of the curve using absolute coordinates. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.- wand: the drawing wand. - x1: x ordinate of control point for curve beginning - y1: y ordinate of control point for curve beginning - x2: x ordinate of control point for curve ending - y2: y ordinate of control point for curve ending - x: x ordinate of the end of the curve - y: y ordinate of the end of the curve 
=end pod
sub DrawPathCurveToAbsolute(
   Pointer $wand,
   num64 $x1,
   num64 $y1,
   num64 $x2,
   num64 $y2,
   num64 $x,
   num64 $y
)
is native(&library)
is export { * };


=begin pod
=head1 DrawPathCurveToRelative
=head2 C

    void DrawPathCurveToRelative(DrawingWand *wand,const double x1,
      const double y1,const double x2,const double y2,const double x,
      const double y)

DrawPathCurveToRelative() draws a cubic Bezier curve from the current point to (x,y) using (x1,y1) as the control point at the beginning of the curve and (x2,y2) as the control point at the end of the curve using relative coordinates. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.- wand: the drawing wand. - x1: x ordinate of control point for curve beginning - y1: y ordinate of control point for curve beginning - x2: x ordinate of control point for curve ending - y2: y ordinate of control point for curve ending - x: x ordinate of the end of the curve - y: y ordinate of the end of the curve 
=end pod
sub DrawPathCurveToRelative(
   Pointer $wand,
   num64 $x1,
   num64 $y1,
   num64 $x2,
   num64 $y2,
   num64 $x,
   num64 $y
)
is native(&library)
is export { * };


=begin pod
=head1 DrawPathCurveToQuadraticBezierAbsolute
=head2 C

    void DrawPathCurveToQuadraticBezierAbsolute(DrawingWand *wand,
      const double x1,const double y1,const double x,const double y)

DrawPathCurveToQuadraticBezierAbsolute() draws a quadratic Bezier curve from the current point to (x,y) using (x1,y1) as the control point using absolute coordinates. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.- wand: the drawing wand. - x1: x ordinate of the control point - y1: y ordinate of the control point - x: x ordinate of final point - y: y ordinate of final point 
=end pod
sub DrawPathCurveToQuadraticBezierAbsolute(
   Pointer $wand,
   num64 $x1,
   num64 $y1,
   num64 $x,
   num64 $y
)
is native(&library)
is export { * };


=begin pod
=head1 DrawPathCurveToQuadraticBezierRelative
=head2 C

    void DrawPathCurveToQuadraticBezierRelative(DrawingWand *wand,
      const double x1,const double y1,const double x,const double y)

DrawPathCurveToQuadraticBezierRelative() draws a quadratic Bezier curve from the current point to (x,y) using (x1,y1) as the control point using relative coordinates. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.- wand: the drawing wand. - x1: x ordinate of the control point - y1: y ordinate of the control point - x: x ordinate of final point - y: y ordinate of final point 
=end pod
sub DrawPathCurveToQuadraticBezierRelative(
   Pointer $wand,
   num64 $x1,
   num64 $y1,
   num64 $x,
   num64 $y
)
is native(&library)
is export { * };


=begin pod
=head1 DrawPathCurveToQuadraticBezierSmoothAbsolute
=head2 C

    void DrawPathCurveToQuadraticBezierSmoothAbsolute(
      DrawingWand *wand,const double x,const double y)

DrawPathCurveToQuadraticBezierSmoothAbsolute() draws a quadratic Bezier curve (using absolute 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 command or if the previous command was not a DrawPathCurveToQuadraticBezierAbsolute, DrawPathCurveToQuadraticBezierRelative, DrawPathCurveToQuadraticBezierSmoothAbsolute or DrawPathCurveToQuadraticBezierSmoothRelative, assume the control point is coincident with the current point.). At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.- wand: the drawing wand. - x: x ordinate of final point - y: y ordinate of final point 
=end pod
sub DrawPathCurveToQuadraticBezierSmoothAbsolute(
   Pointer $wand,
   num64 $x,
   num64 $y
)
is native(&library)
is export { * };


=begin pod
=head1 DrawPathCurveToQuadraticBezierSmoothRelative
=head2 C

    void DrawPathCurveToQuadraticBezierSmoothRelative(DrawingWand *wand,
      const double x,const double y)

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 command or if the previous command was not a DrawPathCurveToQuadraticBezierAbsolute, DrawPathCurveToQuadraticBezierRelative, DrawPathCurveToQuadraticBezierSmoothAbsolute or DrawPathCurveToQuadraticBezierSmoothRelative, assume the control point is coincident with the current point.). At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.- wand: the drawing wand. - x: x ordinate of final point - y: y ordinate of final point 
=end pod
sub DrawPathCurveToQuadraticBezierSmoothRelative(
   Pointer $wand,
   num64 $x,
   num64 $y
)
is native(&library)
is export { * };


=begin pod
=head1 DrawPathCurveToSmoothAbsolute
=head2 C

    void DrawPathCurveToSmoothAbsolute(DrawingWand *wand,
      const double x2,const double y2,const double x,const double y)

DrawPathCurveToSmoothAbsolute() draws a cubic Bezier curve from the current point to (x,y) using absolute coordinates. The first control point is assumed to be the reflection of the second control point on the previous command relative to the current point. (If there is no previous command or if the previous command was not an DrawPathCurveToAbsolute, DrawPathCurveToRelative, DrawPathCurveToSmoothAbsolute or DrawPathCurveToSmoothRelative, assume the first control point is coincident with the current point.) (x2,y2) is the second control point (i.e., the control point at the end of the curve). At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.- wand: the drawing wand. - x2: x ordinate of second control point - y2: y ordinate of second control point - x: x ordinate of termination point - y: y ordinate of termination point 
=end pod
sub DrawPathCurveToSmoothAbsolute(
   Pointer $wand,
   num64 $x2,
   num64 $y2,
   num64 $x,
   num64 $y
)
is native(&library)
is export { * };


=begin pod
=head1 DrawPathCurveToSmoothRelative
=head2 C

    void DrawPathCurveToSmoothRelative(DrawingWand *wand,
      const double x2,const double y2,const double x,const double y)

DrawPathCurveToSmoothRelative() draws a cubic Bezier curve from the current point to (x,y) using relative coordinates. The first control point is assumed to be the reflection of the second control point on the previous command relative to the current point. (If there is no previous command or if the previous command was not an DrawPathCurveToAbsolute, DrawPathCurveToRelative, DrawPathCurveToSmoothAbsolute or DrawPathCurveToSmoothRelative, assume the first control point is coincident with the current point.) (x2,y2) is the second control point (i.e., the control point at the end of the curve). At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.- wand: the drawing wand. - x2: x ordinate of second control point - y2: y ordinate of second control point - x: x ordinate of termination point - y: y ordinate of termination point 
=end pod
sub DrawPathCurveToSmoothRelative(
   Pointer $wand,
   num64 $x2,
   num64 $y2,
   num64 $x,
   num64 $y
)
is native(&library)
is export { * };


=begin pod
=head1 DrawPathEllipticArcAbsolute
=head2 C

    void DrawPathEllipticArcAbsolute(DrawingWand *wand,
      const double rx,const double ry,const double x_axis_rotation,
      const MagickBooleanType large_arc_flag,
      const MagickBooleanType sweep_flag,const double x,const double y)

DrawPathEllipticArcAbsolute() draws an elliptical arc from the current point to (x, y) using absolute coordinates. The size and orientation of the ellipse are defined by two radii (rx, ry) and an xAxisRotation, which indicates how the ellipse as a whole is rotated relative to the current coordinate system. The center (cx, cy) of the ellipse is calculated automagically to satisfy the constraints imposed by the