GRRLIB_handle.h File Reference

Inline functions for manipulating texture handles. More...

Functions

INLINE void GRRLIB_SetHandle (GRRLIB_texImg *tex, const int x, const int y)
 Set a texture's X and Y handles.
INLINE void GRRLIB_SetMidHandle (GRRLIB_texImg *tex, const bool enabled)
 Center a texture's handles.

Detailed Description

Inline functions for manipulating texture handles.


Function Documentation

INLINE void GRRLIB_SetHandle ( GRRLIB_texImg tex,
const int  x,
const int  y 
)

Set a texture's X and Y handles.

e.g. for rotation.

Parameters:
tex The texture to set the handle on.
x The x-coordinate of the handle.
y The y-coordinate of the handle.
INLINE void GRRLIB_SetMidHandle ( GRRLIB_texImg tex,
const bool  enabled 
)

Center a texture's handles.

e.g. for rotation.

Parameters:
tex The texture to center.
enabled 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Fri Sep 25 14:44:35 2009 for GRRLIB by  doxygen 1.6.1