Module: Rabbit::Renderer::Pixmap
- Extended by:
- Utils
- Defined in:
- lib/rabbit/renderer/pixmap.rb,
lib/rabbit/renderer/pixmap/gl.rb,
lib/rabbit/renderer/pixmap/gdk.rb,
lib/rabbit/renderer/pixmap/base.rb,
lib/rabbit/renderer/pixmap/cairo.rb
Defined Under Namespace
Modules: Base, GL Classes: Cairo, GDK
Class Method Summary collapse
Methods included from Utils
arg_list, collect_classes_under_module, collect_modules_under_module, collect_under_module, combination, compute_bottom_y, compute_left_x, compute_right_x, compute_top_y, corresponding_class_under_module, corresponding_module_under_module, corresponding_objects, drawable_to_pixbuf, ensure_time, events_pending_available?, extract_four_way, find_path_in_load_path, init_by_constants_as_default_value, move_to, move_to_bottom_left, move_to_bottom_right, move_to_top_left, move_to_top_right, parse_four_way, process_pending_events, process_pending_events_proc, quartz?, require_files_under_directory_in_load_path, require_safe, split_number_to_minute_and_second, stringify_hash_key, support_console_input?, support_console_output?, syntax_highlighting_debug?, time, to_class_name, unescape_title, windows?
Class Method Details
.init ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/rabbit/renderer/pixmap.rb', line 10 def init unless @initialized @initialized = true dir = ::File.join("rabbit", "renderer", "pixmap") require_files_under_directory_in_load_path(dir) end end |
.new(*args, &block) ⇒ Object
18 19 20 21 |
# File 'lib/rabbit/renderer/pixmap.rb', line 18 def new(*args, &block) init corresponding_class_under_module(self).new(*args, &block) end |