Blender V5.3
BKE_annotations.h File Reference
#include "DNA_listBase.h"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define GPENCIL_STRENGTH_MIN   0.003f

Enumerations

enum  blender::eGP_GetFrame_Mode { blender::GP_GETFRAME_USE_PREV = 0 , blender::GP_GETFRAME_ADD_NEW = 1 , blender::GP_GETFRAME_ADD_COPY = 2 }

Functions

struct bGPDframe * blender::BKE_annotations_frame_duplicate (const struct bGPDframe *gpf_src, bool dup_strokes)
struct bGPDlayer * blender::BKE_annotations_layer_duplicate (const struct bGPDlayer *gpl_src, bool dup_frames, bool dup_strokes)
struct bGPdata * blender::BKE_annotations_data_duplicate (struct Main *bmain, const struct bGPdata *gpd, bool internal_copy)
bool blender::BKE_annotations_layer_is_editable (const struct bGPDlayer *gpl)
Annotations Data Block
void blender::BKE_annotations_free_point_weights (struct MDeformVert *dvert)
void blender::BKE_annotations_free_stroke_weights (struct bGPDstroke *gps)
void blender::BKE_annotations_free_stroke_editcurve (struct bGPDstroke *gps)
void blender::BKE_annotations_free_stroke (struct bGPDstroke *gps)
bool blender::BKE_annotations_free_strokes (struct bGPDframe *gpf)
void blender::BKE_annotations_free_frames (struct bGPDlayer *gpl)
void blender::BKE_annotations_free_layers (ListBaseT< bGPDlayer > *list)
void blender::BKE_annotations_free_legacy_palette_data (ListBaseT< bGPDpalette > *list)
void blender::BKE_annotations_free_data (struct bGPdata *gpd, bool free_all)
void blender::BKE_annotations_free_layer_masks (struct bGPDlayer *gpl)
void blender::BKE_annotations_tag (struct bGPdata *gpd)
struct bGPDframe * blender::BKE_annotations_frame_addnew (struct bGPDlayer *gpl, int cframe)
struct bGPDframe * blender::BKE_annotations_frame_addcopy (struct bGPDlayer *gpl, int cframe)
struct bGPDlayer * blender::BKE_annotations_layer_addnew (struct bGPdata *gpd, const char *name, bool setactive, bool add_to_header)
struct bGPdata * blender::BKE_annotations_data_addnew (struct Main *bmain, const char name[])
struct bGPDstroke * blender::BKE_gpencil_stroke_duplicate (struct bGPDstroke *gps_src, bool dup_points, bool dup_curve)
struct bGPDframe * blender::BKE_annotations_layer_frame_get (struct bGPDlayer *gpl, int cframe, eGP_GetFrame_Mode addnew)
struct bGPDframe * blender::BKE_annotations_layer_frame_find (struct bGPDlayer *gpl, int cframe)
bool blender::BKE_annotations_layer_frame_delete (struct bGPDlayer *gpl, struct bGPDframe *gpf)
struct bGPDlayer * blender::BKE_annotations_layer_named_get (struct bGPdata *gpd, const char *name)
struct bGPDlayer * blender::BKE_annotations_layer_active_get (struct bGPdata *gpd)
void blender::BKE_annotations_layer_active_set (struct bGPdata *gpd, struct bGPDlayer *active)
void blender::BKE_annotations_layer_delete (struct bGPdata *gpd, struct bGPDlayer *gpl)
void blender::BKE_annotations_layer_frames_sort (struct bGPDlayer *gpl, bool *r_has_duplicate_frames)
void blender::BKE_gpencil_stroke_weights_duplicate (struct bGPDstroke *gps_src, struct bGPDstroke *gps_dst)
void blender::BKE_annotations_blend_read_data (struct BlendDataReader *reader, struct bGPdata *gpd)

Macro Definition Documentation

◆ GPENCIL_STRENGTH_MIN

#define GPENCIL_STRENGTH_MIN   0.003f

Definition at line 132 of file BKE_annotations.h.

Referenced by blender::annotation_stroke_newfrombuffer().