Searched refs:vert_color_fill (Results 1 – 9 of 9) sorted by relevance
/dports/graphics/blender/blender-2.91.0/source/blender/editors/gpencil/ |
H A D | gpencil_vertex_ops.c | 140 if (gps->vert_color_fill[3] > 0.0f) { in gpencil_vertexpaint_brightness_contrast_exec() 142 gps->vert_color_fill[i2] = gain * gps->vert_color_fill[i2] + offset; in gpencil_vertexpaint_brightness_contrast_exec() 217 if (gps->vert_color_fill[3] > 0.0f) { in gpencil_vertexpaint_hsv_exec() 219 rgb_to_hsv_v(gps->vert_color_fill, hsv); in gpencil_vertexpaint_hsv_exec() 308 if (gps->vert_color_fill[3] > 0.0f) { in gpencil_vertexpaint_invert_exec() 310 gps->vert_color_fill[i2] = 1.0f - gps->vert_color_fill[i2]; in gpencil_vertexpaint_invert_exec() 376 if (gps->vert_color_fill[3] > 0.0f) { in gpencil_vertexpaint_levels_exec() 378 gps->vert_color_fill[i2] = gain * (gps->vert_color_fill[i2] + offset); in gpencil_vertexpaint_levels_exec() 454 gps->vert_color_fill[3] = factor; in gpencil_vertexpaint_set_exec() 551 if (gps->vert_color_fill[3] > 0.0f) { in gpencil_extract_palette_from_vertex() [all …]
|
H A D | gpencil_vertex_paint.c | 458 gps->vert_color_fill[3] -= inf_fill; in brush_tint_apply() 463 mul_v3_fl(gps->vert_color_fill, gps->vert_color_fill[3]); in brush_tint_apply() 465 interp_v3_v3v3(gps->vert_color_fill, gps->vert_color_fill, gso->linear_color, inf_fill); in brush_tint_apply() 466 gps->vert_color_fill[3] = gps->vert_color_fill[3] * (1.0 - inf_fill) + inf_fill; in brush_tint_apply() 468 if (gps->vert_color_fill[3] > 0.0f) { in brush_tint_apply() 469 mul_v3_fl(gps->vert_color_fill, 1.0f / gps->vert_color_fill[3]); in brush_tint_apply() 492 if (gps->vert_color_fill[3] > 0.0f) { in brush_replace_apply() 564 interp_v3_v3v3(gps->vert_color_fill, gps->vert_color_fill, blur_color, inf_fill); in brush_blur_apply() 612 gps->vert_color_fill[3] = alpha_fill; in brush_average_apply() 690 interp_v3_v3v3(gps->vert_color_fill, gps->vert_color_fill, grid->color, inf); in brush_smear_apply() [all …]
|
H A D | gpencil_utils.c | 2701 copy_v3_v3(gps->vert_color_fill, brush->rgb); in ED_gpencil_fill_vertex_color_set() 2702 gps->vert_color_fill[3] = brush->gpencil_settings->vertex_factor; in ED_gpencil_fill_vertex_color_set() 2703 srgb_to_linearrgb_v4(gps->vert_color_fill, gps->vert_color_fill); in ED_gpencil_fill_vertex_color_set() 2706 zero_v4(gps->vert_color_fill); in ED_gpencil_fill_vertex_color_set() 2898 copy_v4_v4(gpd->runtime.vert_color_fill, vertex_color); in ED_gpencil_sbuffer_vertex_color_set() 2901 copy_v4_v4(gpd->runtime.vert_color_fill, gp_style->fill_rgba); in ED_gpencil_sbuffer_vertex_color_set() 2917 copy_v4_v4(gpd_eval->runtime.vert_color_fill, gpd->runtime.vert_color_fill); in ED_gpencil_sbuffer_vertex_color_set()
|
H A D | gpencil_data.c | 885 if (!equals_v4v4(gps_a->vert_color_fill, gps_b->vert_color_fill)) { in gpencil_frame_is_equal()
|
/dports/graphics/blender/blender-2.91.0/source/blender/gpencil_modifiers/intern/ |
H A D | MOD_gpenciltint.c | 178 if ((gp_style != NULL) && (gps->vert_color_fill[3] == 0.0f) && in deformStroke() 180 copy_v4_v4(gps->vert_color_fill, gp_style->fill_rgba); in deformStroke() 181 gps->vert_color_fill[3] = 1.0f; in deformStroke() 194 interp_v3_v3v3(gps->vert_color_fill, gps->vert_color_fill, coba_res, mmd->factor); in deformStroke() 195 gps->vert_color_fill[3] = clamp_f(mmd->factor, 0.0f, 1.0f); in deformStroke() 198 interp_v3_v3v3(gps->vert_color_fill, in deformStroke() 199 gps->vert_color_fill, in deformStroke()
|
H A D | MOD_gpencilcolor.c | 124 if ((gp_style != NULL) && (gps->vert_color_fill[3] == 0.0f) && in deformStroke() 126 copy_v4_v4(gps->vert_color_fill, gp_style->fill_rgba); in deformStroke() 127 gps->vert_color_fill[3] = 1.0f; in deformStroke() 130 rgb_to_hsv_v(gps->vert_color_fill, hsv); in deformStroke() 134 hsv_to_rgb_v(hsv, gps->vert_color_fill); in deformStroke()
|
/dports/graphics/blender/blender-2.91.0/source/blender/makesdna/ |
H A D | DNA_gpencil_types.h | 246 float vert_color_fill[4]; member 523 float vert_color_fill[4]; member
|
/dports/graphics/blender/blender-2.91.0/source/blender/draw/intern/ |
H A D | draw_cache_impl_gpencil.c | 282 copy_v4_v4(col->fcol, gps->vert_color_fill); in gpencil_buffer_add_point() 515 copy_v4_v4(gps->vert_color_fill, gpd->runtime.vert_color_fill); in DRW_cache_gpencil_sbuffer_stroke_data_get()
|
/dports/graphics/blender/blender-2.91.0/source/blender/blenloader/intern/ |
H A D | versioning_280.c | 4876 srgb_to_linearrgb_v4(gps->vert_color_fill, gps->vert_color_fill); in blo_do_versions_280()
|