|
Blender V4.3
|
Inherits blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon.
Additional Inherited Members | |
Public Types inherited from blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon | |
| using | MutableDrawingInfo = blender::ed::greasepencil::MutableDrawingInfo |
| using | DrawingPlacement = ed::greasepencil::DrawingPlacement |
Public Attributes inherited from blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon | |
| BrushStrokeMode | stroke_mode |
| float2 | start_mouse_position |
| float2 | prev_mouse_position |
Definition at line 53 of file grease_pencil_vertex_smear.cc.
|
overridevirtual |
Implements blender::ed::sculpt_paint::GreasePencilStrokeOperation.
Definition at line 140 of file grease_pencil_vertex_smear.cc.
References blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon::init_stroke(), and blender::ed::sculpt_paint::InputSample::mouse_position.
|
overridevirtual |
Implements blender::ed::sculpt_paint::GreasePencilStrokeOperation.
Definition at line 193 of file grease_pencil_vertex_smear.cc.
|
overridevirtual |
Implements blender::ed::sculpt_paint::GreasePencilStrokeOperation.
Definition at line 146 of file grease_pencil_vertex_smear.cc.
References BKE_paint_brush(), BKE_paint_get_active_from_context(), blender::ed::sculpt_paint::greasepencil::brush_point_influence(), blender::ed::sculpt_paint::greasepencil::brush_radius(), blender::ed::sculpt_paint::greasepencil::calculate_view_positions(), blender::ed::sculpt_paint::greasepencil::ColorGrid::center, blender::math::clamp(), blender::ed::sculpt_paint::greasepencil::ColorGrid::colors, blender::ed::sculpt_paint::greasepencil::ColorGrid::coords_to_pos(), CTX_data_scene(), blender::math::distance(), blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon::foreach_editable_drawing(), blender::index_mask::IndexMask::foreach_index(), GPENCIL_ANY_VERTEX_MASK, blender::math::interpolate(), blender::index_mask::IndexMask::is_empty(), blender::ed::sculpt_paint::InputSample::mouse_position, params, blender::ed::sculpt_paint::greasepencil::point_selection_mask(), blender::ed::sculpt_paint::greasepencil::ColorGrid::pos_to_index(), and blender::ed::sculpt_paint::InputSample::pressure.