… | |
… | |
2155 | PUSHs (sv_2mortal (newSViv (border ? THIS->vt_height : THIS->szHint.height))); |
2155 | PUSHs (sv_2mortal (newSViv (border ? THIS->vt_height : THIS->szHint.height))); |
2156 | |
2156 | |
2157 | #if HAVE_IMG |
2157 | #if HAVE_IMG |
2158 | |
2158 | |
2159 | rxvt_img * |
2159 | rxvt_img * |
2160 | rxvt_term::new_img (SV *format, int x = 0, int y = 0, int width = 1, int height = 1) |
2160 | rxvt_term::new_img (SV *format = &PL_sv_undef, int x = 0, int y = 0, int width = 1, int height = 1) |
2161 | CODE: |
2161 | CODE: |
2162 | XRenderPictFormat *f = SvOK (format) |
2162 | XRenderPictFormat *f = SvOK (format) |
2163 | ? XRenderFindStandardFormat (THIS->dpy, SvIV (format)) |
2163 | ? XRenderFindStandardFormat (THIS->dpy, SvIV (format)) |
2164 | : XRenderFindVisualFormat (THIS->dpy, THIS->visual); |
2164 | : XRenderFindVisualFormat (THIS->dpy, THIS->visual); |
2165 | RETVAL = new rxvt_img (THIS, f, x, y, width, height); |
2165 | RETVAL = new rxvt_img (THIS, f, x, y, width, height); |
… | |
… | |
2345 | void |
2345 | void |
2346 | rxvt_img::brightness (rxvt_img::nv r, rxvt_img::nv g, rxvt_img::nv b, rxvt_img::nv a = 1.) |
2346 | rxvt_img::brightness (rxvt_img::nv r, rxvt_img::nv g, rxvt_img::nv b, rxvt_img::nv a = 1.) |
2347 | |
2347 | |
2348 | void |
2348 | void |
2349 | rxvt_img::contrast (rxvt_img::nv r, rxvt_img::nv g, rxvt_img::nv b, rxvt_img::nv a = 1.) |
2349 | rxvt_img::contrast (rxvt_img::nv r, rxvt_img::nv g, rxvt_img::nv b, rxvt_img::nv a = 1.) |
|
|
2350 | |
|
|
2351 | void |
|
|
2352 | rxvt_img::draw (rxvt_img *img, int op = PictOpOver, rxvt_img::nv mask = 1.); |
2350 | |
2353 | |
2351 | rxvt_img * |
2354 | rxvt_img * |
2352 | rxvt_img::clone () |
2355 | rxvt_img::clone () |
2353 | |
2356 | |
2354 | rxvt_img * |
2357 | rxvt_img * |