Blender V5.3
annotations.cc File Reference
#include <cmath>
#include <cstddef>
#include <cstdlib>
#include <cstring>
#include <optional>
#include "CLG_log.h"
#include "MEM_guardedalloc.h"
#include "BLI_listbase.hh"
#include "BLI_math_matrix_c.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_string_utf8.hh"
#include "BLI_string_utils.hh"
#include "BLT_translation.hh"
#include "DNA_scene_types.h"
#include "DNA_brush_types.h"
#include "DNA_gpencil_legacy_types.h"
#include "DNA_material_types.h"
#include "DNA_meshdata_types.h"
#include "DNA_userdef_types.h"
#include "BKE_action.hh"
#include "BKE_anim_data.hh"
#include "BKE_annotations.h"
#include "BKE_brush.hh"
#include "BKE_collection.hh"
#include "BKE_colortools.hh"
#include "BKE_deform.hh"
#include "BKE_icons.hh"
#include "BKE_idtype.hh"
#include "BKE_image.hh"
#include "BKE_lib_id.hh"
#include "BKE_lib_query.hh"
#include "BKE_main.hh"
#include "BKE_material.hh"
#include "BKE_paint.hh"
#include "DEG_depsgraph.hh"
#include "BLI_math_color_c.hh"
#include "BLO_read_write.hh"
#include "IMB_colormanagement.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define DNA_DEPRECATED_ALLOW

Annotations Data Block

static CLG_LogRef blender::LOG = {"geom.annotations"}
static void blender::greasepencil_copy_data (Main *, std::optional< Library * >, ID *id_dst, const ID *id_src, const int)
static void blender::greasepencil_free_data (ID *id)
static void blender::greasepencil_foreach_id (ID *id, LibraryForeachIDData *data)
static void blender::greasepencil_blend_write (BlendWriter *writer, ID *id, const void *id_address)
void blender::BKE_annotations_blend_read_data (struct BlendDataReader *reader, struct bGPdata *gpd)
static void blender::greasepencil_blend_read_data (BlendDataReader *reader, ID *id)
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_layer_masks (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_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[])
void blender::BKE_gpencil_stroke_weights_duplicate (struct bGPDstroke *gps_src, struct bGPDstroke *gps_dst)
struct bGPDstroke * blender::BKE_gpencil_stroke_duplicate (struct bGPDstroke *gps_src, bool dup_points, bool dup_curve)
bGPDframe * blender::BKE_annotations_frame_duplicate (const bGPDframe *gpf_src, const bool dup_strokes)
bGPDlayer * blender::BKE_annotations_layer_duplicate (const bGPDlayer *gpl_src, const bool dup_frames, const bool dup_strokes)
bGPdata * blender::BKE_annotations_data_duplicate (Main *bmain, const bGPdata *gpd_src, bool internal_copy)
bool blender::BKE_annotations_layer_is_editable (const bGPDlayer *gpl)
struct bGPDframe * blender::BKE_annotations_layer_frame_find (struct bGPDlayer *gpl, int cframe)
struct bGPDframe * blender::BKE_annotations_layer_frame_get (struct bGPDlayer *gpl, int cframe, eGP_GetFrame_Mode addnew)
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)
static int blender::annotations_cb_cmp_frame (void *thunk, const void *a, const void *b)
void blender::BKE_annotations_layer_frames_sort (struct bGPDlayer *gpl, bool *r_has_duplicate_frames)
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)

Macro Definition Documentation

◆ DNA_DEPRECATED_ALLOW

#define DNA_DEPRECATED_ALLOW

Definition at line 28 of file annotations.cc.