Cairo.ImageSurface – cairo Reference Manual
Packages
cairo
Cairo
ImageSurface
ImageSurface
ImageSurface.for_data
ImageSurface.from_png
ImageSurface.from_png_stream
get_data
get_format
get_height
get_stride
get_width
ImageSurface
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
ImageSurface
:
Surface
Namespace:
Cairo
Package:
cairo
Content:
Creation methods:
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)
Methods:
public
unowned
uchar
[]
get_data
()
public
Format
get_format
()
public
int
get_height
()
public
int
get_stride
()
public
int
get_width
()
Inherited Members:
All known members inherited from class Cairo.Surface
copy_page
finish
flush
get_content
get_device
get_device_offset
get_device_scale
get_fallback_resolution
get_font_options
get_reference_count
get_type
get_user_data
has_show_text_glyphs
map_to_image
mark_dirty
mark_dirty_rectangle
set_device_offset
set_device_scale
set_fallback_resolution
set_user_data
show_page
status
supports_mime_type
unmap_image
win32_get_image
write_to_png
write_to_png_stream