|
Blender V4.3
|
#include "BLI_array.hh"#include "BLI_enumerable_thread_specific.hh"#include "BLI_lasso_2d.hh"#include "BLI_math_geom.h"#include "BLI_rect.h"#include "BLI_task.hh"#include "BKE_brush.hh"#include "BKE_context.hh"#include "BKE_crazyspace.hh"#include "BKE_curves.hh"#include "BKE_paint.hh"#include "BKE_report.hh"#include "DEG_depsgraph_query.hh"#include "ED_grease_pencil.hh"#include "ED_view3d.hh"#include "RNA_access.hh"#include "RNA_define.hh"#include "WM_api.hh"Go to the source code of this file.
Namespaces | |
| namespace | blender |
| namespace | blender::ed |
| namespace | blender::ed::greasepencil |
Functions | |
| static bool | blender::ed::greasepencil::execute_trim_on_drawing (const int layer_index, const int frame_number, const Object &ob_eval, Object &obact, const ARegion ®ion, const float4x4 &projection, const Span< int2 > mcoords, const bool keep_caps, bke::greasepencil::Drawing &drawing) |
| static int | blender::ed::greasepencil::stroke_trim_execute (const bContext *C, const Span< int2 > mcoords) |
| static int | blender::ed::greasepencil::grease_pencil_stroke_trim (bContext *C, wmOperator *op) |
| void | GREASE_PENCIL_OT_stroke_trim (wmOperatorType *ot) |
Variables | |
| static constexpr int | blender::ed::greasepencil::BBOX_PADDING = 2 |
| void GREASE_PENCIL_OT_stroke_trim | ( | wmOperatorType * | ot | ) |
Definition at line 236 of file grease_pencil_trim.cc.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, WM_gesture_lasso_cancel(), WM_gesture_lasso_invoke(), WM_gesture_lasso_modal(), and WM_operator_properties_gesture_lasso().
Referenced by ED_operatortypes_grease_pencil_edit().