Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rmagick committed Apr 10, 2005
1 parent d79bc17 commit 45629df
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 30 deletions.
52 changes: 32 additions & 20 deletions doc/rvg.html
Expand Up @@ -4,7 +4,7 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content=
"HTML Tidy for Linux/x86 (vers 1st December 2004), see www.w3.org" />
"HTML Tidy for Linux/x86 (vers 1st March 2005), see www.w3.org" />

<title>RMagick: RVG Reference: RVG Class</title>
<meta http-equiv="Content-Type" content=
Expand Down Expand Up @@ -498,15 +498,22 @@ <h4>Description</h4>
<p>Causes all the drawing objects that have been added to the
canvas to be rendered.</p>

<p>Regardless of the order in which methods were called, <code>draw</code> executes the methods in this order::
<p>Regardless of the order in which methods were called,
<code>draw</code> executes the methods in this order:</p>

<ol>
<li>transforms, in the order they were called.</li>
<li><code>viewbox</code> and <code>preserve_aspect_ratio</code></li>
<li>styles</li>
<li>nested groups, RVG objects, shapes, text, and images, in the order they were added to the containing object</li>
<li>transforms, in the order they were called.</li>

<li><code>viewbox</code> and
<code>preserve_aspect_ratio</code></li>

<li>styles</li>

<li>nested groups, RVG objects, shapes, text, and images, in
the order they were added to the containing object</li>
</ol>
Nested groups and RVG objects also follow this sequence.
</p>

<p>Nested groups and RVG objects also follow this sequence.</p>

<h4>Returns</h4>

Expand All @@ -530,10 +537,10 @@ <h3 id='RVG_g'>g</h3>
<div class="desc">
<h4>Description</h4>

<p>Calls <a href="rvggroup.html#new">RVG::Group.new</a> to construct a group
and adds it to the enclosing RVG object. Yields to a block if
one is present, passing the new group
as an argument.</p>
<p>Calls <a href="rvggroup.html#new">RVG::Group.new</a> to
construct a group and adds it to the enclosing RVG object.
Yields to a block if one is present, passing the new group as
an argument.</p>

<h4>Returns</h4>

Expand All @@ -554,8 +561,8 @@ <h3 id='RVG_image'>image</h3>
<div class="desc">
<h4>Description</h4>

<p>Calls <a href="rvgimage.html#new">RVG::Image.new</a> to construct an image
and adds it to the enclosing RVG object.</p>
<p>Calls <a href="rvgimage.html#new">RVG::Image.new</a> to
construct an image and adds it to the enclosing RVG object.</p>

<h4>Returns</h4>

Expand Down Expand Up @@ -752,10 +759,10 @@ <h3 id='RVG_text'>text</h3>
<div class="desc">
<h4>Description</h4>

<p>Calls <a href="rvgtext.html#new">RVG::Text.new</a> to construct a text object
and adds it to the enclosing RVG object. Yields to a block if
one is present, passing the new text object
as an argument.</p>
<p>Calls <a href="rvgtext.html#new">RVG::Text.new</a> to
construct a text object and adds it to the enclosing RVG
object. Yields to a block if one is present, passing the new
text object as an argument.</p>

<h4>Returns</h4>

Expand All @@ -777,8 +784,9 @@ <h3 id="RVG_use">use</h3>
<div class="desc">
<h4>Description</h4>

<p>Calls <a href="rvguse.html#new">RVG::Use.new</a> to constructs a <code>use</code> object and
adds it to the RVG object.</p>
<p>Calls <a href="rvguse.html#new">RVG::Use.new</a> to
constructs a <code>use</code> object and adds it to the RVG
object.</p>

<p>When the referenced argument is another RVG object,
<span class="arg">width</span> and <span class=
Expand All @@ -789,6 +797,10 @@ <h4>Description</h4>
creating the RVG object or when referencing it with
<code>use</code>.</p>

<h4>Examples</h4>

<p>See <a href="rvguse.html#new">RVG::Use.new</a></p>

<h4>Returns</h4>

<p>The <code>RVG::Use</code> object, so other
Expand Down
5 changes: 4 additions & 1 deletion doc/rvggroup.html
Expand Up @@ -97,7 +97,7 @@ <h4>Description</h4>
and styles defined on the group. Groups can be nested
arbitrarily deep. <code>RVG::Group.new</code> is commonly
invoked within another group or RVG object by calling the
<code>g</code> method, which adds the group to the calling
<code>g</code> method (<a href="rvg.html#RVG_g">RVG#g</a>, <a href="#g">RVG::Group#g</a>) , which nests the group within the target
object.</p>

<p><code>RVG::Group.new</code> yields to a block if one is
Expand Down Expand Up @@ -284,6 +284,9 @@ <h4>Description</h4>
specify the viewport size either when creating the RVG object
or when referencing it with <code>use</code>.</p>

<h4>Example</h4>
<p>See <a href="rvguse.html#new">RVG::Use.new</a></p>

<h4>Returns</h4>

<p>The <code>RVG::Use</code> object, so other
Expand Down
18 changes: 9 additions & 9 deletions doc/rvgtut.html
Expand Up @@ -3,11 +3,11 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<!-- $Id: rvgtut.html,v 1.2 2005/04/01 23:37:15 rmagick Exp $ -->
<!-- $Id: rvgtut.html,v 1.3 2005/04/10 23:54:20 rmagick Exp $ -->

<head>
<meta name="generator" content=
"HTML Tidy for Linux/x86 (vers 1st December 2004), see www.w3.org" />
"HTML Tidy for Linux/x86 (vers 1st March 2005), see www.w3.org" />

<title>RMagick: RVG Tutorial</title>
<meta name="GENERATOR" content="Quanta Plus" />
Expand Down Expand Up @@ -182,12 +182,12 @@ <h2>Lines 4-6</h2>
</div>
</div>

<p>The RVG class is one of the two <em>container</em> classes
defined by RVG. Container objects can contain graphic objects
such as circles and lines, text, raster images, and other
container objects. The outermost container is always an RVG
object. I will add all the graphic objects that form the duck to
this container.</p>
<p>The RVG class is one of the <em>container</em> classes defined
by RVG. Container objects can contain graphic objects such as
circles and lines, text, raster images, and other container
objects. The outermost container is always an RVG object. I will
add all the graphic objects that form the duck to this
container.</p>

<p>Container constructors normally yield to a block. However,
here I've chained <code>viewbox</code> to <code>new</code>, so
Expand Down Expand Up @@ -502,7 +502,7 @@ <h2>Scalable graphics</h2>
<p><img src="ex/images/big-duck.gif" width="360" height="360"
alt="big duck" /></p>

<p class="spacer"> </p>
<p class="spacer">&nbsp;</p>

<div class="nav">
&laquo; <a href="constants.html">Prev</a> | <a href=
Expand Down

0 comments on commit 45629df

Please sign in to comment.