layer_shape.cpp File Reference

Template Header. More...

#include "layer_shape.h"
#include "string.h"
#include "time.h"
#include "context.h"
#include "paramdesc.h"
#include "renddesc.h"
#include "surface.h"
#include "value.h"
#include "valuenode.h"
#include "float.h"
#include "blur.h"
#include "curve_helper.h"
#include <vector>
#include <deque>

Defines

#define EPSILON   1e-12
#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, _("Shape"))
 SYNFIG_LAYER_SET_CATEGORY (Layer_Shape, _("Internal"))
 SYNFIG_LAYER_SET_VERSION (Layer_Shape,"0.1")
 SYNFIG_LAYER_SET_CVS_ID (Layer_Shape,"$Id: layer_shape.cpp 848 2007-10-06 02:25:36Z dooglus $")
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


Detailed Description

Template Header.

Id
layer_shape.cpp 848 2007-10-06 02:25:36Z dooglus

Define Documentation

#define EPSILON   1e-12

#define GAUSSIAN_ADJUSTMENT   (0.05)


Typedef Documentation

typedef rect<int> ContextRect


Function Documentation

SYNFIG_LAYER_INIT ( Layer_Shape   ) 

SYNFIG_LAYER_SET_NAME ( Layer_Shape  ,
"shape"   
)

SYNFIG_LAYER_SET_LOCAL_NAME ( Layer_Shape  ,
_("Shape")   
)

SYNFIG_LAYER_SET_CATEGORY ( Layer_Shape  ,
_("Internal")   
)

SYNFIG_LAYER_SET_VERSION ( Layer_Shape  ,
"0.1"   
)

SYNFIG_LAYER_SET_CVS_ID ( Layer_Shape  ,
"$Id: layer_shape.cpp 848 2007-10-06 02:25:36Z dooglus $"   
)

template<class T>
bool IsZero ( const T &  n  )  [inline]

static void Subd_Conic_Stack ( Point arc  )  [static]

static void Subd_Cubic_Stack ( Point arc  )  [static]

static bool clip_conic ( const Point *const   p,
const ContextRect r 
) [inline, static]

static bool clip_cubic ( const Point *const   p,
const ContextRect r 
) [inline, static]

static Real max_edges_cubic ( const Point *const   p  )  [inline, static]

static Real max_edges_conic ( const Point *const   p  )  [inline, static]


Variable Documentation

const int MAX_SUBDIVISION_SIZE = 64

const int MIN_SUBDIVISION_DRAW_LEVELS = 4


Generated on Wed Dec 12 03:11:41 2007 for synfig by  doxygen 1.5.4