From af6c038b23c056fed1a8f5cbb8827b3a5061e893 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 4 Sep 2012 00:57:31 +0000 Subject: remove trailing spaces. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/tk/lib/tk/image.rb | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'ext/tk/lib') diff --git a/ext/tk/lib/tk/image.rb b/ext/tk/lib/tk/image.rb index 00bb440d6a..d2b0305dcd 100644 --- a/ext/tk/lib/tk/image.rb +++ b/ext/tk/lib/tk/image.rb @@ -130,7 +130,7 @@ end # A photo is an image whose pixels can display any color or be transparent. # At present, only GIF and PPM/PGM formats are supported, but an interface # exists to allow additional image file formats to be added easily. -# +# # This class documentation is a copy from the original Tcl/Tk at # http://www.tcl.tk/man/tcl8.5/TkCmd/photo.htm with some rewrited parts. class TkPhotoImage 'my_image.gif') # # == Options - # Photos support the following options: + # Photos support the following options: # * :data # Specifies the contents of the image as a string. # * :format # Specifies the name of the file format for the data. # * :file - # Gives the name of a file that is to be read to supply data for the image. + # Gives the name of a file that is to be read to supply data for the image. # * :gamma # Specifies that the colors allocated for displaying this image in a window # should be corrected for a non-linear display with the specified gamma @@ -185,7 +185,7 @@ class TkPhotoImageoverlay is set, # the old contents of the destination image are visible, as if the source # image were printed on a piece of transparent film and placed over the # top of the destination. When a compositing rule of set is set, # the old contents of the destination image are discarded and the source - # image is used as-is. The default compositing rule is overlay. + # image is used as-is. The default compositing rule is overlay. def copy(src, *opts) if opts.size == 0 tk_send('copy', src) @@ -314,14 +314,14 @@ class TkPhotoImagestate is true, and makes - # that pixel opaque otherwise. + # that pixel opaque otherwise. def set_transparency(x, y, state) tk_send('transparency', 'set', x, y, state) self -- cgit v1.2.3