Defines paint server classes. Eventually this will include gradients.
RVG is the main class in this library. All graphic elements must be contained within an RVG object.
Text-related classes
$Id: units.rb,v 1.5 2009/02/28 23:52:28 rmagick Exp $ Copyright (C) 2009 Timothy P. Hunter
# File lib/RMagick.rb, line 19 def formats(&block) @formats ||= init_formats() if block_given? @formats.each { |k,v| yield k, v } self else @formats end end
remove reference to the proc at exit
# File lib/RMagick.rb, line 30 def trace_proc=(p) if @trace_proc.nil? && !p.nil? && !@exit_block_set_up at_exit { @trace_proc = nil } @exit_block_set_up = true end @trace_proc = p end