| 1 | package Term::Fabulous::Render::Target::Sixel; | ||
| 2 | |||
| 3 | 1 | ▶ | use v5.32; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 1 | ▶ | use feature 'signatures'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 1 | ▶ | no warnings 'experimental::signatures'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 1 | our $VERSION = '0.05'; | |
| 9 | |||
| 10 | 1 | ▶ | use Object::Pad 0.825; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | role Term::Fabulous::Render::Target::Sixel { | ||
| 13 | |||
| 14 | # The pixels of a cell, or nothing when the target cannot show sixel. | ||
| 15 | 1 | method sixel_cell_size; | |
| 16 | |||
| 17 | # The cells of a frame a picture may cover. | ||
| 18 | 1 | method sixel_area; | |
| 19 | |||
| 20 | # The pictures of the frame being painted. | ||
| 21 | 1 | method show_sixels; | |
| 22 | } | ||
| 23 | |||
| 24 | 1 | 1; | |
| 25 | |||
| 26 | __END__ | ||