291#define GP_DEFAULT_PIX_FACTOR 1.0f
292#define GP_DEFAULT_GRID_LINES 4
293#define GP_MAX_INPUT_SAMPLES 10
295#define GP_DEFAULT_CURVE_RESOLUTION 32
296#define GP_DEFAULT_CURVE_ERROR 0.1f
297#define GP_DEFAULT_CURVE_EDIT_CORNER_ANGLE M_PI_2
299#define GPENCIL_MIN_FILL_FAC 0.05f
300#define GPENCIL_MAX_FILL_FAC 8.0f
310 float x = 0,
y = 0,
z = 0;
736 ListBaseT<bGPDlayer>
layers = {
nullptr,
nullptr};
748 ListBaseT<bGPDpalette>
palettes = {
nullptr,
nullptr};
#define ENUM_OPERATORS(_enum_type)
ID and Library types, which are fundamental for SDNA.
#define DNA_DEFINE_CXX_METHODS(class_name)
These structs are the foundation for all linked lists in the library system.
float3x3 scale(float3x3 mat, float2 scale)
@ GP_STROKE_NEEDS_CURVE_UPDATE
@ GP_STROKE_USE_ARROW_START
@ GP_STROKE_USE_ARROW_END
@ GP_DATA_STROKE_PAINTMODE
@ GP_DATA_STROKE_VERTEXMODE
@ GP_DATA_STROKE_EDITMODE
@ GP_DATA_SHOW_ONIONSKINS
@ GP_DATA_CURVE_EDIT_MODE
@ GP_DATA_STROKE_SCULPTMODE
@ GP_DATA_STROKE_MULTIEDIT
@ GP_DATA_DEPTH_STROKE_ENDPOINTS
@ GP_DATA_STROKE_KEEPTHICKNESS
@ GP_DATA_CURVE_ADAPTIVE_RESOLUTION
@ GP_DATA_AUTOLOCK_LAYERS
@ GP_DATA_STROKE_WEIGHTMODE
@ GP_STROKE_ARROWSTYLE_SQUARE
@ GP_STROKE_ARROWSTYLE_CLOSED
@ GP_STROKE_ARROWSTYLE_SEGMENT
@ GP_STROKE_ARROWSTYLE_NONE
@ GP_STROKE_ARROWSTYLE_OPEN
@ GP_LAYER_DISABLE_MASKS_IN_VIEWLAYER
@ GP_CURVE_NEEDS_STROKE_UPDATE
@ GP_LAYER_ONIONSKIN_CUSTOM_COLOR
@ eGplBlendMode_HardLight
eGPDcurve_point_Flag flag
bGPDcurve_point * curve_points
ListBaseT< bGPDstroke > strokes
bGPDframe_Runtime runtime
struct bGPDlayer_Mask * prev
struct bGPDlayer_Mask * next
ebGPDlayer_Mask_Flag flag
ListBaseT< bGPDframe > frames
eGPDlayer_OnionFlag onion_flag
ListBaseT< bGPDlayer_Mask > mask_layers
float vertex_paint_opacity
eGPLayerBlendModes blend_mode
bGPDlayer_Runtime runtime
struct bGPDpalette * next
ListBaseT< bGPDpalettecolor > colors
struct bGPDpalette * prev
eGPDpalettecolor_Flag flag
struct bGPDpalettecolor * next
struct bGPDpalettecolor * prev
float multi_frame_falloff
struct bGPDstroke * gps_orig
struct bGPDcurve * editcurve
DNA_DEPRECATED char colorname[128]
struct MDeformVert * dvert
bGPDstroke_Runtime runtime
eGPDstroke_Flag sbuffer_sflag
eGPDstroke_Arrowstyle arrow_end_style
eGPDstroke_Arrowstyle arrow_start_style
int curve_edit_resolution
float curve_edit_corner_angle
eGP_OnionModes onion_mode
ListBaseT< bGPDpalette > palettes
ListBaseT< bGPDlayer > layers
ListBaseT< bDeformGroup > vertex_group_names
eGPD_OnionFlag onion_flag
float curve_edit_threshold
int vertex_group_active_index