From 1fe1c62c3c612165416b14fc6dca726982ee431f Mon Sep 17 00:00:00 2001 From: Watson Date: Tue, 18 Jun 2024 08:01:35 +0900 Subject: [PATCH] Update documents (#32) --- index.html | 5 ----- usage.html | 22 ++++------------------ 2 files changed, 4 insertions(+), 23 deletions(-) diff --git a/index.html b/index.html index 2504c54..5d102ed 100644 --- a/index.html +++ b/index.html @@ -347,11 +347,6 @@

Reporting bugs

-

- (Using RubyGems?  If you haven't added rubygems to your RUBYOPT environment variable you may need to use this command instead: - ruby -rrmagick -e "puts Magick::Long_version".) -

-

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!

diff --git a/usage.html b/usage.html index aeb1bc8..37cf673 100644 --- a/usage.html +++ b/usage.html @@ -140,9 +140,8 @@

Basic concepts

- Line 1 requires 2 the rmagick.rb file, which defines the Magick module. The Magick module contains - 3 major classes, ImageList, Image, and Draw. This section - Basic Concepts - describes the ImageList and Image classes. The - Draw class is explained in the + Line 1 requires the rmagick.rb file, which defines the Magick module. The Magick module contains 3 major classes, ImageList, Image, + and Draw. This section - Basic Concepts - describes the ImageList and Image classes. The Draw class is explained in the Drawing on and adding text to images section, below.

@@ -1249,7 +1248,7 @@

Drawing

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° is at 3 o'clock and rotation is clockwise. The units of rotation are usually degrees.32

@@ -1413,21 +1412,8 @@
Footnotes
file and view it with a separate image viewer.

-

- 2If you installed RMagick using Rubygems you must set up the RubyGems environment before - using RMagick. You can do one of -

- -
    -
  1. add the require 'rubygems' statement to your program
  2. - -
  3. use the -rubygems command line option
  4. - -
  5. add rubygems to the RUBYOPT environment variable
  6. -
-

- 3The rotation attributes rx and ry in the + 2The rotation attributes rx and ry in the AffineMatrix class use radians instead of degrees.