EvDocumentMisc: Lector Document Library Reference Manual

## EvDocumentMisc EvDocumentMisc |

## Functions

GdkPixbuf * | ev_document_misc_get_thumbnail_frame ()
cairo_surface_t * | ev_document_misc_surface_from_pixbuf ()
GdkPixbuf * | ev_document_misc_pixbuf_from_surface ()
cairo_surface_t * | ev_document_misc_surface_rotate_and_scale ()
void | ev_document_misc_invert_surface ()
void | ev_document_misc_invert_pixbuf ()

## Description

## Functions

### ev_document_misc_get_thumbnail_frame ()

    GdkPixbuf *
    ev_document_misc_get_thumbnail_frame (int width,
                                          int height,
                                          GdkPixbuf *source_pixbuf);

#### Parameters

width | the desired width |
height | the desired height |
source_pixbuf | a GdkPixbuf |

#### Returns

a GdkPixbuf.

[transfer full]

### ev_document_misc_surface_from_pixbuf ()

    cairo_surface_t *
    ev_document_misc_surface_from_pixbuf (GdkPixbuf *pixbuf);

### ev_document_misc_pixbuf_from_surface ()

    GdkPixbuf *
    ev_document_misc_pixbuf_from_surface (cairo_surface_t *surface);

#### Parameters

surface | a cairo_surface_t |

#### Returns

a GdkPixbuf.

[transfer full]

### ev_document_misc_surface_rotate_and_scale ()

    cairo_surface_t *
    ev_document_misc_surface_rotate_and_scale
                                   (cairo_surface_t *surface,
                                    gint dest_width,
                                    gint dest_height,
                                    gint dest_rotation);

### ev_document_misc_invert_surface ()

    void
    ev_document_misc_invert_surface (cairo_surface_t *surface);

### ev_document_misc_invert_pixbuf ()

    void
    ev_document_misc_invert_pixbuf (GdkPixbuf *pixbuf);