Class: XCB::TIMECOORD
- Inherits:
-
Object
- Object
- XCB::TIMECOORD
- Defined in:
- ext/xproto.c
Instance Method Summary collapse
Instance Method Details
#time ⇒ Object
660 661 662 663 664 665 666 |
# File 'ext/xproto.c', line 660
static VALUE
r_XCB_TIMECOORD_get_time(VALUE r_self)
{
xcb_timecoord_t *timecoord;
Data_Get_Struct(r_self, xcb_timecoord_t, timecoord);
return INT2FIX(timecoord->time);
}
|
#x ⇒ Object
667 668 669 670 671 672 673 |
# File 'ext/xproto.c', line 667
static VALUE
r_XCB_TIMECOORD_get_x(VALUE r_self)
{
xcb_timecoord_t *timecoord;
Data_Get_Struct(r_self, xcb_timecoord_t, timecoord);
return INT2FIX(timecoord->x);
}
|
#y ⇒ Object
674 675 676 677 678 679 680 |
# File 'ext/xproto.c', line 674
static VALUE
r_XCB_TIMECOORD_get_y(VALUE r_self)
{
xcb_timecoord_t *timecoord;
Data_Get_Struct(r_self, xcb_timecoord_t, timecoord);
return INT2FIX(timecoord->y);
}
|