cairo Reference Manual

Synopsis

public class ImageSurface : Surface  {
    public                              ImageSurface              ( Format              format,
                                                                    int                 width,
                                                                    int                 height ) ;
    public                              ImageSurface.for_data     ( uchar[]             data,
                                                                    Format              format,
                                                                    int                 width,
                                                                    int                 height,
                                                                    int                 stride ) ;
    public                              ImageSurface.from_png     ( string              filename ) ;
    public                              ImageSurface.from_png_stream ( ReadFunc            read_func,
                                                                    void**              closure ) ;


    public    uchar[]                   get_data                  (  ) ;
    public    Format                    get_format                (  ) ;
    public    int                       get_width                 (  ) ;
    public    int                       get_height                (  ) ;
    public    int                       get_stride                (  ) ;
}

ImageSurface Description

Details

Constructor Details

ImageSurface ()
    public                              ImageSurface              ( Format              format,
                                                                    int                 width,
                                                                    int                 height ) ;		

ImageSurface.for_data ()
    public                              ImageSurface.for_data     ( uchar[]             data,
                                                                    Format              format,
                                                                    int                 width,
                                                                    int                 height,
                                                                    int                 stride ) ;		

ImageSurface.from_png ()
    public                              ImageSurface.from_png     ( string              filename ) ;		

ImageSurface.from_png_stream ()
    public                              ImageSurface.from_png_stream ( ReadFunc            read_func,
                                                                    void**              closure ) ;		

Field Details

Signal Details

Property Details

Method Details

get_data ()
    public    uchar[]                   get_data                  (  ) ;		

get_format ()
    public    Format                    get_format                (  ) ;		

get_width ()
    public    int                       get_width                 (  ) ;		

get_height ()
    public    int                       get_height                (  ) ;		

get_stride ()
    public    int                       get_stride                (  ) ;		


Created by Valadoc