Cairo.PdfSurface – cairo Reference Manual
Packages
cairo
Cairo
PdfSurface
PdfSurface
PdfSurface.for_stream
add_outline
restrict_to_version
set_metadata
set_page_label
set_size
set_thumbnail_size
PdfSurface
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
PdfSurface
:
Surface
Namespace:
Cairo
Package:
cairo
Content:
Creation methods:
public
PdfSurface
(
string
? filename,
double
width_in_points,
double
height_in_points)
public
PdfSurface.for_stream
(
WriteFunc
write_func,
double
width_in_points,
double
height_in_points)
Methods:
public
int
add_outline
(
int
parent_id,
string
utf8,
string
link_attribs,
PdfOutlineFlags
flags)
public
void
restrict_to_version
(
PdfVersion
version)
public
void
set_metadata
(
PdfMetadata
metadata,
string
utf8)
public
void
set_page_label
(
string
utf8)
public
void
set_size
(
double
width_in_points,
double
height_in_points)
public
void
set_thumbnail_size
(
int
width,
int
height)
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