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 | f772114078d55faff1692808faf65b504890a12e (patch) | |
| tree | 9f05311074b1cc8eba50853ead507b8a5d982aae /ChangeLog | |
| parent | 8b783d66fed4921a1a62a5c862338ce867b9b2f1 (diff) | |
| download | ruby-f772114078d55faff1692808faf65b504890a12e.tar.gz ruby-f772114078d55faff1692808faf65b504890a12e.tar.xz ruby-f772114078d55faff1692808faf65b504890a12e.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/branches/ruby_1_8@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:39:25 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 12:11:43 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp> * util.c (ruby_strtod): strtod("0", &end); => end should point '\0'. |
