Scroll to navigation

DTK_TEXTURE_GETSIZE(3) Draw Toolkit manual DTK_TEXTURE_GETSIZE(3)

NAME

dtk_texture_getsize - Return texture size in pixel

SYNOPSIS

#include <drawtk.h>
 
void dtk_texture_getsize(dtk_htex tex, unsigned int *w,
 
unsigned int *h);
 

DESCRIPTION

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

RETURN VALUE

None

SEE ALSO

dtk_load_image(3)
 
2010 EPFL