Class: Cairo::PSSurface
Instance Method Summary
collapse
Methods inherited from Surface
#clone, #content, #copy_page, #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
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
|
# File 'ext/cairo/rb_cairo_surface.c', line 1323
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
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
|
# File 'ext/cairo/rb_cairo_surface.c', line 1312
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
1343
1344
1345
1346
1347
|
# File 'ext/cairo/rb_cairo_surface.c', line 1343
static VALUE
cr_ps_surface_get_eps (VALUE self)
{
return cairo_ps_surface_get_eps (_SELF) ? Qtrue : Qfalse;
}
|
#restrict_to_level ⇒ Object
1335
1336
1337
1338
1339
1340
1341
|
# File 'ext/cairo/rb_cairo_surface.c', line 1335
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
1349
1350
1351
1352
1353
1354
1355
|
# File 'ext/cairo/rb_cairo_surface.c', line 1349
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