1DTK_TEXTURE_GETSIZE(3)        Draw Toolkit manual       DTK_TEXTURE_GETSIZE(3)
2
3
4

NAME

6       dtk_texture_getsize - Return texture size in pixel
7

SYNOPSIS

9       #include <drawtk.h>
10
11       void dtk_texture_getsize(dtk_htex tex, unsigned int *w,
12                                                  unsigned int *h);
13

DESCRIPTION

15       This  function  returns  the size in pixel of the original image of the
16       texture tex into the values pointed by w and h.  If  tex,  w  or  h  is
17       NULL, the function does nothing.
18

RETURN VALUE

20       None
21

SEE ALSO

23       dtk_load_image(3)
24
25
26
27
28EPFL                                 2010               DTK_TEXTURE_GETSIZE(3)
Impressum