Graphics-Framebuffer

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN


5.44    September 18, 2015

        Fixed a majorly annoying and long-term clipping bug with blit_write.
        This was causing corruption and over drawing for horizontal gradients.

5.45    September 18, 2015

        Added "convertalpha" parameter to "load_image".  This finds all
        occurances of the background color and gives it the alpha value in the
        global background that is set.  This makes for overlaying via
        "blit_transform" in "merge" mode much easier, and pretty much replaces
        MASK and UNMASK mode for blitting (they will stay for compatibility).
        Note, alpha only works for 32 bit mode.  This parameter does nothing
        in 24 and 16 bit screen modes.

5.46    September 19. 2015

        I left "use threads" in when it was no longer needed.  I had been
        experimenting with using threads internally, but neglected to remove
        those lines when I trashed the idea.

examples/vector.pl  view on Meta::CPAN

=item B<OR_MODE>

Sets the drawing mode to B<or> drawing mode.  Pixels will be ORed with what is already on the screen.

=item B<AND_MODE>

Sets the drawing mode to B<and> drawing mode.  Pixels will be ANDed with what is already on the screen.

=item B<ALPHA_MODE>

Sets the drawing mode to B<alpha> drawing mode.  Pixels will be overlayed on top of what is already on the screen based on the alpha (opacity) value of the FOREGROUND color.

=item B<MASK_MODE>

Sets the drawing mode to B<mask> drawing mode.  Only pixels that are not the BACKGROUND color are drawn to the screen (mostly useful with blitting).

=item B<UNMASK_MODE>

Sets the drawing mode to B<unmask> drawing mode.  Only pixels will be drawn on BACKGROUND colored pixels.

=item B<ADD_MODE>

examples/viewpic.pl  view on Meta::CPAN

=head1 OPTIONS

=over 2

=item B<--nofull>

The image is automatically proportionally scaled to full screen.  This turns that off and shows the image in its original resolution (unless it is too big for the screen).

=item B<--alpha>=1-254

Alpha value to overlay an image on what is already there.  Usually used to just dim the image.  Comes in handy for using with fbterm to make a background image.

=item B<--wait>=seconds

Wait number of seconds before returning (0 = don't wait)

=back

=head1 COPYRIGHT

Copyright (C) 2010 - 2023 Richard Kelsch



( run in 0.376 second using v1.01-cache-2.11-cpan-49f99fa48dc )