Blender  V2.93
Classes | Typedefs
transform_convert_paintcurve.c File Reference
#include "DNA_brush_types.h"
#include "MEM_guardedalloc.h"
#include "BLI_math.h"
#include "BKE_context.h"
#include "BKE_paint.h"
#include "transform.h"
#include "transform_convert.h"

Go to the source code of this file.

Classes

struct  TransDataPaintCurve
 

Typedefs

typedef struct TransDataPaintCurve TransDataPaintCurve
 

Functions

Paint Curve Transform Flush
void flushTransPaintCurve (TransInfo *t)
 

Paint Curve Transform Creation

#define PC_IS_ANY_SEL(pc)   (((pc)->bez.f1 | (pc)->bez.f2 | (pc)->bez.f3) & SELECT)
 
static void PaintCurveConvertHandle (PaintCurvePoint *pcp, int id, TransData2D *td2d, TransDataPaintCurve *tdpc, TransData *td)
 
static void PaintCurvePointToTransData (PaintCurvePoint *pcp, TransData *td, TransData2D *td2d, TransDataPaintCurve *tdpc)
 
void createTransPaintCurveVerts (bContext *C, TransInfo *t)
 

Macro Definition Documentation

◆ PC_IS_ANY_SEL

#define PC_IS_ANY_SEL (   pc)    (((pc)->bez.f1 | (pc)->bez.f2 | (pc)->bez.f3) & SELECT)

Definition at line 45 of file transform_convert_paintcurve.c.

Typedef Documentation

◆ TransDataPaintCurve

Function Documentation

◆ createTransPaintCurveVerts()

void createTransPaintCurveVerts ( bContext C,
TransInfo t 
)

◆ flushTransPaintCurve()

void flushTransPaintCurve ( TransInfo t)

◆ PaintCurveConvertHandle()

static void PaintCurveConvertHandle ( PaintCurvePoint pcp,
int  id,
TransData2D td2d,
TransDataPaintCurve tdpc,
TransData td 
)
static

◆ PaintCurvePointToTransData()

static void PaintCurvePointToTransData ( PaintCurvePoint pcp,
TransData td,
TransData2D td2d,
TransDataPaintCurve tdpc 
)
static