1649 | | (define-method render_to_pixbuf |
1650 | | (of-object "PopplerPage") |
1651 | | (c-name "poppler_page_render_to_pixbuf") |
1652 | | (return-type "none") |
1653 | | (parameters |
1654 | | '("int" "src_x") |
1655 | | '("int" "src_y") |
1656 | | '("int" "src_width") |
1657 | | '("int" "src_height") |
1658 | | '("double" "scale") |
1659 | | '("int" "rotation") |
1660 | | '("GdkPixbuf*" "pixbuf") |
1661 | | ) |
1662 | | ) |
1663 | | |
1664 | | (define-method render_to_pixbuf_for_printing |
1665 | | (of-object "PopplerPage") |
1666 | | (c-name "poppler_page_render_to_pixbuf_for_printing") |
1667 | | (return-type "none") |
1668 | | (parameters |
1669 | | '("int" "src_x") |
1670 | | '("int" "src_y") |
1671 | | '("int" "src_width") |
1672 | | '("int" "src_height") |
1673 | | '("double" "scale") |
1674 | | '("int" "rotation") |
1675 | | '("GdkPixbuf*" "pixbuf") |
1676 | | ) |
1677 | | ) |
1678 | | |
1679 | | (define-method get_thumbnail_pixbuf |
1680 | | (of-object "PopplerPage") |
1681 | | (c-name "poppler_page_get_thumbnail_pixbuf") |
1682 | | (return-type "GdkPixbuf*") |
1683 | | ) |
1684 | | |
1685 | | (define-method render_selection_to_pixbuf |
1686 | | (of-object "PopplerPage") |
1687 | | (c-name "poppler_page_render_selection_to_pixbuf") |
1688 | | (return-type "none") |
1689 | | (parameters |
1690 | | '("gdouble" "scale") |
1691 | | '("int" "rotation") |
1692 | | '("GdkPixbuf*" "pixbuf") |
1693 | | '("PopplerRectangle*" "selection") |
1694 | | '("PopplerRectangle*" "old_selection") |
1695 | | '("PopplerSelectionStyle" "style") |
1696 | | '("GdkColor*" "glyph_color") |
1697 | | '("GdkColor*" "background_color") |
1698 | | ) |
1699 | | ) |