DragonFly On-Line Manual Pages
al_get_d3d_texture_position(3) al_get_d3d_texture_position(3)
NAME
al_get_d3d_texture_position - Allegro 5 API
SYNOPSIS
#include <allegro5/allegro_direct3d.h>
void al_get_d3d_texture_position(ALLEGRO_BITMAP *bitmap, int *u, int *v)
DESCRIPTION
Returns the u/v coordinates for the top/left corner of the bitmap
within the used texture, in pixels.
Parameters:
o bitmap - ALLEGRO_BITMAP to examine
o u - Will hold the returned u coordinate
o v - Will hold the returned v coordinate
Allegro reference manual al_get_d3d_texture_position(3)