Blender V4.3
grease_pencil_trim.cc File Reference
#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 &region, 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
 

Function Documentation

◆ GREASE_PENCIL_OT_stroke_trim()