ext/RMagick/rmmain.c in rmagick-1.9.1 vs ext/RMagick/rmmain.c in rmagick-1.9.2
- old
+ new
@@ -1,6 +1,6 @@
-/* $Id: rmmain.c,v 1.95 2005/09/07 21:51:45 rmagick Exp $ */
+/* $Id: rmmain.c,v 1.97 2005/09/13 23:37:21 rmagick Exp $ */
/*============================================================================\
| Copyright (C) 2005 by Timothy P. Hunter
| Name: rmmain.c
| Author: Tim Hunter
| Purpose: Contains all module, class, method declarations.
@@ -615,13 +615,15 @@
DCL_ATTR_ACCESSOR(Image, rendering_intent)
DCL_ATTR_READER(Image, rows)
DCL_ATTR_READER(Image, scene)
DCL_ATTR_ACCESSOR(Image, start_loop)
DCL_ATTR_ACCESSOR(Image, class_type)
+ DCL_ATTR_ACCESSOR(Image, ticks_per_second)
DCL_ATTR_ACCESSOR(Image, tile_info)
DCL_ATTR_READER(Image, total_colors)
DCL_ATTR_ACCESSOR(Image, units)
+ DCL_ATTR_ACCESSOR(Image, virtual_pixel_method)
DCL_ATTR_ACCESSOR(Image, x_resolution)
DCL_ATTR_ACCESSOR(Image, y_resolution)
rb_define_method(Class_Image, "adaptive_threshold", Image_adaptive_threshold, -1);
rb_define_method(Class_Image, "add_noise", Image_add_noise, 1);
@@ -1459,10 +1461,22 @@
ENUMERATOR(ItalicStyle)
ENUMERATOR(ObliqueStyle)
ENUMERATOR(AnyStyle)
END_ENUM
+ // VirtualPixelMethod
+ DEF_ENUM(VirtualPixelMethod)
+ ENUMERATOR(UndefinedVirtualPixelMethod)
+ ENUMERATOR(EdgeVirtualPixelMethod)
+ ENUMERATOR(MirrorVirtualPixelMethod)
+ ENUMERATOR(TileVirtualPixelMethod)
+#if defined(HAVE_TRANSPARENTVIRTUALPIXELMETHOD)
+ ENUMERATOR(BackgroundVirtualPixelMethod)
+ ENUMERATOR(TransparentVirtualPixelMethod)
+#endif
+ END_ENUM
+
// WeightType constants
DEF_ENUM(WeightType)
ENUMERATOR(AnyWeight)
ENUMERATOR(NormalWeight)
ENUMERATOR(BoldWeight)
@@ -1556,10 +1570,10 @@
mgk_version = GetMagickVersion(NULL);
rb_define_const(Module_Magick, "Magick_version", rb_str_new2(mgk_version));
rb_define_const(Module_Magick, "Version", rb_str_new2(PACKAGE_STRING));
sprintf(long_version,
- "This is %s ($Date: 2005/09/07 21:51:45 $) Copyright (C) 2005 by Timothy P. Hunter\n"
+ "This is %s ($Date: 2005/09/13 23:37:21 $) Copyright (C) 2005 by Timothy P. Hunter\n"
"Built with %s\n"
"Built for %s\n"
"Web page: http://rmagick.rubyforge.org\n"
"Email: rmagick@rubyforge.org\n",
PACKAGE_STRING, mgk_version, RUBY_VERSION_STRING);