+/*
+ * call-seq:
+ * e.get_glow_color => array
+ *
+ * Returns the glow color of <i>e</i>.
+ *
+ * e.set_glow_color(128, 128, 128, 0) #=> nil
+ * e.get_glow_color #=> [128, 128, 128, 0]
+ */
+static VALUE c_get_glow_color (VALUE self)
+{
+ GET_COLOR_METHOD (glow);
+}
+
+/*
+ * call-seq:
+ * e.set_glow_color(r, g, b, a) => nil
+ *
+ * Sets the glow color of <i>e</i>.
+ *
+ * e.set_glow_color(128, 128, 128, 0) #=> nil
+ */
+static VALUE c_set_glow_color (VALUE self,
+ VALUE r, VALUE g, VALUE b, VALUE a)
+{
+ SET_COLOR_METHOD (glow);
+}
+
+/*
+ * call-seq:
+ * e.get_glow2_color => array
+ *
+ * Returns the glow2 color of <i>e</i>.
+ *
+ * e.set_glow2_color(128, 128, 128, 0) #=> nil
+ * e.get_glow2_color #=> [128, 128, 128, 0]
+ */
+static VALUE c_get_glow2_color (VALUE self)
+{
+ GET_COLOR_METHOD (glow2);
+}
+
+/*
+ * call-seq:
+ * e.set_glow2_color(r, g, b, a) => nil
+ *
+ * Sets the glow2 color of <i>e</i>.
+ *
+ * e.set_glow2_color(128, 128, 128, 0) #=> nil
+ */
+static VALUE c_set_glow2_color (VALUE self,
+ VALUE r, VALUE g, VALUE b, VALUE a)
+{
+ SET_COLOR_METHOD (glow2);
+}
+
+/*
+ * call-seq:
+ * e.get_outline_color => array
+ *
+ * Returns the outline color of <i>e</i>.
+ *
+ * e.set_outline_color(128, 128, 128, 0) #=> nil
+ * e.get_outline_color #=> [128, 128, 128, 0]
+ */
+static VALUE c_get_outline_color (VALUE self)
+{
+ GET_COLOR_METHOD (outline);
+}
+
+/*
+ * call-seq:
+ * e.set_outline_color(r, g, b, a) => nil
+ *
+ * Sets the outline color of <i>e</i>.
+ *
+ * e.set_outline_color(128, 128, 128, 0) #=> nil
+ */
+static VALUE c_set_outline_color (VALUE self,
+ VALUE r, VALUE g, VALUE b, VALUE a)
+{
+ SET_COLOR_METHOD (outline);
+}
+
+void Init_Text (void)
+{
+ VALUE c, c2;
+
+ c = rb_define_class_under (mEvas, "Text", cEvasObject);
+
+ rb_define_method (c, "initialize", c_init, 1);
+ rb_define_method (c, "font_source", c_font_source_get, 0);
+ rb_define_method (c, "font_source=", c_font_source_set, 1);
+ rb_define_method (c, "get_font", c_get_font, 0);
+ rb_define_method (c, "set_font", c_set_font, 2);
+ rb_define_method (c, "text", c_text_get, 0);
+ rb_define_method (c, "text=", c_text_set, 1);
+ rb_define_method (c, "style", c_style_get, 0);
+ rb_define_method (c, "style=", c_style_set, 1);
+ rb_define_method (c, "style_pad", c_style_pad_get, 0);
+ rb_define_method (c, "get_shadow_color", c_get_shadow_color, 0);
+ rb_define_method (c, "set_shadow_color", c_set_shadow_color, 4);
+ rb_define_method (c, "get_glow_color", c_get_glow_color, 0);
+ rb_define_method (c, "set_glow_color", c_set_glow_color, 4);
+ rb_define_method (c, "get_glow2_color", c_get_glow2_color, 0);
+ rb_define_method (c, "set_glow2_color", c_set_glow2_color, 4);
+ rb_define_method (c, "get_outline_color", c_get_outline_color, 0);
+ rb_define_method (c, "set_outline_color", c_set_outline_color, 4);
+
+ c2 = rb_define_class_under (mEvas, "Style", c);
+
+ DEF_CONST (c2, EVAS_TEXT_STYLE_, PLAIN);
+ DEF_CONST (c2, EVAS_TEXT_STYLE_, SHADOW);
+ DEF_CONST (c2, EVAS_TEXT_STYLE_, OUTLINE);
+ DEF_CONST (c2, EVAS_TEXT_STYLE_, SOFT_OUTLINE);
+ DEF_CONST (c2, EVAS_TEXT_STYLE_, GLOW);
+ DEF_CONST (c2, EVAS_TEXT_STYLE_, OUTLINE_SHADOW);
+ DEF_CONST (c2, EVAS_TEXT_STYLE_, FAR_SHADOW);
+ DEF_CONST (c2, EVAS_TEXT_STYLE_, OUTLINE_SOFT_SHADOW);
+ DEF_CONST (c2, EVAS_TEXT_STYLE_, SOFT_SHADOW);
+ DEF_CONST (c2, EVAS_TEXT_STYLE_, FAR_SOFT_SHADOW);