Blender  V3.3
Classes | Functions
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 *UNUSED(C), int x, int y, void *customdata)
 
static PaintOperationtexture_paint_init (bContext *C, wmOperator *op, const float mouse[2])
 
static void paint_stroke_update_step (bContext *C, wmOperator *UNUSED(op), struct PaintStroke *stroke, PointerRNA *itemptr)
 
static void paint_stroke_redraw (const bContext *C, struct PaintStroke *stroke, bool final)
 
static void paint_stroke_done (const bContext *C, struct PaintStroke *stroke)
 
static bool paint_stroke_test_start (bContext *C, wmOperator *op, const float mouse[2])
 
static int paint_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
static int paint_exec (bContext *C, wmOperator *op)
 
static int paint_modal (bContext *C, wmOperator *op, const wmEvent *event)
 
static void paint_cancel (bContext *C, wmOperator *op)
 

Function Documentation

◆ gradient_draw_line()

static void blender::ed::sculpt_paint::image::ops::paint::gradient_draw_line ( bContext UNUSEDC,
int  x,
int  y,
void customdata 
)
static

◆ paint_cancel()

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

Definition at line 505 of file paint_image_ops_paint.cc.

References C, wmOperator::customdata, and paint_stroke_cancel().

Referenced by PAINT_OT_image_paint().

◆ paint_exec()

static int blender::ed::sculpt_paint::image::ops::paint::paint_exec ( bContext C,
wmOperator op 
)
static

◆ paint_invoke()

static int blender::ed::sculpt_paint::image::ops::paint::paint_invoke ( bContext C,
wmOperator op,
const wmEvent event 
)
static

◆ paint_modal()

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

Definition at line 500 of file paint_image_ops_paint.cc.

References C, wmOperator::customdata, and paint_stroke_modal().

Referenced by PAINT_OT_image_paint().

◆ paint_stroke_done()

static void blender::ed::sculpt_paint::image::ops::paint::paint_stroke_done ( const bContext C,
struct PaintStroke stroke 
)
static

◆ paint_stroke_redraw()

static void blender::ed::sculpt_paint::image::ops::paint::paint_stroke_redraw ( const bContext C,
struct PaintStroke stroke,
bool  final 
)
static

◆ paint_stroke_test_start()

static 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()

static void blender::ed::sculpt_paint::image::ops::paint::paint_stroke_update_step ( bContext C,
wmOperator UNUSEDop,
struct PaintStroke stroke,
PointerRNA itemptr 
)
static

◆ texture_paint_init()

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