Class: XCB::CHARINFO

Inherits:
Object
  • Object
show all
Defined in:
ext/xproto.c

Instance Method Summary collapse

Instance Method Details

#ascentObject



716
717
718
719
720
721
722
# File 'ext/xproto.c', line 716

static VALUE
r_XCB_CHARINFO_get_ascent(VALUE r_self)
{
	xcb_charinfo_t *charinfo;
	Data_Get_Struct(r_self, xcb_charinfo_t, charinfo);
	return INT2FIX(charinfo->ascent);
}

#attributesObject



730
731
732
733
734
735
736
# File 'ext/xproto.c', line 730

static VALUE
r_XCB_CHARINFO_get_attributes(VALUE r_self)
{
	xcb_charinfo_t *charinfo;
	Data_Get_Struct(r_self, xcb_charinfo_t, charinfo);
	return INT2FIX(charinfo->attributes);
}

#character_widthObject



709
710
711
712
713
714
715
# File 'ext/xproto.c', line 709

static VALUE
r_XCB_CHARINFO_get_character_width(VALUE r_self)
{
	xcb_charinfo_t *charinfo;
	Data_Get_Struct(r_self, xcb_charinfo_t, charinfo);
	return INT2FIX(charinfo->character_width);
}

#descentObject



723
724
725
726
727
728
729
# File 'ext/xproto.c', line 723

static VALUE
r_XCB_CHARINFO_get_descent(VALUE r_self)
{
	xcb_charinfo_t *charinfo;
	Data_Get_Struct(r_self, xcb_charinfo_t, charinfo);
	return INT2FIX(charinfo->descent);
}

#left_side_bearingObject



695
696
697
698
699
700
701
# File 'ext/xproto.c', line 695

static VALUE
r_XCB_CHARINFO_get_left_side_bearing(VALUE r_self)
{
	xcb_charinfo_t *charinfo;
	Data_Get_Struct(r_self, xcb_charinfo_t, charinfo);
	return INT2FIX(charinfo->left_side_bearing);
}

#right_side_bearingObject



702
703
704
705
706
707
708
# File 'ext/xproto.c', line 702

static VALUE
r_XCB_CHARINFO_get_right_side_bearing(VALUE r_self)
{
	xcb_charinfo_t *charinfo;
	Data_Get_Struct(r_self, xcb_charinfo_t, charinfo);
	return INT2FIX(charinfo->right_side_bearing);
}