Packages
cairo
Cairo
Surface
Surface.for_rectangle
Surface.similar
copy_page
finish
flush
get_content
get_device
get_device_offset
get_fallback_resolution
get_font_options
get_reference_count
get_type
has_show_text_glyphs
mark_dirty
mark_dirty_rectangle
set_device_offset
set_fallback_resolution
show_page
status
write_to_png
write_to_png_stream
Stays crunchy ...
... even in milk.
Valadoc
Vala
Tutorial
Vala Journal
API-References
Markup
About
Surface
Object Hierarchy:
Description:
[
Compact
]
public
class
Surface
All known sub-classes:
ImageSurface
PdfSurface
PsSurface
SvgSurface
XlibSurface
Namespace:
Cairo
Package:
cairo
Content:
Creation methods:
public
Surface.similar
(
Surface
other,
Content
content,
int
width,
int
height)
public
Surface.for_rectangle
(
Surface
target,
double
x,
double
y,
double
width,
double
height)
Methods:
public
void
copy_page
()
public
void
finish
()
public
void
flush
()
public
void
get_font_options
(
out
FontOptions
options)
public
Content
get_content
()
public
Device
get_device
()
public
void
get_fallback_resolution
(
out
double
x_pixels_per_inch,
out
double
y_pixels_per_inch)
public
uint
get_reference_count
()
public
bool
has_show_text_glyphs
()
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
(
out
double
x_offset,
out
double
y_offset)
public
void
set_fallback_resolution
(
double
x_pixels_per_inch,
double
y_pixels_per_inch)
public
void
show_page
()
public
Status
status
()
public
SurfaceType
get_type
()
public
Status
write_to_png
(
string
filename)
public
Status
write_to_png_stream
(
WriteFunc
write_func)