Blender V5.3
DNA_grease_pencil_types.h File Reference
#include "DNA_ID.h"
#include "DNA_attribute_types.h"
#include "DNA_curve_types.h"
#include "DNA_curves_types.h"
#include "DNA_listBase.h"
#include "BLI_bounds_types.hh"
#include "BLI_enum_flags.hh"
#include "BLI_index_mask_fwd.hh"
#include "BLI_map.hh"
#include "BLI_math_vector_types.hh"
#include "BLI_memory_counter_fwd.hh"
#include "BLI_span.hh"

Go to the source code of this file.

Classes

struct  blender::GreasePencilDrawingBase
struct  blender::GreasePencilDrawing
struct  blender::GreasePencilDrawingReference
struct  blender::GreasePencilFrame
struct  blender::GreasePencilLayerFramesMapStorage
struct  blender::GreasePencilLayerMask
struct  blender::GreasePencilLayerTreeNode
struct  blender::GreasePencilLayer
struct  blender::GreasePencilLayerTreeGroup
struct  blender::GreasePencilOnionSkinningSettings
struct  blender::GreasePencil

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::bke
namespace  blender::bke::greasepencil

Macros

#define GP_STROKE_MITER_ANGLE_ROUND   0.0f
#define GP_STROKE_MITER_ANGLE_BEVEL   DEG2RADF(180.0f)
#define GREASE_PENCIL_ONION_SKINNING_FILTER_ALL

Enumerations

enum  blender::GreasePencilStrokeCapType : int8_t { blender::GP_STROKE_CAP_TYPE_ROUND = 0 , blender::GP_STROKE_CAP_TYPE_FLAT = 1 , blender::GP_STROKE_CAP_TYPE_MAX }
enum  blender::GreasePencilDrawingType : int8_t { blender::GP_DRAWING = 0 , blender::GP_DRAWING_REFERENCE = 1 }
enum  blender::GreasePencilDrawingBaseFlag : uint32_t { blender::GreasePencilDrawingBaseFlag_TODO }
enum  blender::GreasePencilFrameFlag : uint32_t { blender::GP_FRAME_SELECTED = (1 << 0) , blender::GP_FRAME_IMPLICIT_HOLD = (1 << 1) }
enum  blender::GreasePencilLayerFramesMapStorageFlag : int { blender::GP_LAYER_FRAMES_STORAGE_DIRTY = (1 << 0) }
enum  blender::GreasePencilLayerMaskFlag : uint16_t { blender::GP_LAYER_MASK_HIDE = (1 << 0) , blender::GP_LAYER_MASK_INVERT = (1 << 1) }
enum  blender::GreasePencilLayerBlendMode : int8_t {
  blender::GP_LAYER_BLEND_NONE = 0 , blender::GP_LAYER_BLEND_HARDLIGHT = 1 , blender::GP_LAYER_BLEND_ADD = 2 , blender::GP_LAYER_BLEND_SUBTRACT = 3 ,
  blender::GP_LAYER_BLEND_MULTIPLY = 4 , blender::GP_LAYER_BLEND_DIVIDE = 5
}
enum  blender::GreasePencilLayerTreeNodeType : int8_t { blender::GP_LAYER_TREE_LEAF = 0 , blender::GP_LAYER_TREE_GROUP = 1 }
enum  blender::GreasePencilLayerTreeNodeFlag : uint32_t {
  blender::GP_LAYER_TREE_NODE_HIDE = (1 << 0) , blender::GP_LAYER_TREE_NODE_LOCKED = (1 << 1) , blender::GP_LAYER_TREE_NODE_SELECT = (1 << 2) , blender::GP_LAYER_TREE_NODE_MUTE = (1 << 3) ,
  blender::GP_LAYER_TREE_NODE_USE_LIGHTS = (1 << 4) , blender::GP_LAYER_TREE_NODE_HIDE_ONION_SKINNING = (1 << 5) , blender::GP_LAYER_TREE_NODE_EXPANDED = (1 << 6) , blender::GP_LAYER_TREE_NODE_HIDE_MASKS = (1 << 7) ,
  blender::GP_LAYER_TREE_NODE_DISABLE_MASKS_IN_VIEWLAYER = (1 << 8) , blender::GP_LAYER_TREE_NODE_IGNORE_LOCKED_MATERIALS = (1 << 9)
}
enum  blender::GroupColorTag : int8_t {
  blender::LAYERGROUP_COLOR_NONE = -1 , blender::LAYERGROUP_COLOR_01 , blender::LAYERGROUP_COLOR_02 , blender::LAYERGROUP_COLOR_03 ,
  blender::LAYERGROUP_COLOR_04 , blender::LAYERGROUP_COLOR_05 , blender::LAYERGROUP_COLOR_06 , blender::LAYERGROUP_COLOR_07 ,
  blender::LAYERGROUP_COLOR_08
}
enum  blender::GreasePencilFlag : uint32_t { blender::GREASE_PENCIL_ANIM_CHANNEL_EXPANDED = (1 << 0) , blender::GREASE_PENCIL_AUTOLOCK_LAYERS = (1 << 1) , blender::GREASE_PENCIL_STROKE_ORDER_3D = (1 << 2) }
enum  blender::GreasePencilOnionSkinningMode : int8_t { blender::GP_ONION_SKINNING_MODE_ABSOLUTE = 0 , blender::GP_ONION_SKINNING_MODE_RELATIVE = 1 , blender::GP_ONION_SKINNING_MODE_SELECTED = 2 }
enum  blender::GreasePencilOnionSkinningFlag : uint8_t { blender::GP_ONION_SKINNING_USE_CUSTOM_COLORS = (1 << 0) , blender::GP_ONION_SKINNING_USE_FADE = (1 << 1) , blender::GP_ONION_SKINNING_SHOW_LOOP = (1 << 2) }
enum  blender::GreasePencilOnionSkinningFilter : uint8_t {
  blender::GP_ONION_SKINNING_FILTER_KEYTYPE_KEYFRAME = (1 << 0) , blender::GP_ONION_SKINNING_FILTER_KEYTYPE_EXTREME = (1 << 1) , blender::GP_ONION_SKINNING_FILTER_KEYTYPE_BREAKDOWN = (1 << 2) , blender::GP_ONION_SKINNING_FILTER_KEYTYPE_JITTER = (1 << 3) ,
  blender::GP_ONION_SKINNING_FILTER_KEYTYPE_MOVEHOLD = (1 << 4)
}

Macro Definition Documentation

◆ GP_STROKE_MITER_ANGLE_BEVEL

◆ GP_STROKE_MITER_ANGLE_ROUND

◆ GREASE_PENCIL_ONION_SKINNING_FILTER_ALL

#define GREASE_PENCIL_ONION_SKINNING_FILTER_ALL
Value:
(GP_ONION_SKINNING_FILTER_KEYTYPE_KEYFRAME | GP_ONION_SKINNING_FILTER_KEYTYPE_EXTREME | \
GP_ONION_SKINNING_FILTER_KEYTYPE_BREAKDOWN | GP_ONION_SKINNING_FILTER_KEYTYPE_JITTER | \
GP_ONION_SKINNING_FILTER_KEYTYPE_MOVEHOLD)

Definition at line 197 of file DNA_grease_pencil_types.h.

Referenced by blender::bke::greasepencil::convert::legacy_gpencil_to_grease_pencil(), and blender::rna_def_grease_pencil_onion_skinning().