#include <stdbool.h>#include <mpfr.h>
Include dependency graph for parse_sft.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| bool | parse_sft (const char *source, int length, mpfr_t cx, mpfr_t cy, mpfr_t cz) |
Parse SuperFractalThing .sft file format. | |
| bool parse_sft | ( | const char * | source, |
| int | length, | ||
| mpfr_t | cx, | ||
| mpfr_t | cy, | ||
| mpfr_t | cz | ||
| ) |
Parse SuperFractalThing .sft file format.
File format example:
r=-0.75 i=0.0 s=1.5
That is, essentially the same content as .mm but with a prefix syntax.
| source | A null-terminated input file already loaded into memory. |
| length | Length of the input file (without the extra null terminator). |
| cx | For output of the real part of the view center. It is already mpfr_init2()'d. |
| cy | For output of the imaginary part of the view center. It is already mpfr_init2()'d. |
| cz | For output of the view radius. It is already mpfr_init2()'d. |
true) or failure (false). Definition at line 15 of file parse_sft.c.
References parse_line(), precision_for_radius(), and radius_is_valid().
Here is the call graph for this function: