55 const float parent_matrix[3][3],
56 const float parent_inverse_matrix[3][3])
74 td2d->
loc[0] *= asp[0];
75 td2d->
loc[1] *= asp[1];
83 td->center[0] *= asp[0];
84 td->center[1] *= asp[1];
115 const bool is_prop_edit,
121 float parent_matrix[3][3], parent_inverse_matrix[3][3];
126 if (is_prop_edit || is_sel_point) {
131 for (
int i = 0; i < 3; i++) {
140 td2d->
loc[0] *= asp[0];
141 td2d->
loc[1] *= asp[1];
149 td->center[0] *= asp[0];
150 td->center[1] *= asp[1];
196 parent_inverse_matrix);
211 parent_inverse_matrix);
233 parent_inverse_matrix);
258 int count = 0, countsel = 0;
279 for (i = 0; i < spline->tot_point; i++) {
336 for (i = 0; i < spline->tot_point; i++) {
384 float asp[2], inv[2];
389 inv[0] = 1.0f / asp[0];
390 inv[1] = 1.0f / asp[1];
438 Mask *mask =
nullptr;
Functions to insert, delete or modify keyframes.
Mask * CTX_data_edit_mask(const bContext *C)
Scene * CTX_data_scene(const bContext *C)
#define MASKPOINT_ISSEL_ANY(p)
@ MASK_WHICH_HANDLE_RIGHT
@ MASK_WHICH_HANDLE_STICK
#define MASKPOINT_ISSEL_KNOT(p)
void BKE_mask_point_set_handle(struct MaskSplinePoint *point, eMaskWhichHandle which_handle, float loc[2], bool keep_direction, float orig_handle[2], float orig_vec[3][3])
void BKE_mask_point_handle(const struct MaskSplinePoint *point, eMaskWhichHandle which_handle, float r_handle[2])
void BKE_mask_point_parent_matrix_get(struct MaskSplinePoint *point, float ctime, float parent_matrix[3][3])
eMaskhandleMode BKE_mask_point_handles_mode_get(const struct MaskSplinePoint *point)
#define LISTBASE_FOREACH(type, var, list)
void copy_m3_m3(float m1[3][3], const float m2[3][3])
void unit_m3(float m[3][3])
void mul_m3_v2(const float m[3][3], float r[2])
bool invert_m3_m3(float inverse[3][3], const float mat[3][3])
void mul_v2_m3v2(float r[2], const float m[3][3], const float v[2])
MINLINE void copy_v2_v2(float r[2], const float a[2])
MINLINE void copy_v3_v3(float r[3], const float a[3])
void DEG_id_tag_update(ID *id, unsigned int flags)
Mask * ED_space_clip_get_mask(const SpaceClip *sc)
Mask * ED_space_image_get_mask(const SpaceImage *sima)
void ED_mask_get_aspect(ScrArea *area, ARegion *region, float *r_aspx, float *r_aspy)
bool ED_mask_layer_shape_auto_key_select(Mask *mask, int frame)
bool ED_maskedit_mask_visible_splines_poll(bContext *C)
Read Guarded memory(de)allocation.
in reality light always falls off quadratically Particle Retrieve the data of the particle that spawned the object for example to give variation to multiple instances of an object Point Retrieve information about points in a point cloud Retrieve the edges of an object as it appears to Cycles topology will always appear triangulated Convert a blackbody temperature to an RGB value Normal Generate a perturbed normal from an RGB normal map image Typically used for faking highly detailed surfaces Generate an OSL shader from a file or text data block Image Sample an image file as a texture Gabor Generate Gabor noise Gradient Generate interpolated color and intensity values based on the input vector Magic Generate a psychedelic color texture Voronoi Generate Worley noise based on the distance to random points Typically used to generate textures such as or biological cells Brick Generate a procedural texture producing bricks Texture Retrieve multiple types of texture coordinates nTypically used as inputs for texture nodes Vector Convert a point
void *(* MEM_callocN)(size_t len, const char *str)
bool is_autokey_on(const Scene *scene)
struct bNodeTree * nodetree
TransCustomDataContainer custom
eMaskWhichHandle which_handle
float parent_inverse_matrix[3][3]
float parent_matrix[3][3]
void WM_event_add_notifier(const bContext *C, uint type, void *reference)