Blender V5.0
blender::ed::sculpt_paint::image::ops::paint Namespace Reference

Classes

class  AbstractPaintMode
class  ImagePaintMode
class  ProjectionPaintMode
struct  PaintOperation

Functions

static void gradient_draw_line (bContext *, const blender::int2 &xy, const blender::float2 &, void *customdata)
static std::unique_ptr< PaintOperationtexture_paint_init (bContext *C, wmOperator *op, const float mouse[2])
static void paint_stroke_update_step (bContext *C, wmOperator *op, PaintStroke *stroke, PointerRNA *itemptr)
static void paint_stroke_redraw (const bContext *C, PaintStroke *stroke, bool final)
static void paint_stroke_done (const bContext *C, PaintStroke *stroke)
static bool paint_stroke_test_start (bContext *C, wmOperator *op, const float mouse[2])
static wmOperatorStatus paint_invoke (bContext *C, wmOperator *op, const wmEvent *event)
static wmOperatorStatus paint_exec (bContext *C, wmOperator *op)
static wmOperatorStatus paint_modal (bContext *C, wmOperator *op, const wmEvent *event)
static void paint_cancel (bContext *C, wmOperator *op)

Function Documentation

◆ gradient_draw_line()

◆ paint_cancel()

void blender::ed::sculpt_paint::image::ops::paint::paint_cancel ( bContext * C,
wmOperator * op )
static

◆ paint_exec()

◆ paint_invoke()

◆ paint_modal()

wmOperatorStatus blender::ed::sculpt_paint::image::ops::paint::paint_modal ( bContext * C,
wmOperator * op,
const wmEvent * event )
static

◆ paint_stroke_done()

◆ paint_stroke_redraw()

◆ paint_stroke_test_start()

bool blender::ed::sculpt_paint::image::ops::paint::paint_stroke_test_start ( bContext * C,
wmOperator * op,
const float mouse[2] )
static

◆ paint_stroke_update_step()

◆ texture_paint_init()