… | |
… | |
51 | |
51 | |
52 | ///////////////////////////////////////////////////////////////////////////// |
52 | ///////////////////////////////////////////////////////////////////////////// |
53 | |
53 | |
54 | typedef char * octet_string; |
54 | typedef char * octet_string; |
55 | typedef char * utf8_string; |
55 | typedef char * utf8_string; |
|
|
56 | |
|
|
57 | typedef int render_repeat_mode; |
56 | |
58 | |
57 | typedef GdkPixbuf * urxvt__pixbuf; |
59 | typedef GdkPixbuf * urxvt__pixbuf; |
58 | typedef rxvt_img * urxvt__img; |
60 | typedef rxvt_img * urxvt__img; |
59 | |
61 | |
60 | ///////////////////////////////////////////////////////////////////////////// |
62 | ///////////////////////////////////////////////////////////////////////////// |
… | |
… | |
845 | rxvt_fatal ("%s", msg); |
847 | rxvt_fatal ("%s", msg); |
846 | |
848 | |
847 | void |
849 | void |
848 | _exit (int status) |
850 | _exit (int status) |
849 | |
851 | |
|
|
852 | void |
|
|
853 | catch_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 | |
850 | NV |
868 | NV |
851 | NOW () |
869 | NOW () |
852 | CODE: |
870 | CODE: |
853 | RETVAL = ev::now (); |
871 | RETVAL = ev::now (); |
854 | OUTPUT: |
872 | OUTPUT: |
… | |
… | |
2126 | |
2144 | |
2127 | rxvt_img * |
2145 | rxvt_img * |
2128 | rxvt_img::clone () |
2146 | rxvt_img::clone () |
2129 | |
2147 | |
2130 | rxvt_img * |
2148 | rxvt_img * |
2131 | rxvt_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) |
2149 | rxvt_img::sub_rect (int x, int y, int width, int height, render_repeat_mode repeat = RepeatNormal) |
|
|
2150 | |
|
|
2151 | rxvt_img * |
|
|
2152 | rxvt_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 | |
2140 | rxvt_img * |
2161 | rxvt_img * |
2141 | rxvt_img::scale (int new_width, int new_height) |
2162 | rxvt_img::scale (int new_width, int new_height) |
2142 | |
2163 | |
2143 | rxvt_img * |
2164 | rxvt_img * |
2144 | rxvt_img::rotate (int new_width, int new_height, int repeat, int x, int y, NV phi) |
2165 | rxvt_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 | |