Class: Cairo::PSSurface
Instance Method Summary
collapse
Methods inherited from Surface
#clone, #content, #copy_page, create, #create_similar, #create_similar_image, #destroy, #device, #device_offset, #device_scale, #dup, #fallback_resolution, #finish, #flush, #font_options, #get_mime_data, gl_supported?, gl_texture_supported?, image_supported?, #map_to_image, #mark_dirty, pdf_supported?, ps_supported?, quartz_image_supported?, quartz_supported?, recording_supported?, #reference_count, script_supported?, #set_device_offset, #set_device_scale, #set_fallback_resolution, #set_mime_data, #show_page, #sub_rectangle_surface, supported?, #supported_mime_type?, svg_supported?, tee_supported?, #unmap_image, win32_printing_supported?, win32_supported?, #write_to_png, xml_supported?
Constructor Details
#initialize ⇒ Object
Instance Method Details
#dsc_begin_page_setup ⇒ Object
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
|
# File 'ext/cairo/rb_cairo_surface.c', line 1402
static VALUE
cr_ps_surface_dsc_begin_page_setup (VALUE self)
{
cairo_ps_surface_dsc_begin_page_setup (_SELF);
rb_cairo_surface_check_status (_SELF);
if (rb_block_given_p ())
return rb_yield (self);
else
return Qnil;
}
|
#dsc_begin_setup ⇒ Object
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
|
# File 'ext/cairo/rb_cairo_surface.c', line 1391
static VALUE
cr_ps_surface_dsc_begin_setup (VALUE self)
{
cairo_ps_surface_dsc_begin_setup (_SELF);
rb_cairo_surface_check_status (_SELF);
if (rb_block_given_p ())
return rb_yield (self);
else
return Qnil;
}
|
#eps? ⇒ Boolean
1422
1423
1424
1425
1426
|
# File 'ext/cairo/rb_cairo_surface.c', line 1422
static VALUE
cr_ps_surface_get_eps (VALUE self)
{
return cairo_ps_surface_get_eps (_SELF) ? Qtrue : Qfalse;
}
|
#restrict_to_level ⇒ Object
1414
1415
1416
1417
1418
1419
1420
|
# File 'ext/cairo/rb_cairo_surface.c', line 1414
static VALUE
cr_ps_surface_restrict_to_level (VALUE self, VALUE level)
{
cairo_ps_surface_restrict_to_level (_SELF, RVAL2CRPSLEVEL (level));
rb_cairo_surface_check_status (_SELF);
return Qnil;
}
|
#set_eps ⇒ Object
1428
1429
1430
1431
1432
1433
1434
|
# File 'ext/cairo/rb_cairo_surface.c', line 1428
static VALUE
cr_ps_surface_set_eps (VALUE self, VALUE eps)
{
cairo_ps_surface_set_eps (_SELF, RTEST (eps));
rb_cairo_surface_check_status (_SELF);
return Qnil;
}
|
#set_size ⇒ Object