Ticket #33161: patch-poppler.defs.diff
File patch-poppler.defs.diff, 2.9 KB (added by m.haller@…, 13 years ago) |
---|
-
poppler.defs
old new 1646 1646 (return-type "GType") 1647 1647 ) 1648 1648 1649 (define-method render_to_pixbuf1650 (of-object "PopplerPage")1651 (c-name "poppler_page_render_to_pixbuf")1652 (return-type "none")1653 (parameters1654 '("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_printing1665 (of-object "PopplerPage")1666 (c-name "poppler_page_render_to_pixbuf_for_printing")1667 (return-type "none")1668 (parameters1669 '("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_pixbuf1680 (of-object "PopplerPage")1681 (c-name "poppler_page_get_thumbnail_pixbuf")1682 (return-type "GdkPixbuf*")1683 )1684 1685 (define-method render_selection_to_pixbuf1686 (of-object "PopplerPage")1687 (c-name "poppler_page_render_selection_to_pixbuf")1688 (return-type "none")1689 (parameters1690 '("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 )1700 1701 1649 (define-method render 1702 1650 (of-object "PopplerPage") 1703 1651 (c-name "poppler_page_render") … … 1752 1700 (return-type "int") 1753 1701 ) 1754 1702 1703 (define-method get_label 1704 (of-object "PopplerPage") 1705 (c-name "poppler_page_get_label") 1706 (return-type "gchar*") 1707 ) 1708 1755 1709 (define-method get_duration 1756 1710 (of-object "PopplerPage") 1757 1711 (c-name "poppler_page_get_duration") … … 1796 1750 (of-object "PopplerPage") 1797 1751 (c-name "poppler_page_get_text") 1798 1752 (return-type "char*") 1753 ) 1754 1755 (define-method get_selected_text 1756 (of-object "PopplerPage") 1757 (c-name "poppler_page_get_selected_text") 1758 (return-type "char*") 1799 1759 (parameters 1800 1760 '("PopplerSelectionStyle" "style") 1801 '("PopplerRectangle*" " rect")1761 '("PopplerRectangle*" "selection") 1802 1762 ) 1803 1763 ) 1804 1764 … … 1886 1846 ) 1887 1847 ) 1888 1848 1849 (define-function poppler_page_add_annot 1850 (of-object "PopplerPage") 1851 (c-name "poppler_page_add_annot") 1852 (return-type "none") 1853 (parameters 1854 '("PopplerAnnot*" "annot") 1855 '("GList*" "list") 1856 ) 1857 ) 1858 1889 1859 (define-method get_crop_box 1890 1860 (of-object "PopplerPage") 1891 1861 (c-name "poppler_page_get_crop_box") … … 1895 1865 ) 1896 1866 ) 1897 1867 1868 (define-method get_text_layout 1869 (of-object "PopplerPage") 1870 (c-name "poppler_page_get_text_layout") 1871 (return-type "gboolean") 1872 (parameters 1873 '("PopplerRectangle**" "rectangles") 1874 '("guint*" "n_rectangles") 1875 ) 1876 ) 1877 1898 1878 (define-function poppler_rectangle_get_type 1899 1879 (c-name "poppler_rectangle_get_type") 1900 1880 (return-type "GType")