Module | Magick |
In: |
ext/RMagick/rmmain.c
lib/RMagick.rb |
MaxRGB | = | INT2FIX(MaxRGB) |
QuantumDepth | = | INT2FIX(QuantumDepth) |
UndefinedGravity | = | _enum |
AffineMatrix | = | Class_AffineMatrix |
Statistics | = | Class_Statistics |
Primary | = | Class_Primary |
Chromaticity | = | Class_Chromaticity |
Color | = | Class_Color |
Point | = | Class_Point |
Rectangle | = | Class_Rectangle |
Segment | = | Class_Segment |
Font | = | Class_Font |
TypeMetric | = | Class_TypeMetric |
Magick_version | = | rb_str_new2(mgk_version) |
Version | = | rb_str_new2(PACKAGE_STRING) |
Long_version | = | rb_str_new2(long_version) |
PercentGeometry | = | GeometryValue.new(:PercentGeometry, 1) |
AspectGeometry | = | GeometryValue.new(:AspectGeometry, 2) |
LessGeometry | = | GeometryValue.new(:LessGeometry, 3) |
GreaterGeometry | = | GeometryValue.new(:GreaterGeometry, 4) |
AreaGeometry | = | GeometryValue.new(:AreaGeometry, 5) |
Method: Magick::colors [ { |colorinfo| } ] Purpose: If called with the optional block, iterates over the colors,
otherwise returns an array of Magick::Color objects
Notes: There are 3 implementations
Method: Magick::fonts [ { |fontinfo| } ] Purpose: If called with the optional block, iterates over the fonts,
otherwise returns an array of Magick::Font objects
Method Magick.set_cache_threshold(megabytes) Purpose: sets the amount of free memory allocated for the
pixel cache. Once this threshold is exceeded, all subsequent pixels cache operations are to/from disk.
Notes: singleton method
Pre-5.5.1 this method called the SetCacheThreshold function, which is deprecated in 5.5.1.
Method: Magick.set_log_event_mask(event,…) -> Magick Notes: "event" is one of "all", "annotate", "blob", "cache",
"coder", "configure", "deprecate", "locale", "none", "render", "transform", "user", "x11". Multiple events can be specified. Event names may be capitalized.
Method: Magick.set_log_format(format) -> Magick Notes: Format is a string containing one or more of:
%t - current time %r - elapsed time %u - user time %p - pid %m - module (source file name) %f - function name %l - line number %d - event domain (one of the events listed above) %e - event name Plus other characters, including \n, etc.
Method: Magick.set_monitor(&monitor) Purpose: Establish MagickMonitor exit Notes: use nil argument to turn off monitoring