dtk_texture_getsize(3)

dtk_texture_getsize3

Return texture size in pixel

Usage

#include <drawtk.h>

void dtk_texture_getsize(dtk_htex tex, unsigned int *w,
unsigned int *h);

Overview

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

Releases

Unchanged in 2 releases since Debian 7 (Wheezy).

  1. 7–8

From libdrawtk-dev 2.0-2.1 in Debian 8 (Jessie). Parsed by carta from the page's man source.