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
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
|
# File 'ext/cairo/rb_cairo_surface.c', line 1357
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
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
|
# File 'ext/cairo/rb_cairo_surface.c', line 1346
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
1377
1378
1379
1380
1381
|
# File 'ext/cairo/rb_cairo_surface.c', line 1377
static VALUE
cr_ps_surface_get_eps (VALUE self)
{
return cairo_ps_surface_get_eps (_SELF) ? Qtrue : Qfalse;
}
|
#restrict_to_level ⇒ Object
1369
1370
1371
1372
1373
1374
1375
|
# File 'ext/cairo/rb_cairo_surface.c', line 1369
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
1383
1384
1385
1386
1387
1388
1389
|
# File 'ext/cairo/rb_cairo_surface.c', line 1383
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