Skip to content

Commit 3b47651

Browse files
authored
Update image (#26)
* Update sample code * Update images
1 parent c5f8ca9 commit 3b47651

File tree

291 files changed

+278
-199
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

291 files changed

+278
-199
lines changed

arc.rb.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ <h1>arc.rb</h1>
3232
# Annotate
3333
gc.font_weight(Magick::NormalWeight)
3434
gc.font_style(Magick::NormalStyle)
35-
gc.stroke('transparent')
3635
gc.fill('black')
3736
gc.fill_opacity(1)
37+
gc.stroke('transparent')
3838

3939
# xMagick recognizes the braces as delimiters.
4040
gc.gravity(Magick::NorthWestGravity)

bounding_box.rb.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ <h1>bounding_box.rb</h1>
3939
gc.circle(bb.x + bb.width, bb.y + bb.height, bb.x + bb.width + 2, bb.y + bb.height + 2)
4040

4141
gc.fill('black')
42+
gc.fill_opacity(1)
4243
gc.stroke('transparent')
4344
gc.font_weight(Magick::NormalWeight)
4445
gc.font_style(Magick::NormalStyle)

cbezier1.rb.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ <h1>cbezier1.rb</h1>
4141
gc.font_weight(Magick::NormalWeight)
4242
gc.font_style(Magick::NormalStyle)
4343
gc.fill('black')
44+
gc.fill_opacity(1)
4445
gc.stroke('transparent')
4546
gc.text(27, 120, "'20,120'")
4647
gc.text(27, 20, "'20,20'")

cbezier2.rb.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ <h1>cbezier2.rb</h1>
4141
gc.font_weight(Magick::NormalWeight)
4242
gc.font_style(Magick::NormalStyle)
4343
gc.fill('black')
44+
gc.fill_opacity(1)
4445
gc.stroke('transparent')
4546
gc.text(34, 125, "'25,125'")
4647
gc.text(107, 25, "'100,25'")

cbezier3.rb.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ <h1>cbezier3.rb</h1>
4141
gc.font_weight(Magick::NormalWeight)
4242
gc.font_style(Magick::NormalStyle)
4343
gc.fill('black')
44+
gc.fill_opacity(1)
4445
gc.stroke('transparent')
4546
gc.text(107, 150, "'100,150'")
4647
gc.text(30, 50, "'25,50'")

cbezier4.rb.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ <h1>cbezier4.rb</h1>
4141
gc.font_weight(Magick::NormalWeight)
4242
gc.font_style(Magick::NormalStyle)
4343
gc.fill('black')
44+
gc.fill_opacity(1)
4445
gc.stroke('transparent')
4546
gc.text(29, 180, "'20,180'")
4647
gc.text(29, 33, "'20,30'")

cbezier5.rb.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ <h1>cbezier5.rb</h1>
4141
gc.font_weight(Magick::NormalWeight)
4242
gc.font_style(Magick::NormalStyle)
4343
gc.fill('black')
44+
gc.fill_opacity(1)
4445
gc.stroke('transparent')
4546
gc.text(29, 120, "'20,120'")
4647
gc.text(104, 20, "'95,20'")

cbezier6.rb.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ <h1>cbezier6.rb</h1>
4848
gc.font_weight(Magick::NormalWeight)
4949
gc.font_style(Magick::NormalStyle)
5050
gc.fill('black')
51+
gc.fill_opacity(1)
5152
gc.stroke('transparent')
5253
gc.text(30, 170, "'50,150'")
5354
gc.text(30, 40, "'50,50'")

circle.rb.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ <h1>circle.rb</h1>
3636
gc.font_weight(Magick::NormalWeight)
3737
gc.font_style(Magick::NormalStyle)
3838
gc.fill('black')
39+
gc.fill_opacity(1)
3940
gc.stroke('transparent')
4041
gc.text(132, 125, "'125,125'")
4142
gc.text(32, 125, "'25,125'")

ex/adaptive_threshold.jpg

-8 Bytes

ex/add_noise_GaussianNoise.jpg

-20.3 KB

ex/add_noise_ImpulseNoise.jpg

128 Bytes

ex/add_noise_LaplacianNoise.jpg

-20.5 KB
-16 KB

ex/add_noise_PoissonNoise.jpg

-1.67 KB

ex/add_noise_UniformNoise.jpg

-3 Bytes

ex/affine.gif

480 Bytes

ex/affine_transform.jpg

209 Bytes

ex/arc.gif

106 Bytes

ex/arcpath.gif

-237 Bytes

ex/arcs01.gif

-5 Bytes

ex/arcs02.gif

-118 Bytes

ex/average_after.gif

-2.1 KB

ex/average_before.gif

-169 Bytes

ex/axes.gif

-186 Bytes

ex/baseline_shift01.gif

354 Bytes

ex/bilevel_channel.jpg

-24 Bytes

ex/blur_image.jpg

1 Byte

ex/border.jpg

-26 Bytes

ex/bounding_box.gif

-91 Bytes

ex/cbezier1.gif

342 Bytes

ex/cbezier2.gif

-108 Bytes

ex/cbezier3.gif

257 Bytes

ex/cbezier4.gif

631 Bytes

ex/cbezier5.gif

-223 Bytes

ex/cbezier6.gif

40 Bytes

ex/channel.jpg

2.12 KB

ex/channel_threshold_after.jpg

-110 KB
Binary file not shown.

ex/channel_threshold_before.jpg

-87 KB
Binary file not shown.

ex/charcoal.jpg

-49 Bytes

ex/chop_after.jpg

1.46 KB

ex/chop_before.jpg

-7 Bytes

ex/circle.gif

-262 Bytes

ex/circle01.gif

-99 Bytes

ex/clip_path.gif

-3.72 KB

ex/coalesce.gif

-1.94 KB

ex/coalesce_anim.gif

-24.5 KB

ex/color_fill_to_border_after.gif

-178 Bytes

ex/color_fill_to_border_before.gif

-195 Bytes

ex/color_floodfill_after.gif

-199 Bytes

ex/color_floodfill_before.gif

-195 Bytes

ex/color_histogram.gif

-860 Bytes

ex/color_reset.gif

30 Bytes

ex/colorize.jpg

-14 Bytes

ex/colors.gif

-562 Bytes

ex/colors.miff

55.1 MB
Binary file not shown.

ex/compose_mask.gif

67 Bytes

ex/compose_mask_example.jpg

-68 Bytes

ex/compose_mask_source.gif

30 Bytes

ex/composite.gif

-2.2 KB

ex/composite_layers.gif

-25.8 KB

ex/composite_layers1.gif

-1.2 KB

ex/composite_tiled.jpg

46 Bytes

ex/constitute.jpg

-10.7 KB
Binary file not shown.

ex/contrast.jpg

5.29 KB

ex/crop_after.jpg

-5.44 KB
Binary file not shown.

ex/crop_after.png

-9.93 KB

ex/crop_before.jpg

-9.54 KB
Binary file not shown.

ex/crop_before.png

-100 Bytes

ex/crop_resized.jpg

-2.08 KB
Binary file not shown.

ex/crop_with_gravity.miff

-4.39 MB
Binary file not shown.

ex/crop_with_gravity.png

613 KB

ex/cubic01.gif

412 Bytes

ex/cubic02.gif

-457 Bytes

ex/cycle_colormap.gif

-104 KB

ex/dissolve.jpg

-17 Bytes

ex/drop_shadow.gif

-1.27 KB

ex/edge.jpg

-680 Bytes

ex/ellipse.gif

489 Bytes

ex/ellipse01.gif

650 Bytes

ex/emboss.jpg

22 Bytes

ex/enhance.jpg

22 Bytes

ex/equalize.jpg

167 Bytes

ex/evenodd.gif

372 Bytes

ex/fill_pattern.gif

-2.53 KB

ex/flatten_images.gif

-1.84 KB

ex/flip.jpg

4 Bytes

ex/flop.jpg

-3 Bytes

ex/font_styles.gif

2.57 KB

ex/frame.jpg

-6 Bytes

ex/gaussian_blur.jpg

-8 Bytes

ex/get_multiline_type_metrics.gif

404 Bytes

ex/get_pixels.jpg

-31 Bytes

ex/get_type_metrics.gif

-95 Bytes

ex/gradientfill.gif

-3.03 KB

ex/grav.gif

667 Bytes

ex/group.gif

375 Bytes

ex/hatchfill.gif

185 Bytes

ex/image.gif

-3.67 KB

ex/images/Coffee.png

108 KB

ex/images/Coffee.wmf

-21.7 KB
Binary file not shown.

ex/images/No.png

152 KB

ex/images/No.wmf

-7.1 KB
Binary file not shown.

ex/images/Snake.png

163 KB

ex/images/Snake.wmf

-15.3 KB
Binary file not shown.

ex/images/graydient210x6.gif

-1.39 KB
Binary file not shown.

ex/images/image_with_profile.jpg

27.2 KB

ex/images/logo400x83.gif

100644100755
File mode changed.

ex/images/small.tif

-29.6 KB
Binary file not shown.

ex/implode.gif

-80.1 KB

ex/initial_coords.gif

22 Bytes

ex/level.jpg

-4 Bytes

ex/level_channel.jpg

-10 KB
Binary file not shown.

ex/level_colors.jpg

4 Bytes

ex/line.gif

-99 Bytes

ex/line01.gif

5 Bytes

ex/map_after.jpg

-30.5 KB
Binary file not shown.

ex/map_before.jpg

-26.1 KB
Binary file not shown.

ex/map_f.jpg

-11.1 KB
Binary file not shown.

ex/mask.jpg

-73 Bytes

ex/matte_fill_to_border_after.gif

156 Bytes

ex/matte_fill_to_border_before.gif

-151 Bytes

ex/matte_floodfill_after.gif

266 Bytes

ex/matte_floodfill_before.gif

-117 Bytes

ex/matte_replace_after.gif

-714 Bytes

ex/matte_replace_before.gif

-151 Bytes

ex/median_filter.jpg

-37 Bytes

ex/modulate.jpg

-2 Bytes

ex/mono.jpg

-103 Bytes

ex/morph.gif

-5.26 KB

ex/mosaic.gif

-2.01 KB

ex/motion_blur.jpg

-301 Bytes

ex/negate.jpg

6 Bytes

ex/negate_channel.jpg

0 Bytes

ex/nested_rvg.gif

486 Bytes

ex/new_coord_sys.gif

15 Bytes

ex/nonzero.gif

388 Bytes

ex/normalize.jpg

52 Bytes

ex/oil_paint.jpg

79 Bytes

ex/opacity.gif

-4.55 KB
Binary file not shown.

ex/opacity.png

460 Bytes

ex/opaque.jpg

-10.5 KB
Binary file not shown.

ex/ordered_dither.jpg

25 Bytes

ex/orig_coord_sys.gif

31 Bytes

ex/path.gif

353 Bytes

ex/pattern1.gif

-641 Bytes

ex/pattern2.gif

-5.41 KB

ex/polaroid.jpg

5.87 KB

ex/polygon.gif

380 Bytes

ex/polygon01.gif

353 Bytes

ex/polyline.gif

150 Bytes

ex/polyline01.gif

-98 Bytes

ex/posterize.jpg

-2.39 KB

ex/preserve_aspect_ratio.gif

9 Bytes

ex/preview.jpg

-50.1 KB
Binary file not shown.

ex/preview_AddNoisePreview.jpg

45.2 KB

ex/preview_BlurPreview.jpg

54.4 KB

ex/preview_BrightnessPreview.jpg

55.6 KB

ex/preview_CharcoalDrawingPreview.jpg

51.6 KB

ex/preview_DespecklePreview.jpg

55.2 KB

ex/preview_DullPreview.jpg

54.1 KB

ex/preview_EdgeDetectPreview.jpg

79.9 KB

ex/preview_GammaPreview.jpg

55.1 KB

ex/preview_GrayscalePreview.jpg

44.9 KB

ex/preview_HuePreview.jpg

58.8 KB

ex/preview_ImplodePreview.jpg

58.2 KB

ex/preview_JPEGPreview.jpg

58.9 KB

ex/preview_OilPaintPreview.jpg

58 KB

ex/preview_QuantizePreview.jpg

58.6 KB

ex/preview_RaisePreview.jpg

58.2 KB

ex/preview_ReduceNoisePreview.jpg

56.8 KB

ex/preview_RollPreview.jpg

60.7 KB

ex/preview_RotatePreview.jpg

54.7 KB

ex/preview_SaturationPreview.jpg

59.1 KB

ex/preview_SegmentPreview.jpg

35.1 KB

ex/preview_ShadePreview.jpg

39.5 KB

ex/preview_SharpenPreview.jpg

62.5 KB

ex/preview_ShearPreview.jpg

51 KB

ex/preview_SolarizePreview.jpg

65.5 KB

ex/preview_SpiffPreview.jpg

62.4 KB

ex/preview_SpreadPreview.jpg

55.4 KB

ex/preview_SwirlPreview.jpg

58.7 KB

ex/preview_ThresholdPreview.jpg

58.7 KB

ex/preview_UndefinedPreview.jpg

55.1 KB

ex/preview_WavePreview.jpg

58.3 KB

ex/qbezierpath.gif

295 Bytes

ex/quad01.gif

-55 Bytes

ex/quantize_m_after.jpg

-8.16 KB

ex/quantize_m_before.jpg

-7 Bytes

ex/radial_blur.jpg

-28 Bytes

ex/raise.jpg

-18 Bytes

ex/random_channel_threshold.jpg

-21.6 KB
Binary file not shown.

ex/random_threshold_channel.jpg

4 Bytes

ex/rect01.gif

25 Bytes

ex/rect02.gif

421 Bytes

ex/rectangle.gif

340 Bytes

ex/reduce_noise.jpg

10 Bytes

ex/remap.jpg

-8.36 KB

ex/remap_images.jpg

15.2 KB

ex/resize_to_fill.jpg

-3 Bytes

ex/resize_to_fit.jpg

-2 Bytes

ex/rm_demo_out.miff

-3.63 MB
Binary file not shown.

ex/rm_demo_out.png

3.81 MB

ex/rm_gravity_out.miff

Lines changed: 251 additions & 190 deletions
Large diffs are not rendered by default.

ex/roll.jpg

-4 Bytes

ex/rotate.gif

17 Bytes

ex/rotate_f.jpg

730 Bytes

ex/rotate_scale.gif

388 Bytes

ex/roundrect.gif

-461 Bytes

ex/rubyname.gif

178 Bytes

ex/rvg_clippath.gif

-2.27 KB

ex/rvg_linecap.gif

-120 Bytes

ex/rvg_linejoin.gif

-232 Bytes

ex/rvg_stroke_dasharray.gif

322 Bytes

ex/segment.jpg

4.41 KB

ex/sepiatone.jpg

-60 Bytes

ex/shade.jpg

19 Bytes

ex/shadow_after.gif

-5.71 KB
Binary file not shown.

ex/shadow_after.png

52.2 KB

ex/shadow_before.gif

-2.54 KB
Binary file not shown.

ex/shadow_before.png

2.43 KB

ex/shave.jpg

15 Bytes

ex/shear.jpg

-21 Bytes

ex/sketch.jpg

-4.39 KB

ex/skew.gif

432 Bytes

ex/skewx.gif

-184 Bytes

ex/skewy.gif

360 Bytes

ex/smile.gif

30 Bytes

ex/solarize.jpg

-9 Bytes

ex/solidfill.gif

30 Bytes

ex/sparse_color-0.png

92.1 KB

ex/sparse_color-1.png

50.9 KB

ex/sparse_color.png

-91.9 KB
Binary file not shown.

ex/splice.jpg

-32 Bytes

ex/spread.jpg

-34 Bytes

ex/stroke_dasharray.gif

316 Bytes

ex/stroke_fill.gif

7 Bytes

ex/stroke_linecap.gif

85 Bytes

ex/stroke_linejoin.gif

-128 Bytes

ex/stroke_width.gif

40 Bytes

ex/swirl.gif

-44.4 KB

ex/text.gif

-697 Bytes

ex/text01.gif

-109 Bytes

ex/text_align.gif

672 Bytes

ex/text_antialias.gif

-813 Bytes

ex/text_styles.gif

382 Bytes

ex/text_undercolor.gif

483 Bytes

ex/texture_fill_to_border_after.gif

-2.32 KB

ex/texture_fill_to_border_before.gif

-195 Bytes

ex/texture_floodfill_after.gif

-1.54 KB

ex/texture_floodfill_before.gif

-195 Bytes

ex/texturefill.gif

0 Bytes

ex/threshold.jpg

-191 Bytes

ex/to_blob.gif

-847 Bytes

ex/translate.gif

9 Bytes

ex/transparent_after.gif

-1.42 KB

ex/transparent_before.gif

-373 Bytes

ex/transpose.jpg

4 Bytes

ex/transverse.jpg

5 Bytes

ex/tref01.gif

-256 Bytes

ex/triangle01.gif

39 Bytes

ex/trim_after.jpg

-1 Bytes

ex/trim_before.jpg

9 Bytes

ex/tspan01.gif

624 Bytes

ex/tspan02.gif

559 Bytes

ex/tspan03.gif

204 Bytes

ex/unsharp_mask.jpg

29 Bytes

ex/use01.gif

-8 Bytes

ex/use02.gif

189 Bytes

ex/use03.gif

-65 Bytes

ex/view_box_150x200.gif

-31 Bytes

ex/view_box_300x200.gif

529 Bytes

ex/viewex.gif

30 Bytes

ex/vignette.jpg

5 Bytes

ex/watermark.jpg

107 Bytes

ex/wave.jpg

-15 Bytes

ex/wet_floor.gif

-5.29 KB

ex/writing_mode01.gif

436 Bytes

ex/writing_mode02.gif

441 Bytes

grav.rb.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ <h1>grav.rb</h1>
2828
# Draw text at all 9 compass points.
2929
gc.font_weight(Magick::NormalWeight)
3030
gc.font_style(Magick::NormalStyle)
31-
gc.stroke('transparent')
3231
gc.fill('black')
32+
gc.fill_opacity(1)
33+
gc.stroke('transparent')
3334
gc.gravity(Magick::NorthWestGravity)
3435
gc.text(20, 20, 'NorthWestGravity')
3536
gc.gravity(Magick::NorthGravity)

image3.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ <h4>Example</h4>
587587
<p>This half-size preview demonstrates the SolarizePreview argument.</p>
588588

589589
<p>
590-
<a href="javascript:popup('preview.rb.html')"><img src="ex/preview.jpg" alt="preview example" title="Click to see the example script" /></a>
590+
<a href="javascript:popup('preview.rb.html')"><img src="ex/preview_SolarizePreview.jpg" alt="preview example" title="Click to see the example script" /></a>
591591
</p>
592592

593593
<h4>Magick API</h4>
@@ -2211,15 +2211,15 @@ <h4>Example</h4>
22112211
style="padding: 8px; display: none"
22122212
id="shadowless"
22132213
onmouseout="this.style.display='none';shadowed.style.display='';"
2214-
src="ex/shadow_before.gif"
2214+
src="ex/shadow_before.png"
22152215
alt="shadow example"
22162216
title="Click to see the example script" /><!--
22172217
This img tag displays the shadowed image when the mouse is not over
22182218
--><img
22192219
class="hide"
22202220
id="shadowed"
22212221
onmouseover="this.style.display='none';shadowless.style.display='';"
2222-
src="ex/shadow_after.gif"
2222+
src="ex/shadow_after.png"
22232223
alt="shadow example"
22242224
/></a>
22252225
<img src="ex/images/spin.gif" alt="" style="margin-bottom: 120px" title="Mouse over the example to see the original image" />
@@ -2710,7 +2710,7 @@ <h4>Example</h4>
27102710

27112711
<p>
27122712
<a href="javascript:popup('sparse_color.rb.html')"
2713-
><img src="ex/sparse_color.png" title="Click to see the example script" alt="sparse_color example"
2713+
><img src="ex/sparse_color-0.png" title="Click to see the example script" alt="sparse_color example"
27142714
/></a>
27152715
</p>
27162716

line.rb.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ <h1>line.rb</h1>
4242
gc.font_weight(Magick::NormalWeight)
4343
gc.font_style(Magick::NormalStyle)
4444
gc.fill('black')
45+
gc.fill_opacity(1)
4546
gc.stroke('transparent')
4647
gc.text(30, 40, "'50,50'")
4748
gc.text(30, 220, "'50,200'")

opacity.rb.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ <h1>opacity.rb</h1>
3636

3737
gc.font_weight(Magick::NormalWeight)
3838
gc.font_style(Magick::NormalStyle)
39-
gc.stroke('transparent')
4039
gc.fill('black')
40+
gc.fill_opacity(1)
41+
gc.stroke('transparent')
4142
gc.gravity(Magick::SouthGravity)
4243
gc.text(-90, 15, '"25%"')
4344
gc.text(-30, 15, '"50%"')

path.rb.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,9 @@ <h1>path.rb</h1>
5353
# Add labels
5454
gc.font_weight Magick::NormalWeight
5555
gc.font_style Magick::NormalStyle
56-
gc.stroke 'none' # unset stroke color
5756
gc.fill 'black'
57+
gc.fill_opacity 1
58+
gc.stroke 'none' # unset stroke color
5859

5960
# Add end point labels
6061
gc.text 30, 125, "'20,120'"

posterize.rb.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ <h1>posterize.rb</h1>
1414
require 'rmagick'
1515

1616
img = Magick::Image.read('images/Flower_Hat.jpg').first
17-
result = img.posterize
17+
result = img.posterize(2)
1818
result.write('posterize.jpg')
1919
exit
2020
</pre>

rectangle.rb.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ <h1>rectangle.rb</h1>
3535
gc.font_weight(Magick::NormalWeight)
3636
gc.font_style(Magick::NormalStyle)
3737
gc.fill('black')
38+
gc.fill_opacity(1)
3839
gc.stroke('transparent')
3940
gc.text(30, 35, "'20,20'")
4041
gc.text(230, 175, "'280,180'")

roundrect.rb.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ <h1>roundrect.rb</h1>
3535
gc.font_weight(Magick::NormalWeight)
3636
gc.font_style(Magick::NormalStyle)
3737
gc.fill('black')
38+
gc.fill_opacity(1)
3839
gc.stroke('transparent')
3940
gc.text(30, 35, "'20,20'")
4041
gc.text(230, 175, "'280,180'")

stroke_dasharray.rb.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ <h1>stroke_dasharray.rb</h1>
3535
gc.line(10, 140, 490, 140)
3636

3737
gc.fill('black')
38+
gc.fill_opacity(1)
3839
gc.stroke('transparent')
3940
gc.font_weight(Magick::NormalWeight)
4041
gc.font_style(Magick::NormalStyle)

stroke_linecap.rb.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ <h1>stroke_linecap.rb</h1>
4343

4444
# Annotate
4545
gc.fill('black')
46+
gc.fill_opacity(1)
4647
gc.stroke('transparent')
4748
gc.pointsize(14)
4849
gc.font_weight(Magick::BoldWeight)

stroke_linejoin.rb.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ <h1>stroke_linejoin.rb</h1>
4848

4949
# Annotate
5050
gc.fill('black')
51+
gc.fill_opacity(1)
5152
gc.stroke('transparent')
5253
gc.pointsize(14)
5354
gc.font_weight(Magick::BoldWeight)

stroke_width.rb.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ <h1>stroke_width.rb</h1>
4747
gc.font_weight(Magick::NormalWeight)
4848
gc.font_style(Magick::NormalStyle)
4949
gc.fill('black')
50+
gc.fill_opacity(1)
5051
gc.stroke('transparent')
5152
gc.text(60, 70, "'5'")
5253
gc.text(180, 70, "'10'")

0 commit comments

Comments
 (0)