|
Blender V5.0
|
Inherited by blender::ed::sculpt_paint::image::ops::paint::ImagePaintMode, and blender::ed::sculpt_paint::image::ops::paint::ProjectionPaintMode.
Public Member Functions | |
| virtual | ~AbstractPaintMode ()=default |
| virtual void * | paint_new_stroke (bContext *C, wmOperator *op, Object *ob, const float mouse[2], int mode)=0 |
| virtual void | paint_stroke (bContext *C, void *stroke_handle, float prev_mouse[2], float mouse[2], int eraser, float pressure, float distance, float size)=0 |
| virtual void | paint_stroke_redraw (const bContext *C, void *stroke_handle, bool final)=0 |
| virtual void | paint_stroke_done (void *stroke_handle)=0 |
| virtual void | paint_gradient_fill (const bContext *C, const Paint *paint, Brush *brush, PaintStroke *stroke, void *stroke_handle, float mouse_start[2], float mouse_end[2])=0 |
| virtual void | paint_bucket_fill (const bContext *C, const Paint *paint, Brush *brush, PaintStroke *stroke, void *stroke_handle, float mouse_start[2], float mouse_end[2])=0 |
Interface to use the same painting operator for 3D and 2D painting. Interface removes the differences between the actual calls that are being performed.
Definition at line 48 of file paint_image_ops_paint.cc.
|
virtualdefault |
|
pure virtual |
Implemented in blender::ed::sculpt_paint::image::ops::paint::ImagePaintMode, and blender::ed::sculpt_paint::image::ops::paint::ProjectionPaintMode.
References C.
Referenced by blender::ed::sculpt_paint::image::ops::paint::paint_stroke_done().
|
pure virtual |
Implemented in blender::ed::sculpt_paint::image::ops::paint::ImagePaintMode, and blender::ed::sculpt_paint::image::ops::paint::ProjectionPaintMode.
References C.
Referenced by blender::ed::sculpt_paint::image::ops::paint::paint_stroke_done().
|
pure virtual |
Implemented in blender::ed::sculpt_paint::image::ops::paint::ImagePaintMode, and blender::ed::sculpt_paint::image::ops::paint::ProjectionPaintMode.
References C.
|
pure virtual |
Implemented in blender::ed::sculpt_paint::image::ops::paint::ImagePaintMode, and blender::ed::sculpt_paint::image::ops::paint::ProjectionPaintMode.
References C, distance(), and size().
Referenced by blender::ed::sculpt_paint::image::ops::paint::paint_stroke_update_step().
|
pure virtual |
|
pure virtual |
Implemented in blender::ed::sculpt_paint::image::ops::paint::ImagePaintMode, and blender::ed::sculpt_paint::image::ops::paint::ProjectionPaintMode.
References C.
Referenced by blender::ed::sculpt_paint::image::ops::paint::paint_stroke_redraw().