… | |
… | |
2422 | |
2422 | |
2423 | void |
2423 | void |
2424 | rxvt_img::fill (SV *c, int x = 0, int y = 0, int w = THIS->w, int h = THIS->h) |
2424 | rxvt_img::fill (SV *c, int x = 0, int y = 0, int w = THIS->w, int h = THIS->h) |
2425 | PROTOTYPE: $;$$$$ |
2425 | PROTOTYPE: $;$$$$ |
2426 | INIT: |
2426 | INIT: |
2427 | rgba cc = parse_rgba (c, THIS->s); |
2427 | rxvt_screen screen; |
|
|
2428 | screen.set (THIS->d); |
|
|
2429 | rgba cc = parse_rgba (c, &screen); |
2428 | C_ARGS: cc, x, y, w, h |
2430 | C_ARGS: cc, x, y, w, h |
2429 | |
2431 | |
2430 | void |
2432 | void |
2431 | rxvt_img::DESTROY () |
2433 | rxvt_img::DESTROY () |
2432 | CODE: |
2434 | CODE: |
… | |
… | |
2490 | rxvt_img::rotate (int x, int y, rxvt_img::nv phi) |
2492 | rxvt_img::rotate (int x, int y, rxvt_img::nv phi) |
2491 | |
2493 | |
2492 | rxvt_img * |
2494 | rxvt_img * |
2493 | rxvt_img::tint (SV *c) |
2495 | rxvt_img::tint (SV *c) |
2494 | INIT: |
2496 | INIT: |
2495 | rgba cc = parse_rgba (c, THIS->s); |
2497 | rxvt_screen screen; |
|
|
2498 | screen.set (THIS->d); |
|
|
2499 | rgba cc = parse_rgba (c, &screen); |
2496 | C_ARGS: cc |
2500 | C_ARGS: cc |
2497 | |
2501 | |
2498 | rxvt_img * |
2502 | rxvt_img * |
2499 | rxvt_img::shade (rxvt_img::nv factor) |
2503 | rxvt_img::shade (rxvt_img::nv factor) |
2500 | |
2504 | |