diff options
Diffstat (limited to 'www/Magick++/Drawable.html')
-rw-r--r-- | www/Magick++/Drawable.html | 574 |
1 files changed, 203 insertions, 371 deletions
diff --git a/www/Magick++/Drawable.html b/www/Magick++/Drawable.html index 897ed70..f200a6c 100644 --- a/www/Magick++/Drawable.html +++ b/www/Magick++/Drawable.html @@ -1,12 +1,14 @@ -<?xml version="1.0" encoding="utf-8" ?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<!DOCTYPE html> +<html lang="en"> <head> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<meta name="generator" content="Docutils 0.16: http://docutils.sourceforge.net/" /> -<title>Magick::Drawable</title> -<link rel="stylesheet" href="../docutils-articles.css" type="text/css" /> + <meta charset="utf-8"> + <meta content="en" name="language"> + <title>Magick::Drawable</title> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <link media="screen" href="../docutils-articles.css" type="text/css" rel="stylesheet"> + </head> + <body> <div class="banner"> @@ -19,6 +21,7 @@ </form> </div> + <div class="navmenu"> <ul> <li><a href="../index.html">Home</a></li> @@ -32,18 +35,18 @@ <li><a href="../reference.html">Reference</a></li> </ul> </div> + <div class="document" id="magick-drawable"> <h1 class="title">Magick::Drawable</h1> - <!-- -*- mode: rst -*- --> <!-- This text is in reStucturedText format, so it may look a bit odd. --> <!-- See http://docutils.sourceforge.net/rst.html for details. --> <div class="contents topic" id="contents"> <p class="topic-title">Contents</p> <ul class="simple"> -<li><a class="reference internal" href="#coordinate-structure" id="id8">Coordinate structure</a></li> -<li><a class="reference internal" href="#drawable-classes" id="id9">Drawable classes</a></li> -<li><a class="reference internal" href="#vector-path-classes" id="id10">Vector Path Classes</a></li> +<li><p><a class="reference internal" href="#coordinate-structure" id="id8">Coordinate structure</a></p></li> +<li><p><a class="reference internal" href="#drawable-classes" id="id9">Drawable classes</a></p></li> +<li><p><a class="reference internal" href="#vector-path-classes" id="id10">Vector Path Classes</a></p></li> </ul> </div> <p>Drawable provides a convenient interface for preparing vector, image, @@ -58,8 +61,7 @@ appropriate for drawings which require more sophistication.</p> <p>The following is an example using the Drawable subclasses with a one-by-one approach to draw the following figure:</p> <img alt="Figure showing drawing example" src="Drawable_example_1.png" style="width: 300px; height: 200px;" /> -<pre class="literal-block"> -#include <string> +<pre class="literal-block">#include <string> #include <iostream> #include <Magick++.h> @@ -95,13 +97,11 @@ int main(int /*argc*/,char **argv) } return 0; -} -</pre> +}</pre> <p>Since Drawable is an object it may be saved in an array or a list for later (perhaps repeated) use. The following example shows how to draw the same figure using the list-based approach:</p> -<pre class="literal-block"> -#include <string> +<pre class="literal-block">#include <string> #include <iostream> #include <list> #include <Magick++.h> @@ -145,15 +145,13 @@ int main(int /*argc*/,char **/*argv*/) } return 0; -} -</pre> +}</pre> <div class="section" id="coordinate-structure"> <h1><a class="toc-backref" href="#id8">Coordinate structure</a></h1> <p>Drawable depends on the simple Coordinate structure which represents a pair of x,y coodinates. The Coordinate structure is defined as follows:</p> -<pre class="literal-block"> -class Coordinate +<pre class="literal-block">class Coordinate { public: @@ -173,8 +171,7 @@ public: // y coordinate member void y ( double y_ ); double y ( void ) const; -}; -</pre> +};</pre> </div> <div class="section" id="drawable-classes"> <h1><a class="toc-backref" href="#id9">Drawable classes</a></h1> @@ -182,53 +179,53 @@ public: <div class="contents local topic" id="id2"> <p class="topic-title">Drawable classes</p> <ul class="simple"> -<li><a class="reference internal" href="#drawableaffine" id="id11">DrawableAffine</a></li> -<li><a class="reference internal" href="#drawablearc" id="id12">DrawableArc</a></li> -<li><a class="reference internal" href="#drawablebezier" id="id13">DrawableBezier</a></li> -<li><a class="reference internal" href="#drawableclippath" id="id14">DrawableClipPath</a></li> -<li><a class="reference internal" href="#drawablecircle" id="id15">DrawableCircle</a></li> -<li><a class="reference internal" href="#drawablecolor" id="id16">DrawableColor</a></li> -<li><a class="reference internal" href="#drawablecompositeimage" id="id17">DrawableCompositeImage</a></li> -<li><a class="reference internal" href="#drawabledasharray" id="id18">DrawableDashArray</a></li> -<li><a class="reference internal" href="#drawabledashoffset" id="id19">DrawableDashOffset</a></li> -<li><a class="reference internal" href="#drawableellipse" id="id20">DrawableEllipse</a></li> -<li><a class="reference internal" href="#drawablefillcolor" id="id21">DrawableFillColor</a></li> -<li><a class="reference internal" href="#drawablefillrule" id="id22">DrawableFillRule</a></li> -<li><a class="reference internal" href="#drawablefillopacity" id="id23">DrawableFillOpacity</a></li> -<li><a class="reference internal" href="#drawablefont" id="id24">DrawableFont</a></li> -<li><a class="reference internal" href="#drawablegravity" id="id25">DrawableGravity</a></li> -<li><a class="reference internal" href="#drawableline" id="id26">DrawableLine</a></li> -<li><a class="reference internal" href="#drawablematte" id="id27">DrawableMatte</a></li> -<li><a class="reference internal" href="#drawablemiterlimit" id="id28">DrawableMiterLimit</a></li> -<li><a class="reference internal" href="#drawablepath" id="id29">DrawablePath</a></li> -<li><a class="reference internal" href="#drawablepoint" id="id30">DrawablePoint</a></li> -<li><a class="reference internal" href="#drawablepointsize" id="id31">DrawablePointSize</a></li> -<li><a class="reference internal" href="#drawablepolygon" id="id32">DrawablePolygon</a></li> -<li><a class="reference internal" href="#drawablepolyline" id="id33">DrawablePolyline</a></li> -<li><a class="reference internal" href="#drawablepopclippath" id="id34">DrawablePopClipPath</a></li> -<li><a class="reference internal" href="#drawablepopgraphiccontext" id="id35">DrawablePopGraphicContext</a></li> -<li><a class="reference internal" href="#drawablepushclippath" id="id36">DrawablePushClipPath</a></li> -<li><a class="reference internal" href="#drawablepushgraphiccontext" id="id37">DrawablePushGraphicContext</a></li> -<li><a class="reference internal" href="#drawablepushpattern" id="id38">DrawablePushPattern</a></li> -<li><a class="reference internal" href="#drawablepoppattern" id="id39">DrawablePopPattern</a></li> -<li><a class="reference internal" href="#drawablerectangle" id="id40">DrawableRectangle</a></li> -<li><a class="reference internal" href="#drawablerotation" id="id41">DrawableRotation</a></li> -<li><a class="reference internal" href="#drawableroundrectangle" id="id42">DrawableRoundRectangle</a></li> -<li><a class="reference internal" href="#drawablescaling" id="id43">DrawableScaling</a></li> -<li><a class="reference internal" href="#drawableskewx" id="id44">DrawableSkewX</a></li> -<li><a class="reference internal" href="#drawableskewy" id="id45">DrawableSkewY</a></li> -<li><a class="reference internal" href="#drawablestrokeantialias" id="id46">DrawableStrokeAntialias</a></li> -<li><a class="reference internal" href="#drawablestrokecolor" id="id47">DrawableStrokeColor</a></li> -<li><a class="reference internal" href="#drawablestrokelinecap" id="id48">DrawableStrokeLineCap</a></li> -<li><a class="reference internal" href="#drawablestrokelinejoin" id="id49">DrawableStrokeLineJoin</a></li> -<li><a class="reference internal" href="#drawablestrokeopacity" id="id50">DrawableStrokeOpacity</a></li> -<li><a class="reference internal" href="#drawablestrokewidth" id="id51">DrawableStrokeWidth</a></li> -<li><a class="reference internal" href="#drawabletext" id="id52">DrawableText</a></li> -<li><a class="reference internal" href="#drawabletextantialias" id="id53">DrawableTextAntialias</a></li> -<li><a class="reference internal" href="#drawabletextdecoration" id="id54">DrawableTextDecoration</a></li> -<li><a class="reference internal" href="#drawabletextundercolor" id="id55">DrawableTextUnderColor</a></li> -<li><a class="reference internal" href="#drawabletranslation" id="id56">DrawableTranslation</a></li> -<li><a class="reference internal" href="#drawableviewbox" id="id57">DrawableViewbox</a></li> +<li><p><a class="reference internal" href="#drawableaffine" id="id11">DrawableAffine</a></p></li> +<li><p><a class="reference internal" href="#drawablearc" id="id12">DrawableArc</a></p></li> +<li><p><a class="reference internal" href="#drawablebezier" id="id13">DrawableBezier</a></p></li> +<li><p><a class="reference internal" href="#drawableclippath" id="id14">DrawableClipPath</a></p></li> +<li><p><a class="reference internal" href="#drawablecircle" id="id15">DrawableCircle</a></p></li> +<li><p><a class="reference internal" href="#drawablecolor" id="id16">DrawableColor</a></p></li> +<li><p><a class="reference internal" href="#drawablecompositeimage" id="id17">DrawableCompositeImage</a></p></li> +<li><p><a class="reference internal" href="#drawabledasharray" id="id18">DrawableDashArray</a></p></li> +<li><p><a class="reference internal" href="#drawabledashoffset" id="id19">DrawableDashOffset</a></p></li> +<li><p><a class="reference internal" href="#drawableellipse" id="id20">DrawableEllipse</a></p></li> +<li><p><a class="reference internal" href="#drawablefillcolor" id="id21">DrawableFillColor</a></p></li> +<li><p><a class="reference internal" href="#drawablefillrule" id="id22">DrawableFillRule</a></p></li> +<li><p><a class="reference internal" href="#drawablefillopacity" id="id23">DrawableFillOpacity</a></p></li> +<li><p><a class="reference internal" href="#drawablefont" id="id24">DrawableFont</a></p></li> +<li><p><a class="reference internal" href="#drawablegravity" id="id25">DrawableGravity</a></p></li> +<li><p><a class="reference internal" href="#drawableline" id="id26">DrawableLine</a></p></li> +<li><p><a class="reference internal" href="#drawablematte" id="id27">DrawableMatte</a></p></li> +<li><p><a class="reference internal" href="#drawablemiterlimit" id="id28">DrawableMiterLimit</a></p></li> +<li><p><a class="reference internal" href="#drawablepath" id="id29">DrawablePath</a></p></li> +<li><p><a class="reference internal" href="#drawablepoint" id="id30">DrawablePoint</a></p></li> +<li><p><a class="reference internal" href="#drawablepointsize" id="id31">DrawablePointSize</a></p></li> +<li><p><a class="reference internal" href="#drawablepolygon" id="id32">DrawablePolygon</a></p></li> +<li><p><a class="reference internal" href="#drawablepolyline" id="id33">DrawablePolyline</a></p></li> +<li><p><a class="reference internal" href="#drawablepopclippath" id="id34">DrawablePopClipPath</a></p></li> +<li><p><a class="reference internal" href="#drawablepopgraphiccontext" id="id35">DrawablePopGraphicContext</a></p></li> +<li><p><a class="reference internal" href="#drawablepushclippath" id="id36">DrawablePushClipPath</a></p></li> +<li><p><a class="reference internal" href="#drawablepushgraphiccontext" id="id37">DrawablePushGraphicContext</a></p></li> +<li><p><a class="reference internal" href="#drawablepushpattern" id="id38">DrawablePushPattern</a></p></li> +<li><p><a class="reference internal" href="#drawablepoppattern" id="id39">DrawablePopPattern</a></p></li> +<li><p><a class="reference internal" href="#drawablerectangle" id="id40">DrawableRectangle</a></p></li> +<li><p><a class="reference internal" href="#drawablerotation" id="id41">DrawableRotation</a></p></li> +<li><p><a class="reference internal" href="#drawableroundrectangle" id="id42">DrawableRoundRectangle</a></p></li> +<li><p><a class="reference internal" href="#drawablescaling" id="id43">DrawableScaling</a></p></li> +<li><p><a class="reference internal" href="#drawableskewx" id="id44">DrawableSkewX</a></p></li> +<li><p><a class="reference internal" href="#drawableskewy" id="id45">DrawableSkewY</a></p></li> +<li><p><a class="reference internal" href="#drawablestrokeantialias" id="id46">DrawableStrokeAntialias</a></p></li> +<li><p><a class="reference internal" href="#drawablestrokecolor" id="id47">DrawableStrokeColor</a></p></li> +<li><p><a class="reference internal" href="#drawablestrokelinecap" id="id48">DrawableStrokeLineCap</a></p></li> +<li><p><a class="reference internal" href="#drawablestrokelinejoin" id="id49">DrawableStrokeLineJoin</a></p></li> +<li><p><a class="reference internal" href="#drawablestrokeopacity" id="id50">DrawableStrokeOpacity</a></p></li> +<li><p><a class="reference internal" href="#drawablestrokewidth" id="id51">DrawableStrokeWidth</a></p></li> +<li><p><a class="reference internal" href="#drawabletext" id="id52">DrawableText</a></p></li> +<li><p><a class="reference internal" href="#drawabletextantialias" id="id53">DrawableTextAntialias</a></p></li> +<li><p><a class="reference internal" href="#drawabletextdecoration" id="id54">DrawableTextDecoration</a></p></li> +<li><p><a class="reference internal" href="#drawabletextundercolor" id="id55">DrawableTextUnderColor</a></p></li> +<li><p><a class="reference internal" href="#drawabletranslation" id="id56">DrawableTranslation</a></p></li> +<li><p><a class="reference internal" href="#drawableviewbox" id="id57">DrawableViewbox</a></p></li> </ul> </div> <div class="section" id="drawableaffine"> @@ -239,20 +236,16 @@ in the same or decendent drawing context. The <cite>sx_</cite> & <cite>sy_< represent the x & y scale factors, the <cite>rx_</cite> & <cite>ry_</cite> parameters represent the x & y rotation, and the <cite>tx_</cite> & <cite>ty_</cite> parameters represent the x & y translation:</p> -<pre class="literal-block"> -DrawableAffine ( double sx_, double sy_, +<pre class="literal-block">DrawableAffine ( double sx_, double sy_, double rx_, double ry_, - double tx_, double ty_ ); -</pre> + double tx_, double ty_ );</pre> <p>Specify a transformation matrix to adjust scaling, rotation, and translation (coordinate transformation) for subsequently drawn objects in the same or decendent drawing context. Initialized to unity (no effect) affine values. Use class methods (not currently documented but defined in the Drawable.h header file) to adjust individual parameters from their unity values:</p> -<pre class="literal-block"> -DrawableAffine ( void ); -</pre> +<pre class="literal-block">DrawableAffine ( void );</pre> </div> <div class="section" id="drawablearc"> <h2><a class="toc-backref" href="#id12">DrawableArc</a></h2> @@ -260,36 +253,28 @@ DrawableAffine ( void ); coordinates <cite>startX_</cite>,`startY_`, and ending with coordinates <cite>endX_</cite>,`endY_`, and bounded by the rotational arc <cite>startDegrees_</cite>,`endDegrees_`:</p> -<pre class="literal-block"> -DrawableArc ( double startX_, double startY_, +<pre class="literal-block">DrawableArc ( double startX_, double startY_, double endX_, double endY_, - double startDegrees_, double endDegrees_ ); -</pre> + double startDegrees_, double endDegrees_ );</pre> </div> <div class="section" id="drawablebezier"> <h2><a class="toc-backref" href="#id13">DrawableBezier</a></h2> <p>Draw a bezier curve using the stroke color and based on the coordinates specified by the <cite>coordinates_</cite> list:</p> -<pre class="literal-block"> -DrawableBezier ( const CoordinateList &coordinates_ ); -</pre> +<pre class="literal-block">DrawableBezier ( const CoordinateList &coordinates_ );</pre> </div> <div class="section" id="drawableclippath"> <h2><a class="toc-backref" href="#id14">DrawableClipPath</a></h2> <p>Select a drawing clip path matching <cite>id_</cite>:</p> -<pre class="literal-block"> -DrawableClipPath ( const std::string &id_ ); -</pre> +<pre class="literal-block">DrawableClipPath ( const std::string &id_ );</pre> </div> <div class="section" id="drawablecircle"> <h2><a class="toc-backref" href="#id15">DrawableCircle</a></h2> <p>Draw a circle using the stroke color and thickness using specified origin and perimeter coordinates. If a fill color is specified, then the object is filled:</p> -<pre class="literal-block"> -DrawableCircle ( double originX_, double originY_, - double perimX_, double perimY_ ) -</pre> +<pre class="literal-block">DrawableCircle ( double originX_, double originY_, + double perimX_, double perimY_ )</pre> </div> <div class="section" id="drawablecolor"> <h2><a class="toc-backref" href="#id16">DrawableColor</a></h2> @@ -299,10 +284,8 @@ color of the target pixel. Floodfill recolors any pixel that matches the color of the target pixel and is a neighbor, whereas filltoborder recolors any neighbor pixel that is not the border color. Finally, reset recolors all pixels:</p> -<pre class="literal-block"> -DrawableColor ( double x_, double y_, - PaintMethod paintMethod_ ) -</pre> +<pre class="literal-block">DrawableColor ( double x_, double y_, + PaintMethod paintMethod_ )</pre> </div> <div class="section" id="drawablecompositeimage"> <h2><a class="toc-backref" href="#id17">DrawableCompositeImage</a></h2> @@ -311,12 +294,10 @@ coordinates. If the matte attribute is set to true, then the image composition will consider an alpha channel, or transparency, present in the image file so that non-opaque portions allow part (or all) of the composite image to show through:</p> -<pre class="literal-block"> -DrawableCompositeImage ( double x_, double y_, +<pre class="literal-block">DrawableCompositeImage ( double x_, double y_, const std::string &filename_ ); DrawableCompositeImage ( double x_, double y_, - const Image &image_ ); -</pre> + const Image &image_ );</pre> <p>Composite current image with contents of specified image, rendered with specified width and height, at specified coordinates. If the matte attribute is set to true, then the image composition will @@ -325,15 +306,13 @@ so that non-opaque portions allow part (or all) of the composite image to show through. If the specified width or height is zero, then the image is composited at its natural size, without enlargement or reduction:</p> -<pre class="literal-block"> -DrawableCompositeImage ( double x_, double y_, +<pre class="literal-block">DrawableCompositeImage ( double x_, double y_, double width_, double height_, const std::string &filename_ ); DrawableCompositeImage ( double x_, double y_, double width_, double height_, - const Image &image_ ); -</pre> + const Image &image_ );</pre> <p>Composite current image with contents of specified image, rendered with specified width and height, using specified composition algorithm, at specified coordinates. If the matte attribute is set to @@ -342,8 +321,7 @@ transparency, present in the image file so that non-opaque portions allow part (or all) of the composite image to show through. If the specified width or height is zero, then the image is composited at its natural size, without enlargement or reduction:</p> -<pre class="literal-block"> -DrawableCompositeImage ( double x_, double y_, +<pre class="literal-block">DrawableCompositeImage ( double x_, double y_, double width_, double height_, const std::string &filename_, CompositeOperator composition_ ); @@ -351,8 +329,7 @@ DrawableCompositeImage ( double x_, double y_, DrawableCompositeImage ( double x_, double y_, double width_, double height_, const Image &image_, - CompositeOperator composition_ ); -</pre> + CompositeOperator composition_ );</pre> </div> <div class="section" id="drawabledasharray"> <h2><a class="toc-backref" href="#id18">DrawableDashArray</a></h2> @@ -363,35 +340,30 @@ odd number of values is provided, then the list of values is repeated to yield an even number of values. A typical <cite>strokeDashArray_</cite> array might contain the members 5 3 2 0, where the zero value indicates the end of the pattern array:</p> -<pre class="literal-block"> -DrawableDashArray( const double* dasharray_ ); -</pre> +<pre class="literal-block">DrawableDashArray( const double* dasharray_ );</pre> </div> <div class="section" id="drawabledashoffset"> <h2><a class="toc-backref" href="#id19">DrawableDashOffset</a></h2> <p>Specify the distance into the dash pattern to start the dash. See documentation on SVG's <a class="reference external" href="http://www.w3.org/TR/SVG/painting.html#StrokeDashoffsetProperty">stroke-dashoffset</a> property for usage details:</p> -<pre class="literal-block"> -DrawableDashOffset ( const double offset_ ) -</pre> +<pre class="literal-block">DrawableDashOffset ( const double offset_ )</pre> </div> <div class="section" id="drawableellipse"> <h2><a class="toc-backref" href="#id20">DrawableEllipse</a></h2> <p>Draw an ellipse using the stroke color and thickness, specified origin, x & y radius, as well as specified start and end of arc in degrees. If a fill color is specified, then the object is filled:</p> -<pre class="literal-block"> -DrawableEllipse ( double originX_, double originY_, +<pre class="literal-block">DrawableEllipse ( double originX_, double originY_, double radiusX_, double radiusY_, - double arcStart_, double arcEnd_ ) -</pre> + double arcStart_, double arcEnd_ )</pre> </div> <div class="section" id="drawablefillcolor"> <h2><a class="toc-backref" href="#id21">DrawableFillColor</a></h2> <p>Specify drawing object fill color:</p> <blockquote> -DrawableFillColor ( const Color &color_ );</blockquote> +<p>DrawableFillColor ( const Color &color_ );</p> +</blockquote> </div> <div class="section" id="drawablefillrule"> <h2><a class="toc-backref" href="#id22">DrawableFillRule</a></h2> @@ -399,16 +371,12 @@ DrawableFillColor ( const Color &color_ );</blockquote> the canvas are included inside the shape. See documentation on SVG's <a class="reference external" href="http://www.w3.org/TR/SVG/painting.html#FillRuleProperty">fill-rule</a> property for usage details:</p> -<pre class="literal-block"> -DrawableFillRule ( const FillRule fillRule_ ) -</pre> +<pre class="literal-block">DrawableFillRule ( const FillRule fillRule_ )</pre> </div> <div class="section" id="drawablefillopacity"> <h2><a class="toc-backref" href="#id23">DrawableFillOpacity</a></h2> <p>Specify opacity to use when drawing using fill color:</p> -<pre class="literal-block"> -DrawableFillOpacity ( double opacity_ ) -</pre> +<pre class="literal-block">DrawableFillOpacity ( double opacity_ )</pre> </div> <div class="section" id="drawablefont"> <h2><a class="toc-backref" href="#id24">DrawableFont</a></h2> @@ -418,30 +386,24 @@ and stretch to be used to select the font used when drawing text. Wildcard matches may be applied to style via the AnyStyle enumeration, applied to weight if weight is zero, and applied to stretch via the AnyStretch enumeration:</p> -<pre class="literal-block"> -DrawableFont ( const std::string &font_ ); +<pre class="literal-block">DrawableFont ( const std::string &font_ ); DrawableFont ( const std::string &family_, StyleType style_, const unsigned long weight_, - StretchType stretch_ ); -</pre> + StretchType stretch_ );</pre> </div> <div class="section" id="drawablegravity"> <h2><a class="toc-backref" href="#id25">DrawableGravity</a></h2> <p>Specify text positioning gravity:</p> -<pre class="literal-block"> -DrawableGravity ( GravityType gravity_ ) -</pre> +<pre class="literal-block">DrawableGravity ( GravityType gravity_ )</pre> </div> <div class="section" id="drawableline"> <h2><a class="toc-backref" href="#id26">DrawableLine</a></h2> <p>Draw a line using stroke color and thickness using starting and ending coordinates:</p> -<pre class="literal-block"> -DrawableLine ( double startX_, double startY_, - double endX_, double endY_ ) -</pre> +<pre class="literal-block">DrawableLine ( double startX_, double startY_, + double endX_, double endY_ )</pre> </div> <div class="section" id="drawablematte"> <h2><a class="toc-backref" href="#id27">DrawableMatte</a></h2> @@ -452,10 +414,8 @@ pixel. Floodfill changes the matte value of any pixel that matches the color of the target pixel and is a neighbor, whereas filltoborder changes the matte value of any neighbor pixel that is not the border color, Finally reset changes the matte value of all pixels:</p> -<pre class="literal-block"> -DrawableMatte ( double x_, double y_, - PaintMethod paintMethod_ ) -</pre> +<pre class="literal-block">DrawableMatte ( double x_, double y_, + PaintMethod paintMethod_ )</pre> </div> <div class="section" id="drawablemiterlimit"> <h2><a class="toc-backref" href="#id28">DrawableMiterLimit</a></h2> @@ -464,73 +424,55 @@ 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'. The default value of this parameter is 4:</p> -<pre class="literal-block"> -DrawableMiterLimit ( unsigned int miterlimit_ ) -</pre> +<pre class="literal-block">DrawableMiterLimit ( unsigned int miterlimit_ )</pre> </div> <div class="section" id="drawablepath"> <h2><a class="toc-backref" href="#id29">DrawablePath</a></h2> <p>Draw on image using vector path:</p> -<pre class="literal-block"> -DrawablePath ( const VPathList &path_ ); -</pre> +<pre class="literal-block">DrawablePath ( const VPathList &path_ );</pre> </div> <div class="section" id="drawablepoint"> <h2><a class="toc-backref" href="#id30">DrawablePoint</a></h2> <p>Draw a point using stroke color and thickness at coordinate:</p> -<pre class="literal-block"> -DrawablePoint ( double x_, double y_ ) -</pre> +<pre class="literal-block">DrawablePoint ( double x_, double y_ )</pre> </div> <div class="section" id="drawablepointsize"> <h2><a class="toc-backref" href="#id31">DrawablePointSize</a></h2> <p>Set font point size:</p> -<pre class="literal-block"> -DrawablePointSize ( double pointSize_ ) -</pre> +<pre class="literal-block">DrawablePointSize ( double pointSize_ )</pre> </div> <div class="section" id="drawablepolygon"> <h2><a class="toc-backref" href="#id32">DrawablePolygon</a></h2> <p>Draw an arbitrary polygon using stroke color and thickness consisting of three or more coordinates contained in an STL list. If a fill color is specified, then the object is filled:</p> -<pre class="literal-block"> -DrawablePolygon ( const CoordinateList &coordinates_ ) -</pre> +<pre class="literal-block">DrawablePolygon ( const CoordinateList &coordinates_ )</pre> </div> <div class="section" id="drawablepolyline"> <h2><a class="toc-backref" href="#id33">DrawablePolyline</a></h2> <p>Draw an arbitrary polyline using stroke color and thickness consisting of three or more coordinates contained in an STL list. If a fill color is specified, then the object is filled:</p> -<pre class="literal-block"> -DrawablePolyline ( const CoordinateList &coordinates_ ) -</pre> +<pre class="literal-block">DrawablePolyline ( const CoordinateList &coordinates_ )</pre> </div> <div class="section" id="drawablepopclippath"> <h2><a class="toc-backref" href="#id34">DrawablePopClipPath</a></h2> <p>Pop (terminate) clip path definition started by DrawablePushClipPath:</p> -<pre class="literal-block"> -DrawablePopClipPath ( void ) -</pre> +<pre class="literal-block">DrawablePopClipPath ( void )</pre> </div> <div class="section" id="drawablepopgraphiccontext"> <h2><a class="toc-backref" href="#id35">DrawablePopGraphicContext</a></h2> <p>Pop Graphic Context. Removing the current graphic context from the graphic context stack restores the options to the values they had prior to the preceding <a class="reference internal" href="#drawablepushgraphiccontext">DrawablePushGraphicContext</a> operation:</p> -<pre class="literal-block"> -DrawablePopGraphicContext ( void ) -</pre> +<pre class="literal-block">DrawablePopGraphicContext ( void )</pre> </div> <div class="section" id="drawablepushclippath"> <h2><a class="toc-backref" href="#id36">DrawablePushClipPath</a></h2> <p>Push (create) clip path definition with <cite>id_</cite>. Clip patch definition consists of subsequent drawing commands, terminated by <a class="reference internal" href="#drawablepopclippath">DrawablePopClipPath</a>:</p> -<pre class="literal-block"> -DrawablePushClipPath ( const std::string &id_) -</pre> +<pre class="literal-block">DrawablePushClipPath ( const std::string &id_)</pre> </div> <div class="section" id="drawablepushgraphiccontext"> <h2><a class="toc-backref" href="#id37">DrawablePushGraphicContext</a></h2> @@ -542,9 +484,7 @@ support heirarchical nesting of options. When <a class="reference internal" href="#drawablepopgraphiccontext">DrawablePopGraphicContext</a> is used to pop the current graphic context, the options in effect during the last <a class="reference internal" href="#drawablepushgraphiccontext">DrawablePushGraphicContext</a> operation are restored:</p> -<pre class="literal-block"> -DrawablePushGraphicContext ( void ) -</pre> +<pre class="literal-block">DrawablePushGraphicContext ( void )</pre> </div> <div class="section" id="drawablepushpattern"> <h2><a class="toc-backref" href="#id38">DrawablePushPattern</a></h2> @@ -558,34 +498,26 @@ the pattern. Normally the pair <a class="reference internal" href="#drawablepush <a class="reference internal" href="#drawablepopgraphiccontext">DrawablePopGraphicContext</a> are used to enclose a pattern definition. Pattern definitions are terminated by a <a class="reference internal" href="#drawablepoppattern">DrawablePopPattern</a> object:</p> -<pre class="literal-block"> -DrawablePushPattern ( const std::string &id_, long x_, long y_, - long width_, long height_ ) -</pre> +<pre class="literal-block">DrawablePushPattern ( const std::string &id_, long x_, long y_, + long width_, long height_ )</pre> </div> <div class="section" id="drawablepoppattern"> <h2><a class="toc-backref" href="#id39">DrawablePopPattern</a></h2> <p>Terminate a pattern definition started via <a class="reference internal" href="#drawablepushpattern">DrawablePushPattern</a>:</p> -<pre class="literal-block"> -DrawablePopPattern ( void ) -</pre> +<pre class="literal-block">DrawablePopPattern ( void )</pre> </div> <div class="section" id="drawablerectangle"> <h2><a class="toc-backref" href="#id40">DrawableRectangle</a></h2> <p>Draw a rectangle using stroke color and thickness from upper-left coordinates to lower-right coordinates. If a fill color is specified, then the object is filled:</p> -<pre class="literal-block"> -DrawableRectangle ( double upperLeftX_, double upperLeftY_, - double lowerRightX_, double lowerRightY_ ) -</pre> +<pre class="literal-block">DrawableRectangle ( double upperLeftX_, double upperLeftY_, + double lowerRightX_, double lowerRightY_ )</pre> </div> <div class="section" id="drawablerotation"> <h2><a class="toc-backref" href="#id41">DrawableRotation</a></h2> <p>Set rotation to use when drawing (coordinate transformation):</p> -<pre class="literal-block"> -DrawableRotation ( double angle_ ) -</pre> +<pre class="literal-block">DrawableRotation ( double angle_ )</pre> </div> <div class="section" id="drawableroundrectangle"> <h2><a class="toc-backref" href="#id42">DrawableRoundRectangle</a></h2> @@ -593,79 +525,59 @@ DrawableRotation ( double angle_ ) specified center coordinate, specified width and height, and specified corner width and height. If a fill color is specified, then the object is filled:</p> -<pre class="literal-block"> -DrawableRoundRectangle ( double centerX_, double centerY_, +<pre class="literal-block">DrawableRoundRectangle ( double centerX_, double centerY_, double width_, double hight_, - double cornerWidth_, double cornerHeight_ ) -</pre> + double cornerWidth_, double cornerHeight_ )</pre> </div> <div class="section" id="drawablescaling"> <h2><a class="toc-backref" href="#id43">DrawableScaling</a></h2> <p>Apply scaling in x and y direction while drawing objects (coordinate transformation):</p> -<pre class="literal-block"> -DrawableScaling ( double x_, double y_ ) -</pre> +<pre class="literal-block">DrawableScaling ( double x_, double y_ )</pre> </div> <div class="section" id="drawableskewx"> <h2><a class="toc-backref" href="#id44">DrawableSkewX</a></h2> <p>Apply Skew in X direction (coordinate transformation):</p> -<pre class="literal-block"> -DrawableSkewX ( double angle_ ) -</pre> +<pre class="literal-block">DrawableSkewX ( double angle_ )</pre> </div> <div class="section" id="drawableskewy"> <h2><a class="toc-backref" href="#id45">DrawableSkewY</a></h2> <p>Apply Skew in Y direction:</p> -<pre class="literal-block"> -DrawableSkewY ( double angle_ ) -</pre> +<pre class="literal-block">DrawableSkewY ( double angle_ )</pre> </div> <div class="section" id="drawablestrokeantialias"> <h2><a class="toc-backref" href="#id46">DrawableStrokeAntialias</a></h2> <p>Antialias while drawing lines or object outlines:</p> -<pre class="literal-block"> -DrawableStrokeAntialias ( bool flag_ ) -</pre> +<pre class="literal-block">DrawableStrokeAntialias ( bool flag_ )</pre> </div> <div class="section" id="drawablestrokecolor"> <h2><a class="toc-backref" href="#id47">DrawableStrokeColor</a></h2> <p>Set color to use when drawing lines or object outlines:</p> -<pre class="literal-block"> -DrawableStrokeColor ( const Color &color_ ) -</pre> +<pre class="literal-block">DrawableStrokeColor ( const Color &color_ )</pre> </div> <div class="section" id="drawablestrokelinecap"> <h2><a class="toc-backref" href="#id48">DrawableStrokeLineCap</a></h2> <p>Specify the shape to be used at the end of open subpaths when they are stroked. Values of LineCap are UndefinedCap, ButtCap, RoundCap, and SquareCap:</p> -<pre class="literal-block"> -DrawableStrokeLineCap ( LineCap linecap_ ) -</pre> +<pre class="literal-block">DrawableStrokeLineCap ( LineCap linecap_ )</pre> </div> <div class="section" id="drawablestrokelinejoin"> <h2><a class="toc-backref" href="#id49">DrawableStrokeLineJoin</a></h2> <p>Specify 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:</p> -<pre class="literal-block"> -DrawableStrokeLineJoin ( LineJoin linejoin_ ) -</pre> +<pre class="literal-block">DrawableStrokeLineJoin ( LineJoin linejoin_ )</pre> </div> <div class="section" id="drawablestrokeopacity"> <h2><a class="toc-backref" href="#id50">DrawableStrokeOpacity</a></h2> <p>Opacity to use when drawing lines or object outlines:</p> -<pre class="literal-block"> -DrawableStrokeOpacity ( double opacity_ ) -</pre> +<pre class="literal-block">DrawableStrokeOpacity ( double opacity_ )</pre> </div> <div class="section" id="drawablestrokewidth"> <h2><a class="toc-backref" href="#id51">DrawableStrokeWidth</a></h2> <p>Set width to use when drawing lines or object outlines:</p> -<pre class="literal-block"> -DrawableStrokeWidth ( double width_ ) -</pre> +<pre class="literal-block">DrawableStrokeWidth ( double width_ )</pre> </div> <div class="section" id="drawabletext"> <h2><a class="toc-backref" href="#id52">DrawableText</a></h2> @@ -674,10 +586,8 @@ box color (text background color), at specified coordinates. If text contains <a class="reference external" href="FormatCharacters.html">special format characters</a> the image filename, type, width, height, or other image attributes may be incorporated in the text (see label()):</p> -<pre class="literal-block"> -DrawableText ( const double x_, const double y_, - const std::string &text_ ) -</pre> +<pre class="literal-block">DrawableText ( const double x_, const double y_, + const std::string &text_ )</pre> <p>Annotate image with text represented with text encoding, using current stroke color, font, font pointsize, and box color (text background color), at specified coordinates. If text contains <a class="reference external" href="FormatCharacters.html">special format @@ -690,39 +600,29 @@ this time is "UTF-8" for representing <a class="reference external" hr string to set text encoding to the system's default. Successful text annotation using Unicode may require fonts designed to support Unicode:</p> -<pre class="literal-block"> -DrawableText ( const double x_, const double y_, - const std::string &text_, const std::string &encoding_) -</pre> +<pre class="literal-block">DrawableText ( const double x_, const double y_, + const std::string &text_, const std::string &encoding_)</pre> </div> <div class="section" id="drawabletextantialias"> <h2><a class="toc-backref" href="#id53">DrawableTextAntialias</a></h2> <p>Antialias while drawing text (default true). The main reason to disable text antialiasing is to avoid adding new colors to the image:</p> -<pre class="literal-block"> -DrawableTextAntialias ( bool flag_ ) -</pre> +<pre class="literal-block">DrawableTextAntialias ( bool flag_ )</pre> </div> <div class="section" id="drawabletextdecoration"> <h2><a class="toc-backref" href="#id54">DrawableTextDecoration</a></h2> <p>Specify decoration (e.g. UnderlineDecoration) to apply to text:</p> -<pre class="literal-block"> -DrawableTextDecoration ( DecorationType decoration_ ) -</pre> +<pre class="literal-block">DrawableTextDecoration ( DecorationType decoration_ )</pre> </div> <div class="section" id="drawabletextundercolor"> <h2><a class="toc-backref" href="#id55">DrawableTextUnderColor</a></h2> <p>Draw a box under rendered text using the specified color:</p> -<pre class="literal-block"> -DrawableTextUnderColor ( const Color &color_ ) -</pre> +<pre class="literal-block">DrawableTextUnderColor ( const Color &color_ )</pre> </div> <div class="section" id="drawabletranslation"> <h2><a class="toc-backref" href="#id56">DrawableTranslation</a></h2> <p>Apply coordinate translation (set new coordinate origin):</p> -<pre class="literal-block"> -DrawableTranslation ( double x_, double y_ ) -</pre> +<pre class="literal-block">DrawableTranslation ( double x_, double y_ )</pre> </div> <div class="section" id="drawableviewbox"> <h2><a class="toc-backref" href="#id57">DrawableViewbox</a></h2> @@ -732,10 +632,8 @@ object should be pushed to the head of the list, followed by a <a class="reference internal" href="#drawableviewbox">DrawableViewbox</a> object to establish the output canvas size. A matching <a class="reference internal" href="#drawablepopgraphiccontext">DrawablePopGraphicContext</a> object should be pushed to the tail of the list:</p> -<pre class="literal-block"> -DrawableViewbox(unsigned long x1_, unsigned long y1_, - unsigned long x2_, unsigned long y2_) -</pre> +<pre class="literal-block">DrawableViewbox(unsigned long x1_, unsigned long y1_, + unsigned long x2_, unsigned long y2_)</pre> </div> </div> <div class="section" id="vector-path-classes"> @@ -754,10 +652,10 @@ skew it, or scale it.</p> <div class="contents local topic" id="vector-path-commands"> <p class="topic-title">Vector path commands</p> <ul class="simple"> -<li><a class="reference internal" href="#the-moveto-commands" id="id58">The "moveto" commands</a></li> -<li><a class="reference internal" href="#the-closepath-command" id="id59">The "closepath" command</a></li> -<li><a class="reference internal" href="#the-lineto-commands" id="id60">The "lineto" commands</a></li> -<li><a class="reference internal" href="#curve-commands" id="id61">Curve commands</a></li> +<li><p><a class="reference internal" href="#the-moveto-commands" id="id58">The "moveto" commands</a></p></li> +<li><p><a class="reference internal" href="#the-closepath-command" id="id59">The "closepath" command</a></p></li> +<li><p><a class="reference internal" href="#the-lineto-commands" id="id60">The "lineto" commands</a></p></li> +<li><p><a class="reference internal" href="#curve-commands" id="id61">Curve commands</a></p></li> </ul> </div> <div class="section" id="the-moveto-commands"> @@ -777,24 +675,16 @@ the subsequent pairs are treated as implicit lineto commands.</p> <div class="section" id="pathmovetoabs"> <h3>PathMovetoAbs</h3> <p>Simple moveto:</p> -<pre class="literal-block"> -PathMovetoAbs ( const Magick::Coordinate &coordinate_ ) -</pre> +<pre class="literal-block">PathMovetoAbs ( const Magick::Coordinate &coordinate_ )</pre> <p>Moveto followed by implicit linetos:</p> -<pre class="literal-block"> -PathMovetoAbs ( const CoordinateList &coordinates_ ) -</pre> +<pre class="literal-block">PathMovetoAbs ( const CoordinateList &coordinates_ )</pre> </div> <div class="section" id="pathmovetorel"> <h3>PathMovetoRel</h3> <p>Simple moveto:</p> -<pre class="literal-block"> -PathMovetoRel ( const Magick::Coordinate &coordinate_ ); -</pre> +<pre class="literal-block">PathMovetoRel ( const Magick::Coordinate &coordinate_ );</pre> <p>Moveto followed by implicit linetos:</p> -<pre class="literal-block"> -PathMovetoRel ( const CoordinateList &coordinates_ ); -</pre> +<pre class="literal-block">PathMovetoRel ( const CoordinateList &coordinates_ );</pre> </div> </div> <div class="section" id="the-closepath-command"> @@ -805,9 +695,7 @@ PathMovetoRel ( const CoordinateList &coordinates_ ); <p>Close the current subpath by drawing a straight line from the current point to current subpath's most recent starting point (usually, the most recent moveto point):</p> -<pre class="literal-block"> -PathClosePath ( void ) -</pre> +<pre class="literal-block">PathClosePath ( void )</pre> </div> </div> <div class="section" id="the-lineto-commands"> @@ -822,13 +710,9 @@ coordinates are used. A number of coordinates pairs may be specified in a list to draw a polyline. At the end of the command, the new current point is set to the final set of coordinates provided.</p> <p>Draw to a single point:</p> -<pre class="literal-block"> -PathLinetoAbs ( const Magick::Coordinate& coordinate_ ); -</pre> +<pre class="literal-block">PathLinetoAbs ( const Magick::Coordinate& coordinate_ );</pre> <p>Draw to multiple points:</p> -<pre class="literal-block"> -PathLinetoAbs ( const CoordinateList &coordinates_ ); -</pre> +<pre class="literal-block">PathLinetoAbs ( const CoordinateList &coordinates_ );</pre> </div> <div class="section" id="pathlinetorel"> <h3>PathLinetoRel</h3> @@ -838,13 +722,9 @@ coordinates are used. A number of coordinates pairs may be specified in a list to draw a polyline. At the end of the command, the new current point is set to the final set of coordinates provided.</p> <p>Draw to a single point:</p> -<pre class="literal-block"> -PathLinetoRel ( const Magick::Coordinate& coordinate_ ); -</pre> +<pre class="literal-block">PathLinetoRel ( const Magick::Coordinate& coordinate_ );</pre> <p>Draw to multiple points:</p> -<pre class="literal-block"> -PathLinetoRel ( const CoordinateList &coordinates_ ); -</pre> +<pre class="literal-block">PathLinetoRel ( const CoordinateList &coordinates_ );</pre> </div> <div class="section" id="pathlinetohorizontalabs"> <h3>PathLinetoHorizontalAbs</h3> @@ -852,9 +732,7 @@ PathLinetoRel ( const CoordinateList &coordinates_ ); cpy). <em>PathLinetoHorizontalAbs</em> indicates that absolute coordinates are supplied. At the end of the command, the new current point becomes (x, cpy) for the final value of x:</p> -<pre class="literal-block"> -PathLinetoHorizontalAbs ( double x_ ) -</pre> +<pre class="literal-block">PathLinetoHorizontalAbs ( double x_ )</pre> </div> <div class="section" id="pathlinetohorizontalrel"> <h3>PathLinetoHorizontalRel</h3> @@ -862,9 +740,7 @@ PathLinetoHorizontalAbs ( double x_ ) cpy). <em>PathLinetoHorizontalRel</em> indicates that relative coordinates are supplied. At the end of the command, the new current point becomes (x, cpy) for the final value of x:</p> -<pre class="literal-block"> -PathLinetoHorizontalRel ( double x_ ) -</pre> +<pre class="literal-block">PathLinetoHorizontalRel ( double x_ )</pre> </div> <div class="section" id="pathlinetoverticalabs"> <h3>PathLinetoVerticalAbs</h3> @@ -872,9 +748,7 @@ PathLinetoHorizontalRel ( double x_ ) y). <em>PathLinetoVerticalAbs</em> indicates that absolute coordinates are supplied. At the end of the command, the new current point becomes (cpx, y) for the final value of y:</p> -<pre class="literal-block"> -PathLinetoVerticalAbs ( double y_ ) -</pre> +<pre class="literal-block">PathLinetoVerticalAbs ( double y_ )</pre> </div> <div class="section" id="pathlinetoverticalrel"> <h3>PathLinetoVerticalRel</h3> @@ -882,33 +756,31 @@ PathLinetoVerticalAbs ( double y_ ) <em>PathLinetoVerticalRel</em> indicates that relative coordinates are supplied. At the end of the command, the new current point becomes (cpx, y) for the final value of y:</p> -<pre class="literal-block"> -PathLinetoVerticalRel ( double y_ ) -</pre> +<pre class="literal-block">PathLinetoVerticalRel ( double y_ )</pre> </div> </div> <div class="section" id="curve-commands"> <h2><a class="toc-backref" href="#id61">Curve commands</a></h2> <p>These three groups of commands draw curves:</p> <ul> -<li><p class="first">Cubic Bézier commands.</p> +<li><p>Cubic Bézier commands.</p> <p>A cubic Bézier segment is defined by a start point, an end point, and two control points.</p> </li> -<li><p class="first">Quadratic Bézier commands.</p> +<li><p>Quadratic Bézier commands.</p> <p>A quadratic Bézier segment is defined by a start point, an end point, and one control point.</p> </li> -<li><p class="first">Elliptical arc commands.</p> +<li><p>Elliptical arc commands.</p> <p>An elliptical arc segment draws a segment of an ellipse.</p> </li> </ul> <div class="contents local topic" id="id4"> <p class="topic-title">Curve Commands</p> <ul class="simple"> -<li><a class="reference internal" href="#cubic-bezier-curve-commands" id="id62">Cubic Bézier curve commands</a></li> -<li><a class="reference internal" href="#quadratic-bezier-curve-commands" id="id63">Quadratic Bézier curve commands</a></li> -<li><a class="reference internal" href="#elliptical-arc-curve-commands" id="id64">Elliptical arc curve commands</a></li> +<li><p><a class="reference internal" href="#cubic-bezier-curve-commands" id="id62">Cubic Bézier curve commands</a></p></li> +<li><p><a class="reference internal" href="#quadratic-bezier-curve-commands" id="id63">Quadratic Bézier curve commands</a></p></li> +<li><p><a class="reference internal" href="#elliptical-arc-curve-commands" id="id64">Elliptical arc curve commands</a></p></li> </ul> </div> <div class="section" id="cubic-bezier-curve-commands"> @@ -916,22 +788,20 @@ point, and one control point.</p> <div class="contents local topic" id="id5"> <p class="topic-title">Cubic Bézier curve commands</p> <ul class="simple"> -<li><a class="reference internal" href="#pathcurvetoargs" id="id65">PathCurvetoArgs</a></li> -<li><a class="reference internal" href="#pathcurvetoabs" id="id66">PathCurvetoAbs</a></li> -<li><a class="reference internal" href="#pathcurvetorel" id="id67">PathCurvetoRel</a></li> -<li><a class="reference internal" href="#pathsmoothcurvetoabs" id="id68">PathSmoothCurvetoAbs</a></li> -<li><a class="reference internal" href="#pathsmoothcurvetorel" id="id69">PathSmoothCurvetoRel</a></li> +<li><p><a class="reference internal" href="#pathcurvetoargs" id="id65">PathCurvetoArgs</a></p></li> +<li><p><a class="reference internal" href="#pathcurvetoabs" id="id66">PathCurvetoAbs</a></p></li> +<li><p><a class="reference internal" href="#pathcurvetorel" id="id67">PathCurvetoRel</a></p></li> +<li><p><a class="reference internal" href="#pathsmoothcurvetoabs" id="id68">PathSmoothCurvetoAbs</a></p></li> +<li><p><a class="reference internal" href="#pathsmoothcurvetorel" id="id69">PathSmoothCurvetoRel</a></p></li> </ul> </div> <div class="section" id="pathcurvetoargs"> <h4><a class="toc-backref" href="#id65">PathCurvetoArgs</a></h4> <p>The cubic Bézier commands depend on the <a class="reference internal" href="#pathcurvetoargs">PathCurvetoArgs</a> argument class, which has the constructor signature:</p> -<pre class="literal-block"> -PathCurvetoArgs( double x1_, double y1_, +<pre class="literal-block">PathCurvetoArgs( double x1_, double y1_, double x2_, double y2_, - double x_, double y_ ); -</pre> + double x_, double y_ );</pre> <p>PathCurveto:</p> <p>Draws a cubic Bézier curve from the current point to (<em>x</em>,*y*) using (<em>x1</em>,*y1*) as the control point at the beginning of the curve and @@ -945,24 +815,16 @@ the final (<em>x</em>,*y*) coordinate pair used in the polybezier.</p> <div class="section" id="pathcurvetoabs"> <h4><a class="toc-backref" href="#id66">PathCurvetoAbs</a></h4> <p>Draw a single curve:</p> -<pre class="literal-block"> -PathCurvetoAbs ( const PathCurvetoArgs &args_ ); -</pre> +<pre class="literal-block">PathCurvetoAbs ( const PathCurvetoArgs &args_ );</pre> <p>Draw multiple curves:</p> -<pre class="literal-block"> -PathCurvetoAbs ( const PathCurveToArgsList &args_ ); -</pre> +<pre class="literal-block">PathCurvetoAbs ( const PathCurveToArgsList &args_ );</pre> </div> <div class="section" id="pathcurvetorel"> <h4><a class="toc-backref" href="#id67">PathCurvetoRel</a></h4> <p>Draw a single curve:</p> -<pre class="literal-block"> -PathCurvetoRel ( const PathCurvetoArgs &args_ ); -</pre> +<pre class="literal-block">PathCurvetoRel ( const PathCurvetoArgs &args_ );</pre> <p>Draw multiple curves:</p> -<pre class="literal-block"> -PathCurvetoRel ( const PathCurveToArgsList &args_ ); -</pre> +<pre class="literal-block">PathCurvetoRel ( const PathCurveToArgsList &args_ );</pre> <p>PathSmoothCurveto:</p> <p>Draws a cubic Bézier curve from the current point to (x,y). The first control point is assumed to be the reflection of the second control @@ -981,23 +843,18 @@ used in the polybezier.</p> <div class="section" id="pathsmoothcurvetoabs"> <h4><a class="toc-backref" href="#id68">PathSmoothCurvetoAbs</a></h4> <p>Draw a single curve:</p> -<pre class="literal-block"> -PathSmoothCurvetoAbs ( const Magick::Coordinate &coordinates_ ); -</pre> +<pre class="literal-block">PathSmoothCurvetoAbs ( const Magick::Coordinate &coordinates_ );</pre> <p>Draw multiple curves</p> <blockquote> -PathSmoothCurvetoAbs ( const CoordinateList &coordinates_ );</blockquote> +<p>PathSmoothCurvetoAbs ( const CoordinateList &coordinates_ );</p> +</blockquote> </div> <div class="section" id="pathsmoothcurvetorel"> <h4><a class="toc-backref" href="#id69">PathSmoothCurvetoRel</a></h4> <p>Draw a single curve:</p> -<pre class="literal-block"> -PathSmoothCurvetoRel ( const Coordinate &coordinates_ ); -</pre> +<pre class="literal-block">PathSmoothCurvetoRel ( const Coordinate &coordinates_ );</pre> <p>Draw multiple curves:</p> -<pre class="literal-block"> -PathSmoothCurvetoRel ( const CoordinateList &coordinates_ ); -</pre> +<pre class="literal-block">PathSmoothCurvetoRel ( const CoordinateList &coordinates_ );</pre> </div> </div> <div class="section" id="quadratic-bezier-curve-commands"> @@ -1005,65 +862,47 @@ PathSmoothCurvetoRel ( const CoordinateList &coordinates_ ); <div class="contents local topic" id="id6"> <p class="topic-title">Quadratic Bézier curve commands</p> <ul class="simple"> -<li><a class="reference internal" href="#pathquadraticcurvetoargs" id="id70">PathQuadraticCurvetoArgs</a></li> -<li><a class="reference internal" href="#pathquadraticcurvetoabs" id="id71">PathQuadraticCurvetoAbs</a></li> -<li><a class="reference internal" href="#pathquadraticcurvetorel" id="id72">PathQuadraticCurvetoRel</a></li> -<li><a class="reference internal" href="#pathsmoothquadraticcurvetoabs" id="id73">PathSmoothQuadraticCurvetoAbs</a></li> -<li><a class="reference internal" href="#pathsmoothquadraticcurvetorel" id="id74">PathSmoothQuadraticCurvetoRel</a></li> +<li><p><a class="reference internal" href="#pathquadraticcurvetoargs" id="id70">PathQuadraticCurvetoArgs</a></p></li> +<li><p><a class="reference internal" href="#pathquadraticcurvetoabs" id="id71">PathQuadraticCurvetoAbs</a></p></li> +<li><p><a class="reference internal" href="#pathquadraticcurvetorel" id="id72">PathQuadraticCurvetoRel</a></p></li> +<li><p><a class="reference internal" href="#pathsmoothquadraticcurvetoabs" id="id73">PathSmoothQuadraticCurvetoAbs</a></p></li> +<li><p><a class="reference internal" href="#pathsmoothquadraticcurvetorel" id="id74">PathSmoothQuadraticCurvetoRel</a></p></li> </ul> </div> <div class="section" id="pathquadraticcurvetoargs"> <h4><a class="toc-backref" href="#id70">PathQuadraticCurvetoArgs</a></h4> <p>The quadratic Bézier commands depend on the <a class="reference internal" href="#pathquadraticcurvetoargs">PathQuadraticCurvetoArgs</a> argument class, which has the constructor signature:</p> -<pre class="literal-block"> -PathQuadraticCurvetoArgs( double x1_, double y1_, - double x_, double y_ ); -</pre> +<pre class="literal-block">PathQuadraticCurvetoArgs( double x1_, double y1_, + double x_, double y_ );</pre> </div> <div class="section" id="pathquadraticcurvetoabs"> <h4><a class="toc-backref" href="#id71">PathQuadraticCurvetoAbs</a></h4> <p>Draw a single curve:</p> -<pre class="literal-block"> -PathQuadraticCurvetoAbs ( const Magick::PathQuadraticCurvetoArgs &args_ ); -</pre> +<pre class="literal-block">PathQuadraticCurvetoAbs ( const Magick::PathQuadraticCurvetoArgs &args_ );</pre> <p>Draw multiple curves:</p> -<pre class="literal-block"> -PathQuadraticCurvetoAbs ( const PathQuadraticCurvetoArgsList &args_ ); -</pre> +<pre class="literal-block">PathQuadraticCurvetoAbs ( const PathQuadraticCurvetoArgsList &args_ );</pre> </div> <div class="section" id="pathquadraticcurvetorel"> <h4><a class="toc-backref" href="#id72">PathQuadraticCurvetoRel</a></h4> <p>Draw a single curve:</p> -<pre class="literal-block"> -PathQuadraticCurvetoRel ( const Magick::PathQuadraticCurvetoArgs &args_ ); -</pre> +<pre class="literal-block">PathQuadraticCurvetoRel ( const Magick::PathQuadraticCurvetoArgs &args_ );</pre> <p>Draw multiple curves:</p> -<pre class="literal-block"> -PathQuadraticCurvetoRel ( const PathQuadraticCurvetoArgsList &args_ ); -</pre> +<pre class="literal-block">PathQuadraticCurvetoRel ( const PathQuadraticCurvetoArgsList &args_ );</pre> </div> <div class="section" id="pathsmoothquadraticcurvetoabs"> <h4><a class="toc-backref" href="#id73">PathSmoothQuadraticCurvetoAbs</a></h4> <p>Draw a single curve:</p> -<pre class="literal-block"> -PathSmoothQuadraticCurvetoAbs ( const Magick::Coordinate &coordinate_ ); -</pre> +<pre class="literal-block">PathSmoothQuadraticCurvetoAbs ( const Magick::Coordinate &coordinate_ );</pre> <p>Draw multiple curves:</p> -<pre class="literal-block"> -PathSmoothQuadraticCurvetoAbs ( const CoordinateList &coordinates_ ); -</pre> +<pre class="literal-block">PathSmoothQuadraticCurvetoAbs ( const CoordinateList &coordinates_ );</pre> </div> <div class="section" id="pathsmoothquadraticcurvetorel"> <h4><a class="toc-backref" href="#id74">PathSmoothQuadraticCurvetoRel</a></h4> <p>Draw a single curve:</p> -<pre class="literal-block"> -PathSmoothQuadraticCurvetoRel ( const Magick::Coordinate &coordinate_ ); -</pre> +<pre class="literal-block">PathSmoothQuadraticCurvetoRel ( const Magick::Coordinate &coordinate_ );</pre> <p>Draw multiple curves:</p> -<pre class="literal-block"> -PathSmoothQuadraticCurvetoRel ( const CoordinateList &coordinates_ ); -</pre> +<pre class="literal-block">PathSmoothQuadraticCurvetoRel ( const CoordinateList &coordinates_ );</pre> </div> </div> <div class="section" id="elliptical-arc-curve-commands"> @@ -1071,20 +910,18 @@ PathSmoothQuadraticCurvetoRel ( const CoordinateList &coordinates_ ); <div class="contents local topic" id="id7"> <p class="topic-title">Elliptical arc curve commands</p> <ul class="simple"> -<li><a class="reference internal" href="#patharcargs" id="id75">PathArcArgs</a></li> -<li><a class="reference internal" href="#patharcabs" id="id76">PathArcAbs</a></li> -<li><a class="reference internal" href="#patharcrel" id="id77">PathArcRel</a></li> +<li><p><a class="reference internal" href="#patharcargs" id="id75">PathArcArgs</a></p></li> +<li><p><a class="reference internal" href="#patharcabs" id="id76">PathArcAbs</a></p></li> +<li><p><a class="reference internal" href="#patharcrel" id="id77">PathArcRel</a></p></li> </ul> </div> <div class="section" id="patharcargs"> <h4><a class="toc-backref" href="#id75">PathArcArgs</a></h4> <p>The elliptical arc curve commands depend on the PathArcArgs argument class, which has the constructor signature:</p> -<pre class="literal-block"> -PathArcArgs( double radiusX_, double radiusY_, +<pre class="literal-block">PathArcArgs( double radiusX_, double radiusY_, double xAxisRotation_, bool largeArcFlag_, - bool sweepFlag_, double x_, double y_ ); -</pre> + bool sweepFlag_, double x_, double y_ );</pre> <p>Draws an elliptical arc from the current point to (<em>x</em>, <em>y</em>). The size and orientation of the ellipse are defined by two radii (<em>radiusX</em>, <em>radiusY</em>) and an <em>xAxisRotation</em>, which indicates how the ellipse as a whole is @@ -1099,24 +936,16 @@ rotation.</p> <div class="section" id="patharcabs"> <h4><a class="toc-backref" href="#id76">PathArcAbs</a></h4> <p>Draw a single arc segment:</p> -<pre class="literal-block"> -PathArcAbs ( const PathArcArgs &coordinates_ ); -</pre> +<pre class="literal-block">PathArcAbs ( const PathArcArgs &coordinates_ );</pre> <p>Draw multiple arc segments:</p> -<pre class="literal-block"> -PathArcAbs ( const PathArcArgsList &coordinates_ ); -</pre> +<pre class="literal-block">PathArcAbs ( const PathArcArgsList &coordinates_ );</pre> </div> <div class="section" id="patharcrel"> <h4><a class="toc-backref" href="#id77">PathArcRel</a></h4> <p>Draw a single arc segment:</p> -<pre class="literal-block"> -PathArcRel ( const PathArcArgs &coordinates_ ); -</pre> +<pre class="literal-block">PathArcRel ( const PathArcArgs &coordinates_ );</pre> <p>Draw multiple arc segments:</p> -<pre class="literal-block"> -PathArcRel ( const PathArcArgsList &coordinates_ ); -</pre> +<pre class="literal-block">PathArcRel ( const PathArcArgsList &coordinates_ );</pre> <p>Copyright © Bob Friesenhahn 1999 - 2022</p> </div> </div> @@ -1124,9 +953,12 @@ PathArcRel ( const PathArcArgsList &coordinates_ ); </div> </div> + <hr class="docutils"> <div class="document"> - <p><a href="../Copyright.html">Copyright</a> © GraphicsMagick Group 2002 - 2022<!--SPONSOR_LOGO--></p> + <p><a href="../Copyright.html">Copyright</a> © GraphicsMagick Group 2002 - 2023<!--SPONSOR_LOGO--></p> +</div> + </div> </body> </html> |