Blender V5.3
mask_add.cc File Reference
#include <algorithm>
#include "MEM_guardedalloc.h"
#include "BKE_context.hh"
#include "BKE_curve.hh"
#include "BKE_mask.hh"
#include "BLI_math_matrix_c.hh"
#include "BLI_math_vector_c.hh"
#include "DEG_depsgraph.hh"
#include "DNA_mask_types.h"
#include "DNA_scene_types.h"
#include "DNA_screen_types.h"
#include "WM_api.hh"
#include "WM_types.hh"
#include "ED_mask.hh"
#include "ED_select_utils.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "mask_intern.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

Add Vertex
static void blender::setup_vertex_point (Mask *mask, MaskSpline *spline, MaskSplinePoint *new_point, const float point_co[2], const float u, const float ctime, const MaskSplinePoint *reference_point, const bool reference_adjacent)
Add Extrude Vertex
static void blender::finSelectedSplinePoint (MaskLayer *mask_layer, MaskSpline **spline, MaskSplinePoint **point, bool check_active)
Add Subdivide Vertex
static void blender::mask_spline_add_point_at_index (MaskSpline *spline, int point_index)
static bool blender::add_vertex_subdivide (const bContext *C, Mask *mask, const float co[2])
static bool blender::add_vertex_extrude (const bContext *C, Mask *mask, MaskLayer *mask_layer, const float co[2])
static bool blender::add_vertex_new (const bContext *C, Mask *mask, MaskLayer *mask_layer, const float co[2])
static void blender::mask_point_make_pixel_space (bContext *C, const float point_normalized[2], float point_pixel[2])
static wmOperatorStatus blender::add_vertex_handle_cyclic_at_point (bContext *C, Mask *mask, MaskSpline *spline, MaskSplinePoint *active_point, MaskSplinePoint *other_point, float co[2])
static wmOperatorStatus blender::add_vertex_handle_cyclic (bContext *C, Mask *mask, MaskSpline *spline, MaskSplinePoint *active_point, float co[2])
Add Vertex Operator
static wmOperatorStatus blender::add_vertex_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::add_vertex_invoke (bContext *C, wmOperator *op, const wmEvent *event)
void blender::MASK_OT_add_vertex (wmOperatorType *ot)
Add Feather Vertex Operator
static wmOperatorStatus blender::add_feather_vertex_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::add_feather_vertex_invoke (bContext *C, wmOperator *op, const wmEvent *event)
void blender::MASK_OT_add_feather_vertex (wmOperatorType *ot)
Common Primitive Functions
static BezTriple * blender::points_to_bezier (const float(*points)[2], const int num_points, const eBezTriple_Handle handle_type, const float scale, const float location[2])
static int blender::create_primitive_from_points (bContext *C, wmOperator *op, const float(*points)[2], int num_points, eBezTriple_Handle handle_type)
static wmOperatorStatus blender::primitive_add_invoke (bContext *C, wmOperator *op, const wmEvent *)
static void blender::define_primitive_add_properties (wmOperatorType *ot)
Primitive Add Circle Operator
static wmOperatorStatus blender::primitive_circle_add_exec (bContext *C, wmOperator *op)
void blender::MASK_OT_primitive_circle_add (wmOperatorType *ot)
Primitive Add Square Operator
static wmOperatorStatus blender::primitive_square_add_exec (bContext *C, wmOperator *op)
void blender::MASK_OT_primitive_square_add (wmOperatorType *ot)