Blender
V3.3
|
Public Member Functions | |
void * | paint_new_stroke (bContext *C, wmOperator *op, Object *UNUSED(ob), const float UNUSED(mouse[2]), int mode) override |
void | paint_stroke (bContext *UNUSED(C), void *stroke_handle, float prev_mouse[2], float mouse[2], int eraser, float pressure, float distance, float size) override |
void | paint_stroke_redraw (const bContext *C, void *stroke_handle, bool final) override |
void | paint_stroke_done (void *stroke_handle) override |
void | paint_gradient_fill (const bContext *C, const Scene *UNUSED(scene), Brush *brush, struct PaintStroke *UNUSED(stroke), void *stroke_handle, float mouse_start[2], float mouse_end[2]) override |
void | paint_bucket_fill (const bContext *C, const Scene *scene, Brush *brush, struct PaintStroke *stroke, void *stroke_handle, float mouse_start[2], float mouse_end[2]) override |
![]() | |
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_gradient_fill (const bContext *C, const Scene *scene, Brush *brush, struct PaintStroke *stroke, void *stroke_handle, float mouse_start[2], float mouse_end[2])=0 |
Definition at line 79 of file paint_image_ops_paint.cc.
|
inlineoverridevirtual |
Implements blender::ed::sculpt_paint::image::ops::paint::AbstractPaintMode.
Definition at line 123 of file paint_image_ops_paint.cc.
References BKE_brush_color_get(), BKE_brush_secondary_color_get(), C, color, paint_2d_bucket_fill(), paint_stroke_inverted(), scene, and srgb_to_linearrgb_v3_v3().
|
inlineoverride |
Definition at line 112 of file paint_image_ops_paint.cc.
References C, and paint_2d_gradient_fill().
|
inlineoverride |
Definition at line 81 of file paint_image_ops_paint.cc.
References C, and paint_2d_new_stroke().
|
inlineoverride |
Definition at line 90 of file paint_image_ops_paint.cc.
References blender::math::distance(), paint_2d_stroke(), and size().
|
inlineoverridevirtual |
Implements blender::ed::sculpt_paint::image::ops::paint::AbstractPaintMode.
Definition at line 107 of file paint_image_ops_paint.cc.
References paint_2d_stroke_done().
|
inlineoverridevirtual |
Implements blender::ed::sculpt_paint::image::ops::paint::AbstractPaintMode.
Definition at line 102 of file paint_image_ops_paint.cc.
References C, and paint_2d_redraw().