Class/Module Index [+]

Quicksearch

Magick

$Id: misc.rb,v 1.17 2010/03/21 01:43:01 baror Exp $ Copyright (C) 2009 Timothy P. Hunter


RVG is the main class in this library. All graphic elements must be contained within an RVG object.


Defines paint server classes. Eventually this will include gradients.


Text-related classes


$Id: units.rb,v 1.5 2009/02/28 23:52:28 rmagick Exp $ Copyright (C) 2009 Timothy P. Hunter

Public Class Methods

formats(&block) click to toggle source
# 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
trace_proc=(p) click to toggle source

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.