Geoc (geocanvas) Reference Manual | ||||
---|---|---|---|---|
gchar* geoc_utilities_find_file (const gchar *file); gchar* geoc_utilities_format_ddmmss (double value, int level, gboolean is_lon);
gchar* geoc_utilities_find_file (const gchar *file);
Looks first relative to the build directory, then looks in the install
directory. Use g_free()
to free the allocated memory.
|
The filename. |
Returns : |
A string with the appropriate path prepended to the filename. |
gchar* geoc_utilities_format_ddmmss (double value, int level, gboolean is_lon);
Converts the input value into a string representation of latitude or longitude in degree:minute:second:direction format.
|
A double precision longitude or latitude coordinate. |
|
How much precision. A value of 2 requests minutes and seconds. A value of 1 requests minutes. A value of zero requests degrees only. |
|
Set to TRUE to request a longitude value, otherwise assume it is a latitude value. |
Returns : |
A string representation of value. Use g_free() to free the allocated
memory.
|