al_use_transform man page on DragonFly

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

al_use_transform(3)					   al_use_transform(3)

NAME
       al_use_transform - Allegro 5 API

SYNOPSIS
	      #include <allegro5/allegro.h>

	      void al_use_transform(const ALLEGRO_TRANSFORM *trans)

DESCRIPTION
       Sets  the  transformation  to be used for the the drawing operations on
       the target bitmap  (each	 bitmap	 maintains  its	 own  transformation).
       Every  drawing operation after this call will be transformed using this
       transformation.	Call this function with an identity transformation  to
       return to the default behaviour.

       This function does nothing if there is no target bitmap.

       The  parameter  is  passed by reference as an optimization to avoid the
       overhead of stack copying.  The reference will not  be  stored  in  the
       Allegro library so it is safe to pass references to local variables.

	      void setup_my_transformation(void)
	      {
		 ALLEGRO_TRANSFORM transform;
		 al_translate_transform(&transform, 5, 10);
		 al_use_transform(&transform);
	      }

       Parameters:

       ยท trans - Transformation to use

SEE ALSO
       al_get_current_transform(3), al_transform_coordinates(3)

Allegro reference manual				   al_use_transform(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