Class: Cairo::UserFontFace::TextToGlyphsData
- Inherits:
-
Object
- Object
- Cairo::UserFontFace::TextToGlyphsData
- Defined in:
- ext/cairo/rb_cairo_font_face.c
Instance Method Summary collapse
- #cluster_flags ⇒ Object
- #cluster_flags= ⇒ Object
- #initialize ⇒ Object constructor
- #need_cluster_flags? ⇒ Boolean
- #need_clusters? ⇒ Boolean
- #need_glyphs? ⇒ Boolean
Constructor Details
#initialize ⇒ Object
745 746 747 748 749 750 751 752 753 754 755 756 757 758 |
# File 'ext/cairo/rb_cairo_font_face.c', line 745
static VALUE
cr_text_to_glyphs_data_initialize (VALUE self,
VALUE need_glyphs, VALUE need_clusters,
VALUE need_cluster_flags)
{
rb_ivar_set (self, cr_id_at_glyphs, Qnil);
rb_ivar_set (self, cr_id_at_clusters, Qnil);
rb_ivar_set (self, cr_id_at_cluster_flags, INT2NUM (0));
rb_ivar_set (self, cr_id_at_need_glyphs, need_glyphs);
rb_ivar_set (self, cr_id_at_need_clusters, need_clusters);
rb_ivar_set (self, cr_id_at_need_cluster_flags, need_cluster_flags);
return Qnil;
}
|
Instance Method Details
#cluster_flags ⇒ Object
760 761 762 763 764 |
# File 'ext/cairo/rb_cairo_font_face.c', line 760
static VALUE
cr_text_to_glyphs_data_get_cluster_flags (VALUE self)
{
return rb_ivar_get (self, cr_id_at_cluster_flags);
}
|
#cluster_flags= ⇒ Object
766 767 768 769 770 771 772 |
# File 'ext/cairo/rb_cairo_font_face.c', line 766
static VALUE
cr_text_to_glyphs_data_set_cluster_flags (VALUE self, VALUE cluster_flags)
{
rb_ivar_set (self, cr_id_at_cluster_flags,
INT2NUM (RVAL2CRTEXTCLUSTERFLAGS (cluster_flags)));
return Qnil;
}
|
#need_cluster_flags? ⇒ Boolean
786 787 788 789 790 |
# File 'ext/cairo/rb_cairo_font_face.c', line 786
static VALUE
cr_text_to_glyphs_data_need_cluster_flags (VALUE self)
{
return rb_ivar_get (self, cr_id_at_need_cluster_flags);
}
|
#need_clusters? ⇒ Boolean
780 781 782 783 784 |
# File 'ext/cairo/rb_cairo_font_face.c', line 780
static VALUE
cr_text_to_glyphs_data_need_clusters (VALUE self)
{
return rb_ivar_get (self, cr_id_at_need_clusters);
}
|
#need_glyphs? ⇒ Boolean
774 775 776 777 778 |
# File 'ext/cairo/rb_cairo_font_face.c', line 774
static VALUE
cr_text_to_glyphs_data_need_glyphs (VALUE self)
{
return rb_ivar_get (self, cr_id_at_need_glyphs);
}
|