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_internal.rb, line 20 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_internal.rb, line 32 def trace_proc=(p) m = Mutex.new m.synchronize do 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 end