1DTK_TEXTURE_GETSIZE(3) Draw Toolkit manual DTK_TEXTURE_GETSIZE(3)
23
4
NAME
6dtk_texture_getsize - Return texture size in pixel
7
SYNOPSIS
9#include <drawtk.h>
1011
void dtk_texture_getsize(dtk_htex tex, unsigned int *w,
12unsigned int *h);
13
DESCRIPTION
15This function returns the size in pixel of the original image of the
16texture tex into the values pointed by w and h. If tex, w or h is
17NULL, the function does nothing.
18
RETURN VALUE
20None
21
SEE ALSO
23dtk_load_image(3)
2425
26
27
28
EPFL 2010 DTK_TEXTURE_GETSIZE(3)