Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_gpencil.h
| Show First 20 Lines • Show All 323 Lines • ▼ Show 20 Lines | |||||
| #define GPENCIL_STRENGTH_MIN 0.003f | #define GPENCIL_STRENGTH_MIN 0.003f | ||||
| /** | /** | ||||
| * Check if the given layer is able to be edited or not. | * Check if the given layer is able to be edited or not. | ||||
| * \param gpl: Grease pencil layer | * \param gpl: Grease pencil layer | ||||
| * \return True if layer is editable | * \return True if layer is editable | ||||
| */ | */ | ||||
| bool BKE_gpencil_layer_is_editable(const struct bGPDlayer *gpl); | bool BKE_gpencil_layer_is_editable(const struct bGPDlayer *gpl); | ||||
| void BKE_gpencil_frame_min_max(const struct bGPdata *gpd, int *r_min, int *r_max); | |||||
| /* How gpencil_layer_getframe() should behave when there | /* How gpencil_layer_getframe() should behave when there | ||||
| * is no existing GP-Frame on the frame requested. | * is no existing GP-Frame on the frame requested. | ||||
| */ | */ | ||||
| typedef enum eGP_GetFrame_Mode { | typedef enum eGP_GetFrame_Mode { | ||||
| /* Use the preceding gp-frame (i.e. don't add anything) */ | /* Use the preceding gp-frame (i.e. don't add anything) */ | ||||
| GP_GETFRAME_USE_PREV = 0, | GP_GETFRAME_USE_PREV = 0, | ||||
| ▲ Show 20 Lines • Show All 397 Lines • Show Last 20 Lines | |||||