-
public unowned List find_text (string text)
A List of rectangles for each occurance of the
text on the page. The coordinates are in PDF points.
-
public unowned List get_annot_mapping ()
-
public void get_crop_box (out Rectangle rect)
Retrurns the crop box of page
-
public double get_duration ()
Returns the duration of page
-
public unowned List get_form_field_mapping ()
-
public weak Surface get_image (int image_id)
Returns a cairo surface for the image of the page
-
public unowned List get_image_mapping ()
Returns a list of ImageMapping items that map from
a location on page to an image of the page. This list must be freed with
free_image_mapping when done.
-
public int get_index ()
Returns the index of page
-
public unowned List get_link_mapping ()
-
public unowned List get_selection_region (double scale, SelectionStyle style, Rectangle selection)
-
public void get_size (out double width, out double height)
Gets the size of page at the current scale and rotation.
-
public unowned string get_text (SelectionStyle style, Rectangle rect)
Retrieves the text of page.
-
public weak Surface get_thumbnail ()
Get the embedded thumbnail for the specified page. If the document doesn't have an embedded thumbnail
for the page, this function returns null.
-
public weak Pixbuf get_thumbnail_pixbuf ()
-
public bool get_thumbnail_size (int width, int height)
Returns true if page has a thumbnail associated with it. It also fills in
width and height with the width and height of the thumbnail. The values of width and height are not changed
if no appropriate thumbnail exists.
-
public unowned PageTransition get_transition ()
Returns the transition effect of page
-
public void render (Context cairo)
Render the page to the given cairo context. This function is for rendering a page that will be
displayed. If you want to render a page that will be printed use
render_for_printing instead
-
public void render_for_printing (Context cairo)
Render the page to the given cairo context for printing.
-
public void render_selection (Context cairo, Rectangle selection, Rectangle old_selection, SelectionStyle style, Color glyph_color, Color background_color)
Render the selection specified by selection for page to the given cairo
context. The selection will be rendered, using glyph_color for the glyphs and background_color for the
selection background.
-
public void render_selection_to_pixbuf (double scale, int rotation, Pixbuf pixbuf, Rectangle selection, Rectangle old_selection, SelectionStyle style, Color glyph_color, Color background_color)
-
public void render_to_pixbuf (int src_x, int src_y, int src_width, int src_height, double scale, int rotation, Pixbuf pixbuf)
-
public void render_to_pixbuf_for_printing (int src_x, int src_y, int src_width, int src_height, double scale, int rotation, Pixbuf pixbuf)
-
public void render_to_ps (PSFile ps_file)
Render the page on a postscript file