Surface
Object Hierarchy:
Description:
[ CCode ( cname = "cairo_surface_t" , ref_function = "cairo_surface_reference" , type_id = "cairo_gobject_surface_get_type ()" , unref_function = "cairo_surface_destroy" ) ]
[ Compact ]
public class Surface
Content:
Creation methods:
- public Surface.for_rectangle (Surface target, double x, double y, double width, double height)
- public Surface.similar (Surface other, Content content, int width, int height)
- public Surface.similar_image (Surface other, Format format, int width, int height)
Methods:
- public void copy_page ()
- public void finish ()
- public void flush ()
- public Content get_content ()
- public Device get_device ()
- public void get_device_offset (out double x_offset, out double y_offset)
- public void get_device_scale (out double x_scale, out double y_scale)
- public void get_fallback_resolution (out double x_pixels_per_inch, out double y_pixels_per_inch)
- public void get_font_options (out FontOptions options)
- public uint get_reference_count ()
- public SurfaceType get_type ()
- public unowned G get_user_data<G> (UserDataKey? key)
- public bool has_show_text_glyphs ()
- public Surface map_to_image (RectangleInt extents)
- public void mark_dirty ()
- public void mark_dirty_rectangle (int x, int y, int width, int height)
- public void set_device_offset (double x_offset, double y_offset)
- public void set_device_scale (double x_scale, double y_scale)
- public void set_fallback_resolution (double x_pixels_per_inch, double y_pixels_per_inch)
- public Status set_user_data<G> (UserDataKey? key, owned G data)
- public void show_page ()
- public Status status ()
- public bool supports_mime_type (string mime_type)
- public void unmap_image (Surface image)
- public Surface? win32_get_image ()
- public Status write_to_png (string filename)
- public Status write_to_png_stream (WriteFunc write_func)