Class: Cairo::ScriptDevice
Instance Method Summary
collapse
Methods inherited from Device
#acquire, #destroy, #finish, #flush, #release, script_supported?, supported?, xml_supported?
Constructor Details
#initialize ⇒ Object
Instance Method Details
#mode ⇒ Object
362
363
364
365
366
|
# File 'ext/cairo/rb_cairo_device.c', line 362
static VALUE
cr_script_device_get_mode (VALUE self)
{
return INT2NUM (cairo_script_get_mode (_SELF));
}
|
#reply ⇒ Object
368
369
370
371
372
373
374
375
376
377
378
|
# File 'ext/cairo/rb_cairo_device.c', line 368
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
351
352
353
354
355
356
357
358
359
360
|
# File 'ext/cairo/rb_cairo_device.c', line 351
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;
}
|