Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
al_draw_bitmap(3)					     al_draw_bitmap(3)

NAME
       al_draw_bitmap -	Allegro	5 API

SYNOPSIS
	      #include <allegro5/allegro.h>

	      void al_draw_bitmap(ALLEGRO_BITMAP *bitmap, float	dx, float dy, int flags)

DESCRIPTION
       Draws  an  unscaled, unrotated bitmap at	the given position to the cur-
       rent target bitmap (see al_set_target_bitmap(3)).

       flags can be a combination of:

       o ALLEGRO_FLIP_HORIZONTAL - flip	the bitmap about the y-axis

       o ALLEGRO_FLIP_VERTICAL - flip the bitmap about the x-axis

	 Note: The current target bitmap must be a different bitmap.   Drawing
	 a  bitmap  to	itself	(or  to	 a  sub-bitmap of itself) or drawing a
	 sub-bitmap to its parent (or another sub-bitmap of  its  parent)  are
	 not currently supported.  To copy part	of a bitmap into the same bit-
	 map simply use	a temporary bitmap instead.

	 Note: The backbuffer (or a sub-bitmap	thereof)  can  not  be	trans-
	 formed,  blended  or tinted.  If you need to draw the backbuffer draw
	 it to a temporary bitmap first	with no	active transformation  (except
	 translation).	 Blending  and tinting settings/parameters will	be ig-
	 nored.	 This does not apply when drawing into a memory	bitmap.

SEE ALSO
       al_draw_bitmap_region(3),     al_draw_scaled_bitmap(3),	   al_draw_ro-
       tated_bitmap(3),	al_draw_scaled_rotated_bitmap(3)

Allegro	reference manual				     al_draw_bitmap(3)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=al_draw_bitmap&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help