Class: Cairo::ScriptDevice
Instance Method Summary
collapse
Methods inherited from Device
#acquire, #destroy, #finish, #flush, #release
Constructor Details
#initialize ⇒ Object
Instance Method Details
#mode ⇒ Object
322
323
324
325
326
|
# File 'ext/cairo/rb_cairo_device.c', line 322
static VALUE
cr_script_device_get_mode (VALUE self)
{
return INT2NUM (cairo_script_get_mode (_SELF));
}
|
#reply ⇒ Object
328
329
330
331
332
333
334
335
336
337
338
|
# File 'ext/cairo/rb_cairo_device.c', line 328
static VALUE
cr_script_device_reply (VALUE self, VALUE recording_surface)
{
cairo_device_t *device;
device = _SELF;
cairo_script_from_recording_surface (device,
RVAL2CRSURFACE (recording_surface));
cr_device_check_status (device);
return Qnil;
}
|
#set_mode ⇒ Object
311
312
313
314
315
316
317
318
319
320
|
# File 'ext/cairo/rb_cairo_device.c', line 311
static VALUE
cr_script_device_set_mode (VALUE self, VALUE mode)
{
cairo_device_t *device;
device = _SELF;
cairo_script_set_mode (device, RVAL2CRSCRIPTMODE (mode));
cr_device_check_status (device);
return Qnil;
}
|