Class: XCB::CHARINFO
- Inherits:
-
Object
- Object
- XCB::CHARINFO
- Defined in:
- ext/xproto.c
Instance Method Summary collapse
- #ascent ⇒ Object
- #attributes ⇒ Object
- #character_width ⇒ Object
- #descent ⇒ Object
- #left_side_bearing ⇒ Object
- #right_side_bearing ⇒ Object
Instance Method Details
#ascent ⇒ Object
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);
}
|
#attributes ⇒ Object
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_width ⇒ Object
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);
}
|
#descent ⇒ Object
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_bearing ⇒ Object
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_bearing ⇒ Object
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);
}
|