fli_bmp_dirty_from man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

fli_bmp_dirty_from(3)		Allegro manual		 fli_bmp_dirty_from(3)

NAME
       fli_bmp_dirty_from,  fli_bmp_dirty_to  -	 Indicate  which  parts of the
       image have changed. Allegro game programming library.

SYNOPSIS
       #include <allegro.h>

       extern int fli_bmp_dirty_from;

       extern int fli_bmp_dirty_to;

DESCRIPTION
       These variables are set by next_fli_frame() to indicate which  part  of
       the  fli_bitmap	has  changed  since  the  last call to reset_fli_vari‐
       ables(). If fli_bmp_dirty_from is greater  than	fli_bmp_dirty_to,  the
       bitmap	has   not   changed,  otherwise	 lines	fli_bmp_dirty_from  to
       fli_bmp_dirty_to (inclusive) have altered. You can use these when copy‐
       ing the fli_bitmap onto the screen, to avoid moving data unnecessarily.
       Example:

	  if (fli_bmp_dirty_from <= fli_bmp_dirty_to)
	     blit(fli_bitmap, screen, 0, fli_bmp_dirty_from,
		  0, fli_bmp_dirty_from, fli_bitmap->w,
		  fli_bmp_dirty_to - fli_bmp_dirty_from + 1);

SEE ALSO
       fli_bitmap(3), reset_fli_variables(3)

Allegro				 version 4.4.2		 fli_bmp_dirty_from(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net