[cairo-commit] rcairo/src/lib/cairo constants.rb,1.1,1.2
Kouhei Sutou
commit at pdx.freedesktop.org
Sun May 20 02:25:48 PDT 2007
Committed by: kou
Update of /cvs/cairo/rcairo/src/lib/cairo
In directory kemper:/tmp/cvs-serv27800/src/lib/cairo
Modified Files:
constants.rb
Log Message:
* src/rb_cairo_font_face.c, src/lib/cairo/constants.rb: followed
up the previous commit.
Index: constants.rb
===================================================================
RCS file: /cvs/cairo/rcairo/src/lib/cairo/constants.rb,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- constants.rb 20 May 2007 02:45:41 -0000 1.1
+++ constants.rb 20 May 2007 09:25:37 -0000 1.2
@@ -8,8 +8,8 @@
end
%w(operator antialias fill_rule line_cap line_join font_slant
- font_weight subpixel_order hint_style hint_metrics font_type
- content surface_type format pattern_type extend filter).each do |name|
+ font_weight subpixel_order hint_style hint_metrics content
+ format extend filter).each do |name|
module_name = name.split(/_/).collect {|component| component.capitalize}.join
define_constants.call(const_get(module_name), name.upcase)
end
More information about the cairo-commit
mailing list