Function
Gntutil_get_text_bound
Declaration [src]
void
gnt_util_get_text_bound (
const char* text,
int* width,
int* height
)
Parameters
text
-
Type:
const char*
The text to be displayed.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. width
-
Type:
int*
The width required is set here, if not
NULL
.The data is owned by the caller of the function. height
-
Type:
int*
The height required is set here, if not
NULL
.The data is owned by the caller of the function.