#include <assert.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <mpfr.h>
#include "parse.h"
#include "parse_ppar_center.h"
#include "logging.h"
Go to the source code of this file.
Functions | |
bool | parse_ppar_center (const char *source, int length, mpfr_t cx, mpfr_t cy, mpfr_t cz) |
Parse preprocessed FractInt .ppar file format (center variant). |
bool parse_ppar_center | ( | const char * | source, |
int | length, | ||
mpfr_t | cx, | ||
mpfr_t | cy, | ||
mpfr_t | cz | ||
) |
Parse preprocessed FractInt .ppar
file format (center variant).
https://en.wikibooks.org/wiki/Fractals/fractint#fractint_par_files
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 16 of file parse_ppar_center.c.
References debug_message, parse_line(), parse_separator(), precision_for_radius(), and radius_is_valid().