#include "valuenode_bline.h"
#include "valuenode_const.h"
#include "valuenode_composite.h"
#include "general.h"
#include "exception.h"
#include "blinepoint.h"
#include <vector>
#include <list>
#include <algorithm>
#include <ETL/hermite>
#include <ETL/calculus>
#include "segment.h"
Defines | |
#define | PREV_POINT prev->get_value().get(BLinePoint()) |
#define | FIRST_POINT first->get_value().get(BLinePoint()) |
#define | CURR_POINT curr->get_value().get(BLinePoint()) |
#define | COORD_SYS_RADIAL_TAN_INTERP 1 |
#define | INTERP_FUNCTION radial_interpolation |
Functions | |
float | linear_interpolation (const float &a, const float &b, float c) |
Vector | linear_interpolation (const Vector &a, const Vector &b, float c) |
Vector | radial_interpolation (const Vector &a, const Vector &b, float c) |
void | transform_coords (Vector in, Vector &out, const Point &coord_origin, const Point *coord_sys) |
void | untransform_coords (const Vector &in, Vector &out, const Point &coord_origin, const Point *coord_sys) |
ValueBase | synfig::convert_bline_to_segment_list (const ValueBase &bline) |
Converts a list of bline points into a list of segments. | |
ValueBase | synfig::convert_bline_to_width_list (const ValueBase &bline) |
Converts a list of bline points into a list of widths. |
#define PREV_POINT prev->get_value().get(BLinePoint()) |
#define FIRST_POINT first->get_value().get(BLinePoint()) |
#define CURR_POINT curr->get_value().get(BLinePoint()) |
#define COORD_SYS_RADIAL_TAN_INTERP 1 |
#define INTERP_FUNCTION radial_interpolation |
float linear_interpolation | ( | const float & | a, | |
const float & | b, | |||
float | c | |||
) | [inline] |
void transform_coords | ( | Vector | in, | |
Vector & | out, | |||
const Point & | coord_origin, | |||
const Point * | coord_sys | |||
) | [inline] |
void untransform_coords | ( | const Vector & | in, | |
Vector & | out, | |||
const Point & | coord_origin, | |||
const Point * | coord_sys | |||
) | [inline] |