Skip to content

Commit dd079f7

Browse files
authored
Update documents (#6)
rmagick/rmagick#1398
1 parent bfe4b92 commit dd079f7

File tree

7 files changed

+12
-16
lines changed

7 files changed

+12
-16
lines changed

draw.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -652,8 +652,8 @@ <h4>Description</h4>
652652
image. Metrics are derived from either the <a href="#attributes">
653653
annotate attributes</a> or from the <a href="info.html">image
654654
info attributes</a>, but not from any drawing primitive methods.
655-
The <code>get_multiline_type_metrics</code> method is the same as
656-
<code>get_type_metrics</code>, except the former returns the
655+
The <code>get_multiline_type_metrics</code> method is the same as
656+
<code>get_type_metrics</code>, except the former returns the
657657
maximum height and width for multiple lines of text. (Text lines
658658
are separated by "\n" characters.)</p>
659659

@@ -2650,8 +2650,8 @@ <h4>Description</h4>
26502650
"#font_weight">font_weight</a> methods. Specify the text
26512651
attributes with the <a href="#text_align">text_align</a>,
26522652
<a href="#text_anchor">text_anchor</a>, <a href=
2653-
"text_antialias">text_antialias</a>, and <a href=
2654-
"text_undercolor">text_undercolor</a> methods.</p>
2653+
"#text_antialias">text_antialias</a>, and <a href=
2654+
"#text_undercolor">text_undercolor</a> methods.</p>
26552655

26562656
<p>Generally it is a good idea to surround the text string with
26572657
quotes (""), apostrophes (''), or braces ({}). If the text

ilist.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -947,7 +947,7 @@ <h4>Description</h4>
947947

948948
<p>Applies the specified mathematical expression to the input
949949
images. This method corresponds to ImageMagick's <a href=
950-
"http://redux.imagemagick.org/script/fx.php">-fx</a>
950+
"https://imagemagick.org/script/fx.php">-fx</a>
951951
operator.</p>
952952

953953
<h4>Arguments</h4>
@@ -1696,7 +1696,7 @@ <h4>Arguments</h4>
16961696

16971697
<dd>A <a href="constants.html#DitherMethod">DitherMethod</a>
16981698
value. See the documentation for the <a href=
1699-
"http://redux.imagemagick.org/script/command-line-options.php#dither">
1699+
"https://imagemagick.org/script/command-line-options.php#dither">
17001700
ImageMagick -dither option</a> for more information.</dd>
17011701

17021702
<dt>tree_depth</dt>

image2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3578,7 +3578,7 @@ <h4>Arguments</h4>
35783578
number of levels per color channel</span> immediately following
35793579
the <span class="arg">threshold_map</span>, separated by a
35803580
comma. See the documentation for <a href=
3581-
"http://redux.imagemagick.org/script/command-line-options.php#ordered-dither">
3581+
"https://imagemagick.org/script/command-line-options.php#ordered-dither">
35823582
ImageMagick's -ordered-dither option</a> for more
35833583
information.</p>
35843584

imageattrs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1363,7 +1363,7 @@ <h4>Returns</h4>
13631363
<h4>See also</h4>
13641364

13651365
<p><a href="#x_resolution">x_resolution</a>, <a href=
1366-
"y_resolution">y_resolution</a></p>
1366+
"#y_resolution">y_resolution</a></p>
13671367
</div>
13681368

13691369
<div class="sig">

magick.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ <h4>Log configuration</h4>
422422

423423
<p>Magick logging is configured with the log.xml file in
424424
Magick's config directory. See <a href=
425-
"http://redux.imagemagick.org/script/resources.php">Resources</a>
425+
"https://imagemagick.org/script/resources.php">Resources</a>
426426
in the ImageMagick documentation for more information.</p>
427427

428428
<p>Use this command to find out about the current log

optequiv.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ <h3>Introduction</h3>
205205
"draw.html#text_antialias">text_antialias</a>(<code>true</code>)
206206
(for drawing)<br />
207207
Draw#<a href=
208-
"Draw#text_antialias_eq">text_antialias=</a><code>true</code>
208+
"draw.html#text_antialias_eq">text_antialias=</a><code>true</code>
209209
(for annotation)</td>
210210
</tr>
211211

@@ -929,7 +929,7 @@ <h3>Introduction</h3>
929929
<td>-gamma <em>red_gamma,green_gamma,blue_gamma</em></td>
930930

931931
<td>Image#<a href=
932-
"imageattrs.htlm#gamma_correct">gamma_correct</a>(<em>red_gamma</em>[,
932+
"image2.html#gamma_correct">gamma_correct</a>(<em>red_gamma</em>[,
933933
<em>green_gamma</em>[, <em>blue_gamma</em>]])</td>
934934
</tr>
935935

usage.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1586,7 +1586,7 @@ <h5 id="footnotes">Footnotes</h5>
15861586
and view it with a separate image viewer.</p>
15871587

15881588
<p id="rubygems"><span class="sup">2</span>If you installed
1589-
RMagick using <a href="http://docs.rubygems.org/">Rubygems</a>
1589+
RMagick using <a href="https://rubygems.org/">Rubygems</a>
15901590
you must set up the RubyGems environment before using RMagick.
15911591
You can do one of</p>
15921592

@@ -1600,10 +1600,6 @@ <h5 id="footnotes">Footnotes</h5>
16001600
variable</li>
16011601
</ol>
16021602

1603-
<p>See the RubyGems <a href=
1604-
"http://docs.rubygems.org/read/chapter/3#page70">doc</a> for
1605-
more information.</p>
1606-
16071603
<p id="degrees"><span class="sup">3</span>The rotation
16081604
attributes <code>rx</code> and <code>ry</code> in the <a href=
16091605
"struct.html#AffineMatrix"><code>AffineMatrix</code></a> class

0 commit comments

Comments
 (0)