Skip to content

Commit

Permalink
Update documents (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
Watson1978 authored Jun 17, 2024
1 parent d06e1df commit 1fe1c62
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 23 deletions.
5 changes: 0 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,6 @@ <h3><a name="bugs" id="bugs">Reporting bugs</a></h3>
</pre
>

<p>
(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:
<code>ruby -rrmagick -e "puts Magick::Long_version"</code>.)
</p>

<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>

<p>
Expand Down
22 changes: 4 additions & 18 deletions usage.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,8 @@ <h2 id="basics">Basic concepts</h2>
</p>

<p>
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
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
Draw class is explained in the
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>,
and <b>Draw</b>. This section - <em>Basic Concepts</em> - describes the ImageList and Image classes. The Draw class is explained in the
<em><a href="#drawing">Drawing on and adding text to images</a></em>
section, below.
</p>
Expand Down Expand Up @@ -1249,7 +1248,7 @@ <h3 id="drawing">Drawing</h3>
<p>
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
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
><a href="#degrees">3</a></sup
><a href="#degrees">2</a></sup
>
</p>

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

<p id="rubygems">
<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
using RMagick. You can do one of
</p>

<ol>
<li>add the <code>require 'rubygems'</code> statement to your program</li>

<li>use the -rubygems command line option</li>

<li>add <code>rubygems</code> to the RUBYOPT environment variable</li>
</ol>

<p id="degrees">
<span class="sup">3</span>The rotation attributes <code>rx</code> and <code>ry</code> in the
<span class="sup">2</span>The rotation attributes <code>rx</code> and <code>ry</code> in the
<a href="struct.html#AffineMatrix"><code>AffineMatrix</code></a> class use radians instead of degrees.
</p>
</div>
Expand Down

0 comments on commit 1fe1c62

Please sign in to comment.