diff options
Diffstat (limited to 'www/api/draw.html')
-rw-r--r-- | www/api/draw.html | 2331 |
1 files changed, 1078 insertions, 1253 deletions
diff --git a/www/api/draw.html b/www/api/draw.html index 044d334..af68dea 100644 --- a/www/api/draw.html +++ b/www/api/draw.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>draw</title> -<link rel="stylesheet" href="../docutils-api.css" type="text/css" /> + <meta charset="utf-8"> + <meta content="en" name="language"> + <title>draw</title> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <link media="screen" href="../docutils-api.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,154 +35,154 @@ <li><a href="../reference.html">Reference</a></li> </ul> </div> + <div class="document" id="draw"> <h1 class="title">draw</h1> -<h2 class="subtitle" id="user-friendly-methods-to-draw-on-an-image">User-friendly methods to draw on an image</h2> - +<p class="subtitle" id="user-friendly-methods-to-draw-on-an-image">User-friendly methods to draw on an image</p> <div class="contents topic" id="contents"> <p class="topic-title">Contents</p> <ul class="simple"> -<li><a class="reference internal" href="#drawannotation" id="id225">DrawAnnotation</a></li> -<li><a class="reference internal" href="#drawaffine" id="id226">DrawAffine</a></li> -<li><a class="reference internal" href="#drawallocatecontext" id="id227">DrawAllocateContext</a></li> -<li><a class="reference internal" href="#drawarc" id="id228">DrawArc</a></li> -<li><a class="reference internal" href="#drawbezier" id="id229">DrawBezier</a></li> -<li><a class="reference internal" href="#drawcircle" id="id230">DrawCircle</a></li> -<li><a class="reference internal" href="#drawgetclippath" id="id231">DrawGetClipPath</a></li> -<li><a class="reference internal" href="#drawsetclippath" id="id232">DrawSetClipPath</a></li> -<li><a class="reference internal" href="#drawgetcliprule" id="id233">DrawGetClipRule</a></li> -<li><a class="reference internal" href="#drawsetcliprule" id="id234">DrawSetClipRule</a></li> -<li><a class="reference internal" href="#drawgetclipunits" id="id235">DrawGetClipUnits</a></li> -<li><a class="reference internal" href="#drawsetclipunits" id="id236">DrawSetClipUnits</a></li> -<li><a class="reference internal" href="#drawcolor" id="id237">DrawColor</a></li> -<li><a class="reference internal" href="#drawcomment" id="id238">DrawComment</a></li> -<li><a class="reference internal" href="#drawdestroycontext" id="id239">DrawDestroyContext</a></li> -<li><a class="reference internal" href="#drawellipse" id="id240">DrawEllipse</a></li> -<li><a class="reference internal" href="#drawgetfillcolor" id="id241">DrawGetFillColor</a></li> -<li><a class="reference internal" href="#drawsetfillcolor" id="id242">DrawSetFillColor</a></li> -<li><a class="reference internal" href="#drawsetfillcolorstring" id="id243">DrawSetFillColorString</a></li> -<li><a class="reference internal" href="#drawsetfillpatternurl" id="id244">DrawSetFillPatternURL</a></li> -<li><a class="reference internal" href="#drawgetfillopacity" id="id245">DrawGetFillOpacity</a></li> -<li><a class="reference internal" href="#drawsetfillopacity" id="id246">DrawSetFillOpacity</a></li> -<li><a class="reference internal" href="#drawgetfillrule" id="id247">DrawGetFillRule</a></li> -<li><a class="reference internal" href="#drawsetfillrule" id="id248">DrawSetFillRule</a></li> -<li><a class="reference internal" href="#drawgetfont" id="id249">DrawGetFont</a></li> -<li><a class="reference internal" href="#drawsetfont" id="id250">DrawSetFont</a></li> -<li><a class="reference internal" href="#drawgetfontfamily" id="id251">DrawGetFontFamily</a></li> -<li><a class="reference internal" href="#drawsetfontfamily" id="id252">DrawSetFontFamily</a></li> -<li><a class="reference internal" href="#drawgetfontsize" id="id253">DrawGetFontSize</a></li> -<li><a class="reference internal" href="#drawsetfontsize" id="id254">DrawSetFontSize</a></li> -<li><a class="reference internal" href="#drawgetfontstretch" id="id255">DrawGetFontStretch</a></li> -<li><a class="reference internal" href="#drawsetfontstretch" id="id256">DrawSetFontStretch</a></li> -<li><a class="reference internal" href="#drawgetfontstyle" id="id257">DrawGetFontStyle</a></li> -<li><a class="reference internal" href="#drawsetfontstyle" id="id258">DrawSetFontStyle</a></li> -<li><a class="reference internal" href="#drawgetfontweight" id="id259">DrawGetFontWeight</a></li> -<li><a class="reference internal" href="#drawsetfontweight" id="id260">DrawSetFontWeight</a></li> -<li><a class="reference internal" href="#drawgetgravity" id="id261">DrawGetGravity</a></li> -<li><a class="reference internal" href="#drawsetgravity" id="id262">DrawSetGravity</a></li> -<li><a class="reference internal" href="#drawcomposite" id="id263">DrawComposite</a></li> -<li><a class="reference internal" href="#drawline" id="id264">DrawLine</a></li> -<li><a class="reference internal" href="#drawmatte" id="id265">DrawMatte</a></li> -<li><a class="reference internal" href="#drawpathclose" id="id266">DrawPathClose</a></li> -<li><a class="reference internal" href="#drawpathcurvetoabsolute" id="id267">DrawPathCurveToAbsolute</a></li> -<li><a class="reference internal" href="#drawpathcurvetorelative" id="id268">DrawPathCurveToRelative</a></li> -<li><a class="reference internal" href="#drawpathcurvetoquadraticbezierabsolute" id="id269">DrawPathCurveToQuadraticBezierAbsolute</a></li> -<li><a class="reference internal" href="#drawpathcurvetoquadraticbezierrelative" id="id270">DrawPathCurveToQuadraticBezierRelative</a></li> -<li><a class="reference internal" href="#drawpathcurvetoquadraticbeziersmoothabsolute" id="id271">DrawPathCurveToQuadraticBezierSmoothAbsolute</a></li> -<li><a class="reference internal" href="#drawpathcurvetoquadraticbeziersmoothrelative" id="id272">DrawPathCurveToQuadraticBezierSmoothRelative</a></li> -<li><a class="reference internal" href="#drawpathcurvetosmoothabsolute" id="id273">DrawPathCurveToSmoothAbsolute</a></li> -<li><a class="reference internal" href="#drawpathcurvetosmoothrelative" id="id274">DrawPathCurveToSmoothRelative</a></li> -<li><a class="reference internal" href="#drawpathellipticarcabsolute" id="id275">DrawPathEllipticArcAbsolute</a></li> -<li><a class="reference internal" href="#drawpathellipticarcrelative" id="id276">DrawPathEllipticArcRelative</a></li> -<li><a class="reference internal" href="#drawpathfinish" id="id277">DrawPathFinish</a></li> -<li><a class="reference internal" href="#drawpathlinetoabsolute" id="id278">DrawPathLineToAbsolute</a></li> -<li><a class="reference internal" href="#drawpathlinetorelative" id="id279">DrawPathLineToRelative</a></li> -<li><a class="reference internal" href="#drawpathlinetohorizontalabsolute" id="id280">DrawPathLineToHorizontalAbsolute</a></li> -<li><a class="reference internal" href="#drawpathlinetohorizontalrelative" id="id281">DrawPathLineToHorizontalRelative</a></li> -<li><a class="reference internal" href="#drawpathlinetoverticalabsolute" id="id282">DrawPathLineToVerticalAbsolute</a></li> -<li><a class="reference internal" href="#drawpathlinetoverticalrelative" id="id283">DrawPathLineToVerticalRelative</a></li> -<li><a class="reference internal" href="#drawpathmovetoabsolute" id="id284">DrawPathMoveToAbsolute</a></li> -<li><a class="reference internal" href="#drawpathmovetorelative" id="id285">DrawPathMoveToRelative</a></li> -<li><a class="reference internal" href="#drawpathstart" id="id286">DrawPathStart</a></li> -<li><a class="reference internal" href="#drawpeekgraphiccontext" id="id287">DrawPeekGraphicContext</a></li> -<li><a class="reference internal" href="#drawpoint" id="id288">DrawPoint</a></li> -<li><a class="reference internal" href="#drawpolygon" id="id289">DrawPolygon</a></li> -<li><a class="reference internal" href="#drawpolyline" id="id290">DrawPolyline</a></li> -<li><a class="reference internal" href="#drawpopclippath" id="id291">DrawPopClipPath</a></li> -<li><a class="reference internal" href="#drawpopdefs" id="id292">DrawPopDefs</a></li> -<li><a class="reference internal" href="#drawpopgraphiccontext" id="id293">DrawPopGraphicContext</a></li> -<li><a class="reference internal" href="#drawpoppattern" id="id294">DrawPopPattern</a></li> -<li><a class="reference internal" href="#drawpushclippath" id="id295">DrawPushClipPath</a></li> -<li><a class="reference internal" href="#drawpushdefs" id="id296">DrawPushDefs</a></li> -<li><a class="reference internal" href="#drawpushgraphiccontext" id="id297">DrawPushGraphicContext</a></li> -<li><a class="reference internal" href="#drawpushpattern" id="id298">DrawPushPattern</a></li> -<li><a class="reference internal" href="#drawrectangle" id="id299">DrawRectangle</a></li> -<li><a class="reference internal" href="#drawrender" id="id300">DrawRender</a></li> -<li><a class="reference internal" href="#drawrotate" id="id301">DrawRotate</a></li> -<li><a class="reference internal" href="#drawroundrectangle" id="id302">DrawRoundRectangle</a></li> -<li><a class="reference internal" href="#drawscale" id="id303">DrawScale</a></li> -<li><a class="reference internal" href="#drawskewx" id="id304">DrawSkewX</a></li> -<li><a class="reference internal" href="#drawskewy" id="id305">DrawSkewY</a></li> -<li><a class="reference internal" href="#drawsetstopcolor" id="id306">DrawSetStopColor</a></li> -<li><a class="reference internal" href="#drawgetstrokecolor" id="id307">DrawGetStrokeColor</a></li> -<li><a class="reference internal" href="#drawsetstrokecolor" id="id308">DrawSetStrokeColor</a></li> -<li><a class="reference internal" href="#drawsetstrokecolorstring" id="id309">DrawSetStrokeColorString</a></li> -<li><a class="reference internal" href="#drawsetstrokepatternurl" id="id310">DrawSetStrokePatternURL</a></li> -<li><a class="reference internal" href="#drawgetstrokeantialias" id="id311">DrawGetStrokeAntialias</a></li> -<li><a class="reference internal" href="#drawsetstrokeantialias" id="id312">DrawSetStrokeAntialias</a></li> -<li><a class="reference internal" href="#drawgetstrokedasharray" id="id313">DrawGetStrokeDashArray</a></li> -<li><a class="reference internal" href="#drawsetstrokedasharray" id="id314">DrawSetStrokeDashArray</a></li> -<li><a class="reference internal" href="#drawgetstrokedashoffset" id="id315">DrawGetStrokeDashOffset</a></li> -<li><a class="reference internal" href="#drawsetstrokedashoffset" id="id316">DrawSetStrokeDashOffset</a></li> -<li><a class="reference internal" href="#drawgetstrokelinecap" id="id317">DrawGetStrokeLineCap</a></li> -<li><a class="reference internal" href="#drawsetstrokelinecap" id="id318">DrawSetStrokeLineCap</a></li> -<li><a class="reference internal" href="#drawgetstrokelinejoin" id="id319">DrawGetStrokeLineJoin</a></li> -<li><a class="reference internal" href="#drawsetstrokelinejoin" id="id320">DrawSetStrokeLineJoin</a></li> -<li><a class="reference internal" href="#drawgetstrokemiterlimit" id="id321">DrawGetStrokeMiterLimit</a></li> -<li><a class="reference internal" href="#drawsetstrokemiterlimit" id="id322">DrawSetStrokeMiterLimit</a></li> -<li><a class="reference internal" href="#drawgetstrokeopacity" id="id323">DrawGetStrokeOpacity</a></li> -<li><a class="reference internal" href="#drawsetstrokeopacity" id="id324">DrawSetStrokeOpacity</a></li> -<li><a class="reference internal" href="#drawgetstrokewidth" id="id325">DrawGetStrokeWidth</a></li> -<li><a class="reference internal" href="#drawsetstrokewidth" id="id326">DrawSetStrokeWidth</a></li> -<li><a class="reference internal" href="#drawgettextantialias" id="id327">DrawGetTextAntialias</a></li> -<li><a class="reference internal" href="#drawsettextantialias" id="id328">DrawSetTextAntialias</a></li> -<li><a class="reference internal" href="#drawgettextdecoration" id="id329">DrawGetTextDecoration</a></li> -<li><a class="reference internal" href="#drawsettextdecoration" id="id330">DrawSetTextDecoration</a></li> -<li><a class="reference internal" href="#drawgettextencoding" id="id331">DrawGetTextEncoding</a></li> -<li><a class="reference internal" href="#drawsettextencoding" id="id332">DrawSetTextEncoding</a></li> -<li><a class="reference internal" href="#drawgettextundercolor" id="id333">DrawGetTextUnderColor</a></li> -<li><a class="reference internal" href="#drawsettextundercolor" id="id334">DrawSetTextUnderColor</a></li> -<li><a class="reference internal" href="#drawsettextundercolorstring" id="id335">DrawSetTextUnderColorString</a></li> -<li><a class="reference internal" href="#drawtranslate" id="id336">DrawTranslate</a></li> -<li><a class="reference internal" href="#drawsetviewbox" id="id337">DrawSetViewbox</a></li> +<li><p><a class="reference internal" href="#drawannotation" id="id225">DrawAnnotation</a></p></li> +<li><p><a class="reference internal" href="#drawaffine" id="id226">DrawAffine</a></p></li> +<li><p><a class="reference internal" href="#drawallocatecontext" id="id227">DrawAllocateContext</a></p></li> +<li><p><a class="reference internal" href="#drawarc" id="id228">DrawArc</a></p></li> +<li><p><a class="reference internal" href="#drawbezier" id="id229">DrawBezier</a></p></li> +<li><p><a class="reference internal" href="#drawcircle" id="id230">DrawCircle</a></p></li> +<li><p><a class="reference internal" href="#drawgetclippath" id="id231">DrawGetClipPath</a></p></li> +<li><p><a class="reference internal" href="#drawsetclippath" id="id232">DrawSetClipPath</a></p></li> +<li><p><a class="reference internal" href="#drawgetcliprule" id="id233">DrawGetClipRule</a></p></li> +<li><p><a class="reference internal" href="#drawsetcliprule" id="id234">DrawSetClipRule</a></p></li> +<li><p><a class="reference internal" href="#drawgetclipunits" id="id235">DrawGetClipUnits</a></p></li> +<li><p><a class="reference internal" href="#drawsetclipunits" id="id236">DrawSetClipUnits</a></p></li> +<li><p><a class="reference internal" href="#drawcolor" id="id237">DrawColor</a></p></li> +<li><p><a class="reference internal" href="#drawcomment" id="id238">DrawComment</a></p></li> +<li><p><a class="reference internal" href="#drawdestroycontext" id="id239">DrawDestroyContext</a></p></li> +<li><p><a class="reference internal" href="#drawellipse" id="id240">DrawEllipse</a></p></li> +<li><p><a class="reference internal" href="#drawgetfillcolor" id="id241">DrawGetFillColor</a></p></li> +<li><p><a class="reference internal" href="#drawsetfillcolor" id="id242">DrawSetFillColor</a></p></li> +<li><p><a class="reference internal" href="#drawsetfillcolorstring" id="id243">DrawSetFillColorString</a></p></li> +<li><p><a class="reference internal" href="#drawsetfillpatternurl" id="id244">DrawSetFillPatternURL</a></p></li> +<li><p><a class="reference internal" href="#drawgetfillopacity" id="id245">DrawGetFillOpacity</a></p></li> +<li><p><a class="reference internal" href="#drawsetfillopacity" id="id246">DrawSetFillOpacity</a></p></li> +<li><p><a class="reference internal" href="#drawgetfillrule" id="id247">DrawGetFillRule</a></p></li> +<li><p><a class="reference internal" href="#drawsetfillrule" id="id248">DrawSetFillRule</a></p></li> +<li><p><a class="reference internal" href="#drawgetfont" id="id249">DrawGetFont</a></p></li> +<li><p><a class="reference internal" href="#drawsetfont" id="id250">DrawSetFont</a></p></li> +<li><p><a class="reference internal" href="#drawgetfontfamily" id="id251">DrawGetFontFamily</a></p></li> +<li><p><a class="reference internal" href="#drawsetfontfamily" id="id252">DrawSetFontFamily</a></p></li> +<li><p><a class="reference internal" href="#drawgetfontsize" id="id253">DrawGetFontSize</a></p></li> +<li><p><a class="reference internal" href="#drawsetfontsize" id="id254">DrawSetFontSize</a></p></li> +<li><p><a class="reference internal" href="#drawgetfontstretch" id="id255">DrawGetFontStretch</a></p></li> +<li><p><a class="reference internal" href="#drawsetfontstretch" id="id256">DrawSetFontStretch</a></p></li> +<li><p><a class="reference internal" href="#drawgetfontstyle" id="id257">DrawGetFontStyle</a></p></li> +<li><p><a class="reference internal" href="#drawsetfontstyle" id="id258">DrawSetFontStyle</a></p></li> +<li><p><a class="reference internal" href="#drawgetfontweight" id="id259">DrawGetFontWeight</a></p></li> +<li><p><a class="reference internal" href="#drawsetfontweight" id="id260">DrawSetFontWeight</a></p></li> +<li><p><a class="reference internal" href="#drawgetgravity" id="id261">DrawGetGravity</a></p></li> +<li><p><a class="reference internal" href="#drawsetgravity" id="id262">DrawSetGravity</a></p></li> +<li><p><a class="reference internal" href="#drawcomposite" id="id263">DrawComposite</a></p></li> +<li><p><a class="reference internal" href="#drawline" id="id264">DrawLine</a></p></li> +<li><p><a class="reference internal" href="#drawmatte" id="id265">DrawMatte</a></p></li> +<li><p><a class="reference internal" href="#drawpathclose" id="id266">DrawPathClose</a></p></li> +<li><p><a class="reference internal" href="#drawpathcurvetoabsolute" id="id267">DrawPathCurveToAbsolute</a></p></li> +<li><p><a class="reference internal" href="#drawpathcurvetorelative" id="id268">DrawPathCurveToRelative</a></p></li> +<li><p><a class="reference internal" href="#drawpathcurvetoquadraticbezierabsolute" id="id269">DrawPathCurveToQuadraticBezierAbsolute</a></p></li> +<li><p><a class="reference internal" href="#drawpathcurvetoquadraticbezierrelative" id="id270">DrawPathCurveToQuadraticBezierRelative</a></p></li> +<li><p><a class="reference internal" href="#drawpathcurvetoquadraticbeziersmoothabsolute" id="id271">DrawPathCurveToQuadraticBezierSmoothAbsolute</a></p></li> +<li><p><a class="reference internal" href="#drawpathcurvetoquadraticbeziersmoothrelative" id="id272">DrawPathCurveToQuadraticBezierSmoothRelative</a></p></li> +<li><p><a class="reference internal" href="#drawpathcurvetosmoothabsolute" id="id273">DrawPathCurveToSmoothAbsolute</a></p></li> +<li><p><a class="reference internal" href="#drawpathcurvetosmoothrelative" id="id274">DrawPathCurveToSmoothRelative</a></p></li> +<li><p><a class="reference internal" href="#drawpathellipticarcabsolute" id="id275">DrawPathEllipticArcAbsolute</a></p></li> +<li><p><a class="reference internal" href="#drawpathellipticarcrelative" id="id276">DrawPathEllipticArcRelative</a></p></li> +<li><p><a class="reference internal" href="#drawpathfinish" id="id277">DrawPathFinish</a></p></li> +<li><p><a class="reference internal" href="#drawpathlinetoabsolute" id="id278">DrawPathLineToAbsolute</a></p></li> +<li><p><a class="reference internal" href="#drawpathlinetorelative" id="id279">DrawPathLineToRelative</a></p></li> +<li><p><a class="reference internal" href="#drawpathlinetohorizontalabsolute" id="id280">DrawPathLineToHorizontalAbsolute</a></p></li> +<li><p><a class="reference internal" href="#drawpathlinetohorizontalrelative" id="id281">DrawPathLineToHorizontalRelative</a></p></li> +<li><p><a class="reference internal" href="#drawpathlinetoverticalabsolute" id="id282">DrawPathLineToVerticalAbsolute</a></p></li> +<li><p><a class="reference internal" href="#drawpathlinetoverticalrelative" id="id283">DrawPathLineToVerticalRelative</a></p></li> +<li><p><a class="reference internal" href="#drawpathmovetoabsolute" id="id284">DrawPathMoveToAbsolute</a></p></li> +<li><p><a class="reference internal" href="#drawpathmovetorelative" id="id285">DrawPathMoveToRelative</a></p></li> +<li><p><a class="reference internal" href="#drawpathstart" id="id286">DrawPathStart</a></p></li> +<li><p><a class="reference internal" href="#drawpeekgraphiccontext" id="id287">DrawPeekGraphicContext</a></p></li> +<li><p><a class="reference internal" href="#drawpoint" id="id288">DrawPoint</a></p></li> +<li><p><a class="reference internal" href="#drawpolygon" id="id289">DrawPolygon</a></p></li> +<li><p><a class="reference internal" href="#drawpolyline" id="id290">DrawPolyline</a></p></li> +<li><p><a class="reference internal" href="#drawpopclippath" id="id291">DrawPopClipPath</a></p></li> +<li><p><a class="reference internal" href="#drawpopdefs" id="id292">DrawPopDefs</a></p></li> +<li><p><a class="reference internal" href="#drawpopgraphiccontext" id="id293">DrawPopGraphicContext</a></p></li> +<li><p><a class="reference internal" href="#drawpoppattern" id="id294">DrawPopPattern</a></p></li> +<li><p><a class="reference internal" href="#drawpushclippath" id="id295">DrawPushClipPath</a></p></li> +<li><p><a class="reference internal" href="#drawpushdefs" id="id296">DrawPushDefs</a></p></li> +<li><p><a class="reference internal" href="#drawpushgraphiccontext" id="id297">DrawPushGraphicContext</a></p></li> +<li><p><a class="reference internal" href="#drawpushpattern" id="id298">DrawPushPattern</a></p></li> +<li><p><a class="reference internal" href="#drawrectangle" id="id299">DrawRectangle</a></p></li> +<li><p><a class="reference internal" href="#drawrender" id="id300">DrawRender</a></p></li> +<li><p><a class="reference internal" href="#drawrotate" id="id301">DrawRotate</a></p></li> +<li><p><a class="reference internal" href="#drawroundrectangle" id="id302">DrawRoundRectangle</a></p></li> +<li><p><a class="reference internal" href="#drawscale" id="id303">DrawScale</a></p></li> +<li><p><a class="reference internal" href="#drawskewx" id="id304">DrawSkewX</a></p></li> +<li><p><a class="reference internal" href="#drawskewy" id="id305">DrawSkewY</a></p></li> +<li><p><a class="reference internal" href="#drawsetstopcolor" id="id306">DrawSetStopColor</a></p></li> +<li><p><a class="reference internal" href="#drawgetstrokecolor" id="id307">DrawGetStrokeColor</a></p></li> +<li><p><a class="reference internal" href="#drawsetstrokecolor" id="id308">DrawSetStrokeColor</a></p></li> +<li><p><a class="reference internal" href="#drawsetstrokecolorstring" id="id309">DrawSetStrokeColorString</a></p></li> +<li><p><a class="reference internal" href="#drawsetstrokepatternurl" id="id310">DrawSetStrokePatternURL</a></p></li> +<li><p><a class="reference internal" href="#drawgetstrokeantialias" id="id311">DrawGetStrokeAntialias</a></p></li> +<li><p><a class="reference internal" href="#drawsetstrokeantialias" id="id312">DrawSetStrokeAntialias</a></p></li> +<li><p><a class="reference internal" href="#drawgetstrokedasharray" id="id313">DrawGetStrokeDashArray</a></p></li> +<li><p><a class="reference internal" href="#drawsetstrokedasharray" id="id314">DrawSetStrokeDashArray</a></p></li> +<li><p><a class="reference internal" href="#drawgetstrokedashoffset" id="id315">DrawGetStrokeDashOffset</a></p></li> +<li><p><a class="reference internal" href="#drawsetstrokedashoffset" id="id316">DrawSetStrokeDashOffset</a></p></li> +<li><p><a class="reference internal" href="#drawgetstrokelinecap" id="id317">DrawGetStrokeLineCap</a></p></li> +<li><p><a class="reference internal" href="#drawsetstrokelinecap" id="id318">DrawSetStrokeLineCap</a></p></li> +<li><p><a class="reference internal" href="#drawgetstrokelinejoin" id="id319">DrawGetStrokeLineJoin</a></p></li> +<li><p><a class="reference internal" href="#drawsetstrokelinejoin" id="id320">DrawSetStrokeLineJoin</a></p></li> +<li><p><a class="reference internal" href="#drawgetstrokemiterlimit" id="id321">DrawGetStrokeMiterLimit</a></p></li> +<li><p><a class="reference internal" href="#drawsetstrokemiterlimit" id="id322">DrawSetStrokeMiterLimit</a></p></li> +<li><p><a class="reference internal" href="#drawgetstrokeopacity" id="id323">DrawGetStrokeOpacity</a></p></li> +<li><p><a class="reference internal" href="#drawsetstrokeopacity" id="id324">DrawSetStrokeOpacity</a></p></li> +<li><p><a class="reference internal" href="#drawgetstrokewidth" id="id325">DrawGetStrokeWidth</a></p></li> +<li><p><a class="reference internal" href="#drawsetstrokewidth" id="id326">DrawSetStrokeWidth</a></p></li> +<li><p><a class="reference internal" href="#drawgettextantialias" id="id327">DrawGetTextAntialias</a></p></li> +<li><p><a class="reference internal" href="#drawsettextantialias" id="id328">DrawSetTextAntialias</a></p></li> +<li><p><a class="reference internal" href="#drawgettextdecoration" id="id329">DrawGetTextDecoration</a></p></li> +<li><p><a class="reference internal" href="#drawsettextdecoration" id="id330">DrawSetTextDecoration</a></p></li> +<li><p><a class="reference internal" href="#drawgettextencoding" id="id331">DrawGetTextEncoding</a></p></li> +<li><p><a class="reference internal" href="#drawsettextencoding" id="id332">DrawSetTextEncoding</a></p></li> +<li><p><a class="reference internal" href="#drawgettextundercolor" id="id333">DrawGetTextUnderColor</a></p></li> +<li><p><a class="reference internal" href="#drawsettextundercolor" id="id334">DrawSetTextUnderColor</a></p></li> +<li><p><a class="reference internal" href="#drawsettextundercolorstring" id="id335">DrawSetTextUnderColorString</a></p></li> +<li><p><a class="reference internal" href="#drawtranslate" id="id336">DrawTranslate</a></p></li> +<li><p><a class="reference internal" href="#drawsetviewbox" id="id337">DrawSetViewbox</a></p></li> </ul> </div> <div class="section" id="drawannotation"> <h1><a class="toc-backref" href="#id225">DrawAnnotation</a></h1> <div class="section" id="synopsis"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawAnnotation( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y, - const unsigned char *text ); -</pre> +<pre class="literal-block">void DrawAnnotation( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y, + const unsigned char *text );</pre> </div> <div class="section" id="description"> <h2>Description</h2> <p>DrawAnnotation() draws text on the image.</p> <p>The format of the DrawAnnotation method is:</p> -<pre class="literal-block"> -void DrawAnnotation( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y, - const unsigned char *text ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawAnnotation( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y, + const unsigned char *text );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>x:</dt> -<dd>x ordinate to left of text</dd> +<dd><p>x ordinate to left of text</p> +</dd> <dt>y:</dt> -<dd>y ordinate to text baseline</dd> +<dd><p>y ordinate to text baseline</p> +</dd> <dt>text:</dt> -<dd>text to draw</dd> +<dd><p>text to draw</p> +</dd> </dl> </div> </div> @@ -187,9 +190,7 @@ void DrawAnnotation( <a class="reference external" href="../api/types.html#drawc <h1><a class="toc-backref" href="#id226">DrawAffine</a></h1> <div class="section" id="id1"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawAffine( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#affinematrix">AffineMatrix</a> *affine ); -</pre> +<pre class="literal-block">void DrawAffine( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#affinematrix">AffineMatrix</a> *affine );</pre> </div> <div class="section" id="id2"> <h2>Description</h2> @@ -197,15 +198,15 @@ void DrawAffine( <a class="reference external" href="../api/types.html#drawconte the specified affine transformation matrix. Note that the current affine transform is adjusted rather than replaced.</p> <p>The format of the DrawAffine method is:</p> -<pre class="literal-block"> -void DrawAffine( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#affinematrix">AffineMatrix</a> *affine ); -</pre> +<pre class="literal-block">void DrawAffine( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#affinematrix">AffineMatrix</a> *affine );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>Drawing context</dd> +<dd><p>Drawing context</p> +</dd> <dt>affine:</dt> -<dd>Affine matrix parameters</dd> +<dd><p>Affine matrix parameters</p> +</dd> </dl> </div> </div> @@ -213,24 +214,22 @@ void DrawAffine( <a class="reference external" href="../api/types.html#drawconte <h1><a class="toc-backref" href="#id227">DrawAllocateContext</a></h1> <div class="section" id="id3"> <h2>Synopsis</h2> -<pre class="literal-block"> -<a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> DrawAllocateContext( const <a class="reference external" href="../api/types.html#drawinfo">DrawInfo</a> *draw_info, <a class="reference external" href="../api/types.html#image">Image</a> *image ); -</pre> +<pre class="literal-block"><a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> DrawAllocateContext( const <a class="reference external" href="../api/types.html#drawinfo">DrawInfo</a> *draw_info, <a class="reference external" href="../api/types.html#image">Image</a> *image );</pre> </div> <div class="section" id="id4"> <h2>Description</h2> <p>DrawAllocateContext() allocates an initial drawing context which is an opaque handle required by the remaining drawing methods.</p> <p>The format of the DrawAllocateContext method is:</p> -<pre class="literal-block"> -<a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> DrawAllocateContext( const <a class="reference external" href="../api/types.html#drawinfo">DrawInfo</a> *draw_info, <a class="reference external" href="../api/types.html#image">Image</a> *image ); -</pre> -<dl class="docutils"> +<pre class="literal-block"><a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> DrawAllocateContext( const <a class="reference external" href="../api/types.html#drawinfo">DrawInfo</a> *draw_info, <a class="reference external" href="../api/types.html#image">Image</a> *image );</pre> +<dl class="simple"> <dt>draw_info:</dt> -<dd>Initial drawing defaults. Set to NULL to use -GraphicsMagick defaults.</dd> +<dd><p>Initial drawing defaults. Set to NULL to use +GraphicsMagick defaults.</p> +</dd> <dt>image:</dt> -<dd>The image to draw on.</dd> +<dd><p>The image to draw on.</p> +</dd> </dl> </div> </div> @@ -238,35 +237,38 @@ GraphicsMagick defaults.</dd> <h1><a class="toc-backref" href="#id228">DrawArc</a></h1> <div class="section" id="id5"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawArc( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double sx, const double sy, const double ex, - const double ey, const double sd, const double ed ); -</pre> +<pre class="literal-block">void DrawArc( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double sx, const double sy, const double ex, + const double ey, const double sd, const double ed );</pre> </div> <div class="section" id="id6"> <h2>Description</h2> <p>DrawArc() draws an arc falling within a specified bounding rectangle on the image.</p> <p>The format of the DrawArc method is:</p> -<pre class="literal-block"> -void DrawArc( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double sx, const double sy, const double ex, - const double ey, const double sd, const double ed ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawArc( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double sx, const double sy, const double ex, + const double ey, const double sd, const double ed );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>sx:</dt> -<dd>starting x ordinate of bounding rectangle</dd> +<dd><p>starting x ordinate of bounding rectangle</p> +</dd> <dt>sy:</dt> -<dd>starting y ordinate of bounding rectangle</dd> +<dd><p>starting y ordinate of bounding rectangle</p> +</dd> <dt>ex:</dt> -<dd>ending x ordinate of bounding rectangle</dd> +<dd><p>ending x ordinate of bounding rectangle</p> +</dd> <dt>ey:</dt> -<dd>ending y ordinate of bounding rectangle</dd> +<dd><p>ending y ordinate of bounding rectangle</p> +</dd> <dt>sd:</dt> -<dd>starting degrees of rotation</dd> +<dd><p>starting degrees of rotation</p> +</dd> <dt>ed:</dt> -<dd>ending degrees of rotation</dd> +<dd><p>ending degrees of rotation</p> +</dd> </dl> </div> </div> @@ -274,26 +276,25 @@ void DrawArc( <a class="reference external" href="../api/types.html#drawcontext" <h1><a class="toc-backref" href="#id229">DrawBezier</a></h1> <div class="section" id="id7"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawBezier( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const unsigned long num_coords, - const <a class="reference external" href="../api/types.html#pointinfo">PointInfo</a> *coordinates ); -</pre> +<pre class="literal-block">void DrawBezier( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const unsigned long num_coords, + const <a class="reference external" href="../api/types.html#pointinfo">PointInfo</a> *coordinates );</pre> </div> <div class="section" id="id8"> <h2>Description</h2> <p>DrawBezier() draws a bezier curve through a set of points on the image.</p> <p>The format of the DrawBezier method is:</p> -<pre class="literal-block"> -void DrawBezier( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const unsigned long num_coords, - const <a class="reference external" href="../api/types.html#pointinfo">PointInfo</a> *coordinates ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawBezier( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const unsigned long num_coords, + const <a class="reference external" href="../api/types.html#pointinfo">PointInfo</a> *coordinates );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>num_coords:</dt> -<dd>number of coordinates</dd> +<dd><p>number of coordinates</p> +</dd> <dt>coordinates:</dt> -<dd>coordinates</dd> +<dd><p>coordinates</p> +</dd> </dl> </div> </div> @@ -301,30 +302,31 @@ void DrawBezier( <a class="reference external" href="../api/types.html#drawconte <h1><a class="toc-backref" href="#id230">DrawCircle</a></h1> <div class="section" id="id9"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawCircle( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double ox, const double oy, const double px, - const double py ); -</pre> +<pre class="literal-block">void DrawCircle( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double ox, const double oy, const double px, + const double py );</pre> </div> <div class="section" id="id10"> <h2>Description</h2> <p>DrawCircle() draws a circle on the image.</p> <p>The format of the DrawCircle method is:</p> -<pre class="literal-block"> -void DrawCircle( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double ox, const double oy, const double px, - const double py ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawCircle( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double ox, const double oy, const double px, + const double py );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>ox:</dt> -<dd>origin x ordinate</dd> +<dd><p>origin x ordinate</p> +</dd> <dt>oy:</dt> -<dd>origin y ordinate</dd> +<dd><p>origin y ordinate</p> +</dd> <dt>px:</dt> -<dd>perimeter x ordinate</dd> +<dd><p>perimeter x ordinate</p> +</dd> <dt>py:</dt> -<dd>perimeter y ordinate</dd> +<dd><p>perimeter y ordinate</p> +</dd> </dl> </div> </div> @@ -332,22 +334,19 @@ void DrawCircle( <a class="reference external" href="../api/types.html#drawconte <h1><a class="toc-backref" href="#id231">DrawGetClipPath</a></h1> <div class="section" id="id11"> <h2>Synopsis</h2> -<pre class="literal-block"> -char *DrawGetClipPath( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">char *DrawGetClipPath( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id12"> <h2>Description</h2> <p>DrawGetClipPath() obtains the current clipping path ID. The value returned must be deallocated by the user when it is no longer needed.</p> <p>The format of the DrawGetClipPath method is:</p> -<pre class="literal-block"> -char *DrawGetClipPath( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">char *DrawGetClipPath( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -355,9 +354,7 @@ char *DrawGetClipPath( <a class="reference external" href="../api/types.html#dra <h1><a class="toc-backref" href="#id232">DrawSetClipPath</a></h1> <div class="section" id="id13"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSetClipPath( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *clip_path ); -</pre> +<pre class="literal-block">void DrawSetClipPath( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *clip_path );</pre> </div> <div class="section" id="id14"> <h2>Description</h2> @@ -365,15 +362,15 @@ void DrawSetClipPath( <a class="reference external" href="../api/types.html#draw the areas drawn on by the clipping path will be modified as long as it remains in effect.</p> <p>The format of the DrawSetClipPath method is:</p> -<pre class="literal-block"> -void DrawSetClipPath( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *clip_path ); -</pre> +<pre class="literal-block">void DrawSetClipPath( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *clip_path );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>clip_path:</dt> -<dd>name of clipping path to associate with image</dd> +<dd><p>name of clipping path to associate with image</p> +</dd> </dl> </div> </div> @@ -381,22 +378,19 @@ void DrawSetClipPath( <a class="reference external" href="../api/types.html#draw <h1><a class="toc-backref" href="#id233">DrawGetClipRule</a></h1> <div class="section" id="id15"> <h2>Synopsis</h2> -<pre class="literal-block"> -<a class="reference external" href="../api/types.html#fillrule">FillRule</a> DrawGetClipRule( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block"><a class="reference external" href="../api/types.html#fillrule">FillRule</a> DrawGetClipRule( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id16"> <h2>Description</h2> <p>DrawGetClipRule() returns the current polygon fill rule to be used by the clipping path.</p> <p>The format of the DrawGetClipRule method is:</p> -<pre class="literal-block"> -<a class="reference external" href="../api/types.html#fillrule">FillRule</a> DrawGetClipRule( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block"><a class="reference external" href="../api/types.html#fillrule">FillRule</a> DrawGetClipRule( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -404,22 +398,20 @@ clipping path.</p> <h1><a class="toc-backref" href="#id234">DrawSetClipRule</a></h1> <div class="section" id="id17"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSetClipRule( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#fillrule">FillRule</a> fill_rule ); -</pre> +<pre class="literal-block">void DrawSetClipRule( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#fillrule">FillRule</a> fill_rule );</pre> </div> <div class="section" id="id18"> <h2>Description</h2> <p>DrawSetClipRule() set the polygon fill rule to be used by the clipping path.</p> <p>The format of the DrawSetClipRule method is:</p> -<pre class="literal-block"> -void DrawSetClipRule( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#fillrule">FillRule</a> fill_rule ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawSetClipRule( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#fillrule">FillRule</a> fill_rule );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>fill_rule:</dt> -<dd>fill rule (EvenOddRule or NonZeroRule)</dd> +<dd><p>fill rule (EvenOddRule or NonZeroRule)</p> +</dd> </dl> </div> </div> @@ -427,21 +419,18 @@ void DrawSetClipRule( <a class="reference external" href="../api/types.html#draw <h1><a class="toc-backref" href="#id235">DrawGetClipUnits</a></h1> <div class="section" id="id19"> <h2>Synopsis</h2> -<pre class="literal-block"> -<a class="reference external" href="../api/types.html#clippathunits">ClipPathUnits</a> DrawGetClipUnits( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block"><a class="reference external" href="../api/types.html#clippathunits">ClipPathUnits</a> DrawGetClipUnits( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id20"> <h2>Description</h2> <p>DrawGetClipUnits() returns the interpretation of clip path units.</p> <p>The format of the DrawGetClipUnits method is:</p> -<pre class="literal-block"> -<a class="reference external" href="../api/types.html#clippathunits">ClipPathUnits</a> DrawGetClipUnits( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block"><a class="reference external" href="../api/types.html#clippathunits">ClipPathUnits</a> DrawGetClipUnits( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -449,22 +438,20 @@ void DrawSetClipRule( <a class="reference external" href="../api/types.html#draw <h1><a class="toc-backref" href="#id236">DrawSetClipUnits</a></h1> <div class="section" id="id21"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSetClipUnits( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#clippathunits">ClipPathUnits</a> clip_units ); -</pre> +<pre class="literal-block">void DrawSetClipUnits( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#clippathunits">ClipPathUnits</a> clip_units );</pre> </div> <div class="section" id="id22"> <h2>Description</h2> <p>DrawSetClipUnits() sets the interpretation of clip path units.</p> <p>The format of the DrawSetClipUnits method is:</p> -<pre class="literal-block"> -void DrawSetClipUnits( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#clippathunits">ClipPathUnits</a> clip_units ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawSetClipUnits( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#clippathunits">ClipPathUnits</a> clip_units );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>clip_units:</dt> -<dd>units to use (UserSpace, UserSpaceOnUse, or ObjectBoundingBox)</dd> +<dd><p>units to use (UserSpace, UserSpaceOnUse, or ObjectBoundingBox)</p> +</dd> </dl> </div> </div> @@ -472,10 +459,8 @@ void DrawSetClipUnits( <a class="reference external" href="../api/types.html#dra <h1><a class="toc-backref" href="#id237">DrawColor</a></h1> <div class="section" id="id23"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawColor( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y, - const <a class="reference external" href="../api/types.html#paintmethod">PaintMethod</a> paintMethod ); -</pre> +<pre class="literal-block">void DrawColor( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y, + const <a class="reference external" href="../api/types.html#paintmethod">PaintMethod</a> paintMethod );</pre> </div> <div class="section" id="id24"> <h2>Description</h2> @@ -488,19 +473,21 @@ FloodfillMethod: Recolors target pixels and matching neighbors. FillToBorderMethod: Recolor target pixels and neighbors not matching border color. ResetMethod: Recolor all pixels.</p> <p>The format of the DrawColor method is:</p> -<pre class="literal-block"> -void DrawColor( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y, - const <a class="reference external" href="../api/types.html#paintmethod">PaintMethod</a> paintMethod ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawColor( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y, + const <a class="reference external" href="../api/types.html#paintmethod">PaintMethod</a> paintMethod );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>x:</dt> -<dd>x ordinate</dd> +<dd><p>x ordinate</p> +</dd> <dt>y:</dt> -<dd>y ordinate</dd> +<dd><p>y ordinate</p> +</dd> <dt>paintMethod:</dt> -<dd>paint method</dd> +<dd><p>paint method</p> +</dd> </dl> </div> </div> @@ -508,23 +495,21 @@ void DrawColor( <a class="reference external" href="../api/types.html#drawcontex <h1><a class="toc-backref" href="#id238">DrawComment</a></h1> <div class="section" id="id25"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawComment( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *comment ); -</pre> +<pre class="literal-block">void DrawComment( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *comment );</pre> </div> <div class="section" id="id26"> <h2>Description</h2> <p>DrawComment() adds a comment to a vector output stream.</p> <p>The format of the DrawComment method is:</p> -<pre class="literal-block"> -void DrawComment( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *comment ); -</pre> +<pre class="literal-block">void DrawComment( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *comment );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>comment:</dt> -<dd>comment text</dd> +<dd><p>comment text</p> +</dd> </dl> </div> </div> @@ -532,9 +517,7 @@ void DrawComment( <a class="reference external" href="../api/types.html#drawcont <h1><a class="toc-backref" href="#id239">DrawDestroyContext</a></h1> <div class="section" id="id27"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawDestroyContext( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">void DrawDestroyContext( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id28"> <h2>Description</h2> @@ -542,13 +525,12 @@ void DrawDestroyContext( <a class="reference external" href="../api/types.html#d context. Once the drawing context has been freed, it should not be used any further unless it re-allocated.</p> <p>The format of the DrawDestroyContext method is:</p> -<pre class="literal-block"> -void DrawDestroyContext( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">void DrawDestroyContext( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context to destroy</dd> +<dd><p>drawing context to destroy</p> +</dd> </dl> </div> </div> @@ -556,34 +538,37 @@ void DrawDestroyContext( <a class="reference external" href="../api/types.html#d <h1><a class="toc-backref" href="#id240">DrawEllipse</a></h1> <div class="section" id="id29"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawEllipse( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double ox, const double oy, const double rx, - const double ry, const double start, const double end ); -</pre> +<pre class="literal-block">void DrawEllipse( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double ox, const double oy, const double rx, + const double ry, const double start, const double end );</pre> </div> <div class="section" id="id30"> <h2>Description</h2> <p>DrawEllipse() draws an ellipse on the image.</p> <p>The format of the DrawEllipse method is:</p> -<pre class="literal-block"> -void DrawEllipse( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double ox, const double oy, const double rx, - const double ry, const double start, const double end ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawEllipse( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double ox, const double oy, const double rx, + const double ry, const double start, const double end );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>ox:</dt> -<dd>origin x ordinate</dd> +<dd><p>origin x ordinate</p> +</dd> <dt>oy:</dt> -<dd>origin y ordinate</dd> +<dd><p>origin y ordinate</p> +</dd> <dt>rx:</dt> -<dd>radius in x</dd> +<dd><p>radius in x</p> +</dd> <dt>ry:</dt> -<dd>radius in y</dd> +<dd><p>radius in y</p> +</dd> <dt>start:</dt> -<dd>starting rotation in degrees</dd> +<dd><p>starting rotation in degrees</p> +</dd> <dt>end:</dt> -<dd>ending rotation in degrees</dd> +<dd><p>ending rotation in degrees</p> +</dd> </dl> </div> </div> @@ -591,21 +576,18 @@ void DrawEllipse( <a class="reference external" href="../api/types.html#drawcont <h1><a class="toc-backref" href="#id241">DrawGetFillColor</a></h1> <div class="section" id="id31"> <h2>Synopsis</h2> -<pre class="literal-block"> -<a class="reference external" href="../api/types.html#pixelpacket">PixelPacket</a> DrawGetFillColor( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block"><a class="reference external" href="../api/types.html#pixelpacket">PixelPacket</a> DrawGetFillColor( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id32"> <h2>Description</h2> <p>DrawGetFillColor() returns the fill color used for drawing filled objects.</p> <p>The format of the DrawGetFillColor method is:</p> -<pre class="literal-block"> -<a class="reference external" href="../api/types.html#pixelpacket">PixelPacket</a> DrawGetFillColor( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block"><a class="reference external" href="../api/types.html#pixelpacket">PixelPacket</a> DrawGetFillColor( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -613,22 +595,20 @@ void DrawEllipse( <a class="reference external" href="../api/types.html#drawcont <h1><a class="toc-backref" href="#id242">DrawSetFillColor</a></h1> <div class="section" id="id33"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSetFillColor( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#pixelpacket">PixelPacket</a> *fill_color ); -</pre> +<pre class="literal-block">void DrawSetFillColor( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#pixelpacket">PixelPacket</a> *fill_color );</pre> </div> <div class="section" id="id34"> <h2>Description</h2> <p>DrawSetFillColor() sets the fill color to be used for drawing filled objects.</p> <p>The format of the DrawSetFillColor method is:</p> -<pre class="literal-block"> -void DrawSetFillColor( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#pixelpacket">PixelPacket</a> *fill_color ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawSetFillColor( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#pixelpacket">PixelPacket</a> *fill_color );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>fill_color:</dt> -<dd>fill color</dd> +<dd><p>fill color</p> +</dd> </dl> </div> </div> @@ -636,24 +616,22 @@ void DrawSetFillColor( <a class="reference external" href="../api/types.html#dra <h1><a class="toc-backref" href="#id243">DrawSetFillColorString</a></h1> <div class="section" id="id35"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSetFillColorString( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *fill_color ); -</pre> +<pre class="literal-block">void DrawSetFillColorString( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *fill_color );</pre> </div> <div class="section" id="id36"> <h2>Description</h2> <p>DrawSetFillColorString() sets the fill color to be used for drawing filled objects.</p> <p>The format of the DrawSetFillColorString method is:</p> -<pre class="literal-block"> -void DrawSetFillColorString( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *fill_color ); -</pre> +<pre class="literal-block">void DrawSetFillColorString( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *fill_color );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>fill_color:</dt> -<dd>fill color</dd> +<dd><p>fill color</p> +</dd> </dl> </div> </div> @@ -661,9 +639,7 @@ void DrawSetFillColorString( <a class="reference external" href="../api/types.ht <h1><a class="toc-backref" href="#id244">DrawSetFillPatternURL</a></h1> <div class="section" id="id37"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSetFillPatternURL( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *fill_url ); -</pre> +<pre class="literal-block">void DrawSetFillPatternURL( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *fill_url );</pre> </div> <div class="section" id="id38"> <h2>Description</h2> @@ -672,15 +648,15 @@ objects. Only local URLs ("#identifier") are supported at this time. T local URLs are normally created by defining a named fill pattern with DrawPushPattern/DrawPopPattern.</p> <p>The format of the DrawSetFillPatternURL method is:</p> -<pre class="literal-block"> -void DrawSetFillPatternURL( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *fill_url ); -</pre> +<pre class="literal-block">void DrawSetFillPatternURL( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *fill_url );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>fill_url:</dt> -<dd>URL to use to obtain fill pattern.</dd> +<dd><p>URL to use to obtain fill pattern.</p> +</dd> </dl> </div> </div> @@ -688,22 +664,19 @@ void DrawSetFillPatternURL( <a class="reference external" href="../api/types.htm <h1><a class="toc-backref" href="#id245">DrawGetFillOpacity</a></h1> <div class="section" id="id39"> <h2>Synopsis</h2> -<pre class="literal-block"> -double DrawGetFillOpacity( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">double DrawGetFillOpacity( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id40"> <h2>Description</h2> <p>DrawGetFillOpacity() returns the opacity used when drawing using the fill color or fill texture. Fully opaque is 1.0.</p> <p>The format of the DrawGetFillOpacity method is:</p> -<pre class="literal-block"> -double DrawGetFillOpacity( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">double DrawGetFillOpacity( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -711,24 +684,22 @@ double DrawGetFillOpacity( <a class="reference external" href="../api/types.html <h1><a class="toc-backref" href="#id246">DrawSetFillOpacity</a></h1> <div class="section" id="id41"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSetFillOpacity( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double fill_opacity ); -</pre> +<pre class="literal-block">void DrawSetFillOpacity( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double fill_opacity );</pre> </div> <div class="section" id="id42"> <h2>Description</h2> <p>DrawSetFillOpacity() sets the opacity to use when drawing using the fill color or fill texture. Fully opaque is 1.0.</p> <p>The format of the DrawSetFillOpacity method is:</p> -<pre class="literal-block"> -void DrawSetFillOpacity( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double fill_opacity ); -</pre> +<pre class="literal-block">void DrawSetFillOpacity( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double fill_opacity );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>fill_opacity:</dt> -<dd>fill opacity</dd> +<dd><p>fill opacity</p> +</dd> </dl> </div> </div> @@ -736,21 +707,18 @@ void DrawSetFillOpacity( <a class="reference external" href="../api/types.html#d <h1><a class="toc-backref" href="#id247">DrawGetFillRule</a></h1> <div class="section" id="id43"> <h2>Synopsis</h2> -<pre class="literal-block"> -<a class="reference external" href="../api/types.html#fillrule">FillRule</a> DrawGetFillRule( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block"><a class="reference external" href="../api/types.html#fillrule">FillRule</a> DrawGetFillRule( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id44"> <h2>Description</h2> <p>DrawGetFillRule() returns the fill rule used while drawing polygons.</p> <p>The format of the DrawGetFillRule method is:</p> -<pre class="literal-block"> -<a class="reference external" href="../api/types.html#fillrule">FillRule</a> DrawGetFillRule( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block"><a class="reference external" href="../api/types.html#fillrule">FillRule</a> DrawGetFillRule( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -758,23 +726,21 @@ void DrawSetFillOpacity( <a class="reference external" href="../api/types.html#d <h1><a class="toc-backref" href="#id248">DrawSetFillRule</a></h1> <div class="section" id="id45"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSetFillRule( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#fillrule">FillRule</a> fill_rule ); -</pre> +<pre class="literal-block">void DrawSetFillRule( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#fillrule">FillRule</a> fill_rule );</pre> </div> <div class="section" id="id46"> <h2>Description</h2> <p>DrawSetFillRule() sets the fill rule to use while drawing polygons.</p> <p>The format of the DrawSetFillRule method is:</p> -<pre class="literal-block"> -void DrawSetFillRule( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#fillrule">FillRule</a> fill_rule ); -</pre> +<pre class="literal-block">void DrawSetFillRule( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#fillrule">FillRule</a> fill_rule );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>fill_rule:</dt> -<dd>fill rule (EvenOddRule or NonZeroRule)</dd> +<dd><p>fill rule (EvenOddRule or NonZeroRule)</p> +</dd> </dl> </div> </div> @@ -782,9 +748,7 @@ void DrawSetFillRule( <a class="reference external" href="../api/types.html#draw <h1><a class="toc-backref" href="#id249">DrawGetFont</a></h1> <div class="section" id="id47"> <h2>Synopsis</h2> -<pre class="literal-block"> -char *DrawGetFont( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">char *DrawGetFont( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id48"> <h2>Description</h2> @@ -792,13 +756,12 @@ char *DrawGetFont( <a class="reference external" href="../api/types.html#drawcon when annotating with text. The value returned must be freed by the user when no longer needed.</p> <p>The format of the DrawGetFont method is:</p> -<pre class="literal-block"> -char *DrawGetFont( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">char *DrawGetFont( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -806,24 +769,22 @@ char *DrawGetFont( <a class="reference external" href="../api/types.html#drawcon <h1><a class="toc-backref" href="#id250">DrawSetFont</a></h1> <div class="section" id="id49"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSetFont( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *font_name ); -</pre> +<pre class="literal-block">void DrawSetFont( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *font_name );</pre> </div> <div class="section" id="id50"> <h2>Description</h2> <p>DrawSetFont() sets the fully-sepecified font to use when annotating with text.</p> <p>The format of the DrawSetFont method is:</p> -<pre class="literal-block"> -void DrawSetFont( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *font_name ); -</pre> +<pre class="literal-block">void DrawSetFont( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *font_name );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>font_name:</dt> -<dd>font name</dd> +<dd><p>font name</p> +</dd> </dl> </div> </div> @@ -831,22 +792,19 @@ void DrawSetFont( <a class="reference external" href="../api/types.html#drawcont <h1><a class="toc-backref" href="#id251">DrawGetFontFamily</a></h1> <div class="section" id="id51"> <h2>Synopsis</h2> -<pre class="literal-block"> -char *DrawGetFontFamily( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">char *DrawGetFontFamily( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id52"> <h2>Description</h2> <p>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.</p> <p>The format of the DrawGetFontFamily method is:</p> -<pre class="literal-block"> -char *DrawGetFontFamily( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">char *DrawGetFontFamily( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -854,23 +812,21 @@ char *DrawGetFontFamily( <a class="reference external" href="../api/types.html#d <h1><a class="toc-backref" href="#id252">DrawSetFontFamily</a></h1> <div class="section" id="id53"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSetFontFamily( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *font_family ); -</pre> +<pre class="literal-block">void DrawSetFontFamily( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *font_family );</pre> </div> <div class="section" id="id54"> <h2>Description</h2> <p>DrawSetFontFamily() sets the font family to use when annotating with text.</p> <p>The format of the DrawSetFontFamily method is:</p> -<pre class="literal-block"> -void DrawSetFontFamily( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *font_family ); -</pre> +<pre class="literal-block">void DrawSetFontFamily( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *font_family );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>font_family:</dt> -<dd>font family</dd> +<dd><p>font family</p> +</dd> </dl> </div> </div> @@ -878,21 +834,18 @@ void DrawSetFontFamily( <a class="reference external" href="../api/types.html#dr <h1><a class="toc-backref" href="#id253">DrawGetFontSize</a></h1> <div class="section" id="id55"> <h2>Synopsis</h2> -<pre class="literal-block"> -double DrawGetFontSize( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">double DrawGetFontSize( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id56"> <h2>Description</h2> <p>DrawGetFontSize() returns the font pointsize used when annotating with text.</p> <p>The format of the DrawGetFontSize method is:</p> -<pre class="literal-block"> -double DrawGetFontSize( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">double DrawGetFontSize( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -900,23 +853,21 @@ double DrawGetFontSize( <a class="reference external" href="../api/types.html#dr <h1><a class="toc-backref" href="#id254">DrawSetFontSize</a></h1> <div class="section" id="id57"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSetFontSize( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double pointsize ); -</pre> +<pre class="literal-block">void DrawSetFontSize( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double pointsize );</pre> </div> <div class="section" id="id58"> <h2>Description</h2> <p>DrawSetFontSize() sets the font pointsize to use when annotating with text.</p> <p>The format of the DrawSetFontSize method is:</p> -<pre class="literal-block"> -void DrawSetFontSize( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double pointsize ); -</pre> +<pre class="literal-block">void DrawSetFontSize( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double pointsize );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>pointsize:</dt> -<dd>text pointsize</dd> +<dd><p>text pointsize</p> +</dd> </dl> </div> </div> @@ -924,21 +875,18 @@ void DrawSetFontSize( <a class="reference external" href="../api/types.html#draw <h1><a class="toc-backref" href="#id255">DrawGetFontStretch</a></h1> <div class="section" id="id59"> <h2>Synopsis</h2> -<pre class="literal-block"> -<a class="reference external" href="../api/types.html#stretchtype">StretchType</a> DrawGetFontStretch( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block"><a class="reference external" href="../api/types.html#stretchtype">StretchType</a> DrawGetFontStretch( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id60"> <h2>Description</h2> <p>DrawGetFontStretch() returns the font stretch used when annotating with text.</p> <p>The format of the DrawGetFontStretch method is:</p> -<pre class="literal-block"> -<a class="reference external" href="../api/types.html#stretchtype">StretchType</a> DrawGetFontStretch( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block"><a class="reference external" href="../api/types.html#stretchtype">StretchType</a> DrawGetFontStretch( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -946,26 +894,24 @@ void DrawSetFontSize( <a class="reference external" href="../api/types.html#draw <h1><a class="toc-backref" href="#id256">DrawSetFontStretch</a></h1> <div class="section" id="id61"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSetFontStretch( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#stretchtype">StretchType</a> font_stretch ); -</pre> +<pre class="literal-block">void DrawSetFontStretch( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#stretchtype">StretchType</a> font_stretch );</pre> </div> <div class="section" id="id62"> <h2>Description</h2> <p>DrawSetFontStretch() sets the font stretch to use when annotating with text. The AnyStretch enumeration acts as a wild-card "don't care" option.</p> <p>The format of the DrawSetFontStretch method is:</p> -<pre class="literal-block"> -void DrawSetFontStretch( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#stretchtype">StretchType</a> font_stretch ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawSetFontStretch( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#stretchtype">StretchType</a> font_stretch );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>font_stretch:</dt> -<dd>font stretch (NormalStretch, UltraCondensedStretch, +<dd><p>font stretch (NormalStretch, UltraCondensedStretch, CondensedStretch, SemiCondensedStretch, SemiExpandedStretch, ExpandedStretch, -ExtraExpandedStretch, UltraExpandedStretch, AnyStretch)</dd> +ExtraExpandedStretch, UltraExpandedStretch, AnyStretch)</p> +</dd> </dl> </div> </div> @@ -973,21 +919,18 @@ ExtraExpandedStretch, UltraExpandedStretch, AnyStretch)</dd> <h1><a class="toc-backref" href="#id257">DrawGetFontStyle</a></h1> <div class="section" id="id63"> <h2>Synopsis</h2> -<pre class="literal-block"> -<a class="reference external" href="../api/types.html#styletype">StyleType</a> DrawGetFontStyle( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block"><a class="reference external" href="../api/types.html#styletype">StyleType</a> DrawGetFontStyle( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id64"> <h2>Description</h2> <p>DrawGetFontStyle() returns the font style used when annotating with text.</p> <p>The format of the DrawGetFontStyle method is:</p> -<pre class="literal-block"> -<a class="reference external" href="../api/types.html#styletype">StyleType</a> DrawGetFontStyle( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block"><a class="reference external" href="../api/types.html#styletype">StyleType</a> DrawGetFontStyle( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -995,24 +938,22 @@ ExtraExpandedStretch, UltraExpandedStretch, AnyStretch)</dd> <h1><a class="toc-backref" href="#id258">DrawSetFontStyle</a></h1> <div class="section" id="id65"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSetFontStyle( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#styletype">StyleType</a> style ); -</pre> +<pre class="literal-block">void DrawSetFontStyle( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#styletype">StyleType</a> style );</pre> </div> <div class="section" id="id66"> <h2>Description</h2> <p>DrawSetFontStyle() sets the font style to use when annotating with text. The AnyStyle enumeration acts as a wild-card "don't care" option.</p> <p>The format of the DrawSetFontStyle method is:</p> -<pre class="literal-block"> -void DrawSetFontStyle( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#styletype">StyleType</a> style ); -</pre> +<pre class="literal-block">void DrawSetFontStyle( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#styletype">StyleType</a> style );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>style:</dt> -<dd>font style (NormalStyle, ItalicStyle, ObliqueStyle, AnyStyle)</dd> +<dd><p>font style (NormalStyle, ItalicStyle, ObliqueStyle, AnyStyle)</p> +</dd> </dl> </div> </div> @@ -1020,21 +961,18 @@ void DrawSetFontStyle( <a class="reference external" href="../api/types.html#dra <h1><a class="toc-backref" href="#id259">DrawGetFontWeight</a></h1> <div class="section" id="id67"> <h2>Synopsis</h2> -<pre class="literal-block"> -unsigned long DrawGetFontWeight( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">unsigned long DrawGetFontWeight( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id68"> <h2>Description</h2> <p>DrawGetFontWeight() returns the font weight used when annotating with text.</p> <p>The format of the DrawGetFontWeight method is:</p> -<pre class="literal-block"> -unsigned long DrawGetFontWeight( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">unsigned long DrawGetFontWeight( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -1042,22 +980,20 @@ unsigned long DrawGetFontWeight( <a class="reference external" href="../api/type <h1><a class="toc-backref" href="#id260">DrawSetFontWeight</a></h1> <div class="section" id="id69"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSetFontWeight( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const unsigned long font_weight ); -</pre> +<pre class="literal-block">void DrawSetFontWeight( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const unsigned long font_weight );</pre> </div> <div class="section" id="id70"> <h2>Description</h2> <p>DrawSetFontWeight() sets the font weight to use when annotating with text.</p> <p>The format of the DrawSetFontWeight method is:</p> -<pre class="literal-block"> -void DrawSetFontWeight( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const unsigned long font_weight ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawSetFontWeight( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const unsigned long font_weight );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>font_weight:</dt> -<dd>font weight (valid range 100-900)</dd> +<dd><p>font weight (valid range 100-900)</p> +</dd> </dl> </div> </div> @@ -1065,22 +1001,19 @@ void DrawSetFontWeight( <a class="reference external" href="../api/types.html#dr <h1><a class="toc-backref" href="#id261">DrawGetGravity</a></h1> <div class="section" id="id71"> <h2>Synopsis</h2> -<pre class="literal-block"> -<a class="reference external" href="../api/types.html#gravitytype">GravityType</a> DrawGetGravity( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block"><a class="reference external" href="../api/types.html#gravitytype">GravityType</a> DrawGetGravity( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id72"> <h2>Description</h2> <p>DrawGetGravity() returns the text placement gravity used when annotating with text.</p> <p>The format of the DrawGetGravity method is:</p> -<pre class="literal-block"> -<a class="reference external" href="../api/types.html#gravitytype">GravityType</a> DrawGetGravity( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block"><a class="reference external" href="../api/types.html#gravitytype">GravityType</a> DrawGetGravity( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -1088,27 +1021,25 @@ with text.</p> <h1><a class="toc-backref" href="#id262">DrawSetGravity</a></h1> <div class="section" id="id73"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSetGravity( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#gravitytype">GravityType</a> gravity ); -</pre> +<pre class="literal-block">void DrawSetGravity( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#gravitytype">GravityType</a> gravity );</pre> </div> <div class="section" id="id74"> <h2>Description</h2> <p>DrawSetGravity() sets the text placement gravity to use when annotating with text.</p> <p>The format of the DrawSetGravity method is:</p> -<pre class="literal-block"> -void DrawSetGravity( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#gravitytype">GravityType</a> gravity ); -</pre> +<pre class="literal-block">void DrawSetGravity( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#gravitytype">GravityType</a> gravity );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>gravity:</dt> -<dd>positioning gravity (NorthWestGravity, NorthGravity, +<dd><p>positioning gravity (NorthWestGravity, NorthGravity, NorthEastGravity, WestGravity, CenterGravity, EastGravity, SouthWestGravity, SouthGravity, -SouthEastGravity)</dd> +SouthEastGravity)</p> +</dd> </dl> </div> </div> @@ -1116,11 +1047,9 @@ SouthEastGravity)</dd> <h1><a class="toc-backref" href="#id263">DrawComposite</a></h1> <div class="section" id="id75"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawComposite( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#compositeoperator">CompositeOperator</a> composite_operator, +<pre class="literal-block">void DrawComposite( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#compositeoperator">CompositeOperator</a> composite_operator, const double x, const double y, const double width, const double height, - const <a class="reference external" href="../api/types.html#image">Image</a> *image ); -</pre> + const <a class="reference external" href="../api/types.html#image">Image</a> *image );</pre> </div> <div class="section" id="id76"> <h2>Description</h2> @@ -1128,28 +1057,33 @@ void DrawComposite( <a class="reference external" href="../api/types.html#drawco specified composition operator, specified position, and at the specified size.</p> <p>The format of the DrawComposite method is:</p> -<pre class="literal-block"> -void DrawComposite( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#compositeoperator">CompositeOperator</a> composite_operator, +<pre class="literal-block">void DrawComposite( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#compositeoperator">CompositeOperator</a> composite_operator, const double x, const double y, const double width, const double height, - const <a class="reference external" href="../api/types.html#image">Image</a> *image ); -</pre> -<dl class="docutils"> + const <a class="reference external" href="../api/types.html#image">Image</a> *image );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>composite_operator:</dt> -<dd>composition operator</dd> +<dd><p>composition operator</p> +</dd> <dt>x:</dt> -<dd>x ordinate of top left corner</dd> +<dd><p>x ordinate of top left corner</p> +</dd> <dt>y:</dt> -<dd>y ordinate of top left corner</dd> +<dd><p>y ordinate of top left corner</p> +</dd> <dt>width:</dt> -<dd>Width to resize image to prior to compositing. Specify zero to -use existing width.</dd> +<dd><p>Width to resize image to prior to compositing. Specify zero to +use existing width.</p> +</dd> <dt>height:</dt> -<dd>Height to resize image to prior to compositing. Specify zero -to use existing height.</dd> +<dd><p>Height to resize image to prior to compositing. Specify zero +to use existing height.</p> +</dd> <dt>image:</dt> -<dd>Image to composite</dd> +<dd><p>Image to composite</p> +</dd> </dl> </div> </div> @@ -1157,31 +1091,32 @@ to use existing height.</dd> <h1><a class="toc-backref" href="#id264">DrawLine</a></h1> <div class="section" id="id77"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawLine( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double sx, const double sy, const double ex, - const double ey ); -</pre> +<pre class="literal-block">void DrawLine( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double sx, const double sy, const double ex, + const double ey );</pre> </div> <div class="section" id="id78"> <h2>Description</h2> <p>DrawLine() draws a line on the image using the current stroke color, stroke opacity, and stroke width.</p> <p>The format of the DrawLine method is:</p> -<pre class="literal-block"> -void DrawLine( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double sx, const double sy, const double ex, - const double ey ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawLine( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double sx, const double sy, const double ex, + const double ey );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>sx:</dt> -<dd>starting x ordinate</dd> +<dd><p>starting x ordinate</p> +</dd> <dt>sy:</dt> -<dd>starting y ordinate</dd> +<dd><p>starting y ordinate</p> +</dd> <dt>ex:</dt> -<dd>ending x ordinate</dd> +<dd><p>ending x ordinate</p> +</dd> <dt>ey:</dt> -<dd>ending y ordinate</dd> +<dd><p>ending y ordinate</p> +</dd> </dl> </div> </div> @@ -1189,10 +1124,8 @@ void DrawLine( <a class="reference external" href="../api/types.html#drawcontext <h1><a class="toc-backref" href="#id265">DrawMatte</a></h1> <div class="section" id="id79"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawMatte( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y, - const <a class="reference external" href="../api/types.html#paintmethod">PaintMethod</a> paint_method ); -</pre> +<pre class="literal-block">void DrawMatte( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y, + const <a class="reference external" href="../api/types.html#paintmethod">PaintMethod</a> paint_method );</pre> </div> <div class="section" id="id80"> <h2>Description</h2> @@ -1205,17 +1138,18 @@ FillToBorderMethod: Select the target pixel and neighbors not matching border color. ResetMethod: Select all pixels.</p> <p>The format of the DrawMatte method is:</p> -<pre class="literal-block"> -void DrawMatte( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y, - const <a class="reference external" href="../api/types.html#paintmethod">PaintMethod</a> paint_method ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawMatte( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y, + const <a class="reference external" href="../api/types.html#paintmethod">PaintMethod</a> paint_method );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>x:</dt> -<dd>x ordinate</dd> +<dd><p>x ordinate</p> +</dd> <dt>y:</dt> -<dd>y ordinate</dd> +<dd><p>y ordinate</p> +</dd> </dl> <p>o paint_method:</p> </div> @@ -1224,9 +1158,7 @@ void DrawMatte( <a class="reference external" href="../api/types.html#drawcontex <h1><a class="toc-backref" href="#id266">DrawPathClose</a></h1> <div class="section" id="id81"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawPathClose( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">void DrawPathClose( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id82"> <h2>Description</h2> @@ -1235,13 +1167,12 @@ 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).</p> <p>The format of the DrawPathClose method is:</p> -<pre class="literal-block"> -void DrawPathClose( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">void DrawPathClose( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -1249,11 +1180,9 @@ void DrawPathClose( <a class="reference external" href="../api/types.html#drawco <h1><a class="toc-backref" href="#id267">DrawPathCurveToAbsolute</a></h1> <div class="section" id="id83"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawPathCurveToAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x1, const double y1, +<pre class="literal-block">void DrawPathCurveToAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x1, const double y1, const double x2, const double y2, const double x, - const double y ); -</pre> + const double y );</pre> </div> <div class="section" id="id84"> <h2>Description</h2> @@ -1263,26 +1192,31 @@ 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.</p> <p>The format of the DrawPathCurveToAbsolute method is:</p> -<pre class="literal-block"> -void DrawPathCurveToAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x1, const double y1, +<pre class="literal-block">void DrawPathCurveToAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x1, const double y1, const double x2, const double y2, const double x, - const double y ); -</pre> -<dl class="docutils"> + const double y );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>x1:</dt> -<dd>x ordinate of control point for curve beginning</dd> +<dd><p>x ordinate of control point for curve beginning</p> +</dd> <dt>y1:</dt> -<dd>y ordinate of control point for curve beginning</dd> +<dd><p>y ordinate of control point for curve beginning</p> +</dd> <dt>x2:</dt> -<dd>x ordinate of control point for curve ending</dd> +<dd><p>x ordinate of control point for curve ending</p> +</dd> <dt>y2:</dt> -<dd>y ordinate of control point for curve ending</dd> +<dd><p>y ordinate of control point for curve ending</p> +</dd> <dt>x:</dt> -<dd>x ordinate of the end of the curve</dd> +<dd><p>x ordinate of the end of the curve</p> +</dd> <dt>y:</dt> -<dd>y ordinate of the end of the curve</dd> +<dd><p>y ordinate of the end of the curve</p> +</dd> </dl> </div> </div> @@ -1290,11 +1224,9 @@ void DrawPathCurveToAbsolute( <a class="reference external" href="../api/types.h <h1><a class="toc-backref" href="#id268">DrawPathCurveToRelative</a></h1> <div class="section" id="id85"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawPathCurveToRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x1, const double y1, +<pre class="literal-block">void DrawPathCurveToRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x1, const double y1, const double x2, const double y2, const double x, - const double y ); -</pre> + const double y );</pre> </div> <div class="section" id="id86"> <h2>Description</h2> @@ -1304,26 +1236,31 @@ 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.</p> <p>The format of the DrawPathCurveToRelative method is:</p> -<pre class="literal-block"> -void DrawPathCurveToRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x1, const double y1, +<pre class="literal-block">void DrawPathCurveToRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x1, const double y1, const double x2, const double y2, const double x, - const double y ); -</pre> -<dl class="docutils"> + const double y );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>x1:</dt> -<dd>x ordinate of control point for curve beginning</dd> +<dd><p>x ordinate of control point for curve beginning</p> +</dd> <dt>y1:</dt> -<dd>y ordinate of control point for curve beginning</dd> +<dd><p>y ordinate of control point for curve beginning</p> +</dd> <dt>x2:</dt> -<dd>x ordinate of control point for curve ending</dd> +<dd><p>x ordinate of control point for curve ending</p> +</dd> <dt>y2:</dt> -<dd>y ordinate of control point for curve ending</dd> +<dd><p>y ordinate of control point for curve ending</p> +</dd> <dt>x:</dt> -<dd>x ordinate of the end of the curve</dd> +<dd><p>x ordinate of the end of the curve</p> +</dd> <dt>y:</dt> -<dd>y ordinate of the end of the curve</dd> +<dd><p>y ordinate of the end of the curve</p> +</dd> </dl> </div> </div> @@ -1331,11 +1268,9 @@ void DrawPathCurveToRelative( <a class="reference external" href="../api/types.h <h1><a class="toc-backref" href="#id269">DrawPathCurveToQuadraticBezierAbsolute</a></h1> <div class="section" id="id87"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawPathCurveToQuadraticBezierAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x1, +<pre class="literal-block">void DrawPathCurveToQuadraticBezierAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x1, const double y1, const double x, - const double y ); -</pre> + const double y );</pre> </div> <div class="section" id="id88"> <h2>Description</h2> @@ -1344,22 +1279,25 @@ 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.</p> <p>The format of the DrawPathCurveToQuadraticBezierAbsolute method is:</p> -<pre class="literal-block"> -void DrawPathCurveToQuadraticBezierAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x1, +<pre class="literal-block">void DrawPathCurveToQuadraticBezierAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x1, const double y1, const double x, - const double y ); -</pre> -<dl class="docutils"> + const double y );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>x1:</dt> -<dd>x ordinate of the control point</dd> +<dd><p>x ordinate of the control point</p> +</dd> <dt>y1:</dt> -<dd>y ordinate of the control point</dd> +<dd><p>y ordinate of the control point</p> +</dd> <dt>x:</dt> -<dd>x ordinate of final point</dd> +<dd><p>x ordinate of final point</p> +</dd> <dt>y:</dt> -<dd>y ordinate of final point</dd> +<dd><p>y ordinate of final point</p> +</dd> </dl> </div> </div> @@ -1367,11 +1305,9 @@ void DrawPathCurveToQuadraticBezierAbsolute( <a class="reference external" href= <h1><a class="toc-backref" href="#id270">DrawPathCurveToQuadraticBezierRelative</a></h1> <div class="section" id="id89"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawPathCurveToQuadraticBezierRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x1, +<pre class="literal-block">void DrawPathCurveToQuadraticBezierRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x1, const double y1, const double x, - const double y ); -</pre> + const double y );</pre> </div> <div class="section" id="id90"> <h2>Description</h2> @@ -1380,22 +1316,25 @@ 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.</p> <p>The format of the DrawPathCurveToQuadraticBezierRelative method is:</p> -<pre class="literal-block"> -void DrawPathCurveToQuadraticBezierRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x1, +<pre class="literal-block">void DrawPathCurveToQuadraticBezierRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x1, const double y1, const double x, - const double y ); -</pre> -<dl class="docutils"> + const double y );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>x1:</dt> -<dd>x ordinate of the control point</dd> +<dd><p>x ordinate of the control point</p> +</dd> <dt>y1:</dt> -<dd>y ordinate of the control point</dd> +<dd><p>y ordinate of the control point</p> +</dd> <dt>x:</dt> -<dd>x ordinate of final point</dd> +<dd><p>x ordinate of final point</p> +</dd> <dt>y:</dt> -<dd>y ordinate of final point</dd> +<dd><p>y ordinate of final point</p> +</dd> </dl> </div> </div> @@ -1403,10 +1342,8 @@ void DrawPathCurveToQuadraticBezierRelative( <a class="reference external" href= <h1><a class="toc-backref" href="#id271">DrawPathCurveToQuadraticBezierSmoothAbsolute</a></h1> <div class="section" id="id91"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawPathCurveToQuadraticBezierSmoothAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, - const double y ); -</pre> +<pre class="literal-block">void DrawPathCurveToQuadraticBezierSmoothAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, + const double y );</pre> </div> <div class="section" id="id92"> <h2>Description</h2> @@ -1423,17 +1360,18 @@ 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.</p> <p>The format of the DrawPathCurveToQuadraticBezierSmoothAbsolute method is:</p> -<pre class="literal-block"> -void DrawPathCurveToQuadraticBezierSmoothAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, - const double y ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawPathCurveToQuadraticBezierSmoothAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, + const double y );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>x:</dt> -<dd>x ordinate of final point</dd> +<dd><p>x ordinate of final point</p> +</dd> <dt>y:</dt> -<dd>y ordinate of final point</dd> +<dd><p>y ordinate of final point</p> +</dd> </dl> </div> </div> @@ -1441,10 +1379,8 @@ void DrawPathCurveToQuadraticBezierSmoothAbsolute( <a class="reference external" <h1><a class="toc-backref" href="#id272">DrawPathCurveToQuadraticBezierSmoothRelative</a></h1> <div class="section" id="id93"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawPathCurveToQuadraticBezierSmoothRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, - const double y ); -</pre> +<pre class="literal-block">void DrawPathCurveToQuadraticBezierSmoothRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, + const double y );</pre> </div> <div class="section" id="id94"> <h2>Description</h2> @@ -1461,17 +1397,18 @@ 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.</p> <p>The format of the DrawPathCurveToQuadraticBezierSmoothRelative method is:</p> -<pre class="literal-block"> -void DrawPathCurveToQuadraticBezierSmoothRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, - const double y ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawPathCurveToQuadraticBezierSmoothRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, + const double y );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>x:</dt> -<dd>x ordinate of final point</dd> +<dd><p>x ordinate of final point</p> +</dd> <dt>y:</dt> -<dd>y ordinate of final point</dd> +<dd><p>y ordinate of final point</p> +</dd> </dl> </div> </div> @@ -1479,10 +1416,8 @@ void DrawPathCurveToQuadraticBezierSmoothRelative( <a class="reference external" <h1><a class="toc-backref" href="#id273">DrawPathCurveToSmoothAbsolute</a></h1> <div class="section" id="id95"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawPathCurveToSmoothAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x2, const double y2, - const double x, const double y ); -</pre> +<pre class="literal-block">void DrawPathCurveToSmoothAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x2, const double y2, + const double x, const double y );</pre> </div> <div class="section" id="id96"> <h2>Description</h2> @@ -1498,21 +1433,24 @@ 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.</p> <p>The format of the DrawPathCurveToSmoothAbsolute method is:</p> -<pre class="literal-block"> -void DrawPathCurveToSmoothAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x2, const double y2, - const double x, const double y ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawPathCurveToSmoothAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x2, const double y2, + const double x, const double y );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>x2:</dt> -<dd>x ordinate of second control point</dd> +<dd><p>x ordinate of second control point</p> +</dd> <dt>y2:</dt> -<dd>y ordinate of second control point</dd> +<dd><p>y ordinate of second control point</p> +</dd> <dt>x:</dt> -<dd>x ordinate of termination point</dd> +<dd><p>x ordinate of termination point</p> +</dd> <dt>y:</dt> -<dd>y ordinate of termination point</dd> +<dd><p>y ordinate of termination point</p> +</dd> </dl> </div> </div> @@ -1520,10 +1458,8 @@ void DrawPathCurveToSmoothAbsolute( <a class="reference external" href="../api/t <h1><a class="toc-backref" href="#id274">DrawPathCurveToSmoothRelative</a></h1> <div class="section" id="id97"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawPathCurveToSmoothRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x2, const double y2, - const double x, const double y ); -</pre> +<pre class="literal-block">void DrawPathCurveToSmoothRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x2, const double y2, + const double x, const double y );</pre> </div> <div class="section" id="id98"> <h2>Description</h2> @@ -1539,21 +1475,24 @@ 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.</p> <p>The format of the DrawPathCurveToSmoothRelative method is:</p> -<pre class="literal-block"> -void DrawPathCurveToSmoothRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x2, const double y2, - const double x, const double y ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawPathCurveToSmoothRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x2, const double y2, + const double x, const double y );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>x2:</dt> -<dd>x ordinate of second control point</dd> +<dd><p>x ordinate of second control point</p> +</dd> <dt>y2:</dt> -<dd>y ordinate of second control point</dd> +<dd><p>y ordinate of second control point</p> +</dd> <dt>x:</dt> -<dd>x ordinate of termination point</dd> +<dd><p>x ordinate of termination point</p> +</dd> <dt>y:</dt> -<dd>y ordinate of termination point</dd> +<dd><p>y ordinate of termination point</p> +</dd> </dl> </div> </div> @@ -1561,12 +1500,10 @@ void DrawPathCurveToSmoothRelative( <a class="reference external" href="../api/t <h1><a class="toc-backref" href="#id275">DrawPathEllipticArcAbsolute</a></h1> <div class="section" id="id99"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawPathEllipticArcAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double rx, const double ry, +<pre class="literal-block">void DrawPathEllipticArcAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double rx, const double ry, const double x_axis_rotation, unsigned int large_arc_flag, unsigned int sweep_flag, - const double x, const double y ); -</pre> + const double x, const double y );</pre> </div> <div class="section" id="id100"> <h2>Description</h2> @@ -1581,28 +1518,32 @@ automatic calculations and help determine how the arc is drawn. If largeArcFlag is true then draw the larger of the available arcs. If sweepFlag is true, then draw the arc matching a clock-wise rotation.</p> <p>The format of the DrawPathEllipticArcAbsolute method is:</p> -<pre class="literal-block"> -void DrawPathEllipticArcAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double rx, const double ry, +<pre class="literal-block">void DrawPathEllipticArcAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double rx, const double ry, const double x_axis_rotation, unsigned int large_arc_flag, unsigned int sweep_flag, - const double x, const double y ); -</pre> -<dl class="docutils"> + const double x, const double y );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>rx:</dt> -<dd>x radius</dd> +<dd><p>x radius</p> +</dd> <dt>ry:</dt> -<dd>y radius</dd> +<dd><p>y radius</p> +</dd> <dt>x_axis_rotation:</dt> -<dd>indicates how the ellipse as a whole is rotated -relative to the current coordinate system</dd> +<dd><p>indicates how the ellipse as a whole is rotated +relative to the current coordinate system</p> +</dd> <dt>large_arc_flag:</dt> -<dd>If non-zero (true) then draw the larger of the -available arcs</dd> +<dd><p>If non-zero (true) then draw the larger of the +available arcs</p> +</dd> <dt>sweep_flag:</dt> -<dd>If non-zero (true) then draw the arc matching a -clock-wise rotation</dd> +<dd><p>If non-zero (true) then draw the arc matching a +clock-wise rotation</p> +</dd> </dl> </div> </div> @@ -1610,12 +1551,10 @@ clock-wise rotation</dd> <h1><a class="toc-backref" href="#id276">DrawPathEllipticArcRelative</a></h1> <div class="section" id="id101"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawPathEllipticArcRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double rx, const double ry, +<pre class="literal-block">void DrawPathEllipticArcRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double rx, const double ry, const double x_axis_rotation, unsigned int large_arc_flag, unsigned int sweep_flag, - const double x, const double y ); -</pre> + const double x, const double y );</pre> </div> <div class="section" id="id102"> <h2>Description</h2> @@ -1630,28 +1569,32 @@ automatic calculations and help determine how the arc is drawn. If largeArcFlag is true then draw the larger of the available arcs. If sweepFlag is true, then draw the arc matching a clock-wise rotation.</p> <p>The format of the DrawPathEllipticArcRelative method is:</p> -<pre class="literal-block"> -void DrawPathEllipticArcRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double rx, const double ry, +<pre class="literal-block">void DrawPathEllipticArcRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double rx, const double ry, const double x_axis_rotation, unsigned int large_arc_flag, unsigned int sweep_flag, - const double x, const double y ); -</pre> -<dl class="docutils"> + const double x, const double y );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>rx:</dt> -<dd>x radius</dd> +<dd><p>x radius</p> +</dd> <dt>ry:</dt> -<dd>y radius</dd> +<dd><p>y radius</p> +</dd> <dt>x_axis_rotation:</dt> -<dd>indicates how the ellipse as a whole is rotated -relative to the current coordinate system</dd> +<dd><p>indicates how the ellipse as a whole is rotated +relative to the current coordinate system</p> +</dd> <dt>large_arc_flag:</dt> -<dd>If non-zero (true) then draw the larger of the -available arcs</dd> +<dd><p>If non-zero (true) then draw the larger of the +available arcs</p> +</dd> <dt>sweep_flag:</dt> -<dd>If non-zero (true) then draw the arc matching a -clock-wise rotation</dd> +<dd><p>If non-zero (true) then draw the arc matching a +clock-wise rotation</p> +</dd> </dl> </div> </div> @@ -1659,21 +1602,18 @@ clock-wise rotation</dd> <h1><a class="toc-backref" href="#id277">DrawPathFinish</a></h1> <div class="section" id="id103"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawPathFinish( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">void DrawPathFinish( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id104"> <h2>Description</h2> <p>DrawPathFinish() terminates the current path.</p> <p>The format of the DrawPathFinish method is:</p> -<pre class="literal-block"> -void DrawPathFinish( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">void DrawPathFinish( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -1681,9 +1621,7 @@ void DrawPathFinish( <a class="reference external" href="../api/types.html#drawc <h1><a class="toc-backref" href="#id278">DrawPathLineToAbsolute</a></h1> <div class="section" id="id105"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawPathLineToAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y ); -</pre> +<pre class="literal-block">void DrawPathLineToAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y );</pre> </div> <div class="section" id="id106"> <h2>Description</h2> @@ -1691,16 +1629,17 @@ void DrawPathLineToAbsolute( <a class="reference external" href="../api/types.ht given coordinate using absolute coordinates. The coordinate then becomes the new current point.</p> <p>The format of the DrawPathLineToAbsolute method is:</p> -<pre class="literal-block"> -void DrawPathLineToAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawPathLineToAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>x:</dt> -<dd>target x ordinate</dd> +<dd><p>target x ordinate</p> +</dd> <dt>y:</dt> -<dd>target y ordinate</dd> +<dd><p>target y ordinate</p> +</dd> </dl> </div> </div> @@ -1708,9 +1647,7 @@ void DrawPathLineToAbsolute( <a class="reference external" href="../api/types.ht <h1><a class="toc-backref" href="#id279">DrawPathLineToRelative</a></h1> <div class="section" id="id107"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawPathLineToRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y ); -</pre> +<pre class="literal-block">void DrawPathLineToRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y );</pre> </div> <div class="section" id="id108"> <h2>Description</h2> @@ -1718,16 +1655,17 @@ void DrawPathLineToRelative( <a class="reference external" href="../api/types.ht given coordinate using relative coordinates. The coordinate then becomes the new current point.</p> <p>The format of the DrawPathLineToRelative method is:</p> -<pre class="literal-block"> -void DrawPathLineToRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawPathLineToRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>x:</dt> -<dd>target x ordinate</dd> +<dd><p>target x ordinate</p> +</dd> <dt>y:</dt> -<dd>target y ordinate</dd> +<dd><p>target y ordinate</p> +</dd> </dl> </div> </div> @@ -1735,9 +1673,7 @@ void DrawPathLineToRelative( <a class="reference external" href="../api/types.ht <h1><a class="toc-backref" href="#id280">DrawPathLineToHorizontalAbsolute</a></h1> <div class="section" id="id109"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawPathLineToHorizontalAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x ); -</pre> +<pre class="literal-block">void DrawPathLineToHorizontalAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x );</pre> </div> <div class="section" id="id110"> <h2>Description</h2> @@ -1745,14 +1681,14 @@ void DrawPathLineToHorizontalAbsolute( <a class="reference external" href="../ap current point to the target point using absolute coordinates. The target point then becomes the new current point.</p> <p>The format of the DrawPathLineToHorizontalAbsolute method is:</p> -<pre class="literal-block"> -void DrawPathLineToHorizontalAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawPathLineToHorizontalAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>x:</dt> -<dd>target x ordinate</dd> +<dd><p>target x ordinate</p> +</dd> </dl> </div> </div> @@ -1760,9 +1696,7 @@ void DrawPathLineToHorizontalAbsolute( <a class="reference external" href="../ap <h1><a class="toc-backref" href="#id281">DrawPathLineToHorizontalRelative</a></h1> <div class="section" id="id111"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawPathLineToHorizontalRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x ); -</pre> +<pre class="literal-block">void DrawPathLineToHorizontalRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x );</pre> </div> <div class="section" id="id112"> <h2>Description</h2> @@ -1770,15 +1704,15 @@ void DrawPathLineToHorizontalRelative( <a class="reference external" href="../ap current point to the target point using relative coordinates. The target point then becomes the new current point.</p> <p>The format of the DrawPathLineToHorizontalRelative method is:</p> -<pre class="literal-block"> -void DrawPathLineToHorizontalRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x ); -</pre> +<pre class="literal-block">void DrawPathLineToHorizontalRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>x:</dt> -<dd>target x ordinate</dd> +<dd><p>target x ordinate</p> +</dd> </dl> </div> </div> @@ -1786,9 +1720,7 @@ void DrawPathLineToHorizontalRelative( <a class="reference external" href="../ap <h1><a class="toc-backref" href="#id282">DrawPathLineToVerticalAbsolute</a></h1> <div class="section" id="id113"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawPathLineToVerticalAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double y ); -</pre> +<pre class="literal-block">void DrawPathLineToVerticalAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double y );</pre> </div> <div class="section" id="id114"> <h2>Description</h2> @@ -1796,14 +1728,14 @@ void DrawPathLineToVerticalAbsolute( <a class="reference external" href="../api/ current point to the target point using absolute coordinates. The target point then becomes the new current point.</p> <p>The format of the DrawPathLineToVerticalAbsolute method is:</p> -<pre class="literal-block"> -void DrawPathLineToVerticalAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double y ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawPathLineToVerticalAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double y );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>y:</dt> -<dd>target y ordinate</dd> +<dd><p>target y ordinate</p> +</dd> </dl> </div> </div> @@ -1811,9 +1743,7 @@ void DrawPathLineToVerticalAbsolute( <a class="reference external" href="../api/ <h1><a class="toc-backref" href="#id283">DrawPathLineToVerticalRelative</a></h1> <div class="section" id="id115"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawPathLineToVerticalRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double y ); -</pre> +<pre class="literal-block">void DrawPathLineToVerticalRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double y );</pre> </div> <div class="section" id="id116"> <h2>Description</h2> @@ -1821,14 +1751,14 @@ void DrawPathLineToVerticalRelative( <a class="reference external" href="../api/ current point to the target point using relative coordinates. The target point then becomes the new current point.</p> <p>The format of the DrawPathLineToVerticalRelative method is:</p> -<pre class="literal-block"> -void DrawPathLineToVerticalRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double y ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawPathLineToVerticalRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double y );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>y:</dt> -<dd>target y ordinate</dd> +<dd><p>target y ordinate</p> +</dd> </dl> </div> </div> @@ -1836,9 +1766,7 @@ void DrawPathLineToVerticalRelative( <a class="reference external" href="../api/ <h1><a class="toc-backref" href="#id284">DrawPathMoveToAbsolute</a></h1> <div class="section" id="id117"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawPathMoveToAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y ); -</pre> +<pre class="literal-block">void DrawPathMoveToAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y );</pre> </div> <div class="section" id="id118"> <h2>Description</h2> @@ -1846,16 +1774,17 @@ void DrawPathMoveToAbsolute( <a class="reference external" href="../api/types.ht using absolute coordinates. The current point then becomes the specified coordinate.</p> <p>The format of the DrawPathMoveToAbsolute method is:</p> -<pre class="literal-block"> -void DrawPathMoveToAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawPathMoveToAbsolute( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>x:</dt> -<dd>target x ordinate</dd> +<dd><p>target x ordinate</p> +</dd> <dt>y:</dt> -<dd>target y ordinate</dd> +<dd><p>target y ordinate</p> +</dd> </dl> </div> </div> @@ -1863,9 +1792,7 @@ void DrawPathMoveToAbsolute( <a class="reference external" href="../api/types.ht <h1><a class="toc-backref" href="#id285">DrawPathMoveToRelative</a></h1> <div class="section" id="id119"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawPathMoveToRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y ); -</pre> +<pre class="literal-block">void DrawPathMoveToRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y );</pre> </div> <div class="section" id="id120"> <h2>Description</h2> @@ -1873,16 +1800,17 @@ void DrawPathMoveToRelative( <a class="reference external" href="../api/types.ht using relative coordinates. The current point then becomes the specified coordinate.</p> <p>The format of the DrawPathMoveToRelative method is:</p> -<pre class="literal-block"> -void DrawPathMoveToRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawPathMoveToRelative( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>x:</dt> -<dd>target x ordinate</dd> +<dd><p>target x ordinate</p> +</dd> <dt>y:</dt> -<dd>target y ordinate</dd> +<dd><p>target y ordinate</p> +</dd> </dl> </div> </div> @@ -1890,9 +1818,7 @@ void DrawPathMoveToRelative( <a class="reference external" href="../api/types.ht <h1><a class="toc-backref" href="#id286">DrawPathStart</a></h1> <div class="section" id="id121"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawPathStart( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">void DrawPathStart( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id122"> <h2>Description</h2> @@ -1902,13 +1828,12 @@ be enclosed between a DrawPathStart() and a DrawPathFinish() command. This is because path drawing commands are subordinate commands and they do not function by themselves.</p> <p>The format of the DrawPathStart method is:</p> -<pre class="literal-block"> -void DrawPathStart( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">void DrawPathStart( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -1916,9 +1841,7 @@ void DrawPathStart( <a class="reference external" href="../api/types.html#drawco <h1><a class="toc-backref" href="#id287">DrawPeekGraphicContext</a></h1> <div class="section" id="id123"> <h2>Synopsis</h2> -<pre class="literal-block"> -<a class="reference external" href="../api/types.html#drawinfo">DrawInfo</a> *DrawPeekGraphicContext( const <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block"><a class="reference external" href="../api/types.html#drawinfo">DrawInfo</a> *DrawPeekGraphicContext( const <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id124"> <h2>Description</h2> @@ -1926,13 +1849,12 @@ void DrawPathStart( <a class="reference external" href="../api/types.html#drawco the head of the drawing context stack. The user is responsible for deallocating the returned object using DestroyDrawInfo.</p> <p>The format of the DrawPeekGraphicContext method is:</p> -<pre class="literal-block"> -<a class="reference external" href="../api/types.html#drawinfo">DrawInfo</a> *DrawPeekGraphicContext( const <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block"><a class="reference external" href="../api/types.html#drawinfo">DrawInfo</a> *DrawPeekGraphicContext( const <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -1940,26 +1862,25 @@ deallocating the returned object using DestroyDrawInfo.</p> <h1><a class="toc-backref" href="#id288">DrawPoint</a></h1> <div class="section" id="id125"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawPoint( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y ); -</pre> +<pre class="literal-block">void DrawPoint( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y );</pre> </div> <div class="section" id="id126"> <h2>Description</h2> <p>DrawPoint() draws a point using the current stroke color and stroke thickness at the specified coordinates.</p> <p>The format of the DrawPoint method is:</p> -<pre class="literal-block"> -void DrawPoint( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y ); -</pre> +<pre class="literal-block">void DrawPoint( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>x:</dt> -<dd>target x coordinate</dd> +<dd><p>target x coordinate</p> +</dd> <dt>y:</dt> -<dd>target y coordinate</dd> +<dd><p>target y coordinate</p> +</dd> </dl> </div> </div> @@ -1967,27 +1888,26 @@ void DrawPoint( <a class="reference external" href="../api/types.html#drawcontex <h1><a class="toc-backref" href="#id289">DrawPolygon</a></h1> <div class="section" id="id127"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawPolygon( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const unsigned long num_coords, - const <a class="reference external" href="../api/types.html#pointinfo">PointInfo</a> *coordinates ); -</pre> +<pre class="literal-block">void DrawPolygon( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const unsigned long num_coords, + const <a class="reference external" href="../api/types.html#pointinfo">PointInfo</a> *coordinates );</pre> </div> <div class="section" id="id128"> <h2>Description</h2> <p>DrawPolygon() draws a polygon using the current stroke, stroke width, and fill color or texture, using the specified array of coordinates.</p> <p>The format of the DrawPolygon method is:</p> -<pre class="literal-block"> -void DrawPolygon( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const unsigned long num_coords, - const <a class="reference external" href="../api/types.html#pointinfo">PointInfo</a> *coordinates ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawPolygon( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const unsigned long num_coords, + const <a class="reference external" href="../api/types.html#pointinfo">PointInfo</a> *coordinates );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>num_coords:</dt> -<dd>number of coordinates</dd> +<dd><p>number of coordinates</p> +</dd> <dt>coordinates:</dt> -<dd>coordinate array</dd> +<dd><p>coordinate array</p> +</dd> </dl> </div> </div> @@ -1995,27 +1915,26 @@ void DrawPolygon( <a class="reference external" href="../api/types.html#drawcont <h1><a class="toc-backref" href="#id290">DrawPolyline</a></h1> <div class="section" id="id129"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawPolyline( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const unsigned long num_coords, - const <a class="reference external" href="../api/types.html#pointinfo">PointInfo</a> *coordinates ); -</pre> +<pre class="literal-block">void DrawPolyline( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const unsigned long num_coords, + const <a class="reference external" href="../api/types.html#pointinfo">PointInfo</a> *coordinates );</pre> </div> <div class="section" id="id130"> <h2>Description</h2> <p>DrawPolyline() draws a polyline using the current stroke, stroke width, and fill color or texture, using the specified array of coordinates.</p> <p>The format of the DrawPolyline method is:</p> -<pre class="literal-block"> -void DrawPolyline( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const unsigned long num_coords, - const <a class="reference external" href="../api/types.html#pointinfo">PointInfo</a> *coordinates ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawPolyline( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const unsigned long num_coords, + const <a class="reference external" href="../api/types.html#pointinfo">PointInfo</a> *coordinates );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>num_coords:</dt> -<dd>number of coordinates</dd> +<dd><p>number of coordinates</p> +</dd> <dt>coordinates:</dt> -<dd>coordinate array</dd> +<dd><p>coordinate array</p> +</dd> </dl> </div> </div> @@ -2023,21 +1942,18 @@ void DrawPolyline( <a class="reference external" href="../api/types.html#drawcon <h1><a class="toc-backref" href="#id291">DrawPopClipPath</a></h1> <div class="section" id="id131"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawPopClipPath( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">void DrawPopClipPath( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id132"> <h2>Description</h2> <p>DrawPopClipPath() terminates a clip path definition.</p> <p>The format of the DrawPopClipPath method is:</p> -<pre class="literal-block"> -void DrawPopClipPath( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">void DrawPopClipPath( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -2045,21 +1961,18 @@ void DrawPopClipPath( <a class="reference external" href="../api/types.html#draw <h1><a class="toc-backref" href="#id292">DrawPopDefs</a></h1> <div class="section" id="id133"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawPopDefs( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">void DrawPopDefs( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id134"> <h2>Description</h2> <p>DrawPopDefs() terminates a definition list</p> <p>The format of the DrawPopDefs method is:</p> -<pre class="literal-block"> -void DrawPopDefs( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">void DrawPopDefs( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -2067,9 +1980,7 @@ void DrawPopDefs( <a class="reference external" href="../api/types.html#drawcont <h1><a class="toc-backref" href="#id293">DrawPopGraphicContext</a></h1> <div class="section" id="id135"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawPopGraphicContext( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">void DrawPopGraphicContext( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id136"> <h2>Description</h2> @@ -2078,13 +1989,12 @@ previously pushed context. Multiple contexts may exist. It is an error to attempt to pop more contexts than have been pushed, and it is proper form to pop all contexts which have been pushed.</p> <p>The format of the DrawPopGraphicContext method is:</p> -<pre class="literal-block"> -void DrawPopGraphicContext( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">void DrawPopGraphicContext( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -2092,21 +2002,18 @@ void DrawPopGraphicContext( <a class="reference external" href="../api/types.htm <h1><a class="toc-backref" href="#id294">DrawPopPattern</a></h1> <div class="section" id="id137"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawPopPattern( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">void DrawPopPattern( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id138"> <h2>Description</h2> <p>DrawPopPattern() terminates a pattern definition.</p> <p>The format of the DrawPopPattern method is:</p> -<pre class="literal-block"> -void DrawPopPattern( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">void DrawPopPattern( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -2114,9 +2021,7 @@ void DrawPopPattern( <a class="reference external" href="../api/types.html#drawc <h1><a class="toc-backref" href="#id295">DrawPushClipPath</a></h1> <div class="section" id="id139"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawPushClipPath( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *clip_path_id ); -</pre> +<pre class="literal-block">void DrawPushClipPath( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *clip_path_id );</pre> </div> <div class="section" id="id140"> <h2>Description</h2> @@ -2124,16 +2029,16 @@ void DrawPushClipPath( <a class="reference external" href="../api/types.html#dra any number of drawing commands and terminated by a DrawPopClipPath() command.</p> <p>The format of the DrawPushClipPath method is:</p> -<pre class="literal-block"> -void DrawPushClipPath( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *clip_path_id ); -</pre> +<pre class="literal-block">void DrawPushClipPath( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *clip_path_id );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>clip_path_id:</dt> -<dd>string identifier to associate with the clip path for -later use.</dd> +<dd><p>string identifier to associate with the clip path for +later use.</p> +</dd> </dl> </div> </div> @@ -2141,9 +2046,7 @@ later use.</dd> <h1><a class="toc-backref" href="#id296">DrawPushDefs</a></h1> <div class="section" id="id141"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawPushDefs( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">void DrawPushDefs( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id142"> <h2>Description</h2> @@ -2151,13 +2054,12 @@ void DrawPushDefs( <a class="reference external" href="../api/types.html#drawcon command create named elements (e.g. clip-paths, textures, etc.) which may safely be processed earlier for the sake of efficiency.</p> <p>The format of the DrawPushDefs method is:</p> -<pre class="literal-block"> -void DrawPushDefs( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">void DrawPushDefs( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -2165,9 +2067,7 @@ void DrawPushDefs( <a class="reference external" href="../api/types.html#drawcon <h1><a class="toc-backref" href="#id297">DrawPushGraphicContext</a></h1> <div class="section" id="id143"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawPushGraphicContext( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">void DrawPushGraphicContext( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id144"> <h2>Description</h2> @@ -2176,13 +2076,12 @@ new drawing context. The original drawing context(s) may be returned to by invoking DrawPopGraphicContext(). The contexts are stored on a context stack. For every Pop there must have already been an equivalent Push.</p> <p>The format of the DrawPushGraphicContext method is:</p> -<pre class="literal-block"> -void DrawPushGraphicContext( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">void DrawPushGraphicContext( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -2190,10 +2089,8 @@ void DrawPushGraphicContext( <a class="reference external" href="../api/types.ht <h1><a class="toc-backref" href="#id298">DrawPushPattern</a></h1> <div class="section" id="id145"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawPushPattern( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *pattern_id, const double x, - const double y, const double width, const double height ); -</pre> +<pre class="literal-block">void DrawPushPattern( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *pattern_id, const double x, + const double y, const double width, const double height );</pre> </div> <div class="section" id="id146"> <h2>Description</h2> @@ -2204,23 +2101,27 @@ and height, and becomes its own drawing space. Anything which can be drawn may be used in a pattern definition. Named patterns may be used as stroke or brush definitions.</p> <p>The format of the DrawPushPattern method is:</p> -<pre class="literal-block"> -void DrawPushPattern( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *pattern_id, const double x, - const double y, const double width, const double height ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawPushPattern( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *pattern_id, const double x, + const double y, const double width, const double height );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>pattern_id:</dt> -<dd>pattern identification for later reference</dd> +<dd><p>pattern identification for later reference</p> +</dd> <dt>x:</dt> -<dd>x ordinate of top left corner</dd> +<dd><p>x ordinate of top left corner</p> +</dd> <dt>y:</dt> -<dd>y ordinate of top left corner</dd> +<dd><p>y ordinate of top left corner</p> +</dd> <dt>width:</dt> -<dd>width of pattern space</dd> +<dd><p>width of pattern space</p> +</dd> <dt>height:</dt> -<dd>height of pattern space</dd> +<dd><p>height of pattern space</p> +</dd> </dl> </div> </div> @@ -2228,29 +2129,29 @@ void DrawPushPattern( <a class="reference external" href="../api/types.html#draw <h1><a class="toc-backref" href="#id299">DrawRectangle</a></h1> <div class="section" id="id147"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawRectangle( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x1, const double y1, const double x2, - const double y2 ); -</pre> +<pre class="literal-block">void DrawRectangle( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x1, const double y1, const double x2, + const double y2 );</pre> </div> <div class="section" id="id148"> <h2>Description</h2> <p>DrawRectangle() draws a rectangle given two coordinates and using the current stroke, stroke width, and fill settings.</p> <p>The format of the DrawRectangle method is:</p> -<pre class="literal-block"> -void DrawRectangle( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x1, const double y1, const double x2, - const double y2 ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawRectangle( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x1, const double y1, const double x2, + const double y2 );</pre> +<dl class="simple"> <dt>x1:</dt> -<dd>x ordinate of first coordinate</dd> +<dd><p>x ordinate of first coordinate</p> +</dd> <dt>y1:</dt> -<dd>y ordinate of first coordinate</dd> +<dd><p>y ordinate of first coordinate</p> +</dd> <dt>x2:</dt> -<dd>x ordinate of second coordinate</dd> +<dd><p>x ordinate of second coordinate</p> +</dd> <dt>y2:</dt> -<dd>y ordinate of second coordinate</dd> +<dd><p>y ordinate of second coordinate</p> +</dd> </dl> </div> </div> @@ -2258,21 +2159,18 @@ void DrawRectangle( <a class="reference external" href="../api/types.html#drawco <h1><a class="toc-backref" href="#id300">DrawRender</a></h1> <div class="section" id="id149"> <h2>Synopsis</h2> -<pre class="literal-block"> -int DrawRender( const <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">int DrawRender( const <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id150"> <h2>Description</h2> <p>DrawRender() renders all preceding drawing commands onto the image.</p> <p>The format of the DrawRender method is:</p> -<pre class="literal-block"> -int DrawRender( const <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">int DrawRender( const <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -2280,24 +2178,22 @@ int DrawRender( const <a class="reference external" href="../api/types.html#draw <h1><a class="toc-backref" href="#id301">DrawRotate</a></h1> <div class="section" id="id151"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawRotate( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double degrees ); -</pre> +<pre class="literal-block">void DrawRotate( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double degrees );</pre> </div> <div class="section" id="id152"> <h2>Description</h2> <p>DrawRotate() applies the specified rotation to the current coordinate space.</p> <p>The format of the DrawRotate method is:</p> -<pre class="literal-block"> -void DrawRotate( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double degrees ); -</pre> +<pre class="literal-block">void DrawRotate( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double degrees );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>degrees:</dt> -<dd>degrees of rotation</dd> +<dd><p>degrees of rotation</p> +</dd> </dl> </div> </div> @@ -2305,10 +2201,8 @@ void DrawRotate( <a class="reference external" href="../api/types.html#drawconte <h1><a class="toc-backref" href="#id302">DrawRoundRectangle</a></h1> <div class="section" id="id153"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawRoundRectangle( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, double x1, double y1, double x2, double y2, - double rx, double ry ); -</pre> +<pre class="literal-block">void DrawRoundRectangle( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, double x1, double y1, double x2, double y2, + double rx, double ry );</pre> </div> <div class="section" id="id154"> <h2>Description</h2> @@ -2316,25 +2210,30 @@ void DrawRoundRectangle( <a class="reference external" href="../api/types.html#d x & y corner radiuses and using the current stroke, stroke width, and fill settings.</p> <p>The format of the DrawRoundRectangle method is:</p> -<pre class="literal-block"> -void DrawRoundRectangle( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, double x1, double y1, double x2, double y2, - double rx, double ry ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawRoundRectangle( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, double x1, double y1, double x2, double y2, + double rx, double ry );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>x1:</dt> -<dd>x ordinate of first coordinate</dd> +<dd><p>x ordinate of first coordinate</p> +</dd> <dt>y1:</dt> -<dd>y ordinate of first coordinate</dd> +<dd><p>y ordinate of first coordinate</p> +</dd> <dt>x2:</dt> -<dd>x ordinate of second coordinate</dd> +<dd><p>x ordinate of second coordinate</p> +</dd> <dt>y2:</dt> -<dd>y ordinate of second coordinate</dd> +<dd><p>y ordinate of second coordinate</p> +</dd> <dt>rx:</dt> -<dd>radius of corner in horizontal direction</dd> +<dd><p>radius of corner in horizontal direction</p> +</dd> <dt>ry:</dt> -<dd>radius of corner in vertical direction</dd> +<dd><p>radius of corner in vertical direction</p> +</dd> </dl> </div> </div> @@ -2342,26 +2241,25 @@ void DrawRoundRectangle( <a class="reference external" href="../api/types.html#d <h1><a class="toc-backref" href="#id303">DrawScale</a></h1> <div class="section" id="id155"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawScale( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y ); -</pre> +<pre class="literal-block">void DrawScale( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y );</pre> </div> <div class="section" id="id156"> <h2>Description</h2> <p>DrawScale() adjusts the scaling factor to apply in the horizontal and vertical directions to the current coordinate space.</p> <p>The format of the DrawScale method is:</p> -<pre class="literal-block"> -void DrawScale( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y ); -</pre> +<pre class="literal-block">void DrawScale( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>x:</dt> -<dd>horizontal scale factor</dd> +<dd><p>horizontal scale factor</p> +</dd> <dt>y:</dt> -<dd>vertical scale factor</dd> +<dd><p>vertical scale factor</p> +</dd> </dl> </div> </div> @@ -2369,24 +2267,22 @@ void DrawScale( <a class="reference external" href="../api/types.html#drawcontex <h1><a class="toc-backref" href="#id304">DrawSkewX</a></h1> <div class="section" id="id157"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSkewX( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double degrees ); -</pre> +<pre class="literal-block">void DrawSkewX( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double degrees );</pre> </div> <div class="section" id="id158"> <h2>Description</h2> <p>DrawSkewX() skews the current coordinate system in the horizontal direction.</p> <p>The format of the DrawSkewX method is:</p> -<pre class="literal-block"> -void DrawSkewX( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double degrees ); -</pre> +<pre class="literal-block">void DrawSkewX( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double degrees );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>degrees:</dt> -<dd>number of degrees to skew the coordinates</dd> +<dd><p>number of degrees to skew the coordinates</p> +</dd> </dl> </div> </div> @@ -2394,24 +2290,22 @@ void DrawSkewX( <a class="reference external" href="../api/types.html#drawcontex <h1><a class="toc-backref" href="#id305">DrawSkewY</a></h1> <div class="section" id="id159"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSkewY( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double degrees ); -</pre> +<pre class="literal-block">void DrawSkewY( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double degrees );</pre> </div> <div class="section" id="id160"> <h2>Description</h2> <p>DrawSkewY() skews the current coordinate system in the vertical direction.</p> <p>The format of the DrawSkewY method is:</p> -<pre class="literal-block"> -void DrawSkewY( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double degrees ); -</pre> +<pre class="literal-block">void DrawSkewY( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double degrees );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>degrees:</dt> -<dd>number of degrees to skew the coordinates</dd> +<dd><p>number of degrees to skew the coordinates</p> +</dd> </dl> </div> </div> @@ -2419,22 +2313,19 @@ void DrawSkewY( <a class="reference external" href="../api/types.html#drawcontex <h1><a class="toc-backref" href="#id306">DrawSetStopColor</a></h1> <div class="section" id="id161"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSetStopColor( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#pixelpacket">PixelPacket</a> *stop_color, - const double offset ); -</pre> +<pre class="literal-block">void DrawSetStopColor( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#pixelpacket">PixelPacket</a> *stop_color, + const double offset );</pre> </div> <div class="section" id="id162"> <h2>Description</h2> <p>DrawSetStopColor() sets the stop color and offset for gradients</p> <p>The format of the DrawSetStopColor method is:</p> -<pre class="literal-block"> -void DrawSetStopColor( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#pixelpacket">PixelPacket</a> *stop_color, - const double offset ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawSetStopColor( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#pixelpacket">PixelPacket</a> *stop_color, + const double offset );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> <p>o stop_color:</p> <p>o offset:</p> @@ -2444,21 +2335,18 @@ void DrawSetStopColor( <a class="reference external" href="../api/types.html#dra <h1><a class="toc-backref" href="#id307">DrawGetStrokeColor</a></h1> <div class="section" id="id163"> <h2>Synopsis</h2> -<pre class="literal-block"> -<a class="reference external" href="../api/types.html#pixelpacket">PixelPacket</a> DrawGetStrokeColor( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block"><a class="reference external" href="../api/types.html#pixelpacket">PixelPacket</a> DrawGetStrokeColor( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id164"> <h2>Description</h2> <p>DrawGetStrokeColor() returns the color used for stroking object outlines.</p> <p>The format of the DrawGetStrokeColor method is:</p> -<pre class="literal-block"> -<a class="reference external" href="../api/types.html#pixelpacket">PixelPacket</a> DrawGetStrokeColor( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block"><a class="reference external" href="../api/types.html#pixelpacket">PixelPacket</a> DrawGetStrokeColor( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -2466,22 +2354,20 @@ void DrawSetStopColor( <a class="reference external" href="../api/types.html#dra <h1><a class="toc-backref" href="#id308">DrawSetStrokeColor</a></h1> <div class="section" id="id165"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSetStrokeColor( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#pixelpacket">PixelPacket</a> *stroke_color ); -</pre> +<pre class="literal-block">void DrawSetStrokeColor( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#pixelpacket">PixelPacket</a> *stroke_color );</pre> </div> <div class="section" id="id166"> <h2>Description</h2> <p>DrawSetStrokeColor() sets the color used for stroking object outlines.</p> <p>The format of the DrawSetStrokeColor method is:</p> -<pre class="literal-block"> -void DrawSetStrokeColor( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#pixelpacket">PixelPacket</a> *stroke_color ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawSetStrokeColor( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#pixelpacket">PixelPacket</a> *stroke_color );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>stroke_color:</dt> -<dd>stroke color</dd> +<dd><p>stroke color</p> +</dd> </dl> </div> </div> @@ -2489,22 +2375,20 @@ void DrawSetStrokeColor( <a class="reference external" href="../api/types.html#d <h1><a class="toc-backref" href="#id309">DrawSetStrokeColorString</a></h1> <div class="section" id="id167"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSetStrokeColorString( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *stroke_color ); -</pre> +<pre class="literal-block">void DrawSetStrokeColorString( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *stroke_color );</pre> </div> <div class="section" id="id168"> <h2>Description</h2> <p>DrawSetStrokeColorString() sets the color used for stroking object outlines.</p> <p>The format of the DrawSetStrokeColorString method is:</p> -<pre class="literal-block"> -void DrawSetStrokeColorString( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *stroke_color ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawSetStrokeColorString( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *stroke_color );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>stroke_color:</dt> -<dd>stroke color</dd> +<dd><p>stroke color</p> +</dd> </dl> </div> </div> @@ -2512,23 +2396,21 @@ void DrawSetStrokeColorString( <a class="reference external" href="../api/types. <h1><a class="toc-backref" href="#id310">DrawSetStrokePatternURL</a></h1> <div class="section" id="id169"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSetStrokePatternURL( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *stroke_url ); -</pre> +<pre class="literal-block">void DrawSetStrokePatternURL( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *stroke_url );</pre> </div> <div class="section" id="id170"> <h2>Description</h2> <p>DrawSetStrokePatternURL() sets the pattern used for stroking object outlines.</p> <p>The format of the DrawSetStrokePatternURL method is:</p> -<pre class="literal-block"> -void DrawSetStrokePatternURL( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *stroke_url ); -</pre> +<pre class="literal-block">void DrawSetStrokePatternURL( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *stroke_url );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>stroke_url:</dt> -<dd>URL specifying pattern ID (e.g. "#pattern_id")</dd> +<dd><p>URL specifying pattern ID (e.g. "#pattern_id")</p> +</dd> </dl> </div> </div> @@ -2536,9 +2418,7 @@ void DrawSetStrokePatternURL( <a class="reference external" href="../api/types.h <h1><a class="toc-backref" href="#id311">DrawGetStrokeAntialias</a></h1> <div class="section" id="id171"> <h2>Synopsis</h2> -<pre class="literal-block"> -unsigned int DrawGetStrokeAntialias( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">unsigned int DrawGetStrokeAntialias( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id172"> <h2>Description</h2> @@ -2547,13 +2427,12 @@ 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.</p> <p>The format of the DrawGetStrokeAntialias method is:</p> -<pre class="literal-block"> -unsigned int DrawGetStrokeAntialias( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">unsigned int DrawGetStrokeAntialias( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -2561,9 +2440,7 @@ unsigned int DrawGetStrokeAntialias( <a class="reference external" href="../api/ <h1><a class="toc-backref" href="#id312">DrawSetStrokeAntialias</a></h1> <div class="section" id="id173"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSetStrokeAntialias( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const unsigned int stroke_antialias ); -</pre> +<pre class="literal-block">void DrawSetStrokeAntialias( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const unsigned int stroke_antialias );</pre> </div> <div class="section" id="id174"> <h2>Description</h2> @@ -2572,14 +2449,14 @@ 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.</p> <p>The format of the DrawSetStrokeAntialias method is:</p> -<pre class="literal-block"> -void DrawSetStrokeAntialias( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const unsigned int stroke_antialias ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawSetStrokeAntialias( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const unsigned int stroke_antialias );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>stroke_antialias:</dt> -<dd>set to false (zero) to disable antialiasing</dd> +<dd><p>set to false (zero) to disable antialiasing</p> +</dd> </dl> </div> </div> @@ -2587,9 +2464,7 @@ void DrawSetStrokeAntialias( <a class="reference external" href="../api/types.ht <h1><a class="toc-backref" href="#id313">DrawGetStrokeDashArray</a></h1> <div class="section" id="id175"> <h2>Synopsis</h2> -<pre class="literal-block"> -double *DrawGetStrokeDashArray( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, unsigned long *num_elems ); -</pre> +<pre class="literal-block">double *DrawGetStrokeDashArray( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, unsigned long *num_elems );</pre> </div> <div class="section" id="id176"> <h2>Description</h2> @@ -2597,15 +2472,15 @@ double *DrawGetStrokeDashArray( <a class="reference external" href="../api/types dashes and gaps used to stroke paths (see DrawSetStrokeDashArray). The array must be freed once it is no longer required by the user.</p> <p>The format of the DrawGetStrokeDashArray method is:</p> -<pre class="literal-block"> -double *DrawGetStrokeDashArray( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, unsigned long *num_elems ); -</pre> +<pre class="literal-block">double *DrawGetStrokeDashArray( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, unsigned long *num_elems );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>num_elems:</dt> -<dd>address to place number of elements in dash array</dd> +<dd><p>address to place number of elements in dash array</p> +</dd> </dl> </div> </div> @@ -2613,10 +2488,8 @@ double *DrawGetStrokeDashArray( <a class="reference external" href="../api/types <h1><a class="toc-backref" href="#id314">DrawSetStrokeDashArray</a></h1> <div class="section" id="id177"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSetStrokeDashArray( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const unsigned long num_elems, - const double *dasharray ); -</pre> +<pre class="literal-block">void DrawSetStrokeDashArray( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const unsigned long num_elems, + const double *dasharray );</pre> </div> <div class="section" id="id178"> <h2>Description</h2> @@ -2628,17 +2501,18 @@ an even number of values. To remove an existing dash array, pass a zero num_elems argument and null dasharray. A typical stroke dash array might contain the members 5 3 2.</p> <p>The format of the DrawSetStrokeDashArray method is:</p> -<pre class="literal-block"> -void DrawSetStrokeDashArray( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const unsigned long num_elems, - const double *dasharray ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawSetStrokeDashArray( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const unsigned long num_elems, + const double *dasharray );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>num_elems:</dt> -<dd>number of elements in dash array</dd> +<dd><p>number of elements in dash array</p> +</dd> <dt>dasharray:</dt> -<dd>dash array values</dd> +<dd><p>dash array values</p> +</dd> </dl> </div> </div> @@ -2646,22 +2520,19 @@ void DrawSetStrokeDashArray( <a class="reference external" href="../api/types.ht <h1><a class="toc-backref" href="#id315">DrawGetStrokeDashOffset</a></h1> <div class="section" id="id179"> <h2>Synopsis</h2> -<pre class="literal-block"> -double DrawGetStrokeDashOffset( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">double DrawGetStrokeDashOffset( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id180"> <h2>Description</h2> <p>DrawGetStrokeDashOffset() returns the offset into the dash pattern to start the dash.</p> <p>The format of the DrawGetStrokeDashOffset method is:</p> -<pre class="literal-block"> -double DrawGetStrokeDashOffset( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">double DrawGetStrokeDashOffset( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -2669,23 +2540,21 @@ double DrawGetStrokeDashOffset( <a class="reference external" href="../api/types <h1><a class="toc-backref" href="#id316">DrawSetStrokeDashOffset</a></h1> <div class="section" id="id181"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSetStrokeDashOffset( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double dash_offset ); -</pre> +<pre class="literal-block">void DrawSetStrokeDashOffset( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double dash_offset );</pre> </div> <div class="section" id="id182"> <h2>Description</h2> <p>DrawSetStrokeDashOffset() specifies the offset into the dash pattern to start the dash.</p> <p>The format of the DrawSetStrokeDashOffset method is:</p> -<pre class="literal-block"> -void DrawSetStrokeDashOffset( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double dash_offset ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawSetStrokeDashOffset( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double dash_offset );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>dash_offset:</dt> -<dd>dash offset</dd> +<dd><p>dash offset</p> +</dd> </dl> </div> </div> @@ -2693,9 +2562,7 @@ void DrawSetStrokeDashOffset( <a class="reference external" href="../api/types.h <h1><a class="toc-backref" href="#id317">DrawGetStrokeLineCap</a></h1> <div class="section" id="id183"> <h2>Synopsis</h2> -<pre class="literal-block"> -LineCap DrawGetStrokeLineCap( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">LineCap DrawGetStrokeLineCap( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id184"> <h2>Description</h2> @@ -2703,13 +2570,12 @@ LineCap DrawGetStrokeLineCap( <a class="reference external" href="../api/types.h open subpaths when they are stroked. Values of LineCap are UndefinedCap, ButtCap, RoundCap, and SquareCap.</p> <p>The format of the DrawGetStrokeLineCap method is:</p> -<pre class="literal-block"> -LineCap DrawGetStrokeLineCap( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">LineCap DrawGetStrokeLineCap( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -2717,9 +2583,7 @@ LineCap DrawGetStrokeLineCap( <a class="reference external" href="../api/types.h <h1><a class="toc-backref" href="#id318">DrawSetStrokeLineCap</a></h1> <div class="section" id="id185"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSetStrokeLineCap( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const LineCap linecap ); -</pre> +<pre class="literal-block">void DrawSetStrokeLineCap( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const LineCap linecap );</pre> </div> <div class="section" id="id186"> <h2>Description</h2> @@ -2727,14 +2591,14 @@ void DrawSetStrokeLineCap( <a class="reference external" href="../api/types.html open subpaths when they are stroked. Values of LineCap are UndefinedCap, ButtCap, RoundCap, and SquareCap.</p> <p>The format of the DrawSetStrokeLineCap method is:</p> -<pre class="literal-block"> -void DrawSetStrokeLineCap( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const LineCap linecap ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawSetStrokeLineCap( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const LineCap linecap );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>linecap:</dt> -<dd>linecap style</dd> +<dd><p>linecap style</p> +</dd> </dl> </div> </div> @@ -2742,9 +2606,7 @@ void DrawSetStrokeLineCap( <a class="reference external" href="../api/types.html <h1><a class="toc-backref" href="#id319">DrawGetStrokeLineJoin</a></h1> <div class="section" id="id187"> <h2>Synopsis</h2> -<pre class="literal-block"> -LineJoin DrawGetStrokeLineJoin( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">LineJoin DrawGetStrokeLineJoin( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id188"> <h2>Description</h2> @@ -2753,13 +2615,12 @@ corners of paths (or other vector shapes) when they are stroked. Values of LineJoin are UndefinedJoin, MiterJoin, RoundJoin, and BevelJoin.</p> <p>The format of the DrawGetStrokeLineJoin method is:</p> -<pre class="literal-block"> -LineJoin DrawGetStrokeLineJoin( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">LineJoin DrawGetStrokeLineJoin( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -2767,9 +2628,7 @@ LineJoin DrawGetStrokeLineJoin( <a class="reference external" href="../api/types <h1><a class="toc-backref" href="#id320">DrawSetStrokeLineJoin</a></h1> <div class="section" id="id189"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSetStrokeLineJoin( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const LineJoin linejoin ); -</pre> +<pre class="literal-block">void DrawSetStrokeLineJoin( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const LineJoin linejoin );</pre> </div> <div class="section" id="id190"> <h2>Description</h2> @@ -2778,15 +2637,15 @@ corners of paths (or other vector shapes) when they are stroked. Values of LineJoin are UndefinedJoin, MiterJoin, RoundJoin, and BevelJoin.</p> <p>The format of the DrawSetStrokeLineJoin method is:</p> -<pre class="literal-block"> -void DrawSetStrokeLineJoin( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const LineJoin linejoin ); -</pre> +<pre class="literal-block">void DrawSetStrokeLineJoin( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const LineJoin linejoin );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>linejoin:</dt> -<dd>line join style</dd> +<dd><p>line join style</p> +</dd> </dl> </div> </div> @@ -2794,9 +2653,7 @@ void DrawSetStrokeLineJoin( <a class="reference external" href="../api/types.htm <h1><a class="toc-backref" href="#id321">DrawGetStrokeMiterLimit</a></h1> <div class="section" id="id191"> <h2>Synopsis</h2> -<pre class="literal-block"> -unsigned long DrawGetStrokeMiterLimit( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">unsigned long DrawGetStrokeMiterLimit( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id192"> <h2>Description</h2> @@ -2806,13 +2663,12 @@ segments meet at a sharp angle and miter joins have been specified for thickness of the line stroking the path. The miterLimit' imposes a limit on the ratio of the miter length to the 'lineWidth'.</p> <p>The format of the DrawGetStrokeMiterLimit method is:</p> -<pre class="literal-block"> -unsigned long DrawGetStrokeMiterLimit( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">unsigned long DrawGetStrokeMiterLimit( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -2820,9 +2676,7 @@ unsigned long DrawGetStrokeMiterLimit( <a class="reference external" href="../ap <h1><a class="toc-backref" href="#id322">DrawSetStrokeMiterLimit</a></h1> <div class="section" id="id193"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSetStrokeMiterLimit( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const unsigned long miterlimit ); -</pre> +<pre class="literal-block">void DrawSetStrokeMiterLimit( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const unsigned long miterlimit );</pre> </div> <div class="section" id="id194"> <h2>Description</h2> @@ -2832,14 +2686,14 @@ segments meet at a sharp angle and miter joins have been specified for thickness of the line stroking the path. The miterLimit' imposes a limit on the ratio of the miter length to the 'lineWidth'.</p> <p>The format of the DrawSetStrokeMiterLimit method is:</p> -<pre class="literal-block"> -void DrawSetStrokeMiterLimit( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const unsigned long miterlimit ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawSetStrokeMiterLimit( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const unsigned long miterlimit );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>miterlimit:</dt> -<dd>miter limit</dd> +<dd><p>miter limit</p> +</dd> </dl> </div> </div> @@ -2847,21 +2701,18 @@ void DrawSetStrokeMiterLimit( <a class="reference external" href="../api/types.h <h1><a class="toc-backref" href="#id323">DrawGetStrokeOpacity</a></h1> <div class="section" id="id195"> <h2>Synopsis</h2> -<pre class="literal-block"> -double DrawGetStrokeOpacity( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">double DrawGetStrokeOpacity( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id196"> <h2>Description</h2> <p>DrawGetStrokeOpacity() returns the opacity of stroked object outlines.</p> <p>The format of the DrawGetStrokeOpacity method is:</p> -<pre class="literal-block"> -double DrawGetStrokeOpacity( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">double DrawGetStrokeOpacity( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -2869,22 +2720,20 @@ double DrawGetStrokeOpacity( <a class="reference external" href="../api/types.ht <h1><a class="toc-backref" href="#id324">DrawSetStrokeOpacity</a></h1> <div class="section" id="id197"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSetStrokeOpacity( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double stroke_opacity ); -</pre> +<pre class="literal-block">void DrawSetStrokeOpacity( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double stroke_opacity );</pre> </div> <div class="section" id="id198"> <h2>Description</h2> <p>DrawSetStrokeOpacity() specifies the opacity of stroked object outlines.</p> <p>The format of the DrawSetStrokeOpacity method is:</p> -<pre class="literal-block"> -void DrawSetStrokeOpacity( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double stroke_opacity ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawSetStrokeOpacity( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double stroke_opacity );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>stroke_opacity:</dt> -<dd>stroke opacity. The value 1.0 is opaque.</dd> +<dd><p>stroke opacity. The value 1.0 is opaque.</p> +</dd> </dl> </div> </div> @@ -2892,22 +2741,19 @@ void DrawSetStrokeOpacity( <a class="reference external" href="../api/types.html <h1><a class="toc-backref" href="#id325">DrawGetStrokeWidth</a></h1> <div class="section" id="id199"> <h2>Synopsis</h2> -<pre class="literal-block"> -double DrawGetStrokeWidth( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">double DrawGetStrokeWidth( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id200"> <h2>Description</h2> <p>DrawGetStrokeWidth() returns the width of the stroke used to draw object outlines.</p> <p>The format of the DrawGetStrokeWidth method is:</p> -<pre class="literal-block"> -double DrawGetStrokeWidth( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">double DrawGetStrokeWidth( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -2915,24 +2761,22 @@ double DrawGetStrokeWidth( <a class="reference external" href="../api/types.html <h1><a class="toc-backref" href="#id326">DrawSetStrokeWidth</a></h1> <div class="section" id="id201"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSetStrokeWidth( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double stroke_width ); -</pre> +<pre class="literal-block">void DrawSetStrokeWidth( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double stroke_width );</pre> </div> <div class="section" id="id202"> <h2>Description</h2> <p>DrawSetStrokeWidth() sets the width of the stroke used to draw object outlines.</p> <p>The format of the DrawSetStrokeWidth method is:</p> -<pre class="literal-block"> -void DrawSetStrokeWidth( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double stroke_width ); -</pre> +<pre class="literal-block">void DrawSetStrokeWidth( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double stroke_width );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>stroke_width:</dt> -<dd>stroke width</dd> +<dd><p>stroke width</p> +</dd> </dl> </div> </div> @@ -2940,22 +2784,19 @@ void DrawSetStrokeWidth( <a class="reference external" href="../api/types.html#d <h1><a class="toc-backref" href="#id327">DrawGetTextAntialias</a></h1> <div class="section" id="id203"> <h2>Synopsis</h2> -<pre class="literal-block"> -unsigned int DrawGetTextAntialias( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">unsigned int DrawGetTextAntialias( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id204"> <h2>Description</h2> <p>DrawGetTextAntialias() returns the current text antialias setting, which determines whether text is antialiased. Text is antialiased by default.</p> <p>The format of the DrawGetTextAntialias method is:</p> -<pre class="literal-block"> -unsigned int DrawGetTextAntialias( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">unsigned int DrawGetTextAntialias( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -2963,24 +2804,22 @@ unsigned int DrawGetTextAntialias( <a class="reference external" href="../api/ty <h1><a class="toc-backref" href="#id328">DrawSetTextAntialias</a></h1> <div class="section" id="id205"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSetTextAntialias( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const unsigned int text_antialias ); -</pre> +<pre class="literal-block">void DrawSetTextAntialias( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const unsigned int text_antialias );</pre> </div> <div class="section" id="id206"> <h2>Description</h2> <p>DrawSetTextAntialias() controls whether text is antialiased. Text is antialiased by default.</p> <p>The format of the DrawSetTextAntialias method is:</p> -<pre class="literal-block"> -void DrawSetTextAntialias( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const unsigned int text_antialias ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawSetTextAntialias( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const unsigned int text_antialias );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>text_antialias:</dt> -<dd>antialias boolean. Set to false (0) to disable -antialiasing.</dd> +<dd><p>antialias boolean. Set to false (0) to disable +antialiasing.</p> +</dd> </dl> </div> </div> @@ -2988,22 +2827,19 @@ antialiasing.</dd> <h1><a class="toc-backref" href="#id329">DrawGetTextDecoration</a></h1> <div class="section" id="id207"> <h2>Synopsis</h2> -<pre class="literal-block"> -<a class="reference external" href="../api/types.html#decorationtype">DecorationType</a> DrawGetTextDecoration( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block"><a class="reference external" href="../api/types.html#decorationtype">DecorationType</a> DrawGetTextDecoration( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id208"> <h2>Description</h2> <p>DrawGetTextDecoration() returns the decoration applied when annotating with text.</p> <p>The format of the DrawGetTextDecoration method is:</p> -<pre class="literal-block"> -<a class="reference external" href="../api/types.html#decorationtype">DecorationType</a> DrawGetTextDecoration( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block"><a class="reference external" href="../api/types.html#decorationtype">DecorationType</a> DrawGetTextDecoration( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -3011,24 +2847,22 @@ text.</p> <h1><a class="toc-backref" href="#id330">DrawSetTextDecoration</a></h1> <div class="section" id="id209"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSetTextDecoration( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#decorationtype">DecorationType</a> decoration ); -</pre> +<pre class="literal-block">void DrawSetTextDecoration( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#decorationtype">DecorationType</a> decoration );</pre> </div> <div class="section" id="id210"> <h2>Description</h2> <p>DrawSetTextDecoration() specifies a decoration to be applied when annotating with text.</p> <p>The format of the DrawSetTextDecoration method is:</p> -<pre class="literal-block"> -void DrawSetTextDecoration( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#decorationtype">DecorationType</a> decoration ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawSetTextDecoration( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#decorationtype">DecorationType</a> decoration );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>decoration:</dt> -<dd>text decoration. One of NoDecoration, UnderlineDecoration, -OverlineDecoration, or LineThroughDecoration</dd> +<dd><p>text decoration. One of NoDecoration, UnderlineDecoration, +OverlineDecoration, or LineThroughDecoration</p> +</dd> </dl> </div> </div> @@ -3036,9 +2870,7 @@ OverlineDecoration, or LineThroughDecoration</dd> <h1><a class="toc-backref" href="#id331">DrawGetTextEncoding</a></h1> <div class="section" id="id211"> <h2>Synopsis</h2> -<pre class="literal-block"> -char *DrawGetTextEncoding( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">char *DrawGetTextEncoding( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id212"> <h2>Description</h2> @@ -3046,13 +2878,12 @@ char *DrawGetTextEncoding( <a class="reference external" href="../api/types.html code set used for text annotations. The string must be freed by the user once it is no longer required.</p> <p>The format of the DrawGetTextEncoding method is:</p> -<pre class="literal-block"> -char *DrawGetTextEncoding( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block">char *DrawGetTextEncoding( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -3060,9 +2891,7 @@ char *DrawGetTextEncoding( <a class="reference external" href="../api/types.html <h1><a class="toc-backref" href="#id332">DrawSetTextEncoding</a></h1> <div class="section" id="id213"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSetTextEncoding( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *encoding ); -</pre> +<pre class="literal-block">void DrawSetTextEncoding( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *encoding );</pre> </div> <div class="section" id="id214"> <h2>Description</h2> @@ -3073,15 +2902,15 @@ bytes. Specify an empty string to set text encoding to the system's default. Successful text annotation using Unicode may require fonts designed to support Unicode.</p> <p>The format of the DrawSetTextEncoding method is:</p> -<pre class="literal-block"> -void DrawSetTextEncoding( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *encoding ); -</pre> +<pre class="literal-block">void DrawSetTextEncoding( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *encoding );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>encoding:</dt> -<dd>character string specifying text encoding</dd> +<dd><p>character string specifying text encoding</p> +</dd> </dl> </div> </div> @@ -3089,22 +2918,19 @@ void DrawSetTextEncoding( <a class="reference external" href="../api/types.html# <h1><a class="toc-backref" href="#id333">DrawGetTextUnderColor</a></h1> <div class="section" id="id215"> <h2>Synopsis</h2> -<pre class="literal-block"> -<a class="reference external" href="../api/types.html#pixelpacket">PixelPacket</a> DrawGetTextUnderColor( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block"><a class="reference external" href="../api/types.html#pixelpacket">PixelPacket</a> DrawGetTextUnderColor( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> </div> <div class="section" id="id216"> <h2>Description</h2> <p>DrawGetTextUnderColor() returns the color of a background rectangle to place under text annotations.</p> <p>The format of the DrawGetTextUnderColor method is:</p> -<pre class="literal-block"> -<a class="reference external" href="../api/types.html#pixelpacket">PixelPacket</a> DrawGetTextUnderColor( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context ); -</pre> +<pre class="literal-block"><a class="reference external" href="../api/types.html#pixelpacket">PixelPacket</a> DrawGetTextUnderColor( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context );</pre> <p>A description of each parameter follows:</p> -<dl class="docutils"> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> </dl> </div> </div> @@ -3112,23 +2938,21 @@ to place under text annotations.</p> <h1><a class="toc-backref" href="#id334">DrawSetTextUnderColor</a></h1> <div class="section" id="id217"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSetTextUnderColor( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#pixelpacket">PixelPacket</a> *under_color ); -</pre> +<pre class="literal-block">void DrawSetTextUnderColor( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#pixelpacket">PixelPacket</a> *under_color );</pre> </div> <div class="section" id="id218"> <h2>Description</h2> <p>DrawSetTextUnderColor() specifies the color of a background rectangle to place under text annotations.</p> <p>The format of the DrawSetTextUnderColor method is:</p> -<pre class="literal-block"> -void DrawSetTextUnderColor( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#pixelpacket">PixelPacket</a> *under_color ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawSetTextUnderColor( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const <a class="reference external" href="../api/types.html#pixelpacket">PixelPacket</a> *under_color );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>under_color:</dt> -<dd>text under color</dd> +<dd><p>text under color</p> +</dd> </dl> </div> </div> @@ -3136,23 +2960,21 @@ void DrawSetTextUnderColor( <a class="reference external" href="../api/types.htm <h1><a class="toc-backref" href="#id335">DrawSetTextUnderColorString</a></h1> <div class="section" id="id219"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSetTextUnderColorString( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *under_color ); -</pre> +<pre class="literal-block">void DrawSetTextUnderColorString( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *under_color );</pre> </div> <div class="section" id="id220"> <h2>Description</h2> <p>DrawSetTextUnderColorString() specifies the color of a background rectangle to place under text annotations.</p> <p>The format of the DrawSetTextUnderColorString method is:</p> -<pre class="literal-block"> -void DrawSetTextUnderColorString( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *under_color ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawSetTextUnderColorString( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const char *under_color );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>under_color:</dt> -<dd>text under color</dd> +<dd><p>text under color</p> +</dd> </dl> </div> </div> @@ -3160,9 +2982,7 @@ void DrawSetTextUnderColorString( <a class="reference external" href="../api/typ <h1><a class="toc-backref" href="#id336">DrawTranslate</a></h1> <div class="section" id="id221"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawTranslate( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y ); -</pre> +<pre class="literal-block">void DrawTranslate( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y );</pre> </div> <div class="section" id="id222"> <h2>Description</h2> @@ -3170,16 +2990,17 @@ void DrawTranslate( <a class="reference external" href="../api/types.html#drawco system which moves the coordinate system origin to the specified coordinate.</p> <p>The format of the DrawTranslate method is:</p> -<pre class="literal-block"> -void DrawTranslate( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawTranslate( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, const double x, const double y );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>x:</dt> -<dd>new x ordinate for coordinate system origin</dd> +<dd><p>new x ordinate for coordinate system origin</p> +</dd> <dt>y:</dt> -<dd>new y ordinate for coordinate system origin</dd> +<dd><p>new y ordinate for coordinate system origin</p> +</dd> </dl> </div> </div> @@ -3187,10 +3008,8 @@ void DrawTranslate( <a class="reference external" href="../api/types.html#drawco <h1><a class="toc-backref" href="#id337">DrawSetViewbox</a></h1> <div class="section" id="id223"> <h2>Synopsis</h2> -<pre class="literal-block"> -void DrawSetViewbox( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, unsigned long x1, unsigned long y1, - unsigned long x2, unsigned long y2 ); -</pre> +<pre class="literal-block">void DrawSetViewbox( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, unsigned long x1, unsigned long y1, + unsigned long x2, unsigned long y2 );</pre> </div> <div class="section" id="id224"> <h2>Description</h2> @@ -3200,29 +3019,35 @@ size as the canvas image. When the vector data is saved to SVG or MVG formats, the viewbox is use to specify the size of the canvas image that a viewer will render the vector data on.</p> <p>The format of the DrawSetViewbox method is:</p> -<pre class="literal-block"> -void DrawSetViewbox( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, unsigned long x1, unsigned long y1, - unsigned long x2, unsigned long y2 ); -</pre> -<dl class="docutils"> +<pre class="literal-block">void DrawSetViewbox( <a class="reference external" href="../api/types.html#drawcontext">DrawContext</a> context, unsigned long x1, unsigned long y1, + unsigned long x2, unsigned long y2 );</pre> +<dl class="simple"> <dt>context:</dt> -<dd>drawing context</dd> +<dd><p>drawing context</p> +</dd> <dt>x1:</dt> -<dd>left x ordinate</dd> +<dd><p>left x ordinate</p> +</dd> <dt>y1:</dt> -<dd>top y ordinate</dd> +<dd><p>top y ordinate</p> +</dd> <dt>x2:</dt> -<dd>right x ordinate</dd> +<dd><p>right x ordinate</p> +</dd> <dt>y2:</dt> -<dd>bottom y ordinate</dd> +<dd><p>bottom y ordinate</p> +</dd> </dl> </div> </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> |