Skip to content

Commit 1fe1c62

Browse files
authored
Update documents (#32)
1 parent d06e1df commit 1fe1c62

File tree

2 files changed

+4
-23
lines changed

2 files changed

+4
-23
lines changed

index.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -347,11 +347,6 @@ <h3><a name="bugs" id="bugs">Reporting bugs</a></h3>
347347
</pre
348348
>
349349

350-
<p>
351-
(Using RubyGems?&nbsp;&nbsp;If you haven't added <code>rubygems</code> to your RUBYOPT environment variable you may need to use this command instead:
352-
<code>ruby -rrmagick -e "puts Magick::Long_version"</code>.)
353-
</p>
354-
355350
<p>It will help a lot if you supply a small Ruby program that reproduces the problem. Don't forget to include any input image files!</p>
356351

357352
<p>

usage.html

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,8 @@ <h2 id="basics">Basic concepts</h2>
140140
</p>
141141

142142
<p>
143-
Line 1 requires <span class="sup"><a href="#rubygems">2</a></span> the rmagick.rb file, which defines the <b>Magick</b> module. The Magick module contains
144-
3 major classes, <b>ImageList</b>, <b>Image</b>, and <b>Draw</b>. This section - <em>Basic Concepts</em> - describes the ImageList and Image classes. The
145-
Draw class is explained in the
143+
Line 1 requires the rmagick.rb file, which defines the <b>Magick</b> module. The Magick module contains 3 major classes, <b>ImageList</b>, <b>Image</b>,
144+
and <b>Draw</b>. This section - <em>Basic Concepts</em> - describes the ImageList and Image classes. The Draw class is explained in the
146145
<em><a href="#drawing">Drawing on and adding text to images</a></em>
147146
section, below.
148147
</p>
@@ -1249,7 +1248,7 @@ <h3 id="drawing">Drawing</h3>
12491248
<p>
12501249
Here's an illustration of the default drawing coordinate system. The origin is in the top left corner. The x axis extends to the right. The y axis
12511250
extends downward. The units are pixels. 0&deg; is at 3 o'clock and rotation is clockwise. The units of rotation are usually degrees.<sup
1252-
><a href="#degrees">3</a></sup
1251+
><a href="#degrees">2</a></sup
12531252
>
12541253
</p>
12551254

@@ -1413,21 +1412,8 @@ <h5 id="footnotes">Footnotes</h5>
14131412
file and view it with a separate image viewer.
14141413
</p>
14151414

1416-
<p id="rubygems">
1417-
<span class="sup">2</span>If you installed RMagick using <a href="https://rubygems.org/">Rubygems</a> you must set up the RubyGems environment before
1418-
using RMagick. You can do one of
1419-
</p>
1420-
1421-
<ol>
1422-
<li>add the <code>require 'rubygems'</code> statement to your program</li>
1423-
1424-
<li>use the -rubygems command line option</li>
1425-
1426-
<li>add <code>rubygems</code> to the RUBYOPT environment variable</li>
1427-
</ol>
1428-
14291415
<p id="degrees">
1430-
<span class="sup">3</span>The rotation attributes <code>rx</code> and <code>ry</code> in the
1416+
<span class="sup">2</span>The rotation attributes <code>rx</code> and <code>ry</code> in the
14311417
<a href="struct.html#AffineMatrix"><code>AffineMatrix</code></a> class use radians instead of degrees.
14321418
</p>
14331419
</div>

0 commit comments

Comments
 (0)