cairo Reference Manual

Synopsis

public class Surface {
    public                              Surface.similar           ( Surface             other,
                                                                    Content             content,
                                                                    int                 width,
                                                                    int                 height ) ;


    public    void                      finish                    (  ) ;
    public    void                      flush                     (  ) ;
    public    void                      get_font_options          ( FontOptions         options ) ;
    public    Content                   get_content               (  ) ;
    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                      get_device_offset         ( double              x_offset,
                                                                    double              y_offset ) ;
    public    void                      set_fallback_resolution   ( double              x_pixels_per_inch,
                                                                    double              y_pixels_per_inch ) ;
    public    Status                    status                    (  ) ;
    public    SurfaceType               get_type                  (  ) ;
    public    Status                    write_to_png              ( string              filename ) ;
    public    Status                    write_to_png_stream       ( WriteFunc           write_func,
                                                                    void**              closure ) ;
}

Surface Description

Details

Constructor Details

Surface.similar ()
    public                              Surface.similar           ( Surface             other,
                                                                    Content             content,
                                                                    int                 width,
                                                                    int                 height ) ;		

Field Details

Signal Details

Property Details

Method Details

finish ()
    public    void                      finish                    (  ) ;		

flush ()
    public    void                      flush                     (  ) ;		

get_font_options ()
    public    void                      get_font_options          ( FontOptions         options ) ;		

get_content ()
    public    Content                   get_content               (  ) ;		

mark_dirty ()
    public    void                      mark_dirty                (  ) ;		

mark_dirty_rectangle ()
    public    void                      mark_dirty_rectangle      ( int                 x,
                                                                    int                 y,
                                                                    int                 width,
                                                                    int                 height ) ;		

set_device_offset ()
    public    void                      set_device_offset         ( double              x_offset,
                                                                    double              y_offset ) ;		

get_device_offset ()
    public    void                      get_device_offset         ( double              x_offset,
                                                                    double              y_offset ) ;		

set_fallback_resolution ()
    public    void                      set_fallback_resolution   ( double              x_pixels_per_inch,
                                                                    double              y_pixels_per_inch ) ;		

status ()
    public    Status                    status                    (  ) ;		

get_type ()
    public    SurfaceType               get_type                  (  ) ;		

write_to_png ()
    public    Status                    write_to_png              ( string              filename ) ;		

write_to_png_stream ()
    public    Status                    write_to_png_stream       ( WriteFunc           write_func,
                                                                    void**              closure ) ;		


Created by Valadoc