diff options
| author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-05-14 09:41:59 +0000 |
|---|---|---|
| committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-05-14 09:41:59 +0000 |
| commit | d9d5c2e0eeed5cf567dfcb261e419b53eb5dccdb (patch) | |
| tree | 832a6321b819a7c9c8178c02de871b777fe2960c /ChangeLog | |
| parent | af578a7700ae2e3bf2abec67248807581e882b21 (diff) | |
| download | ruby-d9d5c2e0eeed5cf567dfcb261e419b53eb5dccdb.tar.gz ruby-d9d5c2e0eeed5cf567dfcb261e419b53eb5dccdb.tar.xz ruby-d9d5c2e0eeed5cf567dfcb261e419b53eb5dccdb.zip | |
* ext/tk/lib/tk/canvas.rb: improve coords support for canvas items.
Now, supports all of the followings.
TkcLine.new(c, 0, 0, 100, 100, :fill=>'red')
TkcLine.new(c, [0, 0, 100, 100], :fill=>'red')
TkcLine.new(c, [0, 0], [100, 100], :fill=>'red')
TkcLine.new(c, [[0, 0], [100, 100]], :fill=>'red')
TkcLine.new(c, :coords=>[0, 0, 100, 100], :fill=>'red')
TkcLine.new(c, :coords=>[[0, 0], [100, 100]], :fill=>'red')
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
| -rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,14 @@ +Fri May 14 18:37:49 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> + + * ext/tk/lib/tk/canvas.rb: improve coords support for canvas + items. Now, supports all of the followings. + TkcLine.new(c, 0, 0, 100, 100, :fill=>'red') + TkcLine.new(c, [0, 0, 100, 100], :fill=>'red') + TkcLine.new(c, [0, 0], [100, 100], :fill=>'red') + TkcLine.new(c, [[0, 0], [100, 100]], :fill=>'red') + TkcLine.new(c, :coords=>[0, 0, 100, 100], :fill=>'red') + TkcLine.new(c, :coords=>[[0, 0], [100, 100]], :fill=>'red') + Fri May 14 13:30:39 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp> * test/ruby/test_float.rb: Add test for util.c revision 1.42. |
