synfig-core
1.0.3
|
Implementation of the "Shape" layer. More...
#include "layer_shape.h"
#include <synfig/string.h>
#include <synfig/time.h>
#include <synfig/context.h>
#include <synfig/paramdesc.h>
#include <synfig/renddesc.h>
#include <synfig/surface.h>
#include <synfig/value.h>
#include <synfig/valuenode.h>
#include <float.h>
#include <synfig/blur.h>
#include <synfig/cairo_renddesc.h>
#include <synfig/curve_helper.h>
#include <vector>
#include <deque>
Macros | |
#define | EPSILON 1e-12 |
#define | GAUSSIAN_ADJUSTMENT (0.05) |
#define | GAUSSIAN_ADJUSTMENT (0.05) |
Typedefs | |
typedef rect< int > | ContextRect |
Functions | |
SYNFIG_LAYER_INIT (Layer_Shape) | |
SYNFIG_LAYER_SET_NAME (Layer_Shape,"shape") | |
SYNFIG_LAYER_SET_LOCAL_NAME (Layer_Shape, N_("Shape")) | |
SYNFIG_LAYER_SET_CATEGORY (Layer_Shape, N_("Internal")) | |
SYNFIG_LAYER_SET_VERSION (Layer_Shape,"0.1") | |
SYNFIG_LAYER_SET_CVS_ID (Layer_Shape,"$Id$") | |
template<class T > | |
bool | IsZero (const T &n) |
static void | Subd_Conic_Stack (Point *arc) |
static void | Subd_Cubic_Stack (Point *arc) |
static bool | clip_conic (const Point *const p, const ContextRect &r) |
static bool | clip_cubic (const Point *const p, const ContextRect &r) |
static Real | max_edges_cubic (const Point *const p) |
static Real | max_edges_conic (const Point *const p) |
Variables | |
const int | MAX_SUBDIVISION_SIZE = 64 |
const int | MIN_SUBDIVISION_DRAW_LEVELS = 4 |
Implementation of the "Shape" layer.
$Id$
#define EPSILON 1e-12 |
Referenced by IsZero().
#define GAUSSIAN_ADJUSTMENT (0.05) |
#define GAUSSIAN_ADJUSTMENT (0.05) |
typedef rect<int> ContextRect |
SYNFIG_LAYER_INIT | ( | Layer_Shape | ) |
SYNFIG_LAYER_SET_NAME | ( | Layer_Shape | , |
"shape" | |||
) |
SYNFIG_LAYER_SET_LOCAL_NAME | ( | Layer_Shape | , |
N_("Shape") | |||
) |
SYNFIG_LAYER_SET_CATEGORY | ( | Layer_Shape | , |
N_("Internal") | |||
) |
SYNFIG_LAYER_SET_VERSION | ( | Layer_Shape | , |
"0.1" | |||
) |
SYNFIG_LAYER_SET_CVS_ID | ( | Layer_Shape | , |
"$Id$" | |||
) |
|
inline |
References EPSILON.
|
static |
|
static |
|
inlinestatic |
|
inlinestatic |
const int MAX_SUBDIVISION_SIZE = 64 |
const int MIN_SUBDIVISION_DRAW_LEVELS = 4 |