module Magick
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
- AlphaChannel
- AreaGeometry
- AspectGeometry
- Chromaticity
- Color
- DefaultChannels
- Font
- GreaterGeometry
- HueChannel
- LessGeometry
- Long_version
- LuminosityChannel
- MANAGED_MEMORY
- MIN_IM_VERSION
- MIN_RUBY_VERSION
- Magick_features
- Magick_version
- MinimumGeometry
- PercentGeometry
- Point
- Primary
- Rectangle
- SaturationChannel
- Segment
- TypeMetric
- VERSION
- Version
Public Class Methods
formats() { |k, v| ... }
click to toggle source
# 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
trace_proc=(p)
click to toggle source
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