git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
implemented fonts in ruby wrapper
[swftools.git]
/
lib
/
ruby
/
test.rb
diff --git
a/lib/ruby/test.rb
b/lib/ruby/test.rb
index
845de3e
..
40cbc5b
100644
(file)
--- a/
lib/ruby/test.rb
+++ b/
lib/ruby/test.rb
@@
-31,6
+31,8
@@
class TestRender < GFX::Device
puts "fillgradient(#{line}, #{gradient}, #{type}, #{gradcoord2devcoord})"
end
def addfont(font)
+ p @lastfont === font
+ @lastfont = font
puts "addfont(#{font})"
end
def drawchar(font, glyph, color, matrix)