Function
CoglBitmapget_size_from_file
Declaration [src]
gboolean
cogl_bitmap_get_size_from_file (
const char* filename,
int* width,
int* height
)
Parameters
filename
-
Type:
const char*
The file to check.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. width
-
Type:
int*
Return location for the bitmap width, or
NULL
.The argument will be set by the function. height
-
Type:
int*
Return location for the bitmap height, or
NULL
.The argument will be set by the function.