dtk_texture_getsize man page

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)

Info

2010 EPFL Draw Toolkit manual