ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvtperl.xs
(Generate patch)

Comparing rxvt-unicode/src/rxvtperl.xs (file contents):
Revision 1.166 by root, Tue Jun 5 11:00:40 2012 UTC vs.
Revision 1.169 by sf-exg, Tue Jun 5 15:18:24 2012 UTC

51 51
52///////////////////////////////////////////////////////////////////////////// 52/////////////////////////////////////////////////////////////////////////////
53 53
54typedef char * octet_string; 54typedef char * octet_string;
55typedef char * utf8_string; 55typedef char * utf8_string;
56
57typedef int render_repeat_mode;
56 58
57typedef GdkPixbuf * urxvt__pixbuf; 59typedef GdkPixbuf * urxvt__pixbuf;
58typedef rxvt_img * urxvt__img; 60typedef rxvt_img * urxvt__img;
59 61
60///////////////////////////////////////////////////////////////////////////// 62/////////////////////////////////////////////////////////////////////////////
845 rxvt_fatal ("%s", msg); 847 rxvt_fatal ("%s", msg);
846 848
847void 849void
848_exit (int status) 850_exit (int status)
849 851
852void
853catch_fatal (SV *block)
854 PROTOTYPE: &
855 CODE:
856 try
857 {
858 PUSHMARK (SP);
859 PUTBACK;
860 call_sv (block, G_VOID | G_DISCARD);
861 SPAGAIN;
862 }
863 catch (const rxvt_failure_exception &e)
864 {
865 croak ("rxvt_fatal exception caught, trying to continue.");
866 }
867
850NV 868NV
851NOW () 869NOW ()
852 CODE: 870 CODE:
853 RETVAL = ev::now (); 871 RETVAL = ev::now ();
854 OUTPUT: 872 OUTPUT:
1969 1987
1970rxvt_img * 1988rxvt_img *
1971rxvt_term::new_img (SV *format, int width, int height) 1989rxvt_term::new_img (SV *format, int width, int height)
1972 CODE: 1990 CODE:
1973 XRenderPictFormat *f = SvOK (format) 1991 XRenderPictFormat *f = SvOK (format)
1974 ? XRenderFindVisualFormat (THIS->dpy, THIS->visual)
1975 : XRenderFindStandardFormat (THIS->dpy, SvIV (format)); 1992 ? XRenderFindStandardFormat (THIS->dpy, SvIV (format))
1993 : XRenderFindVisualFormat (THIS->dpy, THIS->visual);
1976 RETVAL = new rxvt_img (THIS, f, width, height); 1994 RETVAL = new rxvt_img (THIS, f, width, height);
1977 OUTPUT: 1995 OUTPUT:
1978 RETVAL 1996 RETVAL
1979 1997
1980#if ENABLE_TRANSPARENCY 1998#if ENABLE_TRANSPARENCY
2110void 2128void
2111rxvt_img::DESTROY () 2129rxvt_img::DESTROY ()
2112 CODE: 2130 CODE:
2113 delete THIS; 2131 delete THIS;
2114 2132
2115void 2133rxvt_img *
2116rxvt_img::blur (int rh, int rv) 2134rxvt_img::blur (int rh, int rv)
2117 2135
2118void 2136void
2119rxvt_img::brightness (NV r, NV g, NV b, NV a = 1.) 2137rxvt_img::brightness (NV r, NV g, NV b, NV a = 1.)
2120 2138
2126 2144
2127rxvt_img * 2145rxvt_img *
2128rxvt_img::clone () 2146rxvt_img::clone ()
2129 2147
2130rxvt_img * 2148rxvt_img *
2131rxvt_img::transform (int new_width, int new_height, int repeat, NV p11, NV p12, NV p13, NV p21, NV p22, NV p23, NV p31, NV p32, NV p33) 2149rxvt_img::sub_rect (int x, int y, int width, int height, render_repeat_mode repeat = RepeatNormal)
2150
2151rxvt_img *
2152rxvt_img::transform (int new_width, int new_height, NV p11, NV p12, NV p13, NV p21, NV p22, NV p23, NV p31, NV p32, NV p33, render_repeat_mode repeat = RepeatNormal)
2132 INIT: 2153 INIT:
2133 double matrix[9] = { 2154 double matrix[9] = {
2134 p11, p12, p13, 2155 p11, p12, p13,
2135 p21, p22, p23, 2156 p21, p22, p23,
2136 p31, p32, p33 2157 p31, p32, p33
2137 }; 2158 };
2138 C_ARGS: new_width, new_height, repeat, matrix 2159 C_ARGS: new_width, new_height, matrix, repeat
2139 2160
2140rxvt_img * 2161rxvt_img *
2141rxvt_img::scale (int new_width, int new_height) 2162rxvt_img::scale (int new_width, int new_height)
2142 2163
2143rxvt_img * 2164rxvt_img *
2144rxvt_img::rotate (int new_width, int new_height, int repeat, int x, int y, NV phi) 2165rxvt_img::rotate (int new_width, int new_height, int x, int y, NV phi, render_repeat_mode repeat = RepeatNormal)
2145 2166
2146#endif 2167#endif
2147 2168

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines