Changeset 2009 for libcaca/trunk/ruby/README
- Timestamp:
- Nov 17, 2007, 2:36:15 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/ruby/README
r2008 r2009 5 5 There is no real documentation but "methods" on any object should help you :) 6 6 7 The objects available for noware :7 The objects available are : 8 8 9 9 - Cucul::Canvas (functions that have a cucul_canvas_t* as first argument) … … 13 13 - Cucul::Font (functions that have a cucul_font_t* as first argument) 14 14 * The constructor can currently only accept the name of a builtin font 15 16 The character set conversion functions are not available yet in the binding. 15 17 16 18 I tried to follow Ruby spirit meaning that : … … 69 71 \code 70 72 irb(main):006:0> Cucul::Dither.instance_methods.sort - 71 Cucul::Dither.ancestors[1].instance_methods => ["brightness=", 72 "contrast=", "gamma=", "palette=", "set_brightness", "set_contrast", 73 Cucul::Dither.ancestors[1].instance_methods 74 => ["algorithm=", "algorithm_list", "antialias=", "antialias_list", 75 "brightness=", "charset=", "charset_list", "color=", "color_list", 76 "contrast=", "gamma=", "palette=", "set_algorithm", "set_antialias", 77 "set_brightness", "set_charset", "set_color", "set_contrast", 73 78 "set_gamma", "set_palette"] 74 79 \endcode
Note: See TracChangeset
for help on using the changeset viewer.