module Magick

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

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

Constants

AffineMatrix
AreaGeometry
AspectGeometry
Chromaticity
Color
Font
GreaterGeometry
LessGeometry
Long_version
MANAGED_MEMORY
MIN_IM_VERSION
MIN_RUBY_VERSION
Magick_features
Magick_version
MinimumGeometry
PercentGeometry
Point
Primary
Rectangle
Segment
TypeMetric
VERSION
Version

Public Class Methods

formats() { |k, v| ... } click to toggle source
# File lib/rmagick_internal.rb, line 30
def formats
  @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_internal.rb, line 42
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