Blender  V3.3
Typedefs | Enumerations | Functions
curve_bevel.c File Reference
#include <string.h>
#include "BLI_alloca.h"
#include "BLI_listbase.h"
#include "BLI_math_base.h"
#include "MEM_guardedalloc.h"
#include "DNA_curve_types.h"
#include "DNA_curveprofile_types.h"
#include "DNA_object_types.h"
#include "BKE_curve.h"
#include "BKE_curveprofile.h"
#include "BKE_displist.h"

Go to the source code of this file.

Typedefs

typedef enum CurveBevelFillType CurveBevelFillType
 

Enumerations

enum  CurveBevelFillType { BACK = 0 , FRONT , HALF , FULL }
 

Functions

static CurveBevelFillType curve_bevel_get_fill_type (const Curve *curve)
 
static void bevel_quarter_fill (const Curve *curve, float *quarter_coords_x, float *quarter_coords_y)
 
static void curve_bevel_make_extrude_and_fill (const Curve *cu, ListBase *disp, const bool use_extrude, const CurveBevelFillType fill_type)
 
static void curve_bevel_make_full_circle (const Curve *cu, ListBase *disp)
 
static void curve_bevel_make_only_extrude (const Curve *cu, ListBase *disp)
 
static void curve_bevel_make_from_object (const Curve *cu, ListBase *disp)
 
ListBase BKE_curve_bevel_make (const Curve *curve)
 

Detailed Description

Handle curve object data bevel options, both extruding

Definition in file curve_bevel.c.

Typedef Documentation

◆ CurveBevelFillType

Enumeration Type Documentation

◆ CurveBevelFillType

Enumerator
BACK 
FRONT 
HALF 
FULL 

Definition at line 26 of file curve_bevel.c.

Function Documentation

◆ bevel_quarter_fill()

static void bevel_quarter_fill ( const Curve curve,
float quarter_coords_x,
float quarter_coords_y 
)
static

◆ BKE_curve_bevel_make()

ListBase BKE_curve_bevel_make ( const Curve curve)

◆ curve_bevel_get_fill_type()

static CurveBevelFillType curve_bevel_get_fill_type ( const Curve curve)
static

Definition at line 33 of file curve_bevel.c.

References BACK, CU_BACK, CU_FRONT, curve, Curve::flag, FRONT, FULL, and HALF.

Referenced by BKE_curve_bevel_make().

◆ curve_bevel_make_extrude_and_fill()

static void curve_bevel_make_extrude_and_fill ( const Curve cu,
ListBase disp,
const bool  use_extrude,
const CurveBevelFillType  fill_type 
)
static

◆ curve_bevel_make_from_object()

static void curve_bevel_make_from_object ( const Curve cu,
ListBase disp 
)
static

◆ curve_bevel_make_full_circle()

static void curve_bevel_make_full_circle ( const Curve cu,
ListBase disp 
)
static

◆ curve_bevel_make_only_extrude()

static void curve_bevel_make_only_extrude ( const Curve cu,
ListBase disp 
)
static