Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpencil_modifiers/intern/MOD_gpencilthick.c
| /* SPDX-License-Identifier: GPL-2.0-or-later | /* SPDX-License-Identifier: GPL-2.0-or-later | ||||
| * Copyright 2017 Blender Foundation. */ | * Copyright 2017 Blender Foundation. */ | ||||
| /** \file | /** \file | ||||
| * \ingroup modifiers | * \ingroup modifiers | ||||
| */ | */ | ||||
| #include <stdio.h> | #include <stdio.h> | ||||
| #include "BLI_listbase.h" | #include "BLI_listbase.h" | ||||
| #include "BLI_math_vector.h" | #include "BLI_math_vector.h" | ||||
| #include "BLI_utildefines.h" | #include "BLI_utildefines.h" | ||||
| #include "BLT_translation.h" | |||||
| #include "DNA_defaults.h" | #include "DNA_defaults.h" | ||||
| #include "DNA_gpencil_modifier_types.h" | #include "DNA_gpencil_modifier_types.h" | ||||
| #include "DNA_gpencil_types.h" | #include "DNA_gpencil_types.h" | ||||
| #include "DNA_meshdata_types.h" | #include "DNA_meshdata_types.h" | ||||
| #include "DNA_object_types.h" | #include "DNA_object_types.h" | ||||
| #include "DNA_screen_types.h" | #include "DNA_screen_types.h" | ||||
| #include "BKE_colortools.h" | #include "BKE_colortools.h" | ||||
| ▲ Show 20 Lines • Show All 177 Lines • ▼ Show 20 Lines | gpencil_modifier_subpanel_register(region_type, | ||||
| "curve", | "curve", | ||||
| "", | "", | ||||
| gpencil_modifier_curve_header_draw, | gpencil_modifier_curve_header_draw, | ||||
| gpencil_modifier_curve_panel_draw, | gpencil_modifier_curve_panel_draw, | ||||
| mask_panel_type); | mask_panel_type); | ||||
| } | } | ||||
| GpencilModifierTypeInfo modifierType_Gpencil_Thick = { | GpencilModifierTypeInfo modifierType_Gpencil_Thick = { | ||||
| /* name */ "Thickness", | /* name */ N_("Thickness"), | ||||
| /* structName */ "ThickGpencilModifierData", | /* structName */ "ThickGpencilModifierData", | ||||
| /* structSize */ sizeof(ThickGpencilModifierData), | /* structSize */ sizeof(ThickGpencilModifierData), | ||||
| /* type */ eGpencilModifierTypeType_Gpencil, | /* type */ eGpencilModifierTypeType_Gpencil, | ||||
| /* flags */ eGpencilModifierTypeFlag_SupportsEditmode, | /* flags */ eGpencilModifierTypeFlag_SupportsEditmode, | ||||
| /* copyData */ copyData, | /* copyData */ copyData, | ||||
| /* deformStroke */ deformStroke, | /* deformStroke */ deformStroke, | ||||
| Show All 13 Lines | |||||