Graphics-Framebuffer

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

       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.

       Also "use Config" was removed as well.  It was used previously in "new"

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.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.

examples/vector.pl  view on Meta::CPAN

=head2 COMMANDS

=over 4

=item B<ADD_MODE>

Sets the drawing mode to B<add> drawing mode.  Pixels will be ADDed 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<AND_MODE>

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

=item B<ANGLE_LINE> x, y, radius, angle

Draws a line, in the FOREGROUND color, starting at point x,y with the length of radius at the given compass angle.

=item B<ARC> x, y, radius, start degrees, end degrees [, granularity]

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-255

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.605 second using v1.01-cache-2.11-cpan-39bf76dae61 )